SasPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SasPolicy assigned to the storage account.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.SasPolicyTypeConverter))]
public class SasPolicy : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ISasPolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.SasPolicyTypeConverter))>]
type SasPolicy = class
interface ISasPolicy
interface IJsonSerializable
Public Class SasPolicy
Implements ISasPolicy
- Inheritance
-
SasPolicy
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| SasPolicy() |
Creates an new SasPolicy instance. |
Properties
| Name | Description |
|---|---|
| ExpirationAction |
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. |
| SasExpirationPeriod |
The SAS expiration period, DD.HH:MM:SS. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of SasPolicy. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ISasPolicy. |
| FromJsonString(String) |
Creates a new instance of SasPolicy, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |