다음을 통해 공유


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

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

Parameters

skuType
VirtualMachineScaleSetSkuTypes

The SKU type.

Returns

Applies to