The projects/environmentTypes resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.DevCenter/projects/environmentTypes resource, add the following JSON to your template.
{
"type": "Microsoft.DevCenter/projects/environmentTypes",
"apiVersion": "2023-04-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"identity": {
"type": "string",
"userAssignedIdentities": {}
},
"properties": {
"creatorRoleAssignment": {
"roles": {}
},
"deploymentTargetId": "string",
"status": "string",
"userRoleAssignments": {}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.DevCenter/projects/environmentTypes' |
apiVersion | The resource api version | '2023-04-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
location | The geo-location for the environment type | string |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
identity | Managed identity properties | ManagedServiceIdentity |
properties | Properties of an environment type. | ProjectEnvironmentTypeProperties |
Name | Description | Value |
---|---|---|
type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned, UserAssigned' 'UserAssigned' (required) |
userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | object |
Name | Description | Value |
---|---|---|
creatorRoleAssignment | The role definition assigned to the environment creator on backing resources. | ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAss... |
deploymentTargetId | Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. | string |
status | Defines whether this Environment Type can be used in this Project. | 'Disabled' 'Enabled' |
userRoleAssignments | Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. | object |
Name | Description | Value |
---|---|---|
roles | A map of roles to assign to the environment creator. | object |