VirtualMachineScaleSet.UpdateStages.WithSku Interface

public static interface VirtualMachineScaleSet.UpdateStages.WithSku

The stage of a virtual machine scale set update allowing to change the SKU for the virtual machines in the scale set.

Method Summary

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

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

abstract WithApply withSku(VirtualMachineScaleSetSkuTypes skuType)

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

Method Details

withSku

public abstract VirtualMachineScaleSet.UpdateStages.WithApply 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 update

withSku

public abstract VirtualMachineScaleSet.UpdateStages.WithApply 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 update

Applies to