Class ProjectEnvironmentTypeUpdateProperties

java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.ProjectEnvironmentTypeUpdateProperties
Direct Known Subclasses:
ProjectEnvironmentTypeProperties

public class ProjectEnvironmentTypeUpdateProperties extends Object
Properties of a project environment type. These properties can be updated after the resource has been created.
  • Constructor Details

    • ProjectEnvironmentTypeUpdateProperties

      public ProjectEnvironmentTypeUpdateProperties()
  • Method Details

    • deploymentTargetId

      public String deploymentTargetId()
      Get the deploymentTargetId property: Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
      Returns:
      the deploymentTargetId value.
    • withDeploymentTargetId

      public ProjectEnvironmentTypeUpdateProperties withDeploymentTargetId(String deploymentTargetId)
      Set the deploymentTargetId property: Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription.
      Parameters:
      deploymentTargetId - the deploymentTargetId value to set.
      Returns:
      the ProjectEnvironmentTypeUpdateProperties object itself.
    • status

      public EnableStatus status()
      Get the status property: Defines whether this Environment Type can be used in this Project.
      Returns:
      the status value.
    • withStatus

      Set the status property: Defines whether this Environment Type can be used in this Project.
      Parameters:
      status - the status value to set.
      Returns:
      the ProjectEnvironmentTypeUpdateProperties object itself.
    • creatorRoleAssignment

      Get the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.
      Returns:
      the creatorRoleAssignment value.
    • withCreatorRoleAssignment

      Set the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.
      Parameters:
      creatorRoleAssignment - the creatorRoleAssignment value to set.
      Returns:
      the ProjectEnvironmentTypeUpdateProperties object itself.
    • userRoleAssignments

      public Map<String,UserRoleAssignmentValue> userRoleAssignments()
      Get the userRoleAssignments property: Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
      Returns:
      the userRoleAssignments value.
    • withUserRoleAssignments

      public ProjectEnvironmentTypeUpdateProperties withUserRoleAssignments(Map<String,UserRoleAssignmentValue> userRoleAssignments)
      Set the userRoleAssignments property: Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs.
      Parameters:
      userRoleAssignments - the userRoleAssignments value to set.
      Returns:
      the ProjectEnvironmentTypeUpdateProperties object itself.
    • validate

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