Dela via


IWithSku.WithSku Method

Definition

Overloads

WithSku(IVirtualMachineScaleSetSku)

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

WithSku(VirtualMachineScaleSetSkuTypes)

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

WithSku(IVirtualMachineScaleSetSku)

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

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply WithSku (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetSku sku);
abstract member WithSku : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetSku -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply
Public Function WithSku (sku As IVirtualMachineScaleSetSku) As IWithApply

Parameters

sku
IVirtualMachineScaleSetSku

A SKU from the list of available sizes for the virtual machines in this scale set.

Returns

Applies to

WithSku(VirtualMachineScaleSetSkuTypes)

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

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply WithSku (Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSetSkuTypes skuType);
abstract member WithSku : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSetSkuTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply
Public Function WithSku (skuType As VirtualMachineScaleSetSkuTypes) As IWithApply

Parameters

skuType
VirtualMachineScaleSetSkuTypes

The SKU type.

Returns

Applies to