IWithSku.WithSku Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.