ComputeNodeOperationsExtensions.DeleteUser Method
Definition
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 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
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin