Dela via


AccountSasContent Class

Definition

The parameters to list SAS credentials of a storage account.

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

Constructors

AccountSasContent(StorageAccountSasSignedService, StorageAccountSasSignedResourceType, StorageAccountSasPermission, DateTimeOffset)

Initializes a new instance of AccountSasContent.

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.

Permissions

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).

Protocols

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

ResourceTypes

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.

Services

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

SharedAccessExpireOn

The time at which the shared access signature becomes invalid.

SharedAccessStartOn

The time at which the SAS becomes valid.

Explicit Interface Implementations

IJsonModel<AccountSasContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AccountSasContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AccountSasContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AccountSasContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AccountSasContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to