ArmStorageModelFactory.StorageAccountKey Method
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.
Initializes a new instance of StorageAccountKey.
public static Azure.ResourceManager.Storage.Models.StorageAccountKey StorageAccountKey (string keyName = default, string value = default, Azure.ResourceManager.Storage.Models.StorageAccountKeyPermission? permissions = default, DateTimeOffset? createdOn = default);
static member StorageAccountKey : string * string * Nullable<Azure.ResourceManager.Storage.Models.StorageAccountKeyPermission> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Storage.Models.StorageAccountKey
Public Shared Function StorageAccountKey (Optional keyName As String = Nothing, Optional value As String = Nothing, Optional permissions As Nullable(Of StorageAccountKeyPermission) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing) As StorageAccountKey
Parameters
- keyName
- String
Name of the key.
- value
- String
Base 64-encoded value of the key.
- permissions
- Nullable<StorageAccountKeyPermission>
Permissions for the key -- read-only or full permissions.
- createdOn
- Nullable<DateTimeOffset>
Creation time of the key, in round trip date format.
Returns
A new StorageAccountKey instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET