azure.mgmt.relay.models module¶
-
exception
azure.mgmt.relay.models.ErrorResponseException(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationErrorServer responsed with exception of type: ‘ErrorResponse’.
Parameters: - deserialize – A deserializer
- response – Server response to be deserialized.
-
class
azure.mgmt.relay.models.TrackedResource(location, tags=None)[source]¶ Bases:
azure.mgmt.relay.models.resource.ResourceDefinition of resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: Parameters:
-
class
azure.mgmt.relay.models.ResourceNamespacePatch(tags=None)[source]¶ Bases:
azure.mgmt.relay.models.resource.ResourceDefinition of resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: Parameters:
-
class
azure.mgmt.relay.models.Resource[source]¶ Bases:
msrest.serialization.ModelThe resource definition.
Variables are only populated by the server, and will be ignored when sending a request.
Variables:
-
class
azure.mgmt.relay.models.HybridConnection(requires_client_authorization=None, user_metadata=None)[source]¶ Bases:
azure.mgmt.relay.models.resource.ResourceDescription of hybrid connection resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: - id (str) – Resource ID.
- name (str) – Resource name.
- type (str) – Resource type.
- created_at (datetime) – The time the hybrid connection was created.
- updated_at (datetime) – The time the namespace was updated.
- listener_count (int) – The number of listeners for this hybrid connection. Note that min : 1 and max:25 are supported.
Parameters: - requires_client_authorization (bool) – Returns true if client authorization is needed for this hybrid connection; otherwise, false.
- user_metadata (str) – The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.
-
class
azure.mgmt.relay.models.WcfRelay(relay_type=None, requires_client_authorization=None, requires_transport_security=None, user_metadata=None)[source]¶ Bases:
azure.mgmt.relay.models.resource.ResourceDescription of the WCF relay resource.
Variables are only populated by the server, and will be ignored when sending a request.
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.
Parameters: - relay_type (str or Relaytype) – WCF relay type. Possible values include: ‘NetTcp’, ‘Http’
- requires_client_authorization (bool) – Returns true if client authorization is needed for this relay; otherwise, false.
- requires_transport_security (bool) – Returns true if transport security is needed for this relay; otherwise, false.
- user_metadata (str) – 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.
-
class
azure.mgmt.relay.models.Sku(tier=None)[source]¶ Bases:
msrest.serialization.ModelSKU of the namespace.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: name (str) – Name of this SKU. Default value: “Standard” . Parameters: tier (str or SkuTier) – The tier of this SKU. Possible values include: ‘Standard’ -
name= 'Standard'¶
-
-
class
azure.mgmt.relay.models.RelayNamespace(location, tags=None, sku=None)[source]¶ Bases:
azure.mgmt.relay.models.tracked_resource.TrackedResourceDescription of a namespace resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: - id (str) – Resource ID.
- name (str) – Resource name.
- type (str) – Resource type.
- provisioning_state (str or ProvisioningStateEnum) – Possible values include: ‘Created’, ‘Succeeded’, ‘Deleted’, ‘Failed’, ‘Updating’, ‘Unknown’
- created_at (datetime) – The time the namespace was created.
- updated_at (datetime) – The time the namespace was updated.
- service_bus_endpoint (str) – Endpoint you can use to perform Service Bus operations.
- metric_id (str) – Identifier for Azure Insights metrics.
Parameters:
-
class
azure.mgmt.relay.models.RelayUpdateParameters(tags=None, sku=None)[source]¶ Bases:
azure.mgmt.relay.models.resource_namespace_patch.ResourceNamespacePatchDescription of a namespace resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: - id (str) – Resource ID.
- name (str) – Resource name.
- type (str) – Resource type.
- provisioning_state (str or ProvisioningStateEnum) – Possible values include: ‘Created’, ‘Succeeded’, ‘Deleted’, ‘Failed’, ‘Updating’, ‘Unknown’
- created_at (datetime) – The time the namespace was created.
- updated_at (datetime) – The time the namespace was updated.
- service_bus_endpoint (str) – Endpoint you can use to perform Service Bus operations.
- metric_id (str) – Identifier for Azure Insights metrics.
Parameters:
-
class
azure.mgmt.relay.models.AuthorizationRule(rights=None)[source]¶ Bases:
azure.mgmt.relay.models.resource.ResourceDescription of a namespace authorization rule.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: Parameters: rights (list[str or AccessRights]) – The rights associated with the rule.
-
class
azure.mgmt.relay.models.AccessKeys(primary_connection_string=None, secondary_connection_string=None, primary_key=None, secondary_key=None, key_name=None)[source]¶ Bases:
msrest.serialization.ModelNamespace/Relay Connection String.
Parameters: - primary_connection_string (str) – Primary connection string of the created namespace authorization rule.
- secondary_connection_string (str) – Secondary connection string of the created namespace authorization rule.
- primary_key (str) – A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondary_key (str) – A base64-encoded 256-bit secondary key for signing and validating the SAS token.
- key_name (str) – A string that describes the authorization rule.
-
class
azure.mgmt.relay.models.RegenerateAccessKeyParameters(key_type, key=None)[source]¶ Bases:
msrest.serialization.ModelParameters supplied to the regenerate authorization rule operation, specifies which key neeeds to be reset.
Parameters:
-
class
azure.mgmt.relay.models.CheckNameAvailability(name)[source]¶ Bases:
msrest.serialization.ModelDescription of the check name availability request properties.
Parameters: name (str) – The namespace name to check for availability. The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.
-
class
azure.mgmt.relay.models.CheckNameAvailabilityResult(name_available=None, reason=None)[source]¶ Bases:
msrest.serialization.ModelDescription of the check name availability request properties.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: message (str) – The detailed info regarding the reason associated with the namespace.
Parameters: - name_available (bool) – Value indicating namespace is available. Returns true if the namespace is available; otherwise, false.
- reason (str or UnavailableReason) – The reason for unavailability of a namespace. Possible values include: ‘None’, ‘InvalidName’, ‘SubscriptionIsDisabled’, ‘NameInUse’, ‘NameInLockdown’, ‘TooManyNamespaceInCurrentSubscription’
-
class
azure.mgmt.relay.models.OperationDisplay[source]¶ Bases:
msrest.serialization.ModelThe object that represents the operation.
Variables are only populated by the server, and will be ignored when sending a request.
Variables:
-
class
azure.mgmt.relay.models.Operation(display=None)[source]¶ Bases:
msrest.serialization.ModelA Relay REST API operation.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: name (str) – Operation name: {provider}/{resource}/{operation} Parameters: display (OperationDisplay) – The object that represents the operation.
-
class
azure.mgmt.relay.models.ErrorResponse(code=None, message=None)[source]¶ Bases:
msrest.serialization.ModelError reponse indicates Relay service is not able to process the incoming request. The reason is provided in the error message.
Parameters:
-
class
azure.mgmt.relay.models.OperationPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
Operationobject
-
class
azure.mgmt.relay.models.RelayNamespacePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
RelayNamespaceobject
-
class
azure.mgmt.relay.models.AuthorizationRulePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
AuthorizationRuleobject
-
class
azure.mgmt.relay.models.HybridConnectionPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
HybridConnectionobject
-
class
azure.mgmt.relay.models.WcfRelayPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
WcfRelayobject
-
class
azure.mgmt.relay.models.Relaytype[source]¶ Bases:
enum.EnumAn enumeration.
-
http= 'Http'¶
-
net_tcp= 'NetTcp'¶
-
-
class
azure.mgmt.relay.models.SkuTier[source]¶ Bases:
enum.EnumAn enumeration.
-
standard= 'Standard'¶
-
-
class
azure.mgmt.relay.models.ProvisioningStateEnum[source]¶ Bases:
enum.EnumAn enumeration.
-
created= 'Created'¶
-
deleted= 'Deleted'¶
-
failed= 'Failed'¶
-
succeeded= 'Succeeded'¶
-
unknown= 'Unknown'¶
-
updating= 'Updating'¶
-
-
class
azure.mgmt.relay.models.AccessRights[source]¶ Bases:
enum.EnumAn enumeration.
-
listen= 'Listen'¶
-
manage= 'Manage'¶
-
send= 'Send'¶
-
-
class
azure.mgmt.relay.models.KeyType[source]¶ Bases:
enum.EnumAn enumeration.
-
primary_key= 'PrimaryKey'¶
-
secondary_key= 'SecondaryKey'¶
-
Bases:
enum.EnumAn enumeration.