你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PoolOperations.DeleteComputeNodeUser 方法

定义

从指定的计算节点中删除指定的用户帐户。

public void DeleteComputeNodeUser (string poolId, string computeNodeId, string userName, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.DeleteComputeNodeUser : string * string * string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub DeleteComputeNodeUser (poolId As String, computeNodeId As String, userName As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

参数

poolId
String

包含计算节点的池的 ID。

computeNodeId
String

要从中删除用户帐户的计算节点的 ID。

userName
String

要删除的用户帐户的名称。

additionalBehaviors
IEnumerable<BatchClientBehavior>

在 之后应用于 Batch 服务请求的实例集合BatchClientBehaviorCustomBehaviors

注解

仅当计算节点处于 IdleRunning 状态时,才能从该用户帐户中删除该用户帐户。

这是一个阻止操作。 有关非阻塞等效项,请参阅 DeleteComputeNodeUserAsync(String, String, String, IEnumerable<BatchClientBehavior>, CancellationToken)

适用于