ManagedNetworkSettingsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CognitiveServicesManagementClient's

<xref:managed_network_settings> attribute.

Constructor

ManagedNetworkSettingsOperations(*args, **kwargs)

Methods

begin_delete

Delete API for managed network settings of a cognitive services account.

Delete API for managed network settings of a cognitive services account.

begin_patch

Patch API for managed network settings of a cognitive services account.

Patch API for managed network settings of a cognitive services account.

begin_put

PUT API for managed network settings of a cognitive services account.

PUT API for managed network settings of a cognitive services account.

get

Get API for managed network settings of a cognitive services account.

Get API for managed network settings of a cognitive services account.

list

List API for managed network settings of a cognitive services account.

List API for managed network settings of a cognitive services account.

begin_delete

Delete API for managed network settings of a cognitive services account.

Delete API for managed network settings of a cognitive services account.

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

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

The name of Cognitive Services account. Required.

managed_network_name
Required
str

Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_patch

Patch API for managed network settings of a cognitive services account.

Patch API for managed network settings of a cognitive services account.

begin_patch(resource_group_name: str, account_name: str, managed_network_name: str, body: _models.ManagedNetworkSettingsPropertiesBasicResource | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ManagedNetworkSettingsPropertiesBasicResource]

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

The name of Cognitive Services account. Required.

managed_network_name
Required
str

Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported. Required.

body

The Managed Network Settings object of the account. Is either a ManagedNetworkSettingsPropertiesBasicResource type or a IO[bytes] type. Default value is None.

Default value: None

Returns

Type Description

An instance of LROPoller that returns ManagedNetworkSettingsPropertiesBasicResource. The ManagedNetworkSettingsPropertiesBasicResource is compatible with MutableMapping

Exceptions

Type Description

begin_put

PUT API for managed network settings of a cognitive services account.

PUT API for managed network settings of a cognitive services account.

begin_put(resource_group_name: str, account_name: str, managed_network_name: str, body: _models.ManagedNetworkSettingsPropertiesBasicResource, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ManagedNetworkSettingsPropertiesBasicResource]

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

The name of Cognitive Services account. Required.

managed_network_name
Required
str

Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported. Required.

body
Required

The Managed Network Settings object of the account. Is either a ManagedNetworkSettingsPropertiesBasicResource type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns ManagedNetworkSettingsPropertiesBasicResource. The ManagedNetworkSettingsPropertiesBasicResource is compatible with MutableMapping

Exceptions

Type Description

get

Get API for managed network settings of a cognitive services account.

Get API for managed network settings of a cognitive services account.

get(resource_group_name: str, account_name: str, managed_network_name: str, **kwargs: Any) -> ManagedNetworkSettingsPropertiesBasicResource

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

The name of Cognitive Services account. Required.

managed_network_name
Required
str

Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported. Required.

Returns

Type Description

ManagedNetworkSettingsPropertiesBasicResource. The ManagedNetworkSettingsPropertiesBasicResource is compatible with MutableMapping

Exceptions

Type Description

list

List API for managed network settings of a cognitive services account.

List API for managed network settings of a cognitive services account.

list(resource_group_name: str, account_name: str, **kwargs: Any) -> ItemPaged[ManagedNetworkSettingsPropertiesBasicResource]

Parameters

Name Description
resource_group_name
Required
str

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

account_name
Required
str

The name of Cognitive Services account. Required.

Returns

Type Description

An iterator like instance of ManagedNetworkSettingsPropertiesBasicResource

Exceptions

Type Description