Sprog

ArmComputeModelFactory.ComputeSku Method

Definition

Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

public static Azure.ResourceManager.Compute.Models.ComputeSku ComputeSku(string name = default, string tier = default, long? capacity = default);
static member ComputeSku : string * string * Nullable<int64> -> Azure.ResourceManager.Compute.Models.ComputeSku
Public Shared Function ComputeSku (Optional name As String = Nothing, Optional tier As String = Nothing, Optional capacity As Nullable(Of Long) = Nothing) As ComputeSku

Parameters

name
String

The sku name.

tier
String

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

capacity
Nullable<Int64>

Specifies the number of virtual machines in the scale set.

Returns

A new ComputeSku instance for mocking.

Applies to