Partilhar via


NetworkVirtualApplianceConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:network_virtual_appliance_connections> attribute.

Inheritance
builtins.object
NetworkVirtualApplianceConnectionsOperations

Constructor

NetworkVirtualApplianceConnectionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.

begin_delete

Deletes a NVA connection.

get

Retrieves the details of specified NVA connection.

list

Lists NetworkVirtualApplianceConnections under the NVA.

begin_create_or_update

Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'.

begin_create_or_update(resource_group_name: str, network_virtual_appliance_name: str, connection_name: str, network_virtual_appliance_connection_parameters: _models.NetworkVirtualApplianceConnection, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.NetworkVirtualApplianceConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_virtual_appliance_name
Required
str

The name of the Network Virtual Appliance. Required.

connection_name
Required
str

The name of the NVA connection. Required.

network_virtual_appliance_connection_parameters
Required

Parameters supplied in an NetworkVirtualApplianceConnection PUT operation. Is either a NetworkVirtualApplianceConnection type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes a NVA connection.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_virtual_appliance_name
Required
str

The name of the Network Virtual Appliance. Required.

connection_name
Required
str

The name of the NVA connection. 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 specified NVA connection.

get(resource_group_name: str, network_virtual_appliance_name: str, connection_name: str, **kwargs: Any) -> NetworkVirtualApplianceConnection

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_virtual_appliance_name
Required
str

The name of the Network Virtual Appliance. Required.

connection_name
Required
str

The name of the NVA connection. Required.

Returns

Type Description

NetworkVirtualApplianceConnection or the result of cls(response)

Exceptions

Type Description

list

Lists NetworkVirtualApplianceConnections under the NVA.

list(resource_group_name: str, network_virtual_appliance_name: str, **kwargs: Any) -> Iterable[NetworkVirtualApplianceConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_virtual_appliance_name
Required
str

The name of the Network Virtual Appliance. Required.

Returns

Type Description

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