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.Definition.IWithNetworkSubnet WithSku (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetSku sku);
abstract member WithSku : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetSku -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithNetworkSubnet
Public Function WithSku (sku As IVirtualMachineScaleSetSku) As IWithNetworkSubnet

Parameters

sku
IVirtualMachineScaleSetSku

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

Returns

IWithNetworkSubnet

Applies to

WithSku(VirtualMachineScaleSetSkuTypes)

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

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

Parameters

skuType
VirtualMachineScaleSetSkuTypes

The SKU type.

Returns

IWithNetworkSubnet

Applies to