VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity Interface

public static interface VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity

The stage of the virtual machine definition allowing to specify User Assigned (External) Managed Service Identities.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withExistingUserAssignedManagedServiceIdentity(Identity identity)

Specifies an existing user assigned identity to be associated with the virtual machine.

abstract WithCreate withNewUserAssignedManagedServiceIdentity(Creatable<Identity> creatableIdentity)

Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.

Method Details

withExistingUserAssignedManagedServiceIdentity

public abstract VirtualMachine.DefinitionStages.WithCreate withExistingUserAssignedManagedServiceIdentity(Identity identity)

Specifies an existing user assigned identity to be associated with the virtual machine.

Parameters:

identity - the identity

Returns:

the next stage of the virtual machine definition

withNewUserAssignedManagedServiceIdentity

public abstract VirtualMachine.DefinitionStages.WithCreate withNewUserAssignedManagedServiceIdentity(Creatable creatableIdentity)

Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.

Parameters:

creatableIdentity - a creatable identity definition

Returns:

the next stage of the virtual machine definition

Applies to