AccountSasParameters Class

The parameters to list SAS credentials of a storage account.

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

Inheritance
AccountSasParameters

Constructor

AccountSasParameters(*, services: typing.Union[str, _ForwardRef('Services')], resource_types: typing.Union[str, _ForwardRef('SignedResourceTypes')], permissions: typing.Union[str, _ForwardRef('Permissions')], shared_access_expiry_time: datetime.datetime, ip_address_or_range: typing.Union[str, NoneType] = None, protocols: typing.Union[str, _ForwardRef('HttpProtocol'), NoneType] = None, shared_access_start_time: typing.Union[datetime.datetime, NoneType] = None, key_to_sign: typing.Union[str, NoneType] = None, **kwargs)

Parameters

services
str or Services
Required

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

resource_types
str or SignedResourceTypes
Required

Required. 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. Possible values include: "s", "c", "o".

permissions
str or Permissions
Required

Required. 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). Possible values include: "r", "d", "w", "l", "a", "c", "u", "p".

ip_address_or_range
str
Required

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

protocols
str or HttpProtocol
Required

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

shared_access_start_time
datetime
Required

The time at which the SAS becomes valid.

shared_access_expiry_time
datetime
Required

Required. The time at which the shared access signature becomes invalid.

key_to_sign
str
Required

The key to sign the account SAS token with.