ProjectEnvironmentTypeUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. ProjectEnvironmentTypeUpdateProperties
- com.
Implements
public class ProjectEnvironmentTypeUpdateProperties
implements JsonSerializable<ProjectEnvironmentTypeUpdateProperties>
Properties of a project environment type. These properties can be updated after the resource has been created.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectEnvironmentTypeUpdateProperties() |
Creates an instance of Project |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Project |
creatorRoleAssignment()
Get the creator |
| String |
deploymentTargetId()
Get the deployment |
| String |
displayName()
Get the display |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
|
Environment |
status()
Get the status property: Defines whether this Environment Type can be used in this Project. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Map<String,User |
userRoleAssignments()
Get the user |
| void |
validate()
Validates the instance. |
|
Project |
withCreatorRoleAssignment(ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment)
Set the creator |
|
Project |
withDeploymentTargetId(String deploymentTargetId)
Set the deployment |
|
Project |
withDisplayName(String displayName)
Set the display |
|
Project |
withStatus(EnvironmentTypeEnableStatus status)
Set the status property: Defines whether this Environment Type can be used in this Project. |
|
Project |
withUserRoleAssignments(Map<String,UserRoleAssignmentValue> userRoleAssignments)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
ProjectEnvironmentTypeUpdateProperties
public ProjectEnvironmentTypeUpdateProperties()
Creates an instance of ProjectEnvironmentTypeUpdateProperties class.
Method Details
creatorRoleAssignment
public ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment()
Get the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.
Returns:
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:
displayName
public String displayName()
Get the displayName property: The display name of the project environment type.
Returns:
fromJson
public static ProjectEnvironmentTypeUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of ProjectEnvironmentTypeUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
status
public EnvironmentTypeEnableStatus status()
Get the status property: Defines whether this Environment Type can be used in this Project.
Returns:
toJson
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:
validate
public void validate()
Validates the instance.
withCreatorRoleAssignment
public ProjectEnvironmentTypeUpdateProperties withCreatorRoleAssignment(ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment)
Set the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.
Parameters:
Returns:
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:
Returns:
withDisplayName
public ProjectEnvironmentTypeUpdateProperties withDisplayName(String displayName)
Set the displayName property: The display name of the project environment type.
Parameters:
Returns:
withStatus
public ProjectEnvironmentTypeUpdateProperties withStatus(EnvironmentTypeEnableStatus status)
Set the status property: Defines whether this Environment Type can be used in this Project.
Parameters:
Returns:
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:
Returns: