Compartilhar via


ConnectivityConfigurationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:connectivity_configurations> attribute.

Inheritance
builtins.object
ConnectivityConfigurationsOperations

Constructor

ConnectivityConfigurationsOperations(*args, **kwargs)

Methods

begin_delete

Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.

create_or_update

Creates/Updates a new network manager connectivity configuration.

get

Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name.

list

Lists all the network manager connectivity configuration in a specified network manager.

begin_delete

Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.

begin_delete(resource_group_name: str, network_manager_name: str, configuration_name: str, *, force: bool | None = None, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

configuration_name
Required
str

The name of the network manager connectivity configuration. Required.

Keyword-Only Parameters

Name Description
force

Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. Default value is None.

Returns

Type Description

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

Exceptions

Type Description

create_or_update

Creates/Updates a new network manager connectivity configuration.

create_or_update(resource_group_name: str, network_manager_name: str, configuration_name: str, connectivity_configuration: _models.ConnectivityConfiguration, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ConnectivityConfiguration

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

configuration_name
Required
str

The name of the network manager connectivity configuration. Required.

connectivity_configuration
Required

Parameters supplied to create/update a network manager connectivity configuration. Is either a ConnectivityConfiguration type or a IO[bytes] type. Required.

Keyword-Only Parameters

Name Description
force

Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. Default value is None.

Returns

Type Description

ConnectivityConfiguration or the result of cls(response)

Exceptions

Type Description

get

Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name.

get(resource_group_name: str, network_manager_name: str, configuration_name: str, **kwargs: Any) -> ConnectivityConfiguration

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

configuration_name
Required
str

The name of the network manager connectivity configuration. Required.

Keyword-Only Parameters

Name Description
force

Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete. Default value is None.

Returns

Type Description

ConnectivityConfiguration or the result of cls(response)

Exceptions

Type Description

list

Lists all the network manager connectivity configuration in a specified network manager.

list(resource_group_name: str, network_manager_name: str, *, top: int | None = None, skip_token: str | None = None, **kwargs: Any) -> Iterable[ConnectivityConfiguration]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

network_manager_name
Required
str

The name of the network manager. Required.

Keyword-Only Parameters

Name Description
top
int

An optional query parameter which specifies the maximum number of records to be returned by the server. Default value is None.

skip_token
str

SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. Default value is None.

Returns

Type Description

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