Class ProjectEnvironmentTypeInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.devcenter.fluent.models.ProjectEnvironmentTypeInner

public final class ProjectEnvironmentTypeInner extends com.azure.core.management.ProxyResource
Represents an environment type.
  • Constructor Details

    • ProjectEnvironmentTypeInner

      public ProjectEnvironmentTypeInner()
  • Method Details

    • tags

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

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

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

      public ProjectEnvironmentTypeInner withIdentity(ManagedServiceIdentity identity)
      Set the identity property: Managed identity properties.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ProjectEnvironmentTypeInner object itself.
    • location

      public String location()
      Get the location property: The geo-location for the environment type.
      Returns:
      the location value.
    • withLocation

      public ProjectEnvironmentTypeInner withLocation(String location)
      Set the location property: The geo-location for the environment type.
      Parameters:
      location - the location value to set.
      Returns:
      the ProjectEnvironmentTypeInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • 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 ProjectEnvironmentTypeInner 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 ProjectEnvironmentTypeInner 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 ProjectEnvironmentTypeInner 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 ProjectEnvironmentTypeInner object itself.
    • creatorRoleAssignment

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

      public ProjectEnvironmentTypeInner 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 ProjectEnvironmentTypeInner 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 ProjectEnvironmentTypeInner 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 ProjectEnvironmentTypeInner object itself.
    • validate

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