SubscriptionNetworkManagerConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:subscription_network_manager_connections> attribute.

Inheritance
builtins.object
SubscriptionNetworkManagerConnectionsOperations

Constructor

SubscriptionNetworkManagerConnectionsOperations(*args, **kwargs)

Methods

create_or_update

Create a network manager connection on this subscription.

delete

Delete specified connection created by this subscription.

get

Get a specified connection created by this subscription.

list

List all network manager connections created by this subscription.

create_or_update

Create a network manager connection on this subscription.

create_or_update(network_manager_connection_name: str, parameters: _models.NetworkManagerConnection, *, content_type: str = 'application/json', **kwargs: Any) -> _models.NetworkManagerConnection

Parameters

Name Description
network_manager_connection_name
Required
str

Name for the network manager connection. Required.

parameters
Required

Network manager connection to be created/updated. Is either a NetworkManagerConnection type or a IO[bytes] type. Required.

Returns

Type Description

NetworkManagerConnection or the result of cls(response)

Exceptions

Type Description

delete

Delete specified connection created by this subscription.

delete(network_manager_connection_name: str, **kwargs: Any) -> None

Parameters

Name Description
network_manager_connection_name
Required
str

Name for the network manager connection. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get a specified connection created by this subscription.

get(network_manager_connection_name: str, **kwargs: Any) -> NetworkManagerConnection

Parameters

Name Description
network_manager_connection_name
Required
str

Name for the network manager connection. Required.

Returns

Type Description

NetworkManagerConnection or the result of cls(response)

Exceptions

Type Description

list

List all network manager connections created by this subscription.

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

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 NetworkManagerConnection 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'>