Freigeben über


DeviceUpdateAccountCollection.GetAsync(String, CancellationToken) Methode

Definition

Gibt Kontodetails für den angegebenen Kontonamen zurück.

  • Anforderungspfad/Abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}
  • Vorgangs-IdAccounts_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccountResource>> GetAsync (string accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccountResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccountResource>>
Public Overridable Function GetAsync (accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeviceUpdateAccountResource))

Parameter

accountName
String

Kontoname.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

accountName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

accountName ist NULL.

Gilt für: