RoutingIntentOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:routing_intent> attribute.

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.

async 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) -> AsyncLROPoller[_models.RoutingIntent]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

routing_intent_name
Required
str

The name of the resource that is unique within a resource group. This name can be used to access the 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 AsyncLROPoller that returns RoutingIntent. The RoutingIntent is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes a RoutingIntent.

async begin_delete(resource_group_name: str, virtual_hub_name: str, routing_intent_name: str, **kwargs: Any) -> AsyncLROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

routing_intent_name
Required
str

The name of the resource that is unique within a resource group. This name can be used to access the resource. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns None

Exceptions

Type Description

get

Retrieves the details of a RoutingIntent.

async get(resource_group_name: str, virtual_hub_name: str, routing_intent_name: str, **kwargs: Any) -> RoutingIntent

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

routing_intent_name
Required
str

The name of the resource that is unique within a resource group. This name can be used to access the resource. Required.

Returns

Type Description

RoutingIntent. The RoutingIntent is compatible with MutableMapping

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) -> AsyncItemPaged[RoutingIntent]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

Returns

Type Description

An iterator like instance of RoutingIntent

Exceptions

Type Description