ServiceSasParameters Class

The parameters to list service SAS credentials of a specific resource.

All required parameters must be populated in order to send to Azure.

Inheritance
ServiceSasParameters

Constructor

ServiceSasParameters(*, canonicalized_resource: str, resource: Union[str, azure.mgmt.storage.v2016_12_01.models._storage_management_enums.SignedResource], permissions: Optional[Union[str, azure.mgmt.storage.v2016_12_01.models._storage_management_enums.Permissions]] = None, ip_address_or_range: Optional[str] = None, protocols: Optional[Union[str, azure.mgmt.storage.v2016_12_01.models._storage_management_enums.HttpProtocol]] = None, shared_access_start_time: Optional[datetime.datetime] = None, shared_access_expiry_time: Optional[datetime.datetime] = None, identifier: Optional[str] = None, partition_key_start: Optional[str] = None, partition_key_end: Optional[str] = None, row_key_start: Optional[str] = None, row_key_end: Optional[str] = None, key_to_sign: Optional[str] = None, cache_control: Optional[str] = None, content_disposition: Optional[str] = None, content_encoding: Optional[str] = None, content_language: Optional[str] = None, content_type: Optional[str] = None, **kwargs)

Variables

canonicalized_resource
str

Required. The canonical path to the signed resource.

resource
str or SignedResource

Required. The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). Possible values include: "b", "c", "f", "s".

permissions
str or Permissions

The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Possible values include: "r", "d", "w", "l", "a", "c", "u", "p".

ip_address_or_range
str

An IP address or a range of IP addresses from which to accept requests.

protocols
str or HttpProtocol

The protocol permitted for a request made with the account SAS. Possible values include: "https,http", "https".

shared_access_start_time
datetime

The time at which the SAS becomes valid.

shared_access_expiry_time
datetime

The time at which the shared access signature becomes invalid.

identifier
str

A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.

partition_key_start
str

The start of partition key.

partition_key_end
str

The end of partition key.

row_key_start
str

The start of row key.

row_key_end
str

The end of row key.

key_to_sign
str

The key to sign the account SAS token with.

cache_control
str

The response header override for cache control.

content_disposition
str

The response header override for content disposition.

content_encoding
str

The response header override for content encoding.

content_language
str

The response header override for content language.

content_type
str

The response header override for content type.