Creating and Managing Product Snapshots
You can use the snapshot inventory controller APIs to trigger a snapshot of any product that you deployed using VMware Aria Suite Lifecycle. When you take a snapshot, you capture the product state at a particular date and time.
If you use VMware Aria Suite Lifecycle to trigger the product snapshot, you can use VMware Aria Suite Lifecycle to manage the snapshot.
You only use the snapshot inventory controller APIs to take snapshots of products and not of VMware Aria Suite Lifecycle itself.
For a list of best practices when using VMware snapshots in the vSphere environment, see https://kb.vmware.com/s/article/1025279.
Tenant ID for VMware Aria Automation Config snapshots
To create or manage a snapshot of VMware Aria
Automation Config, you need the tenant ID for the cloud
account in VMware Aria
Automation. Perform the
following steps to obtain the tenant ID and assign the tenant ID variable.
- List all environment
IDs.
curl -X GET \ '$url/lcm/lcops/api/v2/environments' \ -H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \ -H 'Content-Type: application/json' \ | jq "."
- Examine the response to locate the tenant
ID for the cloud account in VMware Aria
Automation under the product properties as in the following
example.
... { "environmentRequestDTO": { "environmentId": "b24ab534-77db-49fd-aa96-4efd2b19632c", "environmentName": "vRealize Automation Environment Example", ... "products": [ { "id": "vra", "version": "8.6.0", "patchHistory": null, "snapshotHistory": null, "logHistory": null, "clusterVIP": { "clusterVips": [] }, "nodes": [], "collectorGroups": null, "properties": { "deployOption": "standard", "tenantId": "Standalone vRASSC", "fipsMode": "false", "isCaEnabled": "false", "licenseRef": "l" } } ], ...
- Assign the tenantId
variable.
tenantId = '<your_tenant_ID>'