azure.mgmt.relay.models module¶
-
exception
azure.mgmt.relay.models.
ErrorResponseException
(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationError
Server responsed with exception of type: ‘ErrorResponse’.
- Parameters
deserialize – A deserializer
response – Server response to be deserialized.
-
class
azure.mgmt.relay.models.
TrackedResource
(*, location: str, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.relay.models.resource_py3.Resource
Definition of resource.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.relay.models.
ResourceNamespacePatch
(*, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.relay.models.resource_py3.Resource
Definition of resource.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.relay.models.
Resource
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The resource definition.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.relay.models.
HybridConnection
(*, requires_client_authorization: bool = None, user_metadata: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.relay.models.resource_py3.Resource
Description of hybrid connection resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
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: bool = None, requires_transport_security: bool = None, user_metadata: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.relay.models.resource_py3.Resource
Description of the WCF relay resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
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, **kwargs)[source]¶ Bases:
msrest.serialization.Model
SKU of the namespace.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
name (str) – Required. 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: str, tags=None, sku=None, **kwargs)[source]¶ Bases:
azure.mgmt.relay.models.tracked_resource_py3.TrackedResource
Description of a namespace resource.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
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, **kwargs)[source]¶ Bases:
azure.mgmt.relay.models.resource_namespace_patch_py3.ResourceNamespacePatch
Description of a namespace resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
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, **kwargs)[source]¶ Bases:
azure.mgmt.relay.models.resource_py3.Resource
Description of a namespace authorization rule.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.relay.models.
AccessKeys
(*, primary_connection_string: str = None, secondary_connection_string: str = None, primary_key: str = None, secondary_key: str = None, key_name: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Namespace/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: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to the regenerate authorization rule operation, specifies which key neeeds to be reset.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.relay.models.
CheckNameAvailability
(*, name: str, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Description of the check name availability request properties.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Required. 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: bool = None, reason=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Description 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
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The object that represents the operation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.relay.models.
Operation
(*, display=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A 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: str = None, message: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error reponse indicates Relay service is not able to process the incoming request. The reason is provided in the error message.
-
class
azure.mgmt.relay.models.
OperationPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Operation
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.relay.models.
RelayNamespacePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
RelayNamespace
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.relay.models.
AuthorizationRulePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
AuthorizationRule
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.relay.models.
HybridConnectionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
HybridConnection
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.relay.models.
WcfRelayPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
WcfRelay
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.relay.models.
ProvisioningStateEnum
[source]¶ -
An enumeration.
-
created
= 'Created'¶
-
deleted
= 'Deleted'¶
-
failed
= 'Failed'¶
-
succeeded
= 'Succeeded'¶
-
unknown
= 'Unknown'¶
-
updating
= 'Updating'¶
-
-
class
azure.mgmt.relay.models.
AccessRights
[source]¶ -
An enumeration.
-
listen
= 'Listen'¶
-
manage
= 'Manage'¶
-
send
= 'Send'¶
-