Interface CloudServiceRoleInstancesClient
public interface CloudServiceRoleInstancesClient
An instance of this class provides access to all the operations defined in CloudServiceRoleInstancesClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete(String roleInstanceName, String resourceGroupName, String cloudServiceName) Deletes a role instance from a cloud service.beginDelete(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Deletes a role instance from a cloud service.beginDeleteAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) Deletes a role instance from a cloud service.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.beginRebuild(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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.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.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.beginReimage(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.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.beginRestart(String roleInstanceName, String resourceGroupName, String cloudServiceName) The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.beginRestart(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.beginRestartAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.voidDeletes a role instance from a cloud service.voiddelete(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Deletes a role instance from a cloud service.deleteAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) Deletes a role instance from a cloud service.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) Deletes a role instance from a cloud service.Gets a role instance from a cloud service.Gets a role instance from a cloud service.getInstanceView(String roleInstanceName, String resourceGroupName, String cloudServiceName) Retrieves information about the run-time state of a role instance in a cloud service.getInstanceViewAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) Retrieves information about the run-time state of a role instance in a cloud service.com.azure.core.http.rest.Response<RoleInstanceViewInner>getInstanceViewWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Retrieves information about the run-time state of a role instance in a cloud service.Mono<com.azure.core.http.rest.Response<RoleInstanceViewInner>>getInstanceViewWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) Retrieves information about the run-time state of a role instance in a cloud service.com.azure.core.util.BinaryDatagetRemoteDesktopFile(String roleInstanceName, String resourceGroupName, String cloudServiceName) Gets a remote desktop file for a role instance in a cloud service.Mono<com.azure.core.util.BinaryData>getRemoteDesktopFileAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) Gets a remote desktop file for a role instance in a cloud service.com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>getRemoteDesktopFileWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) Gets a remote desktop file for a role instance in a cloud service.Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>>getRemoteDesktopFileWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) Gets a remote desktop file for a role instance in a cloud service.com.azure.core.http.rest.Response<RoleInstanceInner>getWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, com.azure.core.util.Context context) Gets a role instance from a cloud service.Mono<com.azure.core.http.rest.Response<RoleInstanceInner>>getWithResponseAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName, InstanceViewTypes expand) Gets a role instance from a cloud service.com.azure.core.http.rest.PagedIterable<RoleInstanceInner>Gets the list of all role instances in a cloud service.com.azure.core.http.rest.PagedIterable<RoleInstanceInner>list(String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, com.azure.core.util.Context context) Gets the list of all role instances in a cloud service.com.azure.core.http.rest.PagedFlux<RoleInstanceInner>Gets the list of all role instances in a cloud service.com.azure.core.http.rest.PagedFlux<RoleInstanceInner>listAsync(String resourceGroupName, String cloudServiceName, InstanceViewTypes expand) Gets the list of all role instances in a cloud service.voidThe 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.voidrebuild(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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.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.Mono<com.azure.core.http.rest.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.voidThe Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.voidreimage(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.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.Mono<com.azure.core.http.rest.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.voidThe Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.voidrestart(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.Context context) The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.restartAsync(String roleInstanceName, String resourceGroupName, String cloudServiceName) The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.Mono<com.azure.core.http.rest.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
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
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 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
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 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
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 roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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
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 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
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 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.- 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
void delete(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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.- 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoleInstanceInner>> 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
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.
-
getAsync
Mono<RoleInstanceInner> 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. - 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.
-
getWithResponse
com.azure.core.http.rest.Response<RoleInstanceInner> getWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, com.azure.core.util.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. - 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.
-
get
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.
- 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<RoleInstanceViewInner>> 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
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<RoleInstanceViewInner> 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. - 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<RoleInstanceViewInner> getInstanceViewWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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. - 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
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.
- 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<RoleInstanceInner> 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. - 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<RoleInstanceInner> 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. - 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.
-
list
com.azure.core.http.rest.PagedIterable<RoleInstanceInner> 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. - 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.
-
list
com.azure.core.http.rest.PagedIterable<RoleInstanceInner> list(String resourceGroupName, String cloudServiceName, InstanceViewTypes expand, com.azure.core.util.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. - 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 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
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 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
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 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
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 roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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
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
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
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
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.- 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 roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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.- 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 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
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 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
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 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
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 roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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
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
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
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
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.- 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 roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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.- 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 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
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 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
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 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
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 roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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
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
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
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
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.- 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 roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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.- 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.
-
getRemoteDesktopFileWithResponseAsync
Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getRemoteDesktopFileAsync
Mono<com.azure.core.util.BinaryData> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getRemoteDesktopFileWithResponse
com.azure.core.http.rest.Response<com.azure.core.util.BinaryData> getRemoteDesktopFileWithResponse(String roleInstanceName, String resourceGroupName, String cloudServiceName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getRemoteDesktopFile
com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-