Partilhar via


ArmDevOpsInfrastructureModelFactory.DevOpsResourceSkuProperties Method

Definition

Initializes a new instance of DevOpsResourceSkuProperties.

public static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsResourceSkuProperties DevOpsResourceSkuProperties (string resourceType = default, string tier = default, string size = default, string family = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevOpsInfrastructure.Models.ResourceSkuLocationInfo> locationInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevOpsInfrastructure.Models.ResourceSkuCapabilities> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevOpsInfrastructure.Models.ResourceSkuRestrictions> restrictions = default);
static member DevOpsResourceSkuProperties : string * string * string * string * seq<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.DevOpsInfrastructure.Models.ResourceSkuLocationInfo> * seq<Azure.ResourceManager.DevOpsInfrastructure.Models.ResourceSkuCapabilities> * seq<Azure.ResourceManager.DevOpsInfrastructure.Models.ResourceSkuRestrictions> -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsResourceSkuProperties
Public Shared Function DevOpsResourceSkuProperties (Optional resourceType As String = Nothing, Optional tier As String = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional locationInfo As IEnumerable(Of ResourceSkuLocationInfo) = Nothing, Optional capabilities As IEnumerable(Of ResourceSkuCapabilities) = Nothing, Optional restrictions As IEnumerable(Of ResourceSkuRestrictions) = Nothing) As DevOpsResourceSkuProperties

Parameters

resourceType
String

The type of resource the SKU applies to.

tier
String

The tier of virtual machines in a scale set.

size
String

The size of the SKU.

family
String

The family of the SKU.

locations
IEnumerable<AzureLocation>

The set of locations that the SKU is available.

locationInfo
IEnumerable<ResourceSkuLocationInfo>

A list of locations and availability zones in those locations where the SKU is available.

capabilities
IEnumerable<ResourceSkuCapabilities>

Name value pairs to describe the capability.

restrictions
IEnumerable<ResourceSkuRestrictions>

The restrictions of the SKU.

Returns

A new DevOpsResourceSkuProperties instance for mocking.

Applies to