AccountSasParameters Class

Definition

The parameters to list SAS credentials of a storage account.

public class AccountSasParameters
type AccountSasParameters = class
Public Class AccountSasParameters
Inheritance
System.Object
AccountSasParameters

Constructors

AccountSasParameters()

Initializes a new instance of the AccountSasParameters class.

AccountSasParameters(String, String, String, DateTime, String, Nullable<HttpProtocol>, Nullable<DateTime>, String)

Initializes a new instance of the AccountSasParameters class.

Properties

IPAddressOrRange

Gets or sets an IP address or a range of IP addresses from which to accept requests.

KeyToSign

Gets or sets the key to sign the account SAS token with.

Permissions

Gets or sets 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). Possible values include: 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'

Protocols

Gets or sets the protocol permitted for a request made with the account SAS. Possible values include: 'https,http', 'https'

ResourceTypes

Gets or sets 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. Possible values include: 's', 'c', 'o'

Services

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

SharedAccessExpiryTime

Gets or sets the time at which the shared access signature becomes invalid.

SharedAccessStartTime

Gets or sets the time at which the SAS becomes valid.

Methods

Validate()

Validate the object.

Applies to