Interface CloudServicesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<CloudServiceInner>,InnerSupportsListing<CloudServiceInner>
public interface CloudServicesClient
extends InnerSupportsGet<CloudServiceInner>, InnerSupportsListing<CloudServiceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in CloudServicesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginCreateOrUpdate(String resourceGroupName, String cloudServiceName) Create or update a cloud service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginCreateOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, com.azure.core.util.Context context) Create or update a cloud service.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String cloudServiceName) Create or update a cloud service.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters) Create or update a cloud service.beginDelete(String resourceGroupName, String cloudServiceName) Deletes a cloud service.beginDelete(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Deletes a cloud service.beginDeleteAsync(String resourceGroupName, String cloudServiceName) Deletes a cloud service.beginDeleteInstances(String resourceGroupName, String cloudServiceName) Deletes role instances in a cloud service.beginDeleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Deletes role instances in a cloud service.beginDeleteInstancesAsync(String resourceGroupName, String cloudServiceName) Deletes role instances in a cloud service.beginDeleteInstancesAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Deletes role instances in a cloud service.beginPowerOff(String resourceGroupName, String cloudServiceName) Power off the cloud service.beginPowerOff(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Power off the cloud service.beginPowerOffAsync(String resourceGroupName, String cloudServiceName) Power off the cloud service.beginRebuild(String resourceGroupName, String cloudServiceName) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.beginRebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.beginRebuildAsync(String resourceGroupName, String cloudServiceName) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.beginRebuildAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.beginReimage(String resourceGroupName, String cloudServiceName) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.beginReimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.beginReimageAsync(String resourceGroupName, String cloudServiceName) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.beginReimageAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.beginRestart(String resourceGroupName, String cloudServiceName) Restarts one or more role instances in a cloud service.beginRestart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Restarts one or more role instances in a cloud service.beginRestartAsync(String resourceGroupName, String cloudServiceName) Restarts one or more role instances in a cloud service.beginRestartAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Restarts one or more role instances in a cloud service.beginStart(String resourceGroupName, String cloudServiceName) Starts the cloud service.beginStart(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Starts the cloud service.beginStartAsync(String resourceGroupName, String cloudServiceName) Starts the cloud service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginUpdate(String resourceGroupName, String cloudServiceName) Update a cloud service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginUpdate(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, com.azure.core.util.Context context) Update a cloud service.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginUpdateAsync(String resourceGroupName, String cloudServiceName) Update a cloud service.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>, CloudServiceInner> beginUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters) Update a cloud service.createOrUpdate(String resourceGroupName, String cloudServiceName) Create or update a cloud service.createOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, com.azure.core.util.Context context) Create or update a cloud service.createOrUpdateAsync(String resourceGroupName, String cloudServiceName) Create or update a cloud service.createOrUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters) Create or update a cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters) Create or update a cloud service.voidDeletes a cloud service.voidDeletes a cloud service.deleteAsync(String resourceGroupName, String cloudServiceName) Deletes a cloud service.voiddeleteInstances(String resourceGroupName, String cloudServiceName) Deletes role instances in a cloud service.voiddeleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Deletes role instances in a cloud service.deleteInstancesAsync(String resourceGroupName, String cloudServiceName) Deletes role instances in a cloud service.deleteInstancesAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Deletes role instances in a cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteInstancesWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Deletes role instances in a cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String cloudServiceName) Deletes a cloud service.getByResourceGroup(String resourceGroupName, String cloudServiceName) Display information about a cloud service.getByResourceGroupAsync(String resourceGroupName, String cloudServiceName) Display information about a cloud service.com.azure.core.http.rest.Response<CloudServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Display information about a cloud service.Mono<com.azure.core.http.rest.Response<CloudServiceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String cloudServiceName) Display information about a cloud service.getInstanceView(String resourceGroupName, String cloudServiceName) Gets the status of a cloud service.getInstanceViewAsync(String resourceGroupName, String cloudServiceName) Gets the status of a cloud service.com.azure.core.http.rest.Response<CloudServiceInstanceViewInner> getInstanceViewWithResponse(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Gets the status of a cloud service.Mono<com.azure.core.http.rest.Response<CloudServiceInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String cloudServiceName) Gets the status of a cloud service.com.azure.core.http.rest.PagedIterable<CloudServiceInner> list()Gets a list of all cloud services in the subscription, regardless of the associated resource group.com.azure.core.http.rest.PagedIterable<CloudServiceInner> list(com.azure.core.util.Context context) Gets a list of all cloud services in the subscription, regardless of the associated resource group.com.azure.core.http.rest.PagedFlux<CloudServiceInner> Gets a list of all cloud services in the subscription, regardless of the associated resource group.com.azure.core.http.rest.PagedIterable<CloudServiceInner> listByResourceGroup(String resourceGroupName) Gets a list of all cloud services under a resource group.com.azure.core.http.rest.PagedIterable<CloudServiceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of all cloud services under a resource group.com.azure.core.http.rest.PagedFlux<CloudServiceInner> listByResourceGroupAsync(String resourceGroupName) Gets a list of all cloud services under a resource group.voidPower off the cloud service.voidPower off the cloud service.powerOffAsync(String resourceGroupName, String cloudServiceName) Power off the cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> powerOffWithResponseAsync(String resourceGroupName, String cloudServiceName) Power off the cloud service.voidRebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.voidrebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.rebuildAsync(String resourceGroupName, String cloudServiceName) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.rebuildAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> rebuildWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them.voidReimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.voidreimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.reimageAsync(String resourceGroupName, String cloudServiceName) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.reimageAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.voidRestarts one or more role instances in a cloud service.voidrestart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Restarts one or more role instances in a cloud service.restartAsync(String resourceGroupName, String cloudServiceName) Restarts one or more role instances in a cloud service.restartAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Restarts one or more role instances in a cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Restarts one or more role instances in a cloud service.voidStarts the cloud service.voidStarts the cloud service.startAsync(String resourceGroupName, String cloudServiceName) Starts the cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String cloudServiceName) Starts the cloud service.Update a cloud service.update(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, com.azure.core.util.Context context) Update a cloud service.updateAsync(String resourceGroupName, String cloudServiceName) Update a cloud service.updateAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters) Update a cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters) Update a cloud service.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters) Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.- Returns:
- describes the 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters) Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.- Returns:
- the
PollerFluxfor polling of describes the 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String cloudServiceName) Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- the
PollerFluxfor polling of describes the 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdate(String resourceGroupName, String cloudServiceName) Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- the
SyncPollerfor polling of describes the 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, com.azure.core.util.Context context) Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of describes the 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.
-
createOrUpdateAsync
Mono<CloudServiceInner> createOrUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters) Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.- Returns:
- describes the 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.
-
createOrUpdateAsync
Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- describes the 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.
-
createOrUpdate
Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- describes the 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.
-
createOrUpdate
CloudServiceInner createOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, com.azure.core.util.Context context) Create or update a cloud service. Please note some properties can be set only during cloud service creation.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.context- The context to associate with this operation.- Returns:
- describes the 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters) Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.- Returns:
- describes the 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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters) Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.- Returns:
- the
PollerFluxfor polling of describes the 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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginUpdateAsync(String resourceGroupName, String cloudServiceName) Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- the
PollerFluxfor polling of describes the 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginUpdate(String resourceGroupName, String cloudServiceName) Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- the
SyncPollerfor polling of describes the 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudServiceInner>,CloudServiceInner> beginUpdate(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, com.azure.core.util.Context context) Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of describes the 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.
-
updateAsync
Mono<CloudServiceInner> updateAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters) Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.- Returns:
- describes the 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.
-
updateAsync
Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- describes the 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.
-
update
Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- describes the 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.
-
update
CloudServiceInner update(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, com.azure.core.util.Context context) Update a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- The cloud service object.context- The context to associate with this operation.- Returns:
- describes the 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String cloudServiceName) Deletes a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String cloudServiceName) Deletes a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String cloudServiceName) Deletes a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Deletes 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:
- 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.
-
deleteAsync
Deletes a cloud service.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
delete
Deletes a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the 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.
-
delete
Deletes a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<CloudServiceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String cloudServiceName) Display information about a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- describes the 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.
-
getByResourceGroupAsync
Display information about a cloud service.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<CloudServiceInner>- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- describes the 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CloudServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Display information about 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:
- describes the 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.
-
getByResourceGroup
Display information about a cloud service.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<CloudServiceInner>- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- describes the 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.
-
getInstanceViewWithResponseAsync
Mono<com.azure.core.http.rest.Response<CloudServiceInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String cloudServiceName) Gets the status of a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- the status 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.
-
getInstanceViewAsync
Mono<CloudServiceInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String cloudServiceName) Gets the status of a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- the status 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.
-
getInstanceViewWithResponse
com.azure.core.http.rest.Response<CloudServiceInstanceViewInner> getInstanceViewWithResponse(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Gets the status of 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:
- the status 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.
-
getInstanceView
Gets the status of a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- Returns:
- the status 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<CloudServiceInner> listAsync()Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.- Specified by:
listAsyncin interfaceInnerSupportsListing<CloudServiceInner>- Returns:
- a list of all cloud services in the subscription, regardless of the associated resource group as
paginated response with
PagedFlux. - Throws:
ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<CloudServiceInner> list()Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.- Specified by:
listin interfaceInnerSupportsListing<CloudServiceInner>- Returns:
- a list of all cloud services in the subscription, regardless of the associated resource group as
paginated response with
PagedIterable. - Throws:
ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.- Parameters:
context- The context to associate with this operation.- Returns:
- a list of all cloud services in the subscription, regardless of the associated resource group 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<CloudServiceInner> listByResourceGroupAsync(String resourceGroupName) Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<CloudServiceInner>- Parameters:
resourceGroupName- Name of the resource group.- Returns:
- a list of all cloud services under a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CloudServiceInner> listByResourceGroup(String resourceGroupName) Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<CloudServiceInner>- Parameters:
resourceGroupName- Name of the resource group.- Returns:
- a list of all cloud services under a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CloudServiceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.- Parameters:
resourceGroupName- Name of the resource group.context- The context to associate with this operation.- Returns:
- a list of all cloud services under a resource group 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.
-
startWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String cloudServiceName) Starts the cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String cloudServiceName) Starts the cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String cloudServiceName) Starts the cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Starts the cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.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.
-
startAsync
Starts the cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
start
Starts the cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the 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.
-
start
Starts the cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.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.
-
powerOffWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> powerOffWithResponseAsync(String resourceGroupName, String cloudServiceName) Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginPowerOffAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String cloudServiceName) Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginPowerOff
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String cloudServiceName) Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginPowerOff
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.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.
-
powerOffAsync
Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
powerOff
Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the 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.
-
powerOff
void powerOff(String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Power off the cloud service. Note that resources are still attached and you are getting charged for the resources.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.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.
-
restartWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginRestartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginRestartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String cloudServiceName) Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String cloudServiceName) Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-
restartAsync
Mono<Void> restartAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
restartAsync
Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
restart
Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the 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.
-
restart
void restart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Restarts one or more role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-
reimageWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> reimageWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginReimageAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginReimageAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginReimageAsync(String resourceGroupName, String cloudServiceName) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginReimage
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimage(String resourceGroupName, String cloudServiceName) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginReimage
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-
reimageAsync
Mono<Void> reimageAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
reimageAsync
Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
reimage
Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the 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.
-
reimage
void reimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-
rebuildWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> rebuildWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginRebuildAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRebuildAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginRebuildAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRebuildAsync(String resourceGroupName, String cloudServiceName) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginRebuild
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRebuild(String resourceGroupName, String cloudServiceName) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginRebuild
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-
rebuildAsync
Mono<Void> rebuildAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
rebuildAsync
Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
rebuild
Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the 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.
-
rebuild
void rebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-
deleteInstancesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteInstancesWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginDeleteInstancesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
beginDeleteInstancesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String cloudServiceName) Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginDeleteInstances
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String cloudServiceName) Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
beginDeleteInstances
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-
deleteInstancesAsync
Mono<Void> deleteInstancesAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters) Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.- 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.
-
deleteInstancesAsync
Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.- 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.
-
deleteInstances
Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the 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.
-
deleteInstances
void deleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, com.azure.core.util.Context context) Deletes role instances in a cloud service.- Parameters:
resourceGroupName- Name of the resource group.cloudServiceName- Name of the cloud service.parameters- List of cloud service role instance names.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.
-