VirtualMachineScaleSet.DefinitionStages.WithSku Interface
public interface WithSku
The stage of a virtual machine scale set definition allowing to specify SKU for the virtual machines.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withSku(VirtualMachineScaleSetSku sku)
Specifies the SKU for the virtual machines in the scale set. |
Virtual |
withSku(VirtualMachineScaleSetSkuTypes skuType)
Specifies the SKU for the virtual machines in the scale set. |
Method Details
withSku
public WithNetworkSubnet withSku(VirtualMachineScaleSetSku sku)
Specifies the SKU for the virtual machines in the scale set.
Parameters:
sku
- a SKU from the list of available sizes for the virtual machines in this scale set
Returns:
the next stage of the definition
withSku
public WithNetworkSubnet withSku(VirtualMachineScaleSetSkuTypes skuType)
Specifies the SKU for the virtual machines in the scale set.
Parameters:
skuType
- the SKU type
Returns:
the next stage of the definition
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java