For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCancel an action execution
        • POSTCreate a new instance group
        • POSTCreate a new resource model
        • DELDelete a resource model
        • DELDelete an instance group
        • GETExport a resource instance
        • GETExport a resource model
        • GETGet a resource model based on ID
        • GETGet action execution record
        • GETGet instance group
        • GETGet multiple instance groups
        • GETGet resource instance
        • POSTImport a resource model
        • POSTImport an instance into a resource
        • POSTPerforms edits to a resource model
        • POSTRun a resource action
        • POSTRun a resource action against multiple instances
        • GETSearch resource action history documents
        • GETSearch resource instances
        • GETSearch resource models
        • PATCHUpdate a instance group
        • PUTUpdate a resource model
        • PUTUpdate resource instance
        • POSTValidate the actions defined on a resource model
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceLifecycle Manager

Import an instance into a resource

POST
http://localhost:3000/lifecycle-manager/resources/:modelIdentifier/instances/import
POST
/lifecycle-manager/resources/:modelIdentifier/instances/import
$curl -X POST http://localhost:3000/lifecycle-manager/resources/myCoolDocumentName/instances/import \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{
> "name": "VLAN Service",
> "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
> "created": null,
> "createdBy": null,
> "lastUpdated": null,
> "lastUpdatedBy": null,
> "instanceData": {}
>}'
1{
2 "data": {
3 "name": "VLAN Service",
4 "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
5 "instanceData": {},
6 "lastAction": {
7 "_id": null,
8 "name": "Create",
9 "type": "import",
10 "status": "running"
11 },
12 "created": null,
13 "createdBy": null,
14 "lastUpdated": null,
15 "lastUpdatedBy": null,
16 "instanceGroups": [
17 {
18 "_id": "string",
19 "name": "myCoolDocumentName"
20 }
21 ]
22 },
23 "message": "Successfully created the requested item",
24 "metadata": {}
25}
Imports an instance into a resource.
Was this page helpful?
Previous

Performs edits to a resource model

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

modelIdentifierstringRequired
modelIdentifier

Request

instance
namestringRequired
The name of the resource instance
descriptionstringRequiredDefaults to

Free-form text describing the resource instance

createdanyRequired
An ISO date string denoting when this resource instance was created
createdByanyRequired
The account identifier of the user who created this resource instance
lastUpdatedanyRequired
An ISO date string denoting when this resource instance was last updated
lastUpdatedByanyRequired
The account identifier of the user who last updated this resource instance
instanceDataobject or nullRequired
The data for the resource instance

Response

response
dataobject

Errors

500
Internal Server Error