HybridConnectionsOperations Class
HybridConnectionsOperations 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.objectHybridConnectionsOperations
Constructor
HybridConnectionsOperations(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 service hybrid connection. This operation is idempotent. |
| create_or_update_authorization_rule |
Creates or updates an authorization rule for a hybrid connection. |
| delete |
Deletes a hybrid connection. |
| delete_authorization_rule |
Deletes a hybrid connection authorization rule. |
| get |
Returns the description for the specified hybrid connection. |
| get_authorization_rule |
Hybrid connection authorization rule for a hybrid connection by name. |
| list_authorization_rules |
Authorization rules for a hybrid connection. |
| list_by_namespace |
Lists the hybrid connection within the namespace. |
| list_keys |
Primary and secondary connection strings to the hybrid connection. |
| regenerate_keys |
Regenerates the primary or secondary connection strings to the hybrid connection. |
create_or_update
Creates or updates a service hybrid connection. This operation is idempotent.
create_or_update(resource_group_name: str, namespace_name: str, hybrid_connection_name: str, parameters: _models.HybridConnection, **kwargs: Any) -> _models.HybridConnection
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
HybridConnection, or the result of cls(response)
Return type
Exceptions
create_or_update_authorization_rule
Creates or updates an authorization rule for a hybrid connection.
create_or_update_authorization_rule(resource_group_name: str, namespace_name: str, hybrid_connection_name: str, authorization_rule_name: str, parameters: _models.AuthorizationRule, **kwargs: Any) -> _models.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 hybrid connection.
delete(resource_group_name: str, namespace_name: str, hybrid_connection_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 hybrid connection authorization rule.
delete_authorization_rule(resource_group_name: str, namespace_name: str, hybrid_connection_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 hybrid connection.
get(resource_group_name: str, namespace_name: str, hybrid_connection_name: str, **kwargs: Any) -> _models.HybridConnection
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
HybridConnection, or the result of cls(response)
Return type
Exceptions
get_authorization_rule
Hybrid connection authorization rule for a hybrid connection by name.
get_authorization_rule(resource_group_name: str, namespace_name: str, hybrid_connection_name: str, authorization_rule_name: str, **kwargs: Any) -> _models.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 hybrid connection.
list_authorization_rules(resource_group_name: str, namespace_name: str, hybrid_connection_name: str, **kwargs: Any) -> Iterable[_models.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 hybrid connection within the namespace.
list_by_namespace(resource_group_name: str, namespace_name: str, **kwargs: Any) -> Iterable[_models.HybridConnectionListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either HybridConnectionListResult or the result of cls(response)
Return type
Exceptions
list_keys
Primary and secondary connection strings to the hybrid connection.
list_keys(resource_group_name: str, namespace_name: str, hybrid_connection_name: str, authorization_rule_name: str, **kwargs: Any) -> _models.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 hybrid connection.
regenerate_keys(resource_group_name: str, namespace_name: str, hybrid_connection_name: str, authorization_rule_name: str, parameters: _models.RegenerateAccessKeyParameters, **kwargs: Any) -> _models.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