Dela via


CloudServiceRoleInstancesClient Interface

public interface CloudServiceRoleInstancesClient

An instance of this class provides access to all the operations defined in CloudServiceRoleInstancesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginDelete(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Deletes a role instance from a cloud service.

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

Deletes a role instance from a cloud service.

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

Deletes a role instance from a cloud service.

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

The Rebuild Role Instance asynchronous operation 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 roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

The Rebuild Role Instance asynchronous operation 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 roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 roleInstanceName, String resourceGroupName, String cloudServiceName)

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

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

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

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

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

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

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

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

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

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

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

abstract void delete(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Deletes a role instance from a cloud service.

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

Deletes a role instance from a cloud service.

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

Deletes a role instance from a cloud service.

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

Deletes a role instance from a cloud service.

abstract RoleInstanceInner get(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a role instance from a cloud service.

abstract Mono<RoleInstanceInner> getAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a role instance from a cloud service.

abstract RoleInstanceViewInner getInstanceView(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Retrieves information about the run-time state of a role instance in a cloud service.

abstract Mono<RoleInstanceViewInner> getInstanceViewAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Retrieves information about the run-time state of a role instance in a cloud service.

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

Retrieves information about the run-time state of a role instance in a cloud service.

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

Retrieves information about the run-time state of a role instance in a cloud service.

abstract BinaryData getRemoteDesktopFile(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a remote desktop file for a role instance in a cloud service.

abstract Mono<BinaryData> getRemoteDesktopFileAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a remote desktop file for a role instance in a cloud service.

abstract Response<BinaryData> getRemoteDesktopFileWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

Gets a remote desktop file for a role instance in a cloud service.

abstract Mono<Response<BinaryData>> getRemoteDesktopFileWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a remote desktop file for a role instance in a cloud service.

abstract Response<RoleInstanceInner> getWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, Context context)

Gets a role instance from a cloud service.

abstract Mono<Response<RoleInstanceInner>> getWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName, InstanceViewTypes expand)

Gets a role instance from a cloud service.

abstract PagedIterable<RoleInstanceInner> list(String resourceGroupName, String cloudServiceName)

Gets the list of all role instances in a cloud service.

abstract PagedIterable<RoleInstanceInner> list(String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, Context context)

Gets the list of all role instances in a cloud service.

abstract PagedFlux<RoleInstanceInner> listAsync(String resourceGroupName, String cloudServiceName)

Gets the list of all role instances in a cloud service.

abstract PagedFlux<RoleInstanceInner> listAsync(String resourceGroupName, String cloudServiceName, InstanceViewTypes expand)

Gets the list of all role instances in a cloud service.

abstract void rebuild(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

The Rebuild Role Instance asynchronous operation 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 roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 roleInstanceName, String resourceGroupName, String cloudServiceName)

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

abstract void reimage(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

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

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

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

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

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

abstract void restart(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

abstract void restart(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

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

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

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

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Method Details

beginDelete

public abstract SyncPoller,Void> beginDelete(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Deletes a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
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 roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

Deletes a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
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 roleInstanceName, String resourceGroupName, String cloudServiceName)

Deletes a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
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 roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 Instance.

Parameters:

roleInstanceName - Name of the role instance.
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 roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

The Rebuild Role Instance asynchronous operation 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 Instance.

Parameters:

roleInstanceName - Name of the role instance.
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.

beginRebuildAsync

public abstract PollerFlux,Void> beginRebuildAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 Instance.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginReimage

public abstract SyncPoller,Void> beginReimage(String roleInstanceName, String resourceGroupName, String cloudServiceName)

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

Parameters:

roleInstanceName - Name of the role instance.
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 roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

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

Parameters:

roleInstanceName - Name of the role instance.
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.

beginReimageAsync

public abstract PollerFlux,Void> beginReimageAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

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

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller,Void> beginRestart(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Parameters:

roleInstanceName - Name of the role instance.
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 roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Parameters:

roleInstanceName - Name of the role instance.
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.

beginRestartAsync

public abstract PollerFlux,Void> beginRestartAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

delete

public abstract void delete(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Deletes a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

delete

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

Deletes a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
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 roleInstanceName, String resourceGroupName, String cloudServiceName)

Deletes a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

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

Deletes a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RoleInstanceInner get(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a role instance from a cloud service.

getAsync

public abstract Mono getAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a role instance from a cloud service on successful completion of Mono.

getInstanceView

public abstract RoleInstanceViewInner getInstanceView(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Retrieves information about the run-time state of a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the instance view of the role instance.

getInstanceViewAsync

public abstract Mono getInstanceViewAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Retrieves information about the run-time state of a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the instance view of the role instance on successful completion of Mono.

getInstanceViewWithResponse

public abstract Response getInstanceViewWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

Retrieves information about the run-time state of a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
context - The context to associate with this operation.

Returns:

the instance view of the role instance along with Response<T>.

getInstanceViewWithResponseAsync

public abstract Mono> getInstanceViewWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Retrieves information about the run-time state of a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the instance view of the role instance along with Response<T> on successful completion of Mono.

getRemoteDesktopFile

public abstract BinaryData getRemoteDesktopFile(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a remote desktop file for a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a remote desktop file for a role instance in a cloud service.

getRemoteDesktopFileAsync

public abstract Mono getRemoteDesktopFileAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a remote desktop file for a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a remote desktop file for a role instance in a cloud service on successful completion of Mono.

getRemoteDesktopFileWithResponse

public abstract Response getRemoteDesktopFileWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

Gets a remote desktop file for a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
context - The context to associate with this operation.

Returns:

a remote desktop file for a role instance in a cloud service along with Response<T>.

getRemoteDesktopFileWithResponseAsync

public abstract Mono> getRemoteDesktopFileWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

Gets a remote desktop file for a role instance in a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

a remote desktop file for a role instance in a cloud service along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, Context context)

Gets a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
expand - The expand expression to apply to the operation. 'UserData' is not supported for cloud services.
context - The context to associate with this operation.

Returns:

a role instance from a cloud service along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName, InstanceViewTypes expand)

Gets a role instance from a cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
expand - The expand expression to apply to the operation. 'UserData' is not supported for cloud services.

Returns:

a role instance from a cloud service along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String cloudServiceName)

Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.

Parameters:

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

Returns:

the list of all role instances in a cloud service as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, Context context)

Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
expand - The expand expression to apply to the operation. 'UserData' is not supported for cloud services.
context - The context to associate with this operation.

Returns:

the list of all role instances in a cloud service as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String cloudServiceName)

Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.

Parameters:

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

Returns:

the list of all role instances in a cloud service as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String cloudServiceName, InstanceViewTypes expand)

Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances.

Parameters:

resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
expand - The expand expression to apply to the operation. 'UserData' is not supported for cloud services.

Returns:

the list of all role instances in a cloud service as paginated response with PagedFlux<T>.

rebuild

public abstract void rebuild(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 Instance.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

rebuild

public abstract void rebuild(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

The Rebuild Role Instance asynchronous operation 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 Instance.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
context - The context to associate with this operation.

rebuildAsync

public abstract Mono rebuildAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 Instance.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

A Mono that completes when a successful response is received.

rebuildWithResponseAsync

public abstract Mono>> rebuildWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Rebuild Role Instance asynchronous operation 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 Instance.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the Response<T> on successful completion of Mono.

reimage

public abstract void reimage(String roleInstanceName, String resourceGroupName, String cloudServiceName)

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

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

reimage

public abstract void reimage(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

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

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
context - The context to associate with this operation.

reimageAsync

public abstract Mono reimageAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

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

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

A Mono that completes when a successful response is received.

reimageWithResponseAsync

public abstract Mono>> reimageWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

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

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the Response<T> on successful completion of Mono.

restart

public abstract void restart(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

restart

public abstract void restart(String roleInstanceName, String resourceGroupName, String cloudServiceName, Context context)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.
context - The context to associate with this operation.

restartAsync

public abstract Mono restartAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

A Mono that completes when a successful response is received.

restartWithResponseAsync

public abstract Mono>> restartWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName)

The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.

Parameters:

roleInstanceName - Name of the role instance.
resourceGroupName - Name of the resource group.
cloudServiceName - Name of the cloud service.

Returns:

the Response<T> on successful completion of Mono.

Applies to