Class ProjectEnvironmentTypeUpdateProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.ProjectEnvironmentTypeUpdateProperties
- Direct Known Subclasses:
ProjectEnvironmentTypeProperties
Properties of a project environment type. These properties can be updated after the resource has been created.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.Get the deploymentTargetId property: Id of a subscription that the environment type will be mapped to.status()
Get the status property: Defines whether this Environment Type can be used in this Project.Get the userRoleAssignments property: Role Assignments created on environment backing resources.void
validate()
Validates the instance.withCreatorRoleAssignment
(ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment) Set the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.withDeploymentTargetId
(String deploymentTargetId) Set the deploymentTargetId property: Id of a subscription that the environment type will be mapped to.withStatus
(EnableStatus status) Set the status property: Defines whether this Environment Type can be used in this Project.withUserRoleAssignments
(Map<String, UserRoleAssignmentValue> userRoleAssignments) Set the userRoleAssignments property: Role Assignments created on environment backing resources.
-
Constructor Details
-
ProjectEnvironmentTypeUpdateProperties
public ProjectEnvironmentTypeUpdateProperties()
-
-
Method Details
-
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
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
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
public ProjectEnvironmentTypeUpdateProperties 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 ProjectEnvironmentTypeUpdateProperties object itself.
-
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.
-