WcfRelay Class

Description of the WCF relay resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.relay.models._models_py3.Resource
WcfRelay

Constructor

WcfRelay(*, relay_type: Optional[Union[str, azure.mgmt.relay.models._relay_api_enums.Relaytype]] = None, requires_client_authorization: Optional[bool] = None, requires_transport_security: Optional[bool] = None, user_metadata: Optional[str] = None, **kwargs)

Parameters

relay_type
str or Relaytype
Required

WCF relay type. Possible values include: "NetTcp", "Http".

requires_client_authorization
bool
Required

Returns true if client authorization is needed for this relay; otherwise, false.

requires_transport_security
bool
Required

Returns true if transport security is needed for this relay; otherwise, false.

user_metadata
str
Required

The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

is_dynamic
bool

Returns true if the relay is dynamic; otherwise, false.

created_at
datetime

The time the WCF relay was created.

updated_at
datetime

The time the namespace was updated.

listener_count
int

The number of listeners for this relay. Note that min :1 and max:25 are supported.