Retrieve the list of resources in a MAP migration project.
GET/c/v3/map-migration/:id/resources/
Lists the resources in a MAP migration project.
The id
that is required is the id of that project, which you can either get from the map-migration API, or in the end of the URL when you access that project in the nOps dashboard.
The product_name
field is a product from AWS, like "Amazon Elastic Compute Cloud" or "Amazon Simple Storage Service".
This section shows all the resources of a specific product, tagged or untagged, within the migration project.
The response will give you a list of resources, example as follows:
{
"line_item_resource_id": "{id or arn of resource}",
"region": "us-west-2",
"account_id": "112233445566",
"resource_name": "{name, if it exists}",
"cost": 12345.6789
}
Request
Path Parameters
Query Parameters
Possible values: [standard
, DBA
, DBA_com
, ec2_DBA
, ec2_DBA_com
, OLA
, sap
, pe
]
Default value: standard
Migration Entity Type
Filter results by un/tagged
Filter results by account_id. Supports arrays. ?account_id=123&account_id=456
Filter results by product_name. Supports arrays. ?product_name=123&product_name=456
Responses
- 200
Resources List
- application/json
- Schema
- Example (from schema)
Schema
{
"resources": {}
}