SasPolicy Class

SasPolicy assigned to the storage account.

Constructor

SasPolicy(*args: Any, **kwargs: Any)

Variables

Name Description
sas_expiration_period
str

The SAS expiration period, DD.HH:MM:SS. Required.

expiration_action

The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period. Required. Known values are: "Log" and "Block".

require_user_bound_user_delegation_sas

Indicates whether user delegation SAS (shared access signature) tokens are required to be bound to a specific user. The default interpretation is false for this property.

require_user_bound_user_delegation_sas_action

The action to perform when a user delegation SAS (shared access signature) token is not bound to a user as required by requireUserBoundUserDelegationSas. Known values are: "None", "Log", and "Block".

Attributes

expiration_action

The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period. Required. Known values are: "Log" and "Block".

expiration_action: str | _models.ExpirationAction

require_user_bound_user_delegation_sas

Indicates whether user delegation SAS (shared access signature) tokens are required to be bound to a specific user. The default interpretation is false for this property.

require_user_bound_user_delegation_sas: bool | None

require_user_bound_user_delegation_sas_action

The action to perform when a user delegation SAS (shared access signature) token is not bound to a user as required by requireUserBoundUserDelegationSas. Known values are: "None", "Log", and "Block".

require_user_bound_user_delegation_sas_action: str | _models.PolicyViolationAction | None

sas_expiration_period

SS. Required.

sas_expiration_period: str