Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The account/project resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a microsoft.visualstudio/account/project resource, add the following Bicep to your template.
resource symbolicname 'microsoft.visualstudio/account/project@2014-04-01-preview' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
{customized property}: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
microsoft.visualstudio/account/project
| Name | Description | Value |
|---|---|---|
| location | Resource location. | string |
| name | The resource name | string (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: account |
| properties | Key/value pair of resource properties. | ProjectResourceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ProjectResourceProperties
| Name | Description | Value |
|---|
ResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The account/project resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a microsoft.visualstudio/account/project resource, add the following JSON to your template.
{
"type": "microsoft.visualstudio/account/project",
"apiVersion": "2014-04-01-preview",
"name": "string",
"location": "string",
"properties": {
"{customized property}": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
microsoft.visualstudio/account/project
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2014-04-01-preview' |
| location | Resource location. | string |
| name | The resource name | string (required) |
| properties | Key/value pair of resource properties. | ProjectResourceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'microsoft.visualstudio/account/project' |
ProjectResourceProperties
| Name | Description | Value |
|---|
ResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The account/project resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a microsoft.visualstudio/account/project resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "microsoft.visualstudio/account/project@2014-04-01-preview"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
{customized property} = "string"
}
}
}
Property Values
microsoft.visualstudio/account/project
| Name | Description | Value |
|---|---|---|
| location | Resource location. | string |
| name | The resource name | string (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: account |
| properties | Key/value pair of resource properties. | ProjectResourceProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "microsoft.visualstudio/account/project@2014-04-01-preview" |
ProjectResourceProperties
| Name | Description | Value |
|---|
ResourceTags
| Name | Description | Value |
|---|