共用方式為


StorageServiceAccessPolicy Class

Definition

The StorageServiceAccessPolicy.

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

Constructors

StorageServiceAccessPolicy()

Initializes a new instance of StorageServiceAccessPolicy.

Properties

ExpireOn

Expiry time of the access policy.

Permission

List of abbreviated permissions.

StartOn

Start time of the access policy.

Explicit Interface Implementations

IJsonModel<StorageServiceAccessPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageServiceAccessPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageServiceAccessPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageServiceAccessPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageServiceAccessPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to