Interface ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate

All Superinterfaces:
ContainerGroup.DefinitionStages.WithAutoGeneratedDomainNameLabelScope, ContainerGroup.DefinitionStages.WithCreate, ContainerGroup.DefinitionStages.WithDnsPrefix, ContainerGroup.DefinitionStages.WithLogAnalytics, ContainerGroup.DefinitionStages.WithNetworkProfile, ContainerGroup.DefinitionStages.WithRestartPolicy, ContainerGroup.DefinitionStages.WithSystemAssignedManagedServiceIdentity, ContainerGroup.DefinitionStages.WithUserAssignedManagedServiceIdentity, com.azure.resourcemanager.resources.fluentcore.model.Creatable<ContainerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags<ContainerGroup.DefinitionStages.WithCreate>
All Known Subinterfaces:
ContainerGroup.Definition
Enclosing interface:
ContainerGroup.DefinitionStages

public static interface ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate extends ContainerGroup.DefinitionStages.WithCreate
The stage of the container instance definition allowing to specify system assigned managed service identity with specific role based access.
  • Method Details

    • withSystemAssignedIdentityBasedAccessTo

      ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, com.azure.resourcemanager.authorization.models.BuiltInRole role)
      Specifies a system assigned managed service identity with access to a specific resource with a specified role.
      Parameters:
      resourceId - the id of the resource you are setting up access to
      role - access role to be assigned to the identity
      Returns:
      the next stage of the definition
    • withSystemAssignedIdentityBasedAccessToCurrentResourceGroup

      ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.BuiltInRole role)
      Specifies a system assigned managed service identity with access to the current resource group and with the specified role.
      Parameters:
      role - access role to be assigned to the identity
      Returns:
      the next stage of the definition
    • withSystemAssignedIdentityBasedAccessTo

      ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, String roleDefinitionId)
      Specifies a system assigned managed service identity with access to a specific resource with a specified role from the id.
      Parameters:
      resourceId - the id of the resource you are setting up access to
      roleDefinitionId - id of the access role to be assigned to the identity
      Returns:
      the next stage of the definition
    • withSystemAssignedIdentityBasedAccessToCurrentResourceGroup

      ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
      Specifies a system assigned managed service identity with access to the current resource group and with the specified role from the id.
      Parameters:
      roleDefinitionId - id of the access role to be assigned to the identity
      Returns:
      the next stage of the definition