Aracılığıyla paylaş


ComputeNodeOperationsExtensions.DeleteUser Method

Definition

Deletes a user Account from the specified Compute Node.

public static Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserHeaders DeleteUser (this Microsoft.Azure.Batch.Protocol.IComputeNodeOperations operations, string poolId, string nodeId, string userName, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions = default);
static member DeleteUser : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * string * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserOptions -> Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserHeaders
<Extension()>
Public Function DeleteUser (operations As IComputeNodeOperations, poolId As String, nodeId As String, userName As String, Optional computeNodeDeleteUserOptions As ComputeNodeDeleteUserOptions = Nothing) As ComputeNodeDeleteUserHeaders

Parameters

operations
IComputeNodeOperations

The operations group for this extension method.

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

Returns

Remarks

You can delete a user Account to a Compute Node only when it is in the idle or running state.

Applies to