ComputeNodes Interface

public interface ComputeNodes

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

Method Summary

Modifier and Type Method and Description
void addUser(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

void addUser(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Observable<Void> addUserAsync(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Observable<Void> addUserAsync(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

ServiceFuture<Void> addUserAsync(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions, final ServiceCallback<Void> serviceCallback)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

ServiceFuture<Void> addUserAsync(String poolId, String nodeId, ComputeNodeUser user, final ServiceCallback<Void> serviceCallback)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeAddUserHeaders>> addUserWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeAddUserHeaders>> addUserWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

void deleteUser(String poolId, String nodeId, String userName)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

void deleteUser(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Observable<Void> deleteUserAsync(String poolId, String nodeId, String userName)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Observable<Void> deleteUserAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

ServiceFuture<Void> deleteUserAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions, final ServiceCallback<Void> serviceCallback)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

ServiceFuture<Void> deleteUserAsync(String poolId, String nodeId, String userName, final ServiceCallback<Void> serviceCallback)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeDeleteUserHeaders>> deleteUserWithServiceResponseAsync(String poolId, String nodeId, String userName)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeDeleteUserHeaders>> deleteUserWithServiceResponseAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

void disableScheduling(String poolId, String nodeId)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

void disableScheduling(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Observable<Void> disableSchedulingAsync(String poolId, String nodeId)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Observable<Void> disableSchedulingAsync(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

ServiceFuture<Void> disableSchedulingAsync(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions, final ServiceCallback<Void> serviceCallback)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

ServiceFuture<Void> disableSchedulingAsync(String poolId, String nodeId, final ServiceCallback<Void> serviceCallback)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeDisableSchedulingHeaders>> disableSchedulingWithServiceResponseAsync(String poolId, String nodeId)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeDisableSchedulingHeaders>> disableSchedulingWithServiceResponseAsync(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

void enableScheduling(String poolId, String nodeId)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

void enableScheduling(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Observable<Void> enableSchedulingAsync(String poolId, String nodeId)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Observable<Void> enableSchedulingAsync(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

ServiceFuture<Void> enableSchedulingAsync(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions, final ServiceCallback<Void> serviceCallback)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

ServiceFuture<Void> enableSchedulingAsync(String poolId, String nodeId, final ServiceCallback<Void> serviceCallback)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeEnableSchedulingHeaders>> enableSchedulingWithServiceResponseAsync(String poolId, String nodeId)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeEnableSchedulingHeaders>> enableSchedulingWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

ComputeNode get(String poolId, String nodeId)

Gets information about the specified compute node.

ComputeNode get(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

Observable<ComputeNode> getAsync(String poolId, String nodeId)

Gets information about the specified compute node.

Observable<ComputeNode> getAsync(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

ServiceFuture<ComputeNode> getAsync(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions, final ServiceCallback<ComputeNode> serviceCallback)

Gets information about the specified compute node.

ServiceFuture<ComputeNode> getAsync(String poolId, String nodeId, final ServiceCallback<ComputeNode> serviceCallback)

Gets information about the specified compute node.

void getRemoteDesktop(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions, OutputStream outputStream)

Gets the Remote Desktop Protocol file for the specified compute node.

void getRemoteDesktop(String poolId, String nodeId, OutputStream outputStream)
Observable<InputStream> getRemoteDesktopAsync(String poolId, String nodeId)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Observable<InputStream> getRemoteDesktopAsync(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

ServiceFuture<InputStream> getRemoteDesktopAsync(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions, final ServiceCallback<InputStream> serviceCallback)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

ServiceFuture<InputStream> getRemoteDesktopAsync(String poolId, String nodeId, final ServiceCallback<InputStream> serviceCallback)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Observable<ServiceResponseWithHeaders<InputStream, ComputeNodeGetRemoteDesktopHeaders>> getRemoteDesktopWithServiceResponseAsync(String poolId, String nodeId)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Observable<ServiceResponseWithHeaders<InputStream, ComputeNodeGetRemoteDesktopHeaders>> getRemoteDesktopWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

ComputeNodeGetRemoteLoginSettingsResult getRemoteLoginSettings(String poolId, String nodeId)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

ComputeNodeGetRemoteLoginSettingsResult getRemoteLoginSettings(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Observable<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync(String poolId, String nodeId)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Observable<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

ServiceFuture<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions, final ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult> serviceCallback)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

ServiceFuture<ComputeNodeGetRemoteLoginSettingsResult> getRemoteLoginSettingsAsync(String poolId, String nodeId, final ServiceCallback<ComputeNodeGetRemoteLoginSettingsResult> serviceCallback)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Observable<ServiceResponseWithHeaders<ComputeNodeGetRemoteLoginSettingsResult, ComputeNodeGetRemoteLoginSettingsHeaders>> getRemoteLoginSettingsWithServiceResponseAsync(String poolId, String nodeId)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Observable<ServiceResponseWithHeaders<ComputeNodeGetRemoteLoginSettingsResult, ComputeNodeGetRemoteLoginSettingsHeaders>> getRemoteLoginSettingsWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Observable<ServiceResponseWithHeaders<ComputeNode, ComputeNodeGetHeaders>> getWithServiceResponseAsync(String poolId, String nodeId)

Gets information about the specified compute node.

Observable<ServiceResponseWithHeaders<ComputeNode, ComputeNodeGetHeaders>> getWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

PagedList<ComputeNode> list(final String poolId)

Lists the compute nodes in the specified pool.

PagedList<ComputeNode> list(final String poolId, final ComputeNodeListOptions computeNodeListOptions)

Lists the compute nodes in the specified pool.

Observable<Page<ComputeNode>> listAsync(final String poolId)

Lists the compute nodes in the specified pool.

Observable<Page<ComputeNode>> listAsync(final String poolId, final ComputeNodeListOptions computeNodeListOptions)

Lists the compute nodes in the specified pool.

ServiceFuture<List<ComputeNode>> listAsync(final String poolId, final ComputeNodeListOptions computeNodeListOptions, final ListOperationCallback<ComputeNode> serviceCallback)

Lists the compute nodes in the specified pool.

ServiceFuture<List<ComputeNode>> listAsync(final String poolId, final ListOperationCallback<ComputeNode> serviceCallback)

Lists the compute nodes in the specified pool.

PagedList<ComputeNode> listNext(final String nextPageLink)

Lists the compute nodes in the specified pool.

PagedList<ComputeNode> listNext(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions)

Lists the compute nodes in the specified pool.

Observable<Page<ComputeNode>> listNextAsync(final String nextPageLink)

Lists the compute nodes in the specified pool.

Observable<Page<ComputeNode>> listNextAsync(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions)

Lists the compute nodes in the specified pool.

ServiceFuture<List<ComputeNode>> listNextAsync(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions, final ServiceFuture<List<ComputeNode>> serviceFuture, final ListOperationCallback<ComputeNode> serviceCallback)

Lists the compute nodes in the specified pool.

ServiceFuture<List<ComputeNode>> listNextAsync(final String nextPageLink, final ServiceFuture<List<ComputeNode>> serviceFuture, final ListOperationCallback<ComputeNode> serviceCallback)

Lists the compute nodes in the specified pool.

Observable<ServiceResponseWithHeaders<Page<ComputeNode>, ComputeNodeListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists the compute nodes in the specified pool.

Observable<ServiceResponseWithHeaders<Page<ComputeNode>, ComputeNodeListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions)

Lists the compute nodes in the specified pool.

Observable<ServiceResponseWithHeaders<Page<ComputeNode>, ComputeNodeListHeaders>> listWithServiceResponseAsync(final String poolId)

Lists the compute nodes in the specified pool.

Observable<ServiceResponseWithHeaders<Page<ComputeNode>, ComputeNodeListHeaders>> listWithServiceResponseAsync(final String poolId, final ComputeNodeListOptions computeNodeListOptions)

Lists the compute nodes in the specified pool.

void reboot(String poolId, String nodeId)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

void reboot(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Observable<Void> rebootAsync(String poolId, String nodeId)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Observable<Void> rebootAsync(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

ServiceFuture<Void> rebootAsync(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions, final ServiceCallback<Void> serviceCallback)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

ServiceFuture<Void> rebootAsync(String poolId, String nodeId, final ServiceCallback<Void> serviceCallback)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeRebootHeaders>> rebootWithServiceResponseAsync(String poolId, String nodeId)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeRebootHeaders>> rebootWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

void reimage(String poolId, String nodeId)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

void reimage(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Observable<Void> reimageAsync(String poolId, String nodeId)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Observable<Void> reimageAsync(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

ServiceFuture<Void> reimageAsync(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions, final ServiceCallback<Void> serviceCallback)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

ServiceFuture<Void> reimageAsync(String poolId, String nodeId, final ServiceCallback<Void> serviceCallback)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeReimageHeaders>> reimageWithServiceResponseAsync(String poolId, String nodeId)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeReimageHeaders>> reimageWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

void updateUser(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

void updateUser(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Observable<Void> updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Observable<Void> updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

ServiceFuture<Void> updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions, final ServiceCallback<Void> serviceCallback)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

ServiceFuture<Void> updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, final ServiceCallback<Void> serviceCallback)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeUpdateUserHeaders>> updateUserWithServiceResponseAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Observable<ServiceResponseWithHeaders<Void, ComputeNodeUpdateUserHeaders>> updateUserWithServiceResponseAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

UploadBatchServiceLogsResult uploadBatchServiceLogs(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

UploadBatchServiceLogsResult uploadBatchServiceLogs(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Observable<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Observable<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

ServiceFuture<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions, final ServiceCallback<UploadBatchServiceLogsResult> serviceCallback)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

ServiceFuture<UploadBatchServiceLogsResult> uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, final ServiceCallback<UploadBatchServiceLogsResult> serviceCallback)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Observable<ServiceResponseWithHeaders<UploadBatchServiceLogsResult, ComputeNodeUploadBatchServiceLogsHeaders>> uploadBatchServiceLogsWithServiceResponseAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Observable<ServiceResponseWithHeaders<UploadBatchServiceLogsResult, ComputeNodeUploadBatchServiceLogsHeaders>> uploadBatchServiceLogsWithServiceResponseAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Method Details

addUser

public void addUser(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

addUser

public void addUser(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.
computeNodeAddUserOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

addUserAsync

public Observable addUserAsync(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addUserAsync

public Observable addUserAsync(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.
computeNodeAddUserOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addUserAsync

public ServiceFuture addUserAsync(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions, final ServiceCallback serviceCallback)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.
computeNodeAddUserOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addUserAsync

public ServiceFuture addUserAsync(String poolId, String nodeId, ComputeNodeUser user, final ServiceCallback serviceCallback)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addUserWithServiceResponseAsync

public Observable> addUserWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

addUserWithServiceResponseAsync

public Observable> addUserWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeUser user, ComputeNodeAddUserOptions computeNodeAddUserOptions)

Adds a user account to the specified compute node. You can add a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to create a user account.
user - The user account to be created.
computeNodeAddUserOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteUser

public void deleteUser(String poolId, String nodeId, String userName)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteUser

public void deleteUser(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.
computeNodeDeleteUserOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteUserAsync

public Observable deleteUserAsync(String poolId, String nodeId, String userName)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteUserAsync

public Observable deleteUserAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.
computeNodeDeleteUserOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteUserAsync

public ServiceFuture deleteUserAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions, final ServiceCallback serviceCallback)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.
computeNodeDeleteUserOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteUserAsync

public ServiceFuture deleteUserAsync(String poolId, String nodeId, String userName, final ServiceCallback serviceCallback)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteUserWithServiceResponseAsync

public Observable> deleteUserWithServiceResponseAsync(String poolId, String nodeId, String userName)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteUserWithServiceResponseAsync

public Observable> deleteUserWithServiceResponseAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)

Deletes a user account from the specified compute node. You can delete a user account to a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to delete a user account.
userName - The name of the user account to delete.
computeNodeDeleteUserOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableScheduling

public void disableScheduling(String poolId, String nodeId)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

disableScheduling

public void disableScheduling(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.
nodeDisableSchedulingOption - What to do with currently running tasks when disabling task scheduling on the compute node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
computeNodeDisableSchedulingOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

disableSchedulingAsync

public Observable disableSchedulingAsync(String poolId, String nodeId)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableSchedulingAsync

public Observable disableSchedulingAsync(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.
nodeDisableSchedulingOption - What to do with currently running tasks when disabling task scheduling on the compute node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
computeNodeDisableSchedulingOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableSchedulingAsync

public ServiceFuture disableSchedulingAsync(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions, final ServiceCallback serviceCallback)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.
nodeDisableSchedulingOption - What to do with currently running tasks when disabling task scheduling on the compute node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
computeNodeDisableSchedulingOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableSchedulingAsync

public ServiceFuture disableSchedulingAsync(String poolId, String nodeId, final ServiceCallback serviceCallback)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableSchedulingWithServiceResponseAsync

public Observable> disableSchedulingWithServiceResponseAsync(String poolId, String nodeId)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

disableSchedulingWithServiceResponseAsync

public Observable> disableSchedulingWithServiceResponseAsync(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables task scheduling on the specified compute node. You can disable task scheduling on a node only if its current scheduling state is enabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to disable task scheduling.
nodeDisableSchedulingOption - What to do with currently running tasks when disabling task scheduling on the compute node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'
computeNodeDisableSchedulingOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableScheduling

public void enableScheduling(String poolId, String nodeId)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

enableScheduling

public void enableScheduling(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.
computeNodeEnableSchedulingOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

enableSchedulingAsync

public Observable enableSchedulingAsync(String poolId, String nodeId)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableSchedulingAsync

public Observable enableSchedulingAsync(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.
computeNodeEnableSchedulingOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableSchedulingAsync

public ServiceFuture enableSchedulingAsync(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions, final ServiceCallback serviceCallback)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.
computeNodeEnableSchedulingOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableSchedulingAsync

public ServiceFuture enableSchedulingAsync(String poolId, String nodeId, final ServiceCallback serviceCallback)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableSchedulingWithServiceResponseAsync

public Observable> enableSchedulingWithServiceResponseAsync(String poolId, String nodeId)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

enableSchedulingWithServiceResponseAsync

public Observable> enableSchedulingWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeEnableSchedulingOptions computeNodeEnableSchedulingOptions)

Enables task scheduling on the specified compute node. You can enable task scheduling on a node only if its current scheduling state is disabled.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node on which you want to enable task scheduling.
computeNodeEnableSchedulingOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

get

public ComputeNode get(String poolId, String nodeId)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.

Returns:

the ComputeNode object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

get

public ComputeNode get(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.
computeNodeGetOptions - Additional parameters for the operation

Returns:

the ComputeNode object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAsync

public Observable getAsync(String poolId, String nodeId)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.

Returns:

the observable to the ComputeNode object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public Observable getAsync(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.
computeNodeGetOptions - Additional parameters for the operation

Returns:

the observable to the ComputeNode object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions, final ServiceCallback serviceCallback)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.
computeNodeGetOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String poolId, String nodeId, final ServiceCallback serviceCallback)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteDesktop

public void getRemoteDesktop(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions, OutputStream outputStream)

Gets the Remote Desktop Protocol file for the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
computeNodeGetRemoteDesktopOptions - Additional parameters for the operation
outputStream - The OutputStream object which data will be written to if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getRemoteDesktop

public void getRemoteDesktop(String poolId, String nodeId, OutputStream outputStream)

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
outputStream - The OutputStream object which data will be written to if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getRemoteDesktopAsync

public Observable getRemoteDesktopAsync(String poolId, String nodeId)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteDesktopAsync

public Observable getRemoteDesktopAsync(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
computeNodeGetRemoteDesktopOptions - Additional parameters for the operation

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteDesktopAsync

public ServiceFuture getRemoteDesktopAsync(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions, final ServiceCallback serviceCallback)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
computeNodeGetRemoteDesktopOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteDesktopAsync

public ServiceFuture getRemoteDesktopAsync(String poolId, String nodeId, final ServiceCallback serviceCallback)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteDesktopWithServiceResponseAsync

public Observable> getRemoteDesktopWithServiceResponseAsync(String poolId, String nodeId)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteDesktopWithServiceResponseAsync

public Observable> getRemoteDesktopWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions)

Gets the Remote Desktop Protocol file for the specified compute node. Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which you want to get the Remote Desktop Protocol file.
computeNodeGetRemoteDesktopOptions - Additional parameters for the operation

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteLoginSettings

public ComputeNodeGetRemoteLoginSettingsResult getRemoteLoginSettings(String poolId, String nodeId)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.

Returns:

the ComputeNodeGetRemoteLoginSettingsResult object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getRemoteLoginSettings

public ComputeNodeGetRemoteLoginSettingsResult getRemoteLoginSettings(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.
computeNodeGetRemoteLoginSettingsOptions - Additional parameters for the operation

Returns:

the ComputeNodeGetRemoteLoginSettingsResult object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getRemoteLoginSettingsAsync

public Observable getRemoteLoginSettingsAsync(String poolId, String nodeId)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.

Returns:

the observable to the ComputeNodeGetRemoteLoginSettingsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteLoginSettingsAsync

public Observable getRemoteLoginSettingsAsync(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.
computeNodeGetRemoteLoginSettingsOptions - Additional parameters for the operation

Returns:

the observable to the ComputeNodeGetRemoteLoginSettingsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteLoginSettingsAsync

public ServiceFuture getRemoteLoginSettingsAsync(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions, final ServiceCallback serviceCallback)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.
computeNodeGetRemoteLoginSettingsOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteLoginSettingsAsync

public ServiceFuture getRemoteLoginSettingsAsync(String poolId, String nodeId, final ServiceCallback serviceCallback)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteLoginSettingsWithServiceResponseAsync

public Observable> getRemoteLoginSettingsWithServiceResponseAsync(String poolId, String nodeId)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.

Returns:

the observable to the ComputeNodeGetRemoteLoginSettingsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getRemoteLoginSettingsWithServiceResponseAsync

public Observable> getRemoteLoginSettingsWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeGetRemoteLoginSettingsOptions computeNodeGetRemoteLoginSettingsOptions)

Gets the settings required for remote login to a compute node. Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node for which to obtain the remote login settings.
computeNodeGetRemoteLoginSettingsOptions - Additional parameters for the operation

Returns:

the observable to the ComputeNodeGetRemoteLoginSettingsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable> getWithServiceResponseAsync(String poolId, String nodeId)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.

Returns:

the observable to the ComputeNode object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable> getWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to get information about.
computeNodeGetOptions - Additional parameters for the operation

Returns:

the observable to the ComputeNode object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

list

public PagedList list(final String poolId)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.

Returns:

the PagedList<ComputeNode> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

list

public PagedList list(final String poolId, final ComputeNodeListOptions computeNodeListOptions)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.
computeNodeListOptions - Additional parameters for the operation

Returns:

the PagedList<ComputeNode> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listAsync

public Observable> listAsync(final String poolId)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public Observable> listAsync(final String poolId, final ComputeNodeListOptions computeNodeListOptions)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.
computeNodeListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture> listAsync(final String poolId, final ComputeNodeListOptions computeNodeListOptions, final ListOperationCallback serviceCallback)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.
computeNodeListOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture> listAsync(final String poolId, final ListOperationCallback serviceCallback)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNext

public PagedList listNext(final String nextPageLink)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<ComputeNode> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNext

public PagedList listNext(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
computeNodeListNextOptions - Additional parameters for the operation

Returns:

the PagedList<ComputeNode> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNextAsync

public Observable> listNextAsync(final String nextPageLink)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public Observable> listNextAsync(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
computeNodeListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture> listNextAsync(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
computeNodeListNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable, ComputeNodeListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable, ComputeNodeListHeaders>> listNextWithServiceResponseAsync(final String nextPageLink, final ComputeNodeListNextOptions computeNodeListNextOptions)

Lists the compute nodes in the specified pool.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
computeNodeListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable, ComputeNodeListHeaders>> listWithServiceResponseAsync(final String poolId)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable, ComputeNodeListHeaders>> listWithServiceResponseAsync(final String poolId, final ComputeNodeListOptions computeNodeListOptions)

Lists the compute nodes in the specified pool.

Parameters:

poolId - The ID of the pool from which you want to list nodes.
computeNodeListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<ComputeNode> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

reboot

public void reboot(String poolId, String nodeId)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

reboot

public void reboot(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeRebootOption - When to reboot the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeRebootOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

rebootAsync

public Observable rebootAsync(String poolId, String nodeId)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rebootAsync

public Observable rebootAsync(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeRebootOption - When to reboot the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeRebootOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rebootAsync

public ServiceFuture rebootAsync(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions, final ServiceCallback serviceCallback)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeRebootOption - When to reboot the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeRebootOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rebootAsync

public ServiceFuture rebootAsync(String poolId, String nodeId, final ServiceCallback serviceCallback)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rebootWithServiceResponseAsync

public Observable> rebootWithServiceResponseAsync(String poolId, String nodeId)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

rebootWithServiceResponseAsync

public Observable> rebootWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, ComputeNodeRebootOptions computeNodeRebootOptions)

Restarts the specified compute node. You can restart a node only if it is in an idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeRebootOption - When to reboot the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeRebootOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

reimage

public void reimage(String poolId, String nodeId)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

reimage

public void reimage(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeReimageOption - When to reimage the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeReimageOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

reimageAsync

public Observable reimageAsync(String poolId, String nodeId)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

reimageAsync

public Observable reimageAsync(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeReimageOption - When to reimage the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeReimageOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

reimageAsync

public ServiceFuture reimageAsync(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions, final ServiceCallback serviceCallback)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeReimageOption - When to reimage the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeReimageOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

reimageAsync

public ServiceFuture reimageAsync(String poolId, String nodeId, final ServiceCallback serviceCallback)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

reimageWithServiceResponseAsync

public Observable> reimageWithServiceResponseAsync(String poolId, String nodeId)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

reimageWithServiceResponseAsync

public Observable> reimageWithServiceResponseAsync(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, ComputeNodeReimageOptions computeNodeReimageOptions)

Reinstalls the operating system on the specified compute node. You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that you want to restart.
nodeReimageOption - When to reimage the compute node and what to do with currently running tasks. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'
computeNodeReimageOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateUser

public void updateUser(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateUser

public void updateUser(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.
computeNodeUpdateUserOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateUserAsync

public Observable updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateUserAsync

public Observable updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.
computeNodeUpdateUserOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateUserAsync

public ServiceFuture updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions, final ServiceCallback serviceCallback)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.
computeNodeUpdateUserOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateUserAsync

public ServiceFuture updateUserAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, final ServiceCallback serviceCallback)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateUserWithServiceResponseAsync

public Observable> updateUserWithServiceResponseAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateUserWithServiceResponseAsync

public Observable> updateUserWithServiceResponseAsync(String poolId, String nodeId, String userName, NodeUpdateUserParameter nodeUpdateUserParameter, ComputeNodeUpdateUserOptions computeNodeUpdateUserOptions)

Updates the password and expiration time of a user account on the specified compute node. This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the machine on which you want to update a user account.
userName - The name of the user account to update.
nodeUpdateUserParameter - The parameters for the request.
computeNodeUpdateUserOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

uploadBatchServiceLogs

public UploadBatchServiceLogsResult uploadBatchServiceLogs(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.

Returns:

the UploadBatchServiceLogsResult object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

uploadBatchServiceLogs

public UploadBatchServiceLogsResult uploadBatchServiceLogs(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
computeNodeUploadBatchServiceLogsOptions - Additional parameters for the operation

Returns:

the UploadBatchServiceLogsResult object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

uploadBatchServiceLogsAsync

public Observable uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.

Returns:

the observable to the UploadBatchServiceLogsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

uploadBatchServiceLogsAsync

public Observable uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
computeNodeUploadBatchServiceLogsOptions - Additional parameters for the operation

Returns:

the observable to the UploadBatchServiceLogsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

uploadBatchServiceLogsAsync

public ServiceFuture uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions, final ServiceCallback serviceCallback)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
computeNodeUploadBatchServiceLogsOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

uploadBatchServiceLogsAsync

public ServiceFuture uploadBatchServiceLogsAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, final ServiceCallback serviceCallback)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

uploadBatchServiceLogsWithServiceResponseAsync

public Observable> uploadBatchServiceLogsWithServiceResponseAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.

Returns:

the observable to the UploadBatchServiceLogsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

uploadBatchServiceLogsWithServiceResponseAsync

public Observable> uploadBatchServiceLogsWithServiceResponseAsync(String poolId, String nodeId, UploadBatchServiceLogsConfiguration uploadBatchServiceLogsConfiguration, ComputeNodeUploadBatchServiceLogsOptions computeNodeUploadBatchServiceLogsOptions)

Upload Azure Batch service log files from the specified compute node to Azure Blob Storage. This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to upload the Azure Batch service log files.
uploadBatchServiceLogsConfiguration - The Azure Batch service log files upload configuration.
computeNodeUploadBatchServiceLogsOptions - Additional parameters for the operation

Returns:

the observable to the UploadBatchServiceLogsResult object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to