AccountSasParameters Class

The parameters to list SAS credentials of a storage account.

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

Inheritance
azure.mgmt.storage._serialization.Model
AccountSasParameters

Constructor

AccountSasParameters(*, services: str | _models.Services, resource_types: str | _models.SignedResourceTypes, permissions: str | _models.Permissions, shared_access_expiry_time: datetime, ip_address_or_range: str | None = None, protocols: str | _models.HttpProtocol | None = None, shared_access_start_time: datetime | None = None, key_to_sign: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
services

The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Required. Known values are: "b", "q", "t", and "f".

resource_types

The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. Required. Known values are: "s", "c", and "o".

permissions

The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Required. 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. Required.

key_to_sign
str

The key to sign the account SAS token with.

Variables

Name Description
services

The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). Required. Known values are: "b", "q", "t", and "f".

resource_types

The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. Required. Known values are: "s", "c", and "o".

permissions

The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). Required. 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. Required.

key_to_sign
str

The key to sign the account SAS token with.