共用方式為


ArmApiManagementModelFactory.ApiManagementSku Method

Definition

Initializes a new instance of ApiManagementSku.

public static Azure.ResourceManager.ApiManagement.Models.ApiManagementSku ApiManagementSku (string resourceType = default, string name = default, string tier = default, string size = default, string family = default, string kind = default, Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuCapacity capacity = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuLocationInfo> locationInfo = default, System.Collections.Generic.IEnumerable<string> apiVersions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuCosts> costs = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuCapabilities> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuRestrictions> restrictions = default);
static member ApiManagementSku : string * string * string * string * string * string * Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuCapacity * seq<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuLocationInfo> * seq<string> * seq<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuCosts> * seq<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuCapabilities> * seq<Azure.ResourceManager.ApiManagement.Models.ApiManagementSkuRestrictions> -> Azure.ResourceManager.ApiManagement.Models.ApiManagementSku
Public Shared Function ApiManagementSku (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 ApiManagementSkuCapacity = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional locationInfo As IEnumerable(Of ApiManagementSkuLocationInfo) = Nothing, Optional apiVersions As IEnumerable(Of String) = Nothing, Optional costs As IEnumerable(Of ApiManagementSkuCosts) = Nothing, Optional capabilities As IEnumerable(Of ApiManagementSkuCapabilities) = Nothing, Optional restrictions As IEnumerable(Of ApiManagementSkuRestrictions) = Nothing) As ApiManagementSku

Parameters

resourceType
String

The type of resource the SKU applies to.

name
String

The name of SKU.

tier
String

Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> Standard<br /><br /> Basic.

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
ApiManagementSkuCapacity

Specifies the number of virtual machines in the scale set.

locations
IEnumerable<AzureLocation>

The set of locations that the SKU is available.

locationInfo
IEnumerable<ApiManagementSkuLocationInfo>

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

apiVersions
IEnumerable<String>

The api versions that support this SKU.

costs
IEnumerable<ApiManagementSkuCosts>

Metadata for retrieving price info.

capabilities
IEnumerable<ApiManagementSkuCapabilities>

A name value pair to describe the capability.

restrictions
IEnumerable<ApiManagementSkuRestrictions>

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

Returns

A new ApiManagementSku instance for mocking.

Applies to