pyaz/storage/fs/directory/__init__.py
def upload(file_system, source, account_key=None, account_name=None, auth_mode=None, connection_string=None, destination_path=None, recursive=None, sas_token=None):
    '''
    Upload files or subdirectories to a directory in ADLS Gen2 file system.

    Required Parameters:
    - file_system -- The upload destination file system.
    - source -- The source file path to upload from.

    Optional Parameters:
    - account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
    - account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
    - auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - destination_path -- The upload destination directory path. It should be an absolute path to file system. If the specified destination path does not exist, a new directory path will be created.
    - recursive -- Recursively upload files. If enabled, all the files including the files in subdirectories will be uploaded.
    - sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
    '''
    return _call_az("az storage fs directory upload", locals())

    Upload files or subdirectories to a directory in ADLS Gen2 file system.

    Required Parameters:
    - file_system -- The upload destination file system.
    - source -- The source file path to upload from.

    Optional Parameters:
    - account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
    - account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
    - auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - destination_path -- The upload destination directory path. It should be an absolute path to file system. If the specified destination path does not exist, a new directory path will be created.
    - recursive -- Recursively upload files. If enabled, all the files including the files in subdirectories will be uploaded.
    - sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
    
Upload files or subdirectories to a directory in ADLS Gen2 file system.
Required Parameters:
file_system -- The upload destination file system.
source -- The source file path to upload from.

Optional Parameters:
account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
destination_path -- The upload destination directory path. It should be an absolute path to file system. If the specified destination path does not exist, a new directory path will be created.
recursive -- Recursively upload files. If enabled, all the files including the files in subdirectories will be uploaded.
sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name.
Upload files or subdirectories to a directory in ADLS Gen2 file system . Required Parameters : file_system -- The upload destination file system . source -- The source file path to upload from . Optional Parameters : account_key -- Storage account key . Must be used in conjunction with storage account name . Environment variable : AZURE_STORAGE_KEY account_name -- Storage account name . Related environment variable : AZURE_STORAGE_ACCOUNT . Must be used in conjunction with either storage account key or a SAS token . If neither are present the command will try to query the storage account key using the authenticated Azure account . If a large number of storage commands are executed the API quota may be hit auth_mode -- The mode in which to run the command . " login " mode will directly use your login credentials for the authentication . The legacy " key " mode will attempt to query for an account key if no authentication parameters for the account are provided . Environment variable : AZURE_STORAGE_AUTH_MODE connection_string -- Storage account connection string . Environment variable : AZURE_STORAGE_CONNECTION_STRING destination_path -- The upload destination directory path . It should be an absolute path to file system . If the specified destination path does not exist a new directory path will be created . recursive -- Recursively upload files . If enabled all the files including the files in subdirectories will be uploaded . sas_token -- A Shared Access Signature ( SAS ) . Must be used in conjunction with storage account name .
def upload(file_system, source, account_key=None, account_name=None, auth_mode=None, connection_string=None, destination_path=None, recursive=None, sas_token=None):
    return _call_az("az storage fs directory upload", locals())
def upload ( file_system , source , account_key = None , account_name = None , auth_mode = None , connection_string = None , destination_path = None , recursive = None , sas_token = None ) : return _call_az ( "az storage fs directory upload" , locals ( ) )
Upload files or subdirectories to a directory in ADLS Gen2 file system.
Upload files or subdirectories to a directory in ADLS Gen2 file system .
'''
    Upload files or subdirectories to a directory in ADLS Gen2 file system.

    Required Parameters:
    - file_system -- The upload destination file system.
    - source -- The source file path to upload from.

    Optional Parameters:
    - account_key -- Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY
    - account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit
    - auth_mode -- The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - destination_path -- The upload destination directory path. It should be an absolute path to file system. If the specified destination path does not exist, a new directory path will be created.
    - recursive -- Recursively upload files. If enabled, all the files including the files in subdirectories will be uploaded.
    - sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
    '''
file_system
source
account_key
account_name
auth_mode
connection_string
destination_path
recursive
sas_token