Share via


ISasPolicy Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.SasPolicyTypeConverter))]
public interface ISasPolicy : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.SasPolicyTypeConverter))>]
type ISasPolicy = interface
    interface IJsonSerializable
Public Interface ISasPolicy
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to