Microsoft.Migrate projects 2018-02-02

Bicep resource definition

The projects resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Migrate/projects resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Migrate/projects@2018-02-02' = {
  name: 'string'
  location: 'string'
  tags: any()
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  eTag: 'string'
  properties: {
    customerWorkspaceId: 'string'
    customerWorkspaceLocation: 'string'
    provisioningState: 'string'
  }
}

Property values

projects

Name Description Value
name The resource name string (required)
location Azure location in which project is created. string
tags Tags provided by Azure Tagging service. For Bicep, you can use the any() function.
eTag For optimistic concurrency control. string
properties Properties of the project. ProjectProperties

ProjectProperties

Name Description Value
customerWorkspaceId ARM ID of the Service Map workspace created by user. string
customerWorkspaceLocation Location of the Service Map workspace created by user. string
provisioningState Provisioning state of the project. 'Accepted'
'Creating'
'Deleting'
'Failed'
'Moving'
'Succeeded'

ARM template resource definition

The projects resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Migrate/projects resource, add the following JSON to your template.

{
  "type": "Microsoft.Migrate/projects",
  "apiVersion": "2018-02-02",
  "name": "string",
  "location": "string",
  "tags": {},
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "eTag": "string",
  "properties": {
    "customerWorkspaceId": "string",
    "customerWorkspaceLocation": "string",
    "provisioningState": "string"
  }
}

Property values

projects

Name Description Value
type The resource type 'Microsoft.Migrate/projects'
apiVersion The resource api version '2018-02-02'
name The resource name string (required)
location Azure location in which project is created. string
tags Tags provided by Azure Tagging service.
eTag For optimistic concurrency control. string
properties Properties of the project. ProjectProperties

ProjectProperties

Name Description Value
customerWorkspaceId ARM ID of the Service Map workspace created by user. string
customerWorkspaceLocation Location of the Service Map workspace created by user. string
provisioningState Provisioning state of the project. 'Accepted'
'Creating'
'Deleting'
'Failed'
'Moving'
'Succeeded'

Terraform (AzAPI provider) resource definition

The projects resource type can be deployed to:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Migrate/projects resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Migrate/projects@2018-02-02"
  name = "string"
  location = "string"
  parent_id = "string"
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      customerWorkspaceId = "string"
      customerWorkspaceLocation = "string"
      provisioningState = "string"
    }
    eTag = "string"
  })
}

Property values

projects

Name Description Value
type The resource type "Microsoft.Migrate/projects@2018-02-02"
name The resource name string (required)
location Azure location in which project is created. string
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Tags provided by Azure Tagging service.
eTag For optimistic concurrency control. string
properties Properties of the project. ProjectProperties

ProjectProperties

Name Description Value
customerWorkspaceId ARM ID of the Service Map workspace created by user. string
customerWorkspaceLocation Location of the Service Map workspace created by user. string
provisioningState Provisioning state of the project. "Accepted"
"Creating"
"Deleting"
"Failed"
"Moving"
"Succeeded"