Resource URLs
Each Veeam Backup for GCP REST API-exposed entity has a resource representing it. To get a resource representation, request its URL.
Veeam Backup for GCP 2.0 REST API requests use the following base URL format:
https://<hostname>:<port>/api/<version> |
where:
- <hostname> is a public IPv4 address or DNS hostname of the VM instance where Veeam Backup for GCP is installed.
- <port> is the REST API port number set during Veeam Backup for GCP installation.
The default port number is 13140.
- <version> is an API version.
The current version is v1.
To get a collection of Veeam Backup for GCP REST API resources, request the base URL followed by a resource collection endpoint. For example:
https://127.0.0.1:13140/api/v1/vmInstances |
To get a representation of an individual resource, enter a resource identifier after the resource collection endpoint. For example:
https://127.0.0.1:13140/api/v1/vmInstances/7876786467083982093 |
The resource identifier is represented by the id property of the resource from the collection. For example:
[ { "id": "7876786467083982093", "resourceId": "dept-gcp475akr1", "name": "dept-gcp475akr1", "locationId": "1587a0d3-f27a-436e-b0cb-fe2d82a85767", "locationName": "asia-northeast3-a", "projectId": "project-backup-252812", "instanceType": "e2-medium" }, ... } ] |