VirtualNetworkApplianceCapabilitiesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:virtual_network_appliance_capabilities> attribute.

Constructor

VirtualNetworkApplianceCapabilitiesOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates a capability on a virtual network appliance.

begin_delete

Deletes the specified capability of a virtual network appliance.

get

Gets the specified capability of a virtual network appliance.

list

Gets all capabilities of a virtual network appliance.

begin_create_or_update

Creates or updates a capability on a virtual network appliance.

async begin_create_or_update(resource_group_name: str, virtual_network_appliance_name: str, capability_name: str, parameters: _models.VirtualNetworkApplianceCapability, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.VirtualNetworkApplianceCapability]

Parameters

Name Description
resource_group_name
Required
str

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

virtual_network_appliance_name
Required
str

The name of the virtual network appliance. Required.

capability_name
Required
str

The name of the virtual network appliance capability. Required.

parameters
Required
VirtualNetworkApplianceCapability or <xref:azure.mgmt.network.types.VirtualNetworkApplianceCapability> or IO[bytes]

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

Returns

Type Description

An instance of AsyncLROPoller that returns VirtualNetworkApplianceCapability. The VirtualNetworkApplianceCapability is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes the specified capability of a virtual network appliance.

async begin_delete(resource_group_name: str, virtual_network_appliance_name: str, capability_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_network_appliance_name
Required
str

The name of the virtual network appliance. Required.

capability_name
Required
str

The name of the virtual network appliance capability. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns None

Exceptions

Type Description

get

Gets the specified capability of a virtual network appliance.

async get(resource_group_name: str, virtual_network_appliance_name: str, capability_name: str, **kwargs: Any) -> VirtualNetworkApplianceCapability

Parameters

Name Description
resource_group_name
Required
str

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

virtual_network_appliance_name
Required
str

The name of the virtual network appliance. Required.

capability_name
Required
str

The name of the virtual network appliance capability. Required.

Returns

Type Description

VirtualNetworkApplianceCapability. The VirtualNetworkApplianceCapability is compatible with MutableMapping

Exceptions

Type Description

list

Gets all capabilities of a virtual network appliance.

list(resource_group_name: str, virtual_network_appliance_name: str, **kwargs: Any) -> AsyncItemPaged[VirtualNetworkApplianceCapability]

Parameters

Name Description
resource_group_name
Required
str

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

virtual_network_appliance_name
Required
str

The name of the virtual network appliance. Required.

Returns

Type Description

An iterator like instance of VirtualNetworkApplianceCapability

Exceptions

Type Description