Class ProjectEnvironmentTypeUpdate

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

public final class ProjectEnvironmentTypeUpdate extends Object
The project environment type for partial update. Properties not provided in the update request will not be changed.
  • Constructor Details

    • ProjectEnvironmentTypeUpdate

      public ProjectEnvironmentTypeUpdate()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public ProjectEnvironmentTypeUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the ProjectEnvironmentTypeUpdate object itself.
    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: Managed identity properties.
      Returns:
      the identity value.
    • withIdentity

      public ProjectEnvironmentTypeUpdate withIdentity(ManagedServiceIdentity identity)
      Set the identity property: Managed identity properties.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ProjectEnvironmentTypeUpdate object itself.
    • 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 ProjectEnvironmentTypeUpdate 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 ProjectEnvironmentTypeUpdate 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

      public ProjectEnvironmentTypeUpdate withStatus(EnableStatus status)
      Set the status property: Defines whether this Environment Type can be used in this Project.
      Parameters:
      status - the status value to set.
      Returns:
      the ProjectEnvironmentTypeUpdate object itself.
    • creatorRoleAssignment

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

      public ProjectEnvironmentTypeUpdate withCreatorRoleAssignment(ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment)
      Set the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.
      Parameters:
      creatorRoleAssignment - the creatorRoleAssignment value to set.
      Returns:
      the ProjectEnvironmentTypeUpdate 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 ProjectEnvironmentTypeUpdate 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 ProjectEnvironmentTypeUpdate object itself.
    • validate

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