Class EnvironmentRole

java.lang.Object
com.azure.resourcemanager.devcenter.models.EnvironmentRole

public final class EnvironmentRole extends Object
A role that can be assigned to a user.
  • Constructor Details

    • EnvironmentRole

      public EnvironmentRole()
      Creates an instance of EnvironmentRole class.
  • Method Details

    • roleName

      public String roleName()
      Get the roleName property: The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
      Returns:
      the roleName value.
    • description

      public String description()
      Get the description property: This is a description of the Role Assignment.
      Returns:
      the description value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.