ArmComputeModelFactory.VirtualMachineScaleSetSku Method

Definition

Initializes a new instance of VirtualMachineScaleSetSku.

public static Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSku VirtualMachineScaleSetSku (Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.Compute.Models.ComputeSku sku = default, Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSkuCapacity capacity = default);
static member VirtualMachineScaleSetSku : Nullable<Azure.Core.ResourceType> * Azure.ResourceManager.Compute.Models.ComputeSku * Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSkuCapacity -> Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetSku
Public Shared Function VirtualMachineScaleSetSku (Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional sku As ComputeSku = Nothing, Optional capacity As VirtualMachineScaleSetSkuCapacity = Nothing) As VirtualMachineScaleSetSku

Parameters

resourceType
Nullable<ResourceType>

The type of resource the sku applies to.

sku
ComputeSku

The Sku.

capacity
VirtualMachineScaleSetSkuCapacity

Specifies the number of virtual machines in the scale set.

Returns

A new VirtualMachineScaleSetSku instance for mocking.

Applies to