ComputeNodes.deleteUserAsync 方法
定义
重载
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.
|
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.
|
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.
|
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.
|
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.
public Observable<Void> deleteUserAsync(String poolId, String nodeId, String userName)
参数
- poolId
- String
The ID of the pool that contains the compute node.
- nodeId
- String
The ID of the machine on which you want to delete a user account.
- userName
- String
The name of the user account to delete.
返回
the ServiceResponseWithHeaders object if successful.
例外
thrown if parameters fail the validation
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.
public Observable<Void> deleteUserAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions)
参数
- poolId
- String
The ID of the pool that contains the compute node.
- nodeId
- String
The ID of the machine on which you want to delete a user account.
- userName
- String
The name of the user account to delete.
- computeNodeDeleteUserOptions
- ComputeNodeDeleteUserOptions
Additional parameters for the operation
返回
the ServiceResponseWithHeaders object if successful.
例外
thrown if parameters fail the validation
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.
public ServiceFuture<Void> deleteUserAsync(String poolId, String nodeId, String userName, ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions, final ServiceCallback<Void> serviceCallback)
参数
- poolId
- String
The ID of the pool that contains the compute node.
- nodeId
- String
The ID of the machine on which you want to delete a user account.
- userName
- String
The name of the user account to delete.
- computeNodeDeleteUserOptions
- ComputeNodeDeleteUserOptions
Additional parameters for the operation
- serviceCallback
- final ServiceCallback<Void>
the async ServiceCallback to handle successful and failed responses.
返回
the ServiceFuture object
例外
thrown if parameters fail the validation
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.
public ServiceFuture<Void> deleteUserAsync(String poolId, String nodeId, String userName, final ServiceCallback<Void> serviceCallback)
参数
- poolId
- String
The ID of the pool that contains the compute node.
- nodeId
- String
The ID of the machine on which you want to delete a user account.
- userName
- String
The name of the user account to delete.
- serviceCallback
- final ServiceCallback<Void>
the async ServiceCallback to handle successful and failed responses.
返回
the ServiceFuture object
例外
thrown if parameters fail the validation