次の方法で共有


ComputeNodeOperationsExtensions.DeleteUserAsync メソッド

定義

指定したコンピューティング ノードからユーザー アカウントを削除します。

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

この拡張メソッドの操作グループ。

poolId
String

コンピューティング ノードを含むプールの ID。

nodeId
String

ユーザー アカウントを削除するマシンの ID。

userName
String

削除するユーザー アカウントの名前。

computeNodeDeleteUserOptions
ComputeNodeDeleteUserOptions

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

コンピューティング ノードに対するユーザー アカウントは、アイドル状態または実行中状態の場合にのみ削除できます。

適用対象