ArmHybridNetworkModelFactory.AzureStorageAccountCredential 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 AzureStorageAccountCredential.
public static Azure.ResourceManager.HybridNetwork.Models.AzureStorageAccountCredential AzureStorageAccountCredential (Azure.Core.ResourceIdentifier storageAccountId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridNetwork.Models.AzureStorageAccountContainerCredential> containerCredentials = default, DateTimeOffset? expiry = default);
static member AzureStorageAccountCredential : Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.HybridNetwork.Models.AzureStorageAccountContainerCredential> * Nullable<DateTimeOffset> -> Azure.ResourceManager.HybridNetwork.Models.AzureStorageAccountCredential
Public Shared Function AzureStorageAccountCredential (Optional storageAccountId As ResourceIdentifier = Nothing, Optional containerCredentials As IEnumerable(Of AzureStorageAccountContainerCredential) = Nothing, Optional expiry As Nullable(Of DateTimeOffset) = Nothing) As AzureStorageAccountCredential
Parameters
- storageAccountId
- ResourceIdentifier
The storage account Id.
- containerCredentials
- IEnumerable<AzureStorageAccountContainerCredential>
The containers that could be accessed using the current credential.
- expiry
- Nullable<DateTimeOffset>
The UTC time when credential will expire.
Returns
A new AzureStorageAccountCredential instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET