다음을 통해 공유


CloudServicesClient Interface

Implements

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 Type Method and Description
abstract SyncPoller<PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdate(String resourceGroupName, String cloudServiceName)

Create or update a cloud service.

abstract SyncPoller<PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, Context context)

Create or update a cloud service.

abstract PollerFlux<PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String cloudServiceName)

Create or update a cloud service.

abstract PollerFlux<PollResult<CloudServiceInner>,CloudServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters)

Create or update a cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String cloudServiceName, Context context)

Deletes a cloud service.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String cloudServiceName)

Deletes role instances in a cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, Context context)

Deletes role instances in a cloud service.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String cloudServiceName)

Deletes role instances in a cloud service.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteInstancesAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters)

Deletes role instances in a cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String cloudServiceName)

Power off the cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginPowerOff(String resourceGroupName, String cloudServiceName, Context context)

Power off the cloud service.

abstract PollerFlux<PollResult<Void>,Void> beginPowerOffAsync(String resourceGroupName, String cloudServiceName)

Power off the cloud service.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Void>,Void> beginRebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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.

abstract PollerFlux<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.

abstract PollerFlux<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.

abstract SyncPoller<PollResult<Void>,Void> beginReimage(String resourceGroupName, String cloudServiceName)

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

abstract SyncPoller<PollResult<Void>,Void> beginReimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, Context context)

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

abstract PollerFlux<PollResult<Void>,Void> beginReimageAsync(String resourceGroupName, String cloudServiceName)

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

abstract PollerFlux<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.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String cloudServiceName)

Restarts one or more role instances in a cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, Context context)

Restarts one or more role instances in a cloud service.

abstract PollerFlux<PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String cloudServiceName)

Restarts one or more role instances in a cloud service.

abstract PollerFlux<PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters)

Restarts one or more role instances in a cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String cloudServiceName, Context context)

Starts the cloud service.

abstract PollerFlux<PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

abstract SyncPoller<PollResult<CloudServiceInner>,CloudServiceInner> beginUpdate(String resourceGroupName, String cloudServiceName)

Update a cloud service.

abstract SyncPoller<PollResult<CloudServiceInner>,CloudServiceInner> beginUpdate(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, Context context)

Update a cloud service.

abstract PollerFlux<PollResult<CloudServiceInner>,CloudServiceInner> beginUpdateAsync(String resourceGroupName, String cloudServiceName)

Update a cloud service.

abstract PollerFlux<PollResult<CloudServiceInner>,CloudServiceInner> beginUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters)

Update a cloud service.

abstract CloudServiceInner createOrUpdate(String resourceGroupName, String cloudServiceName)

Create or update a cloud service.

abstract CloudServiceInner createOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, Context context)

Create or update a cloud service.

abstract Mono<CloudServiceInner> createOrUpdateAsync(String resourceGroupName, String cloudServiceName)

Create or update a cloud service.

abstract Mono<CloudServiceInner> createOrUpdateAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters)

Create or update a cloud service.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters)

Create or update a cloud service.

abstract void delete(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

abstract void delete(String resourceGroupName, String cloudServiceName, Context context)

Deletes a cloud service.

abstract Mono<Void> deleteAsync(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

abstract void deleteInstances(String resourceGroupName, String cloudServiceName)

Deletes role instances in a cloud service.

abstract void deleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, Context context)

Deletes role instances in a cloud service.

abstract Mono<Void> deleteInstancesAsync(String resourceGroupName, String cloudServiceName)

Deletes role instances in a cloud service.

abstract Mono<Void> deleteInstancesAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters)

Deletes role instances in a cloud service.

abstract Mono<Response<Flux<ByteBuffer>>> deleteInstancesWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters)

Deletes role instances in a cloud service.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

abstract CloudServiceInner getByResourceGroup(String resourceGroupName, String cloudServiceName)

Display information about a cloud service.

abstract Mono<CloudServiceInner> getByResourceGroupAsync(String resourceGroupName, String cloudServiceName)

Display information about a cloud service.

abstract Response<CloudServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String cloudServiceName, Context context)

Display information about a cloud service.

abstract Mono<Response<CloudServiceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String cloudServiceName)

Display information about a cloud service.

abstract CloudServiceInstanceViewInner getInstanceView(String resourceGroupName, String cloudServiceName)

Gets the status of a cloud service.

abstract Mono<CloudServiceInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String cloudServiceName)

Gets the status of a cloud service.

abstract Response<CloudServiceInstanceViewInner> getInstanceViewWithResponse(String resourceGroupName, String cloudServiceName, Context context)

Gets the status of a cloud service.

abstract Mono<Response<CloudServiceInstanceViewInner>> getInstanceViewWithResponseAsync(String resourceGroupName, String cloudServiceName)

Gets the status of a cloud service.

abstract PagedIterable<CloudServiceInner> list()

Gets a list of all cloud services in the subscription, regardless of the associated resource group.

abstract PagedIterable<CloudServiceInner> list(Context context)

Gets a list of all cloud services in the subscription, regardless of the associated resource group.

abstract PagedFlux<CloudServiceInner> listAsync()

Gets a list of all cloud services in the subscription, regardless of the associated resource group.

abstract PagedIterable<CloudServiceInner> listByResourceGroup(String resourceGroupName)

Gets a list of all cloud services under a resource group.

abstract PagedIterable<CloudServiceInner> listByResourceGroup(String resourceGroupName, Context context)

Gets a list of all cloud services under a resource group.

abstract PagedFlux<CloudServiceInner> listByResourceGroupAsync(String resourceGroupName)

Gets a list of all cloud services under a resource group.

abstract void powerOff(String resourceGroupName, String cloudServiceName)

Power off the cloud service.

abstract void powerOff(String resourceGroupName, String cloudServiceName, Context context)

Power off the cloud service.

abstract Mono<Void> powerOffAsync(String resourceGroupName, String cloudServiceName)

Power off the cloud service.

abstract Mono<Response<Flux<ByteBuffer>>> powerOffWithResponseAsync(String resourceGroupName, String cloudServiceName)

Power off the cloud service.

abstract void rebuild(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.

abstract void rebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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.

abstract Mono<Void> 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.

abstract 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.

abstract Mono<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.

abstract void reimage(String resourceGroupName, String cloudServiceName)

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

abstract void reimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, Context context)

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

abstract Mono<Void> reimageAsync(String resourceGroupName, String cloudServiceName)

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

abstract Mono<Void> reimageAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters)

Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles.

abstract Mono<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.

abstract void restart(String resourceGroupName, String cloudServiceName)

Restarts one or more role instances in a cloud service.

abstract void restart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, Context context)

Restarts one or more role instances in a cloud service.

abstract Mono<Void> restartAsync(String resourceGroupName, String cloudServiceName)

Restarts one or more role instances in a cloud service.

abstract Mono<Void> restartAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters)

Restarts one or more role instances in a cloud service.

abstract Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String cloudServiceName, RoleInstances parameters)

Restarts one or more role instances in a cloud service.

abstract void start(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

abstract void start(String resourceGroupName, String cloudServiceName, Context context)

Starts the cloud service.

abstract Mono<Void> startAsync(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

abstract Mono<Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

abstract CloudServiceInner update(String resourceGroupName, String cloudServiceName)

Update a cloud service.

abstract CloudServiceInner update(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, Context context)

Update a cloud service.

abstract Mono<CloudServiceInner> updateAsync(String resourceGroupName, String cloudServiceName)

Update a cloud service.

abstract Mono<CloudServiceInner> updateAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters)

Update a cloud service.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters)

Update a cloud service.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of describes the cloud service.

beginCreateOrUpdate

public abstract SyncPoller,CloudServiceInner> beginCreateOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, 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 SyncPoller<T,U> for polling of describes the cloud service.

beginCreateOrUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes the cloud service.

beginCreateOrUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes the cloud service.

beginDelete

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String cloudServiceName, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginDeleteInstances

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteInstances

public abstract SyncPoller,Void> beginDeleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteInstancesAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginDeleteInstancesAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginPowerOff

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginPowerOff

public abstract SyncPoller,Void> beginPowerOff(String resourceGroupName, String cloudServiceName, 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 SyncPoller<T,U> for polling of long-running operation.

beginPowerOffAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRebuild

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginRebuild

public abstract SyncPoller,Void> beginRebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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 SyncPoller<T,U> for polling of long-running operation.

beginRebuildAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRebuildAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginReimage

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginReimage

public abstract SyncPoller,Void> beginReimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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 SyncPoller<T,U> for polling of long-running operation.

beginReimageAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginReimageAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller,Void> beginRestart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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 SyncPoller<T,U> for polling of long-running operation.

beginRestartAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginRestartAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller,Void> beginStart(String resourceGroupName, String cloudServiceName, 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 SyncPoller<T,U> for polling of long-running operation.

beginStartAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of describes the cloud service.

beginUpdate

public abstract SyncPoller,CloudServiceInner> beginUpdate(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, 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 SyncPoller<T,U> for polling of describes the cloud service.

beginUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes the cloud service.

beginUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of describes the cloud service.

createOrUpdate

public abstract CloudServiceInner createOrUpdate(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:

describes the cloud service.

createOrUpdate

public abstract CloudServiceInner createOrUpdate(String resourceGroupName, String cloudServiceName, CloudServiceInner parameters, 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.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(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:

describes the cloud service on successful completion of Mono.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

delete

public abstract void delete(String resourceGroupName, String cloudServiceName, 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.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

A Mono that completes when a successful response is received.

deleteInstances

public abstract void deleteInstances(String resourceGroupName, String cloudServiceName)

Deletes role instances in a cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

deleteInstances

public abstract void deleteInstances(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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.

deleteInstancesAsync

public abstract Mono deleteInstancesAsync(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:

A Mono that completes when a successful response is received.

deleteInstancesAsync

public abstract Mono 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 Mono that completes when a successful response is received.

deleteInstancesWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String cloudServiceName)

Deletes a cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract CloudServiceInner getByResourceGroup(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.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(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 on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String cloudServiceName, 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<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

getInstanceView

public abstract CloudServiceInstanceViewInner getInstanceView(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.

getInstanceViewAsync

public abstract Mono 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.

getInstanceViewWithResponse

public abstract Response getInstanceViewWithResponse(String resourceGroupName, String cloudServiceName, 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<T>.

getInstanceViewWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable 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.

Returns:

a list of all cloud services in the subscription, regardless of the associated resource group as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

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<T>.

listAsync

public abstract PagedFlux 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.

Returns:

a list of all cloud services in the subscription, regardless of the associated resource group as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable 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.

Parameters:

resourceGroupName - Name of the resource group.

Returns:

a list of all cloud services under a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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<T>.

listByResourceGroupAsync

public abstract PagedFlux 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.

Parameters:

resourceGroupName - Name of the resource group.

Returns:

a list of all cloud services under a resource group as paginated response with PagedFlux<T>.

powerOff

public abstract void powerOff(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.

powerOff

public abstract void powerOff(String resourceGroupName, String cloudServiceName, 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.

powerOffAsync

public abstract Mono powerOffAsync(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:

A Mono that completes when a successful response is received.

powerOffWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

rebuild

public abstract void rebuild(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.

rebuild

public abstract void rebuild(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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.

rebuildAsync

public abstract Mono 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. 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 Mono that completes when a successful response is received.

rebuildAsync

public abstract Mono 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 Mono that completes when a successful response is received.

rebuildWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

reimage

public abstract void reimage(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.

reimage

public abstract void reimage(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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.

reimageAsync

public abstract Mono reimageAsync(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:

A Mono that completes when a successful response is received.

reimageAsync

public abstract Mono 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 Mono that completes when a successful response is received.

reimageWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

restart

public abstract void restart(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.

restart

public abstract void restart(String resourceGroupName, String cloudServiceName, RoleInstances parameters, 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.

restartAsync

public abstract Mono restartAsync(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:

A Mono that completes when a successful response is received.

restartAsync

public abstract Mono 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 Mono that completes when a successful response is received.

restartWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

start

public abstract void start(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

start

public abstract void start(String resourceGroupName, String cloudServiceName, 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.

startAsync

public abstract Mono startAsync(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

A Mono that completes when a successful response is received.

startWithResponseAsync

public abstract Mono>> startWithResponseAsync(String resourceGroupName, String cloudServiceName)

Starts the cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the Response<T> on successful completion of Mono.

update

public abstract CloudServiceInner update(String resourceGroupName, String cloudServiceName)

Update a cloud service.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

describes the cloud service.

update

public abstract CloudServiceInner update(String resourceGroupName, String cloudServiceName, CloudServiceUpdate parameters, 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.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String cloudServiceName)

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.

updateAsync

public abstract Mono 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.

updateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

Applies to