Sdílet prostřednictvím


ArmDevCenterModelFactory.DevCenterSkuDetails Method

Definition

Initializes a new instance of DevCenterSkuDetails.

public static Azure.ResourceManager.DevCenter.Models.DevCenterSkuDetails DevCenterSkuDetails (string name = default, Azure.ResourceManager.DevCenter.Models.DevCenterSkuTier? tier = default, string size = default, string family = default, int? capacity = default, Azure.Core.ResourceType? resourceType = default, System.Collections.Generic.IEnumerable<string> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevCenter.Models.DevCenterCapability> capabilities = default);
static member DevCenterSkuDetails : string * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterSkuTier> * string * string * Nullable<int> * Nullable<Azure.Core.ResourceType> * seq<string> * seq<Azure.ResourceManager.DevCenter.Models.DevCenterCapability> -> Azure.ResourceManager.DevCenter.Models.DevCenterSkuDetails
Public Shared Function DevCenterSkuDetails (Optional name As String = Nothing, Optional tier As Nullable(Of DevCenterSkuTier) = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional capacity As Nullable(Of Integer) = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional locations As IEnumerable(Of String) = Nothing, Optional capabilities As IEnumerable(Of DevCenterCapability) = Nothing) As DevCenterSkuDetails

Parameters

name
String

The name of the SKU. Ex - P3. It is typically a letter+number code.

tier
Nullable<DevCenterSkuTier>

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

size
String

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

family
String

If the service has different generations of hardware, for the same SKU, then that can be captured here.

capacity
Nullable<Int32>

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

resourceType
Nullable<ResourceType>

The name of the resource type.

locations
IEnumerable<String>

SKU supported locations.

capabilities
IEnumerable<DevCenterCapability>

Collection of name/value pairs to describe the SKU capabilities.

Returns

A new DevCenterSkuDetails instance for mocking.

Applies to