ManagedNetworkProvisionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CognitiveServicesManagementClient's

<xref:managed_network_provisions> attribute.

Constructor

ManagedNetworkProvisionsOperations(*args, **kwargs)

Methods

begin_provision_managed_network

Provisions the managed network of a cognitive services account.

Provisions the managed network of a cognitive services account.

begin_provision_managed_network

Provisions the managed network of a cognitive services account.

Provisions the managed network of a cognitive services account.

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

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

Managed Network Provisioning Options for a cognitive services account. Is either a ManagedNetworkProvisionOptions type or a IO[bytes] type. Default value is None.

Default value: None

Returns

Type Description

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

Exceptions

Type Description