共用方式為


DeletedAccountsOperationsExtensions.GetAsync Method

Definition

Returns a Cognitive Services account specified by the parameters.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.Account> GetAsync (this Microsoft.Azure.Management.CognitiveServices.IDeletedAccountsOperations operations, string location, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.CognitiveServices.IDeletedAccountsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.Account>
<Extension()>
Public Function GetAsync (operations As IDeletedAccountsOperations, location As String, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Account)

Parameters

operations
IDeletedAccountsOperations

The operations group for this extension method.

location
String

Resource location.

resourceGroupName
String

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

accountName
String

The name of Cognitive Services account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to