pyaz/storage/file/__init__.py
def upload(share_name, source, account_key=None, account_name=None, connection_string=None, content_cache_control=None, content_disposition=None, content_encoding=None, content_language=None, content_md5=None, content_type=None, max_connections=None, metadata=None, no_progress=None, path=None, sas_token=None, timeout=None, validate_content=None):
    '''
    Upload a file to a share that uses the SMB 3.0 protocol.

    Required Parameters:
    - share_name -- The file share name.
    - source --  Path of the local file to upload as the file content.

    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
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - content_cache_control -- The cache control string.
    - content_disposition -- Conveys additional information about how to process the response payload, and can also be used to attach additional metadata.
    - content_encoding -- The content encoding type.
    - content_language -- The content language.
    - content_md5 -- The content's MD5 hash.
    - content_type -- The content MIME type.
    - max_connections --  Maximum number of parallel connections to use.
    - metadata -- Metadata in space-separated key=value pairs. This overwrites any existing metadata.
    - no_progress -- Include this flag to disable progress reporting for the command.
    - path -- The path to the file within the file share. If the file name is omitted, the source file name will be used.
    - sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
    - timeout -- Request timeout in seconds. Applies to each call to the service.
    - validate_content --  If true, calculates an MD5 hash for each range of the file. The storage service checks the hash of the content that has arrived with the hash that was sent. This is primarily valuable for detecting bitflips on the wire if using http instead of https as https (the default) will already validate. Note that this MD5 hash is not stored with the file.
    '''
    return _call_az("az storage file upload", locals())

    Upload a file to a share that uses the SMB 3.0 protocol.

    Required Parameters:
    - share_name -- The file share name.
    - source --  Path of the local file to upload as the file content.

    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
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - content_cache_control -- The cache control string.
    - content_disposition -- Conveys additional information about how to process the response payload, and can also be used to attach additional metadata.
    - content_encoding -- The content encoding type.
    - content_language -- The content language.
    - content_md5 -- The content's MD5 hash.
    - content_type -- The content MIME type.
    - max_connections --  Maximum number of parallel connections to use.
    - metadata -- Metadata in space-separated key=value pairs. This overwrites any existing metadata.
    - no_progress -- Include this flag to disable progress reporting for the command.
    - path -- The path to the file within the file share. If the file name is omitted, the source file name will be used.
    - sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
    - timeout -- Request timeout in seconds. Applies to each call to the service.
    - validate_content --  If true, calculates an MD5 hash for each range of the file. The storage service checks the hash of the content that has arrived with the hash that was sent. This is primarily valuable for detecting bitflips on the wire if using http instead of https as https (the default) will already validate. Note that this MD5 hash is not stored with the file.
    
Upload a file to a share that uses the SMB 3.0 protocol.
Required Parameters:
share_name -- The file share name.
source --  Path of the local file to upload as the file content.

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
connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
content_cache_control -- The cache control string.
content_disposition -- Conveys additional information about how to process the response payload, and can also be used to attach additional metadata.
content_encoding -- The content encoding type.
content_language -- The content language.
content_md5 -- The content's MD5 hash.
content_type -- The content MIME type.
max_connections --  Maximum number of parallel connections to use.
metadata -- Metadata in space-separated key=value pairs. This overwrites any existing metadata.
no_progress -- Include this flag to disable progress reporting for the command.
path -- The path to the file within the file share. If the file name is omitted, the source file name will be used.
sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
timeout -- Request timeout in seconds. Applies to each call to the service.
validate_content --  If true, calculates an MD5 hash for each range of the file. The storage service checks the hash of the content that has arrived with the hash that was sent. This is primarily valuable for detecting bitflips on the wire if using http instead of https as https (the default) will already validate. Note that this MD5 hash is not stored with the file.
Upload a file to a share that uses the SMB 3 . 0 protocol . Required Parameters : share_name -- The file share name . source -- Path of the local file to upload as the file content . 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 connection_string -- Storage account connection string . Environment variable : AZURE_STORAGE_CONNECTION_STRING content_cache_control -- The cache control string . content_disposition -- Conveys additional information about how to process the response payload and can also be used to attach additional metadata . content_encoding -- The content encoding type . content_language -- The content language . content_md5 -- The content ' s MD5 hash . content_type -- The content MIME type . max_connections -- Maximum number of parallel connections to use . metadata -- Metadata in space - separated key = value pairs . This overwrites any existing metadata . no_progress -- Include this flag to disable progress reporting for the command . path -- The path to the file within the file share . If the file name is omitted the source file name will be used . sas_token -- A Shared Access Signature ( SAS ) . Must be used in conjunction with storage account name . Environment variable : AZURE_STORAGE_SAS_TOKEN timeout -- Request timeout in seconds . Applies to each call to the service . validate_content -- If true calculates an MD5 hash for each range of the file . The storage service checks the hash of the content that has arrived with the hash that was sent . This is primarily valuable for detecting bitflips on the wire if using http instead of https as https ( the default ) will already validate . Note that this MD5 hash is not stored with the file .
def upload(share_name, source, account_key=None, account_name=None, connection_string=None, content_cache_control=None, content_disposition=None, content_encoding=None, content_language=None, content_md5=None, content_type=None, max_connections=None, metadata=None, no_progress=None, path=None, sas_token=None, timeout=None, validate_content=None):
    return _call_az("az storage file upload", locals())
def upload ( share_name , source , account_key = None , account_name = None , connection_string = None , content_cache_control = None , content_disposition = None , content_encoding = None , content_language = None , content_md5 = None , content_type = None , max_connections = None , metadata = None , no_progress = None , path = None , sas_token = None , timeout = None , validate_content = None ) : return _call_az ( "az storage file upload" , locals ( ) )
Upload a file to a share that uses the SMB 3.0 protocol.
Upload a file to a share that uses the SMB 3 . 0 protocol .
'''
    Upload a file to a share that uses the SMB 3.0 protocol.

    Required Parameters:
    - share_name -- The file share name.
    - source --  Path of the local file to upload as the file content.

    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
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - content_cache_control -- The cache control string.
    - content_disposition -- Conveys additional information about how to process the response payload, and can also be used to attach additional metadata.
    - content_encoding -- The content encoding type.
    - content_language -- The content language.
    - content_md5 -- The content's MD5 hash.
    - content_type -- The content MIME type.
    - max_connections --  Maximum number of parallel connections to use.
    - metadata -- Metadata in space-separated key=value pairs. This overwrites any existing metadata.
    - no_progress -- Include this flag to disable progress reporting for the command.
    - path -- The path to the file within the file share. If the file name is omitted, the source file name will be used.
    - sas_token -- A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN
    - timeout -- Request timeout in seconds. Applies to each call to the service.
    - validate_content --  If true, calculates an MD5 hash for each range of the file. The storage service checks the hash of the content that has arrived with the hash that was sent. This is primarily valuable for detecting bitflips on the wire if using http instead of https as https (the default) will already validate. Note that this MD5 hash is not stored with the file.
    '''
share_name
source
account_key
account_name
connection_string
content_cache_control
content_disposition
content_encoding
content_language
content_md5
content_type
max_connections
metadata
no_progress
path
sas_token
timeout
validate_content