共用方式為


ArmStorageModelFactory.StorageSku Method

Definition

Initializes a new instance of StorageSku.

public static Azure.ResourceManager.Storage.Models.StorageSku StorageSku (Azure.ResourceManager.Storage.Models.StorageSkuName name = default, Azure.ResourceManager.Storage.Models.StorageSkuTier? tier = default);
static member StorageSku : Azure.ResourceManager.Storage.Models.StorageSkuName * Nullable<Azure.ResourceManager.Storage.Models.StorageSkuTier> -> Azure.ResourceManager.Storage.Models.StorageSku
Public Shared Function StorageSku (Optional name As StorageSkuName = Nothing, Optional tier As Nullable(Of StorageSkuTier) = Nothing) As StorageSku

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.

Returns

A new StorageSku instance for mocking.

Applies to