CloudServicesUpdateDomainOperationsExtensions.GetUpdateDomainAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains.
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)
Parameters
- operations
- ICloudServicesUpdateDomainOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group.
- cloudServiceName
- String
Name of the cloud service.
- updateDomain
- Int32
Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應