Share via


AccountSasParameters Class

Definition

The parameters to list SAS credentials of a storage account.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AccountSasParametersTypeConverter))]
public class AccountSasParameters : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IAccountSasParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.AccountSasParametersTypeConverter))>]
type AccountSasParameters = class
    interface IAccountSasParameters
    interface IJsonSerializable
Public Class AccountSasParameters
Implements IAccountSasParameters
Inheritance
AccountSasParameters
Attributes
Implements

Constructors

AccountSasParameters()

Creates an new AccountSasParameters instance.

Properties

IPAddressOrRange

An IP address or a range of IP addresses from which to accept requests.

KeyToSign

The key to sign the account SAS token with.

Permission

The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).

Protocol

The protocol permitted for a request made with the account SAS.

ResourceType

The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.

Service

The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).

SharedAccessExpiryTime

The time at which the shared access signature becomes invalid.

SharedAccessStartTime

The time at which the SAS becomes valid.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AccountSasParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AccountSasParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IAccountSasParameters.

FromJsonString(String)

Creates a new instance of AccountSasParameters, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AccountSasParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to