VirtualMachine.DefinitionStages.WithManagedServiceIdentity Interface

public interface WithManagedServiceIdentity

The stage of the virtual machine definition allowing to enable Managed Service Identity.

Method Summary

Modifier and Type Method and Description
VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate withManagedServiceIdentity()

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

VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate withManagedServiceIdentity(int tokenPort)

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

Method Details

withManagedServiceIdentity

public WithRoleAndScopeOrCreate withManagedServiceIdentity()

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

Returns:

the next stage of the definition

withManagedServiceIdentity

public WithRoleAndScopeOrCreate withManagedServiceIdentity(int tokenPort)

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

Parameters:

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

Returns:

the next stage of the definition

Applies to