pyaz/batch/node/user/__init__.py
def create(node_id, pool_id, account_endpoint=None, account_key=None, account_name=None, expiry_time=None, is_admin=None, json_file=None, name=None, password=None, ssh_public_key=None):
    '''
    Add a user account to a Batch compute node.

    Required Parameters:
    - node_id -- The ID of the machine on which you want to create a user Account.
    - pool_id -- The ID of the Pool that contains the Compute Node.

    Optional Parameters:
    - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
    - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
    - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
    - expiry_time -- If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day. Expected format is an ISO-8601 timestamp.
    - is_admin -- Whether the Account should be an administrator on the Compute Node. The default value is false. True if flag present.
    - json_file -- A file containing the user specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'User Arguments' are ignored.
    - name -- Required.
    - password -- The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property.
    - ssh_public_key -- The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
    '''
    return _call_az("az batch node user create", locals())

    Add a user account to a Batch compute node.

    Required Parameters:
    - node_id -- The ID of the machine on which you want to create a user Account.
    - pool_id -- The ID of the Pool that contains the Compute Node.

    Optional Parameters:
    - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
    - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
    - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
    - expiry_time -- If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day. Expected format is an ISO-8601 timestamp.
    - is_admin -- Whether the Account should be an administrator on the Compute Node. The default value is false. True if flag present.
    - json_file -- A file containing the user specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'User Arguments' are ignored.
    - name -- Required.
    - password -- The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property.
    - ssh_public_key -- The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
    
Add a user account to a Batch compute node.
Required Parameters:
node_id -- The ID of the machine on which you want to create a user Account.
pool_id -- The ID of the Pool that contains the Compute Node.

Optional Parameters:
account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
expiry_time -- If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day. Expected format is an ISO-8601 timestamp.
is_admin -- Whether the Account should be an administrator on the Compute Node. The default value is false. True if flag present.
json_file -- A file containing the user specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'User Arguments' are ignored.
name -- Required.
password -- The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property.
ssh_public_key -- The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
Add a user account to a Batch compute node . Required Parameters : node_id -- The ID of the machine on which you want to create a user Account . pool_id -- The ID of the Pool that contains the Compute Node . Optional Parameters : account_endpoint -- Batch service endpoint . Alternatively set by environment variable : AZURE_BATCH_ENDPOINT account_key -- Batch account key . Alternatively set by environment variable : AZURE_BATCH_ACCESS_KEY account_name -- Batch account name . Alternatively set by environment variable : AZURE_BATCH_ACCOUNT expiry_time -- If omitted the default is 1 day from the current time . For Linux Compute Nodes the expiryTime has a precision up to a day . Expected format is an ISO - 8601 timestamp . is_admin -- Whether the Account should be an administrator on the Compute Node . The default value is false . True if flag present . json_file -- A file containing the user specification in JSON ( formatted to match the respective REST API body ) . If this parameter is specified all ' User Arguments ' are ignored . name -- Required . password -- The password is required for Windows Compute Nodes ( those created with ' cloudServiceConfiguration ' or created with ' virtualMachineConfiguration ' using a Windows Image reference ) . For Linux Compute Nodes the password can optionally be specified along with the sshPublicKey property . ssh_public_key -- The public key should be compatible with OpenSSH encoding and should be base 64 encoded . This property can be specified only for Linux Compute Nodes . If this is specified for a Windows Compute Node then the Batch service rejects the request ; if you are calling the REST API directly the HTTP status code is 400 ( Bad Request ) .
def create(node_id, pool_id, account_endpoint=None, account_key=None, account_name=None, expiry_time=None, is_admin=None, json_file=None, name=None, password=None, ssh_public_key=None):
    return _call_az("az batch node user create", locals())
def create ( node_id , pool_id , account_endpoint = None , account_key = None , account_name = None , expiry_time = None , is_admin = None , json_file = None , name = None , password = None , ssh_public_key = None ) : return _call_az ( "az batch node user create" , locals ( ) )
Add a user account to a Batch compute node.
Add a user account to a Batch compute node .
'''
    Add a user account to a Batch compute node.

    Required Parameters:
    - node_id -- The ID of the machine on which you want to create a user Account.
    - pool_id -- The ID of the Pool that contains the Compute Node.

    Optional Parameters:
    - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
    - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
    - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
    - expiry_time -- If omitted, the default is 1 day from the current time. For Linux Compute Nodes, the expiryTime has a precision up to a day. Expected format is an ISO-8601 timestamp.
    - is_admin -- Whether the Account should be an administrator on the Compute Node. The default value is false. True if flag present.
    - json_file -- A file containing the user specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'User Arguments' are ignored.
    - name -- Required.
    - password -- The password is required for Windows Compute Nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows Image reference). For Linux Compute Nodes, the password can optionally be specified along with the sshPublicKey property.
    - ssh_public_key -- The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
    '''
node_id
pool_id
account_endpoint
account_key
account_name
expiry_time
is_admin
json_file
name
password
ssh_public_key