RoutingIntentOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:routing_intent> attribute.
- Inheritance
-
builtins.objectRoutingIntentOperations
Constructor
RoutingIntentOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. |
begin_delete |
Deletes a RoutingIntent. |
get |
Retrieves the details of a RoutingIntent. |
list |
Retrieves the details of all RoutingIntent child resources of the VirtualHub. |
begin_create_or_update
Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.
begin_create_or_update(resource_group_name: str, virtual_hub_name: str, routing_intent_name: str, routing_intent_parameters: _models.RoutingIntent, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.RoutingIntent]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the RoutingIntent. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
routing_intent_name
Required
|
The name of the per VirtualHub singleton Routing Intent resource. Required. |
routing_intent_parameters
Required
|
Parameters supplied to create or update RoutingIntent. Is either a RoutingIntent type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either RoutingIntent or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Deletes a RoutingIntent.
begin_delete(resource_group_name: str, virtual_hub_name: str, routing_intent_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the RoutingIntent. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
routing_intent_name
Required
|
The name of the RoutingIntent. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Retrieves the details of a RoutingIntent.
get(resource_group_name: str, virtual_hub_name: str, routing_intent_name: str, **kwargs: Any) -> RoutingIntent
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the RoutingIntent. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
routing_intent_name
Required
|
The name of the RoutingIntent. Required. |
Returns
Type | Description |
---|---|
RoutingIntent or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Retrieves the details of all RoutingIntent child resources of the VirtualHub.
list(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) -> Iterable[RoutingIntent]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The resource group name of the VirtualHub. Required. |
virtual_hub_name
Required
|
The name of the VirtualHub. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either RoutingIntent or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>
Azure SDK for Python