Partilhar via


VirtualHubRouteTableV2SOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:virtual_hub_route_table_v2_s> attribute.

Inheritance
builtins.object
VirtualHubRouteTableV2SOperations

Constructor

VirtualHubRouteTableV2SOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.

begin_delete

Deletes a VirtualHubRouteTableV2.

get

Retrieves the details of a VirtualHubRouteTableV2.

list

Retrieves the details of all VirtualHubRouteTableV2s.

begin_create_or_update

Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.

begin_create_or_update(resource_group_name: str, virtual_hub_name: str, route_table_name: str, virtual_hub_route_table_v2_parameters: _models.VirtualHubRouteTableV2, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VirtualHubRouteTableV2]

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHub. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

route_table_name
Required
str

The name of the VirtualHubRouteTableV2. Required.

virtual_hub_route_table_v2_parameters
Required

Parameters supplied to create or update VirtualHubRouteTableV2. Is either a VirtualHubRouteTableV2 type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes a VirtualHubRouteTableV2.

begin_delete(resource_group_name: str, virtual_hub_name: str, route_table_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHubRouteTableV2. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

route_table_name
Required
str

The name of the VirtualHubRouteTableV2. 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 VirtualHubRouteTableV2.

get(resource_group_name: str, virtual_hub_name: str, route_table_name: str, **kwargs: Any) -> VirtualHubRouteTableV2

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHubRouteTableV2. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

route_table_name
Required
str

The name of the VirtualHubRouteTableV2. Required.

Returns

Type Description

VirtualHubRouteTableV2 or the result of cls(response)

Exceptions

Type Description

list

Retrieves the details of all VirtualHubRouteTableV2s.

list(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) -> Iterable[VirtualHubRouteTableV2]

Parameters

Name Description
resource_group_name
Required
str

The resource group name of the VirtualHub. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

Returns

Type Description

An iterator like instance of either VirtualHubRouteTableV2 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'>