你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageAccountKey Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'