StorageAccountKey Class

Definition

An access key for the storage account.

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

Properties

CreatedOn

Creation time of the key, in round trip date format.

KeyName

Name of the key.

Permissions

Permissions for the key -- read-only or full permissions.

Value

Base 64-encoded value of the key.

Explicit Interface Implementations

IJsonModel<StorageAccountKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageAccountKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageAccountKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageAccountKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageAccountKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to