ArmStoragePoolModelFactory.StoragePoolSkuInfo Method

Definition

Initializes a new instance of StoragePoolSkuInfo.

public static Azure.ResourceManager.StoragePool.Models.StoragePoolSkuInfo StoragePoolSkuInfo (string apiVersion = default, string resourceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StoragePool.Models.StoragePoolSkuCapability> capabilities = default, Azure.ResourceManager.StoragePool.Models.StoragePoolSkuLocationInfo locationInfo = default, string name = default, string tier = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StoragePool.Models.StoragePoolSkuRestrictions> restrictions = default);
static member StoragePoolSkuInfo : string * string * seq<Azure.ResourceManager.StoragePool.Models.StoragePoolSkuCapability> * Azure.ResourceManager.StoragePool.Models.StoragePoolSkuLocationInfo * string * string * seq<Azure.ResourceManager.StoragePool.Models.StoragePoolSkuRestrictions> -> Azure.ResourceManager.StoragePool.Models.StoragePoolSkuInfo
Public Shared Function StoragePoolSkuInfo (Optional apiVersion As String = Nothing, Optional resourceType As String = Nothing, Optional capabilities As IEnumerable(Of StoragePoolSkuCapability) = Nothing, Optional locationInfo As StoragePoolSkuLocationInfo = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional restrictions As IEnumerable(Of StoragePoolSkuRestrictions) = Nothing) As StoragePoolSkuInfo

Parameters

apiVersion
String

StoragePool RP API version.

resourceType
String

StoragePool resource type.

capabilities
IEnumerable<StoragePoolSkuCapability>

List of additional capabilities for StoragePool resource.

locationInfo
StoragePoolSkuLocationInfo

Zones and zone capabilities in those locations where the SKU is available.

name
String

Sku name.

tier
String

Sku tier.

restrictions
IEnumerable<StoragePoolSkuRestrictions>

The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.

Returns

A new StoragePoolSkuInfo instance for mocking.

Applies to