Interface CloudServicesUpdateDomainsClient
public interface CloudServicesUpdateDomainsClient
An instance of this class provides access to all the operations defined in CloudServicesUpdateDomainsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginWalkUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain) Updates the role instances in the specified update domain.beginWalkUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters, com.azure.core.util.Context context) Updates the role instances in the specified update domain.beginWalkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain) Updates the role instances in the specified update domain.beginWalkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters) Updates the role instances in the specified update domain.getUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain) Gets the specified update domain of a cloud service.getUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain) Gets the specified update domain of a cloud service.com.azure.core.http.rest.Response<UpdateDomainInner>getUpdateDomainWithResponse(String resourceGroupName, String cloudServiceName, int updateDomain, com.azure.core.util.Context context) Gets the specified update domain of a cloud service.Mono<com.azure.core.http.rest.Response<UpdateDomainInner>>getUpdateDomainWithResponseAsync(String resourceGroupName, String cloudServiceName, int updateDomain) Gets the specified update domain of a cloud service.com.azure.core.http.rest.PagedIterable<UpdateDomainInner>listUpdateDomains(String resourceGroupName, String cloudServiceName) Gets a list of all update domains in a cloud service.com.azure.core.http.rest.PagedIterable<UpdateDomainInner>listUpdateDomains(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Gets a list of all update domains in a cloud service.com.azure.core.http.rest.PagedFlux<UpdateDomainInner>listUpdateDomainsAsync(String resourceGroupName, String cloudServiceName) Gets a list of all update domains in a cloud service.voidwalkUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain) Updates the role instances in the specified update domain.voidwalkUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters, com.azure.core.util.Context context) Updates the role instances in the specified update domain.walkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain) Updates the role instances in the specified update domain.walkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters) Updates the role instances in the specified update domain.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>walkUpdateDomainWithResponseAsync(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters) Updates the role instances in the specified update domain.
-
Method Details
-
walkUpdateDomainWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> walkUpdateDomainWithResponseAsync(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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.parameters- The update domain object.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWalkUpdateDomainAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginWalkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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.parameters- The update domain object.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWalkUpdateDomainAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginWalkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWalkUpdateDomain
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginWalkUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWalkUpdateDomain
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginWalkUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters, com.azure.core.util.Context context) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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.parameters- The update domain object.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
walkUpdateDomainAsync
Mono<Void> walkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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.parameters- The update domain object.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
walkUpdateDomainAsync
Mono<Void> walkUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
walkUpdateDomain
Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
walkUpdateDomain
void walkUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain, UpdateDomainInner parameters, com.azure.core.util.Context context) Updates the role instances in the specified update domain.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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.parameters- The update domain object.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpdateDomainWithResponseAsync
Mono<com.azure.core.http.rest.Response<UpdateDomainInner>> getUpdateDomainWithResponseAsync(String resourceGroupName, String cloudServiceName, int updateDomain) 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.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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:
- the specified update domain of a cloud service along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpdateDomainAsync
Mono<UpdateDomainInner> getUpdateDomainAsync(String resourceGroupName, String cloudServiceName, int updateDomain) 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.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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:
- the specified update domain of a cloud service on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpdateDomainWithResponse
com.azure.core.http.rest.Response<UpdateDomainInner> getUpdateDomainWithResponse(String resourceGroupName, String cloudServiceName, int updateDomain, com.azure.core.util.Context context) 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.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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.context- The context to associate with this operation.- Returns:
- the specified update domain of a cloud service along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpdateDomain
UpdateDomainInner getUpdateDomain(String resourceGroupName, String cloudServiceName, int updateDomain) 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.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.updateDomain- 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:
- the specified update domain of a cloud service.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listUpdateDomainsAsync
com.azure.core.http.rest.PagedFlux<UpdateDomainInner> listUpdateDomainsAsync(String resourceGroupName, String cloudServiceName) Gets a list of all update domains in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- a list of all update domains in a cloud service as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listUpdateDomains
com.azure.core.http.rest.PagedIterable<UpdateDomainInner> listUpdateDomains(String resourceGroupName, String cloudServiceName) Gets a list of all update domains in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- a list of all update domains in a cloud service as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listUpdateDomains
com.azure.core.http.rest.PagedIterable<UpdateDomainInner> listUpdateDomains(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Gets a list of all update domains in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.context- The context to associate with this operation.- Returns:
- a list of all update domains in a cloud service as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-