Interface ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate

    • Method Detail

      • withSystemAssignedIdentityBasedAccessTo

        ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo​(String resourceId,
                                                                                                                              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​(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