ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity Interface

public static interface ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity

The stage of the container instance definition allowing to specify user assigned managed service identity.

Method Summary

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

Specifies an existing user assigned identity to be associate with the container group.

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 ContainerGroup.DefinitionStages.WithCreate withExistingUserAssignedManagedServiceIdentity(Identity identity)

Specifies an existing user assigned identity to be associate with the container group.

Parameters:

identity - the identity

Returns:

the next stage of the definition

withNewUserAssignedManagedServiceIdentity

public abstract ContainerGroup.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 definition

Applies to

Azure SDK for Java

Latest