Interface ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity

All Known Subinterfaces:
ContainerGroup.Definition, ContainerGroup.DefinitionStages.DnsConfigFork, ContainerGroup.DefinitionStages.WithCreate, ContainerGroup.DefinitionStages.WithNextContainerInstance, ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
Enclosing interface:
ContainerGroup.DefinitionStages

public static interface ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity
The stage of the container instance definition allowing to specify user assigned managed service identity.
  • Method Details

    • withNewUserAssignedManagedServiceIdentity

      @Beta(V1_23_0) ContainerGroup.DefinitionStages.WithCreate withNewUserAssignedManagedServiceIdentity(Creatable<Identity> 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
    • withExistingUserAssignedManagedServiceIdentity

      @Beta(V1_23_0) 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