VirtualNetworkTapsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:virtual_network_taps> attribute.

Constructor

VirtualNetworkTapsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create a VirtualNetworkTap.

begin_delete

Delete a VirtualNetworkTap.

get

Get a VirtualNetworkTap.

list_all

Gets all the VirtualNetworkTaps in a subscription.

list_by_resource_group

Gets all the VirtualNetworkTaps in a subscription.

update_tags

Update a VirtualNetworkTap.

begin_create_or_update

Create a VirtualNetworkTap.

begin_create_or_update(resource_group_name: str, tap_name: str, parameters: _models.VirtualNetworkTap, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VirtualNetworkTap]

Parameters

Name Description
resource_group_name
Required
str

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

tap_name
Required
str

The name of virtual network tap. Required.

parameters
Required

Parameters supplied to the create or update virtual network tap operation. Is either a VirtualNetworkTap type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns VirtualNetworkTap. The VirtualNetworkTap is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Delete a VirtualNetworkTap.

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

Parameters

Name Description
resource_group_name
Required
str

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

tap_name
Required
str

The name of virtual network tap. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

get

Get a VirtualNetworkTap.

get(resource_group_name: str, tap_name: str, **kwargs: Any) -> VirtualNetworkTap

Parameters

Name Description
resource_group_name
Required
str

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

tap_name
Required
str

The name of virtual network tap. Required.

Returns

Type Description

VirtualNetworkTap. The VirtualNetworkTap is compatible with MutableMapping

Exceptions

Type Description

list_all

Gets all the VirtualNetworkTaps in a subscription.

list_all(**kwargs: Any) -> ItemPaged[VirtualNetworkTap]

Returns

Type Description

An iterator like instance of VirtualNetworkTap

Exceptions

Type Description

list_by_resource_group

Gets all the VirtualNetworkTaps in a subscription.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> ItemPaged[VirtualNetworkTap]

Parameters

Name Description
resource_group_name
Required
str

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

Returns

Type Description

An iterator like instance of VirtualNetworkTap

Exceptions

Type Description

update_tags

Update a VirtualNetworkTap.

update_tags(resource_group_name: str, tap_name: str, tap_parameters: _models.TagsObject, *, content_type: str = 'application/json', **kwargs: Any) -> _models.VirtualNetworkTap

Parameters

Name Description
resource_group_name
Required
str

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

tap_name
Required
str

The name of virtual network tap. Required.

tap_parameters
Required

Parameters supplied to update VirtualNetworkTap tags. Is either a TagsObject type or a IO[bytes] type. Required.

Returns

Type Description

VirtualNetworkTap. The VirtualNetworkTap is compatible with MutableMapping

Exceptions

Type Description