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

VirtualMachineScaleSet.UpdateStages.WithManagedServiceIdentity Interface

public interface WithManagedServiceIdentity

The stage of the virtual machine scale set update allowing to enable Managed Service Identity.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply withManagedServiceIdentity()

Specifies that Managed Service Identity needs to be enabled in the virtual machine scale set.

VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply withManagedServiceIdentity(int tokenPort)

Specifies that Managed Service Identity needs to be enabled in the virtual machine scale set.

Method Details

withManagedServiceIdentity

public WithRoleAndScopeOrApply withManagedServiceIdentity()

Specifies that Managed Service Identity needs to be enabled in the virtual machine scale set.

Returns:

the next stage of the update

withManagedServiceIdentity

public WithRoleAndScopeOrApply withManagedServiceIdentity(int tokenPort)

Specifies that Managed Service Identity needs to be enabled in the virtual machine scale set.

Parameters:

tokenPort - the port on the virtual machine scale set instance where access token is available

Returns:

the next stage of the update

Applies to