StorageAccountSasPolicy Class

Definition

SasPolicy assigned to the storage account.

public class StorageAccountSasPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.StorageAccountSasPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.StorageAccountSasPolicy>
public class StorageAccountSasPolicy
type StorageAccountSasPolicy = class
    interface IJsonModel<StorageAccountSasPolicy>
    interface IPersistableModel<StorageAccountSasPolicy>
type StorageAccountSasPolicy = class
Public Class StorageAccountSasPolicy
Implements IJsonModel(Of StorageAccountSasPolicy), IPersistableModel(Of StorageAccountSasPolicy)
Public Class StorageAccountSasPolicy
Inheritance
StorageAccountSasPolicy
Implements

Constructors

StorageAccountSasPolicy(String, ExpirationAction)

Initializes a new instance of StorageAccountSasPolicy.

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.

Explicit Interface Implementations

IJsonModel<StorageAccountSasPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StorageAccountSasPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageAccountSasPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageAccountSasPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StorageAccountSasPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to