ArmStorageCacheModelFactory.StorageCacheSku Method

Definition

Initializes a new instance of StorageCacheSku.

public static Azure.ResourceManager.StorageCache.Models.StorageCacheSku StorageCacheSku (string resourceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.StorageCacheSkuCapability> capabilities = default, System.Collections.Generic.IEnumerable<string> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.StorageCacheSkuLocationInfo> locationInfo = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.StorageCacheRestriction> restrictions = default);
static member StorageCacheSku : string * seq<Azure.ResourceManager.StorageCache.Models.StorageCacheSkuCapability> * seq<string> * seq<Azure.ResourceManager.StorageCache.Models.StorageCacheSkuLocationInfo> * string * seq<Azure.ResourceManager.StorageCache.Models.StorageCacheRestriction> -> Azure.ResourceManager.StorageCache.Models.StorageCacheSku
Public Shared Function StorageCacheSku (Optional resourceType As String = Nothing, Optional capabilities As IEnumerable(Of StorageCacheSkuCapability) = Nothing, Optional locations As IEnumerable(Of String) = Nothing, Optional locationInfo As IEnumerable(Of StorageCacheSkuLocationInfo) = Nothing, Optional name As String = Nothing, Optional restrictions As IEnumerable(Of StorageCacheRestriction) = Nothing) As StorageCacheSku

Parameters

resourceType
String

The type of resource the SKU applies to.

capabilities
IEnumerable<StorageCacheSkuCapability>

A list of capabilities of this SKU, such as throughput or ops/sec.

locations
IEnumerable<String>

The set of locations where the SKU is available. This is the supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.).

locationInfo
IEnumerable<StorageCacheSkuLocationInfo>

The set of locations where the SKU is available.

name
String

The name of this SKU.

restrictions
IEnumerable<StorageCacheRestriction>

The restrictions preventing this SKU from being used. This is empty if there are no restrictions.

Returns

A new StorageCacheSku instance for mocking.

Applies to