ServiceSasParameters Class

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

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

Inheritance
azure.mgmt.storage._serialization.Model
ServiceSasParameters

Constructor

ServiceSasParameters(*, canonicalized_resource: str, resource: str | _models.SignedResource, permissions: str | _models.Permissions | None = None, ip_address_or_range: str | None = None, protocols: str | _models.HttpProtocol | None = None, shared_access_start_time: datetime | None = None, shared_access_expiry_time: datetime | None = None, identifier: str | None = None, partition_key_start: str | None = None, partition_key_end: str | None = None, row_key_start: str | None = None, row_key_end: str | None = None, key_to_sign: str | None = None, cache_control: str | None = None, content_disposition: str | None = None, content_encoding: str | None = None, content_language: str | None = None, content_type: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
canonicalized_resource
str

The canonical path to the signed resource. Required.

resource

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

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). Known values are: "r", "d", "w", "l", "a", "c", "u", and "p".

ip_address_or_range
str

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

protocols

The protocol permitted for a request made with the account SAS. Known values are: "https,http" and "https".

shared_access_start_time

The time at which the SAS becomes valid.

shared_access_expiry_time

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.

Variables

Name Description
canonicalized_resource
str

The canonical path to the signed resource. Required.

resource

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

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). Known values are: "r", "d", "w", "l", "a", "c", "u", and "p".

ip_address_or_range
str

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

protocols

The protocol permitted for a request made with the account SAS. Known values are: "https,http" and "https".

shared_access_start_time

The time at which the SAS becomes valid.

shared_access_expiry_time

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.