CloudServicesUpdateDomain interface

Interface representing a CloudServicesUpdateDomain.

Methods

beginWalkUpdateDomain(string, string, number, CloudServicesUpdateDomainWalkUpdateDomainOptionalParams)

Updates the role instances in the specified update domain.

beginWalkUpdateDomainAndWait(string, string, number, CloudServicesUpdateDomainWalkUpdateDomainOptionalParams)

Updates the role instances in the specified update domain.

getUpdateDomain(string, string, number, CloudServicesUpdateDomainGetUpdateDomainOptionalParams)

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.

listUpdateDomains(string, string, CloudServicesUpdateDomainListUpdateDomainsOptionalParams)

Gets a list of all update domains in a cloud service.

Method Details

beginWalkUpdateDomain(string, string, number, CloudServicesUpdateDomainWalkUpdateDomainOptionalParams)

Updates the role instances in the specified update domain.

function beginWalkUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: CloudServicesUpdateDomainWalkUpdateDomainOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

Name of the resource group.

cloudServiceName

string

Name of the cloud service.

updateDomain

number

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.

Returns

Promise<SimplePollerLike<OperationState<void>, void>>

beginWalkUpdateDomainAndWait(string, string, number, CloudServicesUpdateDomainWalkUpdateDomainOptionalParams)

Updates the role instances in the specified update domain.

function beginWalkUpdateDomainAndWait(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: CloudServicesUpdateDomainWalkUpdateDomainOptionalParams): Promise<void>

Parameters

resourceGroupName

string

Name of the resource group.

cloudServiceName

string

Name of the cloud service.

updateDomain

number

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.

Returns

Promise<void>

getUpdateDomain(string, string, number, CloudServicesUpdateDomainGetUpdateDomainOptionalParams)

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.

function getUpdateDomain(resourceGroupName: string, cloudServiceName: string, updateDomain: number, options?: CloudServicesUpdateDomainGetUpdateDomainOptionalParams): Promise<UpdateDomain>

Parameters

resourceGroupName

string

Name of the resource group.

cloudServiceName

string

Name of the cloud service.

updateDomain

number

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.

Returns

Promise<UpdateDomain>

listUpdateDomains(string, string, CloudServicesUpdateDomainListUpdateDomainsOptionalParams)

Gets a list of all update domains in a cloud service.

function listUpdateDomains(resourceGroupName: string, cloudServiceName: string, options?: CloudServicesUpdateDomainListUpdateDomainsOptionalParams): PagedAsyncIterableIterator<UpdateDomain, UpdateDomain[], PageSettings>

Parameters

resourceGroupName

string

Name of the resource group.

cloudServiceName

string

Name of the cloud service.

Returns