Freigeben über


CloudServicesUpdateDomainOperationsExtensions.GetUpdateDomainAsync Methode

Definition

Ruft die angegebene Updatedomäne eines Clouddiensts ab. Verwenden Sie die nextLink-Eigenschaft in der Antwort, um die nächste Seite der Updatedomänen abzurufen. Gehen Sie so vor, bis nextLink null ist, um alle Updatedomänen abzurufen.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.UpdateDomain> GetUpdateDomainAsync(this Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations operations, string resourceGroupName, string cloudServiceName, int updateDomain, System.Threading.CancellationToken cancellationToken = default);
static member GetUpdateDomainAsync : Microsoft.Azure.Management.Compute.ICloudServicesUpdateDomainOperations * string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.UpdateDomain>
<Extension()>
Public Function GetUpdateDomainAsync (operations As ICloudServicesUpdateDomainOperations, resourceGroupName As String, cloudServiceName As String, updateDomain As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of UpdateDomain)

Parameter

operations
ICloudServicesUpdateDomainOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe

cloudServiceName
String

Der Name des Clouddiensts.

updateDomain
Int32

Gibt einen ganzzahligen Wert an, der die Updatedomäne identifiziert. Updatedomänen werden anhand eines nullbasierten Index identifiziert: die erste Updatedomäne hat eine ID von 0, die zweite eine ID von 1 usw.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: