ProjectEnvironmentTypeProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. ProjectEnvironmentTypeUpdateProperties - com.
azure. resourcemanager. devcenter. fluent. models. ProjectEnvironmentTypeProperties
- com.
- com.
public final class ProjectEnvironmentTypeProperties
extends ProjectEnvironmentTypeUpdateProperties
Properties of a project environment type.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectEnvironmentTypeProperties() |
Creates an instance of Project |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
environmentCount()
Get the environment |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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 ProjectEnvironmentTypeUpdateProperties
Methods inherited from java.lang.Object
Constructor Details
ProjectEnvironmentTypeProperties
public ProjectEnvironmentTypeProperties()
Creates an instance of ProjectEnvironmentTypeProperties class.
Method Details
environmentCount
public Integer environmentCount()
Get the environmentCount property: The number of environments of this type.
Returns:
fromJson
public static ProjectEnvironmentTypeProperties fromJson(JsonReader jsonReader)
Reads an instance of ProjectEnvironmentTypeProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProjectEnvironmentTypeProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ProjectEnvironmentTypeProperties.validate()withCreatorRoleAssignment
public ProjectEnvironmentTypeProperties withCreatorRoleAssignment(ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment)
Set the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.
Overrides:
ProjectEnvironmentTypeProperties.withCreatorRoleAssignment(ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment)Parameters:
withDeploymentTargetId
public ProjectEnvironmentTypeProperties 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.
Overrides:
ProjectEnvironmentTypeProperties.withDeploymentTargetId(String deploymentTargetId)Parameters:
withDisplayName
public ProjectEnvironmentTypeProperties withDisplayName(String displayName)
Set the displayName property: The display name of the project environment type.
Overrides:
ProjectEnvironmentTypeProperties.withDisplayName(String displayName)Parameters:
withStatus
public ProjectEnvironmentTypeProperties withStatus(EnvironmentTypeEnableStatus status)
Set the status property: Defines whether this Environment Type can be used in this Project.
Overrides:
ProjectEnvironmentTypeProperties.withStatus(EnvironmentTypeEnableStatus status)Parameters:
withUserRoleAssignments
public ProjectEnvironmentTypeProperties 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.
Overrides:
ProjectEnvironmentTypeProperties.withUserRoleAssignments(Map<String,UserRoleAssignmentValue> userRoleAssignments)Parameters: