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.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
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.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.