[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Create Snapshot

Description

This API is used to trigger a product snapshot request.

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/environments/{environmentId}/products/{productId}/snapshot/inventory
Copy

Path Parameters

Path Parameters

string
environmentId Required

environmentId


string
productId Required

productId


Query Parameters

Query Parameters

string
tenantId Optional

tenantId


Request Body

Request Body

SnapshotInventoryRequestDTO of type(s) application/json Required

snapshotInventoryRequestDTO

{
	"description": "description",
	"shutdownBeforeSnapshot": false,
	"snapshotPrefix": "vra_snapshot1",
	"snapshotWithMemory": false
}
string
description Optional

Snapshot description


boolean
shutdownBeforeSnapshot Optional

Shutdown machines before snapshot


string
snapshotPrefix Optional

Snapshot Prefix


boolean
snapshotWithMemory Optional

Snapshot with Memory

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK returns GenericRequestResponse of type(s) application/json
{
	"requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId Optional

Request ID

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found



500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"description":"description","shutdownBeforeSnapshot":false,"snapshotPrefix":"vra_snapshot1","snapshotWithMemory":false}' https://localhost:8080/lcm/lcops/api/environments/{environmentId}/products/{productId}/snapshot/inventory


Feedback

Was this page helpful?