OutboundRulesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CognitiveServicesManagementClient's

<xref:outbound_rules> attribute.

Constructor

OutboundRulesOperations(*args, **kwargs)

Methods

begin_post

The POST API for updating the outbound rules of the managed network associated with the cognitive services account.

The POST API for updating the outbound rules of the managed network associated with the cognitive services account.

begin_post

The POST API for updating the outbound rules of the managed network associated with the cognitive services account.

The POST API for updating the outbound rules of the managed network associated with the cognitive services account.

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

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 ManagedNetworkSettingsBasicResource type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns an iterator like instance of list of OutboundRuleBasicResource

Exceptions

Type Description