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

VirtualMachineScaleSet.UpdateStages.WithExtension Interface

public interface WithExtension

The stage of the virtual machine definition allowing to specify extensions.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSetExtension.UpdateDefinitionStages.Blank<VirtualMachineScaleSet.UpdateStages.WithApply> defineNewExtension(String name)

Begins the definition of an extension reference to be attached to the virtual machines in the scale set.

VirtualMachineScaleSetExtension.Update updateExtension(String name)

Begins the description of an update of an existing extension assigned to the virtual machines in the scale set.

VirtualMachineScaleSet.UpdateStages.WithApply withoutExtension(String name)

Removes the extension with the specified name from the virtual machines in the scale set.

Method Details

defineNewExtension

public VirtualMachineScaleSetExtension.UpdateDefinitionStages.Blank defineNewExtension(String name)

Begins the definition of an extension reference to be attached to the virtual machines in the scale set.

Parameters:

name - the reference name for an extension

Returns:

the first stage of the extension reference definition

updateExtension

public VirtualMachineScaleSetExtension.Update updateExtension(String name)

Begins the description of an update of an existing extension assigned to the virtual machines in the scale set.

Parameters:

name - the reference name for the extension

Returns:

the first stage of the extension reference update

withoutExtension

public WithApply withoutExtension(String name)

Removes the extension with the specified name from the virtual machines in the scale set.

Parameters:

name - the reference name of the extension to be removed/uninstalled

Returns:

the next stage of the update

Applies to