ArmComputeModelFactory.ComputeSku Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
A new ComputeSku instance for mocking.