Interface RoleAssignment

All Superinterfaces:
HasId, HasInnerModel<com.azure.resourcemanager.authorization.fluent.models.RoleAssignmentInner>, HasManager<AuthorizationManager>, HasName, Indexable

public interface RoleAssignment extends Indexable, HasInnerModel<com.azure.resourcemanager.authorization.fluent.models.RoleAssignmentInner>, HasId, HasName, HasManager<AuthorizationManager>
An immutable client-side representation of an Azure AD role assignment.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Container interface for all the definitions that need to be implemented.
    static interface 
    Grouping of all the role assignment definition stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the condition.
    Gets the description.
    Gets the principal ID.
    Gets the role definition ID.
    Gets the role assignment scope.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key
  • Method Details

    • scope

      String scope()
      Gets the role assignment scope.
      Returns:
      the role assignment scope
    • roleDefinitionId

      String roleDefinitionId()
      Gets the role definition ID.
      Returns:
      the role definition ID
    • principalId

      String principalId()
      Gets the principal ID.
      Returns:
      the principal ID
    • condition

      String condition()
      Gets the condition.

      This is a preview feature.

      Returns:
      the condition
    • description

      String description()
      Gets the description.
      Returns:
      the description