Compartilhar via


StorageAccountKey Constructors

Definition

Overloads

StorageAccountKey()

Initializes a new instance of the StorageAccountKey class.

StorageAccountKey(String, String, Nullable<KeyPermission>, Nullable<DateTime>)

Initializes a new instance of the StorageAccountKey class.

StorageAccountKey()

Initializes a new instance of the StorageAccountKey class.

public StorageAccountKey ();
Public Sub New ()

Applies to

StorageAccountKey(String, String, Nullable<KeyPermission>, Nullable<DateTime>)

Initializes a new instance of the StorageAccountKey class.

public StorageAccountKey (string keyName = default, string value = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.KeyPermission? permissions = default, DateTime? creationTime = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.StorageAccountKey : string * string * Nullable<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.KeyPermission> * Nullable<DateTime> -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.StorageAccountKey
Public Sub New (Optional keyName As String = Nothing, Optional value As String = Nothing, Optional permissions As Nullable(Of KeyPermission) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing)

Parameters

keyName
String

Name of the key.

value
String

Base 64-encoded value of the key.

permissions
Nullable<KeyPermission>

Permissions for the key -- read-only or full permissions. Possible values include: 'Read', 'Full'

creationTime
Nullable<DateTime>

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

Applies to