ComputeNodeOperationsExtensions.DeleteUserAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a user Account from the specified Compute Node.
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserHeaders> DeleteUserAsync (this Microsoft.Azure.Batch.Protocol.IComputeNodeOperations operations, string poolId, string nodeId, string userName, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserOptions computeNodeDeleteUserOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteUserAsync : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * string * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeleteUserHeaders>
<Extension()>
Public Function DeleteUserAsync (operations As IComputeNodeOperations, poolId As String, nodeId As String, userName As String, Optional computeNodeDeleteUserOptions As ComputeNodeDeleteUserOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ComputeNodeDeleteUserHeaders)
- 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
- cancellationToken
- CancellationToken
The cancellation token.
You can delete a user Account to a Compute Node only when it is in the idle or running state.
제품 | 버전 |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET 피드백
Azure SDK for .NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.