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 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.identity()
Get the identity property: Managed identity properties.location()
Get the location property: The geo-location for the environment type.Get the provisioningState property: The provisioning state of the resource.status()
Get the status property: Defines whether this Environment Type can be used in this Project.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()
Get the tags property: Resource tags.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.withIdentity
(ManagedServiceIdentity identity) Set the identity property: Managed identity properties.withLocation
(String location) Set the location property: The geo-location for the environment type.withStatus
(EnableStatus status) Set the status property: Defines whether this Environment Type can be used in this Project.Set the tags property: Resource tags.withUserRoleAssignments
(Map<String, UserRoleAssignmentValue> userRoleAssignments) Set the userRoleAssignments property: Role Assignments created on environment backing resources.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ProjectEnvironmentTypeInner
public ProjectEnvironmentTypeInner()
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ProjectEnvironmentTypeInner object itself.
-
identity
Get the identity property: Managed identity properties.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed identity properties.- Parameters:
identity
- the identity value to set.- Returns:
- the ProjectEnvironmentTypeInner object itself.
-
location
Get the location property: The geo-location for the environment type.- Returns:
- the location value.
-
withLocation
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
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
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 ProjectEnvironmentTypeInner 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 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
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.
-