你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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