VirtualMachine.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity 方法

定义

重载

withManagedServiceIdentity()

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

withManagedServiceIdentity(int tokenPort)

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

withManagedServiceIdentity()

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

public WithRoleAndScopeOrCreate withManagedServiceIdentity()

返回

withManagedServiceIdentity(int tokenPort)

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

public WithRoleAndScopeOrCreate withManagedServiceIdentity(int tokenPort)

参数

tokenPort
int

the port on the virtual machine where access token is available

返回

适用于