Udostępnij za pośrednictwem


ComputeNodeUser Class

Definition

A user for a specific Azure Batch compute node.

public class ComputeNodeUser : Microsoft.Azure.Batch.IInheritedBehaviors
type ComputeNodeUser = class
    interface IInheritedBehaviors
Public Class ComputeNodeUser
Implements IInheritedBehaviors
Inheritance
ComputeNodeUser
Implements

Constructors

ComputeNodeUser()

Default constructor to support mocking the ComputeNodeUser class.

Properties

CustomBehaviors

Gets or sets a list of behaviors that modify or customize requests to the Batch service made via this ComputeNodeUser.

ExpiryTime

Gets or sets the expiry time.

IsAdmin

Gets or sets the administrative privilege level of the user account. The value of this property is ignored when UpdateUser is specified for the commit operation.

Name

Gets or sets the name. If AddUser is specified for the commit operation, the value of this property is the name of the local Windows account created. If UpdateUser is specified for the commit operation, the value of this property selects the local Windows account to modify. Changing this property does not rename the local Windows account on the compute node.

Password

Gets or sets the password.

SshPublicKey

Gets or sets the SSH public key that can be used for remote login to the compute node.

Methods

Commit(ComputeNodeUserCommitSemantics, IEnumerable<BatchClientBehavior>)

Blocking call to create or update a user account on the compute node.

CommitAsync(ComputeNodeUserCommitSemantics, IEnumerable<BatchClientBehavior>, CancellationToken)

Begins an asynchronous call to create or update a user account on the compute node.

Delete(IEnumerable<BatchClientBehavior>)

call to delete the current user from the compute node.

DeleteAsync(IEnumerable<BatchClientBehavior>, CancellationToken)

Begins an asyncrhonous call to delete the current user from the compute node.

Applies to