pyaz/storage/file/__init__.py
def generate_sas(path, share_name, account_key=None, account_name=None, cache_control=None, connection_string=None, content_disposition=None, content_encoding=None, content_language=None, content_type=None, expiry=None, https_only=None, ip=None, permissions=None, policy_name=None, start=None):
    '''
    

    Required Parameters:
    - path -- The path to the file within the file share.
    - share_name -- The file share name.

    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
    - cache_control --  Response header value for Cache-Control when resource is accessed using this shared access signature.
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - content_disposition --  Response header value for Content-Disposition when resource is accessed using this shared access signature.
    - content_encoding --  Response header value for Content-Encoding when resource is accessed using this shared access signature.
    - content_language --  Response header value for Content-Language when resource is accessed using this shared access signature.
    - content_type --  Response header value for Content-Type when resource is accessed using this shared access signature.
    - expiry -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes invalid. Do not use if a stored access policy is referenced with --id that specifies this value.
    - https_only -- Only permit requests made with the HTTPS protocol. If omitted, requests from both the HTTP and HTTPS protocol are permitted.
    - ip -- Specifies the IP address or range of IP addresses from which to accept requests. Supports only IPv4 style addresses.
    - permissions -- The permissions the SAS grants. Allowed values: (c)reate (d)elete (r)ead (w)rite (c)reate (d)elete (r)ead (w)rite. Do not use if a stored access policy is referenced with --id that specifies this value. Can be combined.
    - policy_name -- The name of a stored access policy within the container's ACL.
    - start -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes valid. Do not use if a stored access policy is referenced with --id that specifies this value. Defaults to the time of the request.
    '''
    return _call_az("az storage file generate-sas", locals())

    

    Required Parameters:
    - path -- The path to the file within the file share.
    - share_name -- The file share name.

    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
    - cache_control --  Response header value for Cache-Control when resource is accessed using this shared access signature.
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - content_disposition --  Response header value for Content-Disposition when resource is accessed using this shared access signature.
    - content_encoding --  Response header value for Content-Encoding when resource is accessed using this shared access signature.
    - content_language --  Response header value for Content-Language when resource is accessed using this shared access signature.
    - content_type --  Response header value for Content-Type when resource is accessed using this shared access signature.
    - expiry -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes invalid. Do not use if a stored access policy is referenced with --id that specifies this value.
    - https_only -- Only permit requests made with the HTTPS protocol. If omitted, requests from both the HTTP and HTTPS protocol are permitted.
    - ip -- Specifies the IP address or range of IP addresses from which to accept requests. Supports only IPv4 style addresses.
    - permissions -- The permissions the SAS grants. Allowed values: (c)reate (d)elete (r)ead (w)rite (c)reate (d)elete (r)ead (w)rite. Do not use if a stored access policy is referenced with --id that specifies this value. Can be combined.
    - policy_name -- The name of a stored access policy within the container's ACL.
    - start -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes valid. Do not use if a stored access policy is referenced with --id that specifies this value. Defaults to the time of the request.
    
Required Parameters:
path -- The path to the file within the file share.
share_name -- The file share name.

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
cache_control --  Response header value for Cache-Control when resource is accessed using this shared access signature.
connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
content_disposition --  Response header value for Content-Disposition when resource is accessed using this shared access signature.
content_encoding --  Response header value for Content-Encoding when resource is accessed using this shared access signature.
content_language --  Response header value for Content-Language when resource is accessed using this shared access signature.
content_type --  Response header value for Content-Type when resource is accessed using this shared access signature.
expiry -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes invalid. Do not use if a stored access policy is referenced with --id that specifies this value.
https_only -- Only permit requests made with the HTTPS protocol. If omitted, requests from both the HTTP and HTTPS protocol are permitted.
ip -- Specifies the IP address or range of IP addresses from which to accept requests. Supports only IPv4 style addresses.
permissions -- The permissions the SAS grants.
Required Parameters : path -- The path to the file within the file share . share_name -- The file share name . 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 cache_control -- Response header value for Cache - Control when resource is accessed using this shared access signature . connection_string -- Storage account connection string . Environment variable : AZURE_STORAGE_CONNECTION_STRING content_disposition -- Response header value for Content - Disposition when resource is accessed using this shared access signature . content_encoding -- Response header value for Content - Encoding when resource is accessed using this shared access signature . content_language -- Response header value for Content - Language when resource is accessed using this shared access signature . content_type -- Response header value for Content - Type when resource is accessed using this shared access signature . expiry -- Specifies the UTC datetime ( Y - m - d ' T ' H : M ' Z ' ) at which the SAS becomes invalid . Do not use if a stored access policy is referenced with -- id that specifies this value . https_only -- Only permit requests made with the HTTPS protocol . If omitted requests from both the HTTP and HTTPS protocol are permitted . ip -- Specifies the IP address or range of IP addresses from which to accept requests . Supports only IPv4 style addresses . permissions -- The permissions the SAS grants .
def generate_sas(path, share_name, account_key=None, account_name=None, cache_control=None, connection_string=None, content_disposition=None, content_encoding=None, content_language=None, content_type=None, expiry=None, https_only=None, ip=None, permissions=None, policy_name=None, start=None):
    return _call_az("az storage file generate-sas", locals())
def generate_sas ( path , share_name , account_key = None , account_name = None , cache_control = None , connection_string = None , content_disposition = None , content_encoding = None , content_language = None , content_type = None , expiry = None , https_only = None , ip = None , permissions = None , policy_name = None , start = None ) : return _call_az ( "az storage file generate-sas" , locals ( ) )
Required Parameters:
 path -- The path to the file within the file share.
Required Parameters : path -- The path to the file within the file share .
'''
    

    Required Parameters:
    - path -- The path to the file within the file share.
    - share_name -- The file share name.

    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
    - cache_control --  Response header value for Cache-Control when resource is accessed using this shared access signature.
    - connection_string -- Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING
    - content_disposition --  Response header value for Content-Disposition when resource is accessed using this shared access signature.
    - content_encoding --  Response header value for Content-Encoding when resource is accessed using this shared access signature.
    - content_language --  Response header value for Content-Language when resource is accessed using this shared access signature.
    - content_type --  Response header value for Content-Type when resource is accessed using this shared access signature.
    - expiry -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes invalid. Do not use if a stored access policy is referenced with --id that specifies this value.
    - https_only -- Only permit requests made with the HTTPS protocol. If omitted, requests from both the HTTP and HTTPS protocol are permitted.
    - ip -- Specifies the IP address or range of IP addresses from which to accept requests. Supports only IPv4 style addresses.
    - permissions -- The permissions the SAS grants. Allowed values: (c)reate (d)elete (r)ead (w)rite (c)reate (d)elete (r)ead (w)rite. Do not use if a stored access policy is referenced with --id that specifies this value. Can be combined.
    - policy_name -- The name of a stored access policy within the container's ACL.
    - start -- Specifies the UTC datetime (Y-m-d'T'H:M'Z') at which the SAS becomes valid. Do not use if a stored access policy is referenced with --id that specifies this value. Defaults to the time of the request.
    '''
path
share_name
account_key
account_name
cache_control
connection_string
content_disposition
content_encoding
content_language
content_type
expiry
https_only
ip
permissions
policy_name
start