NetworkInterfaceTapConfigurationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:network_interface_tap_configurations> attribute.

Inheritance
builtins.object
NetworkInterfaceTapConfigurationsOperations

Constructor

NetworkInterfaceTapConfigurationsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates a Tap configuration in the specified NetworkInterface.

begin_delete

Deletes the specified tap configuration from the NetworkInterface.

get

Get the specified tap configuration on a network interface.

list

Get all Tap configurations in a network interface.

begin_create_or_update

Creates or updates a Tap configuration in the specified NetworkInterface.

begin_create_or_update(resource_group_name: str, network_interface_name: str, tap_configuration_name: str, tap_configuration_parameters: _models.NetworkInterfaceTapConfiguration, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.NetworkInterfaceTapConfiguration]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_interface_name
Required
str

The name of the network interface. Required.

tap_configuration_name
Required
str

The name of the tap configuration. Required.

tap_configuration_parameters
Required

Parameters supplied to the create or update tap configuration operation. Is either a NetworkInterfaceTapConfiguration type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified tap configuration from the NetworkInterface.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_interface_name
Required
str

The name of the network interface. Required.

tap_configuration_name
Required
str

The name of the tap configuration. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Get the specified tap configuration on a network interface.

get(resource_group_name: str, network_interface_name: str, tap_configuration_name: str, **kwargs: Any) -> NetworkInterfaceTapConfiguration

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_interface_name
Required
str

The name of the network interface. Required.

tap_configuration_name
Required
str

The name of the tap configuration. Required.

Returns

Type Description

NetworkInterfaceTapConfiguration or the result of cls(response)

Exceptions

Type Description

list

Get all Tap configurations in a network interface.

list(resource_group_name: str, network_interface_name: str, **kwargs: Any) -> Iterable[NetworkInterfaceTapConfiguration]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_interface_name
Required
str

The name of the network interface. Required.

Returns

Type Description

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