ArmStorageModelFactory.StorageSkuInformation 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 StorageSkuInformation.
public static Azure.ResourceManager.Storage.Models.StorageSkuInformation StorageSkuInformation (Azure.ResourceManager.Storage.Models.StorageSkuName name = default, Azure.ResourceManager.Storage.Models.StorageSkuTier? tier = default, string resourceType = default, Azure.ResourceManager.Storage.Models.StorageKind? kind = default, System.Collections.Generic.IEnumerable<string> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageSkuCapability> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageSkuRestriction> restrictions = default);
static member StorageSkuInformation : Azure.ResourceManager.Storage.Models.StorageSkuName * Nullable<Azure.ResourceManager.Storage.Models.StorageSkuTier> * string * Nullable<Azure.ResourceManager.Storage.Models.StorageKind> * seq<string> * seq<Azure.ResourceManager.Storage.Models.StorageSkuCapability> * seq<Azure.ResourceManager.Storage.Models.StorageSkuRestriction> -> Azure.ResourceManager.Storage.Models.StorageSkuInformation
Public Shared Function StorageSkuInformation (Optional name As StorageSkuName = Nothing, Optional tier As Nullable(Of StorageSkuTier) = Nothing, Optional resourceType As String = Nothing, Optional kind As Nullable(Of StorageKind) = Nothing, Optional locations As IEnumerable(Of String) = Nothing, Optional capabilities As IEnumerable(Of StorageSkuCapability) = Nothing, Optional restrictions As IEnumerable(Of StorageSkuRestriction) = Nothing) As StorageSkuInformation
Parameters
- name
- StorageSkuName
The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
- tier
- Nullable<StorageSkuTier>
The SKU tier. This is based on the SKU name.
- resourceType
- String
The type of the resource, usually it is 'storageAccounts'.
- kind
- Nullable<StorageKind>
Indicates the type of storage account.
- locations
- IEnumerable<String>
The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
- capabilities
- IEnumerable<StorageSkuCapability>
The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
- restrictions
- IEnumerable<StorageSkuRestriction>
The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Returns
A new StorageSkuInformation instance for mocking.
Applies to
Azure SDK for .NET