ProjectEnvironmentTypeInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. devcenter. fluent. models. ProjectEnvironmentTypeInner
- com.
- com.
public final class ProjectEnvironmentTypeInner
extends ProxyResource
Represents an environment type.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectEnvironmentTypeInner() |
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 |
| Integer |
environmentCount()
Get the environment |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: Managed identity properties. |
| String |
location()
Get the location property: The geo-location for the environment type. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Environment |
status()
Get the status property: Defines whether this Environment Type can be used in this Project. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
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 |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed identity properties. |
|
Project |
withLocation(String location)
Set the location property: The geo-location for the environment type. |
|
Project |
withStatus(EnvironmentTypeEnableStatus status)
Set the status property: Defines whether this Environment Type can be used in this Project. |
|
Project |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Project |
withUserRoleAssignments(Map<String,UserRoleAssignmentValue> userRoleAssignments)
Set the user |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ProjectEnvironmentTypeInner
public ProjectEnvironmentTypeInner()
Creates an instance of ProjectEnvironmentTypeInner 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:
environmentCount
public Integer environmentCount()
Get the environmentCount property: The number of environments of this type.
Returns:
fromJson
public static ProjectEnvironmentTypeInner fromJson(JsonReader jsonReader)
Reads an instance of ProjectEnvironmentTypeInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProjectEnvironmentTypeInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed identity properties.
Returns:
location
public String location()
Get the location property: The geo-location for the environment type.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ProjectEnvironmentTypeInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
status
public EnvironmentTypeEnableStatus status()
Get the status property: Defines whether this Environment Type can be used in this Project.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProjectEnvironmentTypeInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProjectEnvironmentTypeInner.type()Returns:
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 ProjectEnvironmentTypeInner withCreatorRoleAssignment(ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment creatorRoleAssignment)
Set the creatorRoleAssignment property: The role definition assigned to the environment creator on backing resources.
Parameters:
Returns:
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:
Returns:
withDisplayName
public ProjectEnvironmentTypeInner withDisplayName(String displayName)
Set the displayName property: The display name of the project environment type.
Parameters:
Returns:
withIdentity
public ProjectEnvironmentTypeInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed identity properties.
Parameters:
Returns:
withLocation
public ProjectEnvironmentTypeInner withLocation(String location)
Set the location property: The geo-location for the environment type.
Parameters:
Returns:
withStatus
public ProjectEnvironmentTypeInner withStatus(EnvironmentTypeEnableStatus status)
Set the status property: Defines whether this Environment Type can be used in this Project.
Parameters:
Returns:
withTags
public ProjectEnvironmentTypeInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
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:
Returns: