Compartilhar via


CognitiveServicesExtensions.GetCognitiveServicesDeletedAccountAsync Método

Definição

Retorna uma conta dos Serviços Cognitivos especificada pelos parâmetros.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}
  • Operação IdDeletedAccounts_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>> GetCognitiveServicesDeletedAccountAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member GetCognitiveServicesDeletedAccountAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>>
<Extension()>
Public Function GetCognitiveServicesDeletedAccountAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CognitiveServicesDeletedAccountResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

Local do recurso.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

accountName
String

O nome da conta dos Serviços Cognitivos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

resourceGroupName ou accountName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

resourceGroupName ou accountName é nulo.

Aplica-se a