Partager via


SasPolicy Class

Definition

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

SasPolicy()

Creates an new SasPolicy instance.

Properties

ExpirationAction

The SAS expiration action. Can only be Log.

SasExpirationPeriod

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SasPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SasPolicy.

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)

Serializes this instance of SasPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to