CloudServiceResource.GetUpdateDomainAsync(Int32, CancellationToken) 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.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/updateDomains/{updateDomain}
- Operation Id: CloudServicesUpdateDomain_GetUpdateDomain
- Default Api Version: 2022-09-04
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>> GetUpdateDomainAsync (int updateDomain, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpdateDomainAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>>
override this.GetUpdateDomainAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>>
Public Overridable Function GetUpdateDomainAsync (updateDomain As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of UpdateDomainIdentifier))
Parameters
- 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 to use.
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET