CloudServiceResource.GetUpdateDomain(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 Azure.Response<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier> GetUpdateDomain (int updateDomain, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpdateDomain : int * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>
override this.GetUpdateDomain : int * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.UpdateDomainIdentifier>
Public Overridable Function GetUpdateDomain (updateDomain As Integer, Optional cancellationToken As CancellationToken = Nothing) As 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
Azure SDK for .NET