VirtualMachineScaleSet.DefinitionStages.WithSku Interface

Implements

public static interface VirtualMachineScaleSet.DefinitionStages.WithSku
extends WithOrchestrationMode

The stage of a virtual machine scale set definition allowing to specify SKU for the virtual machines.

Method Summary

Modifier and Type Method and Description
abstract WithProximityPlacementGroup withSku(VirtualMachineScaleSetSku sku)

Specifies the SKU for the virtual machines in the scale set.

abstract WithProximityPlacementGroup withSku(VirtualMachineScaleSetSkuTypes skuType)

Specifies the SKU for the virtual machines in the scale set.

Method Details

withSku

public abstract VirtualMachineScaleSet.DefinitionStages.WithProximityPlacementGroup withSku(VirtualMachineScaleSetSku sku)

Specifies the SKU for the virtual machines in the scale set.

Parameters:

sku - a SKU from the list of available sizes for the virtual machines in this scale set

Returns:

the next stage of the definition

withSku

public abstract VirtualMachineScaleSet.DefinitionStages.WithProximityPlacementGroup withSku(VirtualMachineScaleSetSkuTypes skuType)

Specifies the SKU for the virtual machines in the scale set.

Parameters:

skuType - the SKU type

Returns:

the next stage of the definition

Applies to