CognitiveServicesDeletedAccountCollection.GetAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Gibt ein Cognitive Services-Konto zurück, das durch die Parameter angegeben wird.
- Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}
- Vorgangs-IdDeletedAccounts_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>> GetAsync (Azure.Core.AzureLocation location, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.Core.AzureLocation * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>>
override this.GetAsync : Azure.Core.AzureLocation * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesDeletedAccountResource>>
Public Overridable Function GetAsync (location As AzureLocation, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CognitiveServicesDeletedAccountResource))
Parameter
- location
- AzureLocation
Ressourcenspeicherort
- resourceGroupName
- String
Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.
- accountName
- String
Der Name des Cognitive Services-Kontos.
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Ausnahmen
resourceGroupName
oder accountName
ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.
resourceGroupName
oder accountName
ist NULL.
Gilt für:
Azure SDK for .NET