ArmDataMigrationModelFactory.ResourceSku Method

Definition

Initializes a new instance of ResourceSku.

public static Azure.ResourceManager.DataMigration.Models.ResourceSku ResourceSku (string resourceType = default, string name = default, string tier = default, string size = default, string family = default, string kind = default, Azure.ResourceManager.DataMigration.Models.ResourceSkuCapacity capacity = default, System.Collections.Generic.IEnumerable<string> locations = default, System.Collections.Generic.IEnumerable<string> apiVersions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.ResourceSkuCosts> costs = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.ResourceSkuCapabilities> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictions> restrictions = default);
static member ResourceSku : string * string * string * string * string * string * Azure.ResourceManager.DataMigration.Models.ResourceSkuCapacity * seq<string> * seq<string> * seq<Azure.ResourceManager.DataMigration.Models.ResourceSkuCosts> * seq<Azure.ResourceManager.DataMigration.Models.ResourceSkuCapabilities> * seq<Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictions> -> Azure.ResourceManager.DataMigration.Models.ResourceSku
Public Shared Function ResourceSku (Optional resourceType As String = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional kind As String = Nothing, Optional capacity As ResourceSkuCapacity = Nothing, Optional locations As IEnumerable(Of String) = Nothing, Optional apiVersions As IEnumerable(Of String) = Nothing, Optional costs As IEnumerable(Of ResourceSkuCosts) = Nothing, Optional capabilities As IEnumerable(Of ResourceSkuCapabilities) = Nothing, Optional restrictions As IEnumerable(Of ResourceSkuRestrictions) = Nothing) As ResourceSku

Parameters

resourceType
String

The type of resource the SKU applies to.

name
String

The name of SKU.

tier
String

Specifies the tier of DMS in a scale set.

size
String

The Size of the SKU.

family
String

The Family of this particular SKU.

kind
String

The Kind of resources that are supported in this SKU.

capacity
ResourceSkuCapacity

Not used.

locations
IEnumerable<String>

The set of locations that the SKU is available.

apiVersions
IEnumerable<String>

The api versions that support this SKU.

costs
IEnumerable<ResourceSkuCosts>

Metadata for retrieving price info.

capabilities
IEnumerable<ResourceSkuCapabilities>

A name value pair to describe the capability.

restrictions
IEnumerable<ResourceSkuRestrictions>

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

Returns

A new ResourceSku instance for mocking.

Applies to