Share via


Microsoft.Migrate projects

Bicep resource definition

The projects resource type can be deployed with operations that target:

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' = {
  eTag: 'string'
  location: 'string'
  name: 'string'
  properties: {
    customerWorkspaceId: 'string'
    customerWorkspaceLocation: 'string'
    provisioningState: 'string'
  }
  tags: any(...)
}

Property Values

Microsoft.Migrate/projects

Name Description Value
eTag For optimistic concurrency control. string
location Azure location in which project is created. string
name The resource name string (required)
properties Properties of the project. ProjectProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

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 with operations that target:

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",
  "eTag": "string",
  "location": "string",
  "properties": {
    "customerWorkspaceId": "string",
    "customerWorkspaceLocation": "string",
    "provisioningState": "string"
  },
  "tags": {}
}

Property Values

Microsoft.Migrate/projects

Name Description Value
apiVersion The api version '2018-02-02'
eTag For optimistic concurrency control. string
location Azure location in which project is created. string
name The resource name string (required)
properties Properties of the project. ProjectProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Migrate/projects'

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'

Usage Examples

Terraform (AzAPI provider) resource definition

The projects 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.Migrate/projects resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Migrate/projects@2018-02-02"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = ?
  body = {
    eTag = "string"
    properties = {
      customerWorkspaceId = "string"
      customerWorkspaceLocation = "string"
      provisioningState = "string"
    }
  }
}

Property Values

Microsoft.Migrate/projects

Name Description Value
eTag For optimistic concurrency control. string
location Azure location in which project is created. string
name The resource name string (required)
properties Properties of the project. ProjectProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Migrate/projects@2018-02-02"

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'