ComputeNodeOperations Class
- java.
lang. Object - IInheritedBehaviors
- com.
microsoft. azure. batch. ComputeNodeOperations
- com.
public class ComputeNodeOperations implements IInheritedBehaviors
Performs compute node-related operations on an Azure Batch account.
Method Summary
Method Details
addComputeNodeUser
public void addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user)
Adds a user account to the specified compute node.
Parameters:
Throws:
addComputeNodeUser
public void addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user, Iterable
Adds a user account to the specified compute node.
Parameters:
Throws:
customBehaviors
public Collection
Gets a collection of behaviors that modify or customize requests to the Batch service.
Overrides:
ComputeNodeOperations.customBehaviors()Returns:
deleteComputeNodeUser
public void deleteComputeNodeUser(String poolId, String nodeId, String userName)
Deletes the specified user account from the specified compute node.
Parameters:
Throws:
deleteComputeNodeUser
public void deleteComputeNodeUser(String poolId, String nodeId, String userName, Iterable
Deletes the specified user account from the specified compute node.
Parameters:
Throws:
disableComputeNodeScheduling
public void disableComputeNodeScheduling(String poolId, String nodeId)
Disables task scheduling on the specified compute node.
Parameters:
Throws:
disableComputeNodeScheduling
public void disableComputeNodeScheduling(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption)
Disables task scheduling on the specified compute node.
Parameters:
Throws:
disableComputeNodeScheduling
public void disableComputeNodeScheduling(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, Iterable
Disables task scheduling on the specified compute node.
Parameters:
Throws:
enableComputeNodeScheduling
public void enableComputeNodeScheduling(String poolId, String nodeId)
Enables task scheduling on the specified compute node.
Parameters:
Throws:
enableComputeNodeScheduling
public void enableComputeNodeScheduling(String poolId, String nodeId, Iterable
Enables task scheduling on the specified compute node.
Parameters:
Throws:
getComputeNode
public ComputeNode getComputeNode(String poolId, String nodeId)
Gets the specified compute node.
Parameters:
Returns:
Throws:
getComputeNode
public ComputeNode getComputeNode(String poolId, String nodeId, DetailLevel detailLevel)
Gets the specified compute node.
Parameters:
Returns:
Throws:
getComputeNode
public ComputeNode getComputeNode(String poolId, String nodeId, DetailLevel detailLevel, Iterable
Gets the specified compute node.
Parameters:
Returns:
Throws:
getComputeNodeRemoteDesktop
public String getComputeNodeRemoteDesktop(String poolId, String nodeId)
Gets a Remote Desktop Protocol (RDP) file for the specified node.
Parameters:
Returns:
Throws:
getComputeNodeRemoteDesktop
public String getComputeNodeRemoteDesktop(String poolId, String nodeId, Iterable
Gets a Remote Desktop Protocol (RDP) file for the specified node.
Parameters:
Returns:
Throws:
getComputeNodeRemoteLoginSettings
public ComputeNodeGetRemoteLoginSettingsResult getComputeNodeRemoteLoginSettings(String poolId, String nodeId)
Gets the settings required for remote login to a compute node.
Parameters:
Returns:
Throws:
getComputeNodeRemoteLoginSettings
public ComputeNodeGetRemoteLoginSettingsResult getComputeNodeRemoteLoginSettings(String poolId, String nodeId, Iterable
Gets the settings required for remote login to a compute node.
Parameters:
Returns:
Throws:
listComputeNodes
public PagedList
Lists the compute nodes of the specified pool.
Parameters:
Returns:
Throws:
listComputeNodes
public PagedList
Lists the compute nodes of the specified pool.
Parameters:
Returns:
Throws:
listComputeNodes
public PagedList
Lists the compute nodes of the specified pool.
Parameters:
Returns:
Throws:
rebootComputeNode
public void rebootComputeNode(String poolId, String nodeId)
Reboots the specified compute node.
You can reboot a compute node only when it is in the IDLE or RUNNING state.
Parameters:
Throws:
rebootComputeNode
public void rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption)
Reboots the specified compute node.
You can reboot a compute node only when it is in the IDLE or RUNNING state.
Parameters:
Throws:
rebootComputeNode
public void rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, Iterable
Reboots the specified compute node.
You can reboot a compute node only when it is in the IDLE or RUNNING state.
Parameters:
Throws:
reimageComputeNode
public void reimageComputeNode(String poolId, String nodeId)
Reinstalls the operating system on the specified compute node.
You can reimage a compute node only when it is in the IDLE or RUNNING state.
Parameters:
Throws:
reimageComputeNode
public void reimageComputeNode(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption)
Reinstalls the operating system on the specified compute node.
You can reimage a compute node only when it is in the IDLE or RUNNING state.
Parameters:
Throws:
reimageComputeNode
public void reimageComputeNode(String poolId, String nodeId, ComputeNodeReimageOption nodeReimageOption, Iterable
Reinstalls the operating system on the specified compute node.
You can reimage a compute node only when it is in the IDLE or RUNNING state.
Parameters:
Throws:
updateComputeNodeUser
public void updateComputeNodeUser(String poolId, String nodeId, String userName, String sshPublicKey)
Updates the specified user account on the specified compute node.
Parameters:
Throws:
updateComputeNodeUser
public void updateComputeNodeUser(String poolId, String nodeId, String userName, String password, DateTime expiryTime)
Updates the specified user account on the specified compute node.
Parameters:
Throws:
updateComputeNodeUser
public void updateComputeNodeUser(String poolId, String nodeId, String userName, String password, DateTime expiryTime, Iterable
Updates the specified user account on the specified compute node.
Parameters:
Throws:
updateComputeNodeUser
public void updateComputeNodeUser(String poolId, String nodeId, String userName, String sshPublicKey, Iterable
Updates the specified user account on the specified compute node.
Parameters:
Throws:
uploadBatchServiceLogs
public UploadBatchServiceLogsResult uploadBatchServiceLogs(String poolId, String nodeId, String containerUrl, DateTime startTime)
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:
Returns:
Throws:
uploadBatchServiceLogs
public UploadBatchServiceLogsResult uploadBatchServiceLogs(String poolId, String nodeId, String containerUrl, DateTime startTime, DateTime endTime, Iterable
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:
Returns:
Throws:
withCustomBehaviors
public IInheritedBehaviors withCustomBehaviors(Collection
Sets a collection of behaviors that modify or customize requests to the Batch service.
Overrides:
ComputeNodeOperations.withCustomBehaviors(Collection<BatchClientBehavior> behaviors)Parameters:
Returns: