SasPolicy Class
SasPolicy assigned to the storage account.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.storage._serialization.ModelSasPolicy
Constructor
SasPolicy(*, sas_expiration_period: str, expiration_action: str | _models.ExpirationAction = 'Log', **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
sas_expiration_period
|
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. Known values are: "Log" and "Block". Default value: Log
|
Variables
Name | Description |
---|---|
sas_expiration_period
|
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. Known values are: "Log" and "Block". |
Azure SDK for Python