OutboundRuleOperations interface

Interface representing a OutboundRule operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

The PUT API for creating or updating a single outbound rule of the managed network associated with the cognitive services account.

delete

The DELETE API for deleting a single outbound rule of the managed network associated with the cognitive services account.

get

The GET API for retrieving a single outbound rule of the managed network associated with the cognitive services account.

list

The GET API for retrieving the list of outbound rules of the managed network associated with the cognitive services account.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<OutboundRuleBasicResource>, OutboundRuleBasicResource>>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<OutboundRuleBasicResource>, OutboundRuleBasicResource>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams) => Promise<OutboundRuleBasicResource>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams) => Promise<OutboundRuleBasicResource>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams) => Promise<void>

createOrUpdate

The PUT API for creating or updating a single outbound rule of the managed network associated with the cognitive services account.

createOrUpdate: (resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams) => PollerLike<OperationState<OutboundRuleBasicResource>, OutboundRuleBasicResource>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, body: OutboundRuleBasicResource, options?: OutboundRuleCreateOrUpdateOptionalParams) => PollerLike<OperationState<OutboundRuleBasicResource>, OutboundRuleBasicResource>

delete

The DELETE API for deleting a single outbound rule of the managed network associated with the cognitive services account.

delete: (resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

The GET API for retrieving a single outbound rule of the managed network associated with the cognitive services account.

get: (resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleGetOptionalParams) => Promise<OutboundRuleBasicResource>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, ruleName: string, options?: OutboundRuleGetOptionalParams) => Promise<OutboundRuleBasicResource>

list

The GET API for retrieving the list of outbound rules of the managed network associated with the cognitive services account.

list: (resourceGroupName: string, accountName: string, managedNetworkName: string, options?: OutboundRuleListOptionalParams) => PagedAsyncIterableIterator<OutboundRuleBasicResource, OutboundRuleBasicResource[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, managedNetworkName: string, options?: OutboundRuleListOptionalParams) => PagedAsyncIterableIterator<OutboundRuleBasicResource, OutboundRuleBasicResource[], PageSettings>