WCFRelaysOperations Class
WCFRelaysOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectWCFRelaysOperations
Constructor
WCFRelaysOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create_or_update |
Creates or updates a WCF relay. This operation is idempotent. |
| create_or_update_authorization_rule |
Creates or updates an authorization rule for a WCF relay. |
| delete |
Deletes a WCF relay. |
| delete_authorization_rule |
Deletes a WCF relay authorization rule. |
| get |
Returns the description for the specified WCF relay. |
| get_authorization_rule |
Get authorizationRule for a WCF relay by name. |
| list_authorization_rules |
Authorization rules for a WCF relay. |
| list_by_namespace |
Lists the WCF relays within the namespace. |
| list_keys |
Primary and secondary connection strings to the WCF relay. |
| regenerate_keys |
Regenerates the primary or secondary connection strings to the WCF relay. |
create_or_update
Creates or updates a WCF relay. This operation is idempotent.
async create_or_update(resource_group_name: str, namespace_name: str, relay_name: str, parameters: azure.mgmt.relay.models._models_py3.WcfRelay, **kwargs: Any) -> azure.mgmt.relay.models._models_py3.WcfRelay
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
WcfRelay, or the result of cls(response)
Return type
Exceptions
create_or_update_authorization_rule
Creates or updates an authorization rule for a WCF relay.
async create_or_update_authorization_rule(resource_group_name: str, namespace_name: str, relay_name: str, authorization_rule_name: str, parameters: azure.mgmt.relay.models._models_py3.AuthorizationRule, **kwargs: Any) -> azure.mgmt.relay.models._models_py3.AuthorizationRule
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AuthorizationRule, or the result of cls(response)
Return type
Exceptions
delete
Deletes a WCF relay.
async delete(resource_group_name: str, namespace_name: str, relay_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
delete_authorization_rule
Deletes a WCF relay authorization rule.
async delete_authorization_rule(resource_group_name: str, namespace_name: str, relay_name: str, authorization_rule_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Returns the description for the specified WCF relay.
async get(resource_group_name: str, namespace_name: str, relay_name: str, **kwargs: Any) -> Optional[azure.mgmt.relay.models._models_py3.WcfRelay]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
WcfRelay, or the result of cls(response)
Return type
Exceptions
get_authorization_rule
Get authorizationRule for a WCF relay by name.
async get_authorization_rule(resource_group_name: str, namespace_name: str, relay_name: str, authorization_rule_name: str, **kwargs: Any) -> azure.mgmt.relay.models._models_py3.AuthorizationRule
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AuthorizationRule, or the result of cls(response)
Return type
Exceptions
list_authorization_rules
Authorization rules for a WCF relay.
list_authorization_rules(resource_group_name: str, namespace_name: str, relay_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.relay.models._models_py3.AuthorizationRuleListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either AuthorizationRuleListResult or the result of cls(response)
Return type
Exceptions
list_by_namespace
Lists the WCF relays within the namespace.
list_by_namespace(resource_group_name: str, namespace_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.relay.models._models_py3.WcfRelaysListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either WcfRelaysListResult or the result of cls(response)
Return type
Exceptions
list_keys
Primary and secondary connection strings to the WCF relay.
async list_keys(resource_group_name: str, namespace_name: str, relay_name: str, authorization_rule_name: str, **kwargs: Any) -> azure.mgmt.relay.models._models_py3.AccessKeys
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AccessKeys, or the result of cls(response)
Return type
Exceptions
regenerate_keys
Regenerates the primary or secondary connection strings to the WCF relay.
async regenerate_keys(resource_group_name: str, namespace_name: str, relay_name: str, authorization_rule_name: str, parameters: azure.mgmt.relay.models._models_py3.RegenerateAccessKeyParameters, **kwargs: Any) -> azure.mgmt.relay.models._models_py3.AccessKeys
Parameters
- parameters
- RegenerateAccessKeyParameters
Parameters supplied to regenerate authorization rule.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AccessKeys, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.relay.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\relay\\models\\__init__.py'>
Feedback
Submit and view feedback for