Insights
InsightsAccounts

UpsertResourceMigrationAnnotation

Creates or updates a migration annotation on a discovered resource. The resource is identified by its URN in the request body. At least one of note or statusOverride must be non-empty; requests with both empty are rejected with 400. The statusOverride, if provided, must be Migrated.

put/api/preview/insights/{orgName}/discovered-stacks/{projectName}/{stackName}/migration

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/preview/insights/{orgName}/discovered-stacks/{projectName}/{stackName}/migration
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The discovered project name

stackNamestring required

The discovered stack name

Request body

linkedResourceUrnstring

URN of the resource this one was migrated as part of.

notestring

Free-text note about this resource. May be empty when only setting a status override.

resourceUrnstring required

URN of the resource to annotate.

statusOverride'Migrated' | 'PulumiOnly' | 'Ready' | 'NotFound' | 'NoMatch' | 'NotApplicable' | 'Pending' | 'Unmapped'

Override the computed migration status. Only Migrated is a valid value.

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.