ComputeNodes.deleteUserWithServiceResponseAsync Method

定义

重载

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.

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.

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.

public Observable<ServiceResponseWithHeaders<Void, ComputeNodeDeleteUserHeaders>> deleteUserWithServiceResponseAsync(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.

返回
Observable<ServiceResponseWithHeaders<Void, ComputeNodeDeleteUserHeaders>>

the ServiceResponseWithHeaders object if successful.

异常
IllegalArgumentException

thrown if parameters fail the validation

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.

public Observable<ServiceResponseWithHeaders<Void, ComputeNodeDeleteUserHeaders>> deleteUserWithServiceResponseAsync(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

返回
Observable<ServiceResponseWithHeaders<Void, ComputeNodeDeleteUserHeaders>>

the ServiceResponseWithHeaders object if successful.

异常
IllegalArgumentException

thrown if parameters fail the validation

适用于