Partager via


StorageAccountKey Class

Definition

An access key for the storage account.

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

Constructors

StorageAccountKey()

Creates an new StorageAccountKey instance.

Properties

CreationTime

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

KeyName

Name of the key.

Permission

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

Value

Base 64-encoded value of the key.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageAccountKey.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageAccountKey.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageAccountKey into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to