cancel
Showing results for 
Search instead for 
Did you mean: 

REST API

Hi

 

This is for vRealize Automation container service API

specifically

DELETE | GET 

I can reference {id} as an assigned string value c3f5806d31e304755b9e45369f018

But I want to use the JSON referenced id that is returned from

GET

Which returns the following:

 

{
"links": [
{
"@type": "link",
"rel": "next",
"href": "https://vra-va/container-service/api/resources/compute?$filter=id%20eq%20'devo-vch4'"
}
],
"content": [
{
"@type": "ComputeState",
"documentSelfLink": "/resources/compute/c3f5806d31e304755b9e45369f018",
"documentUpdateTimeMicros": "1611765186687001",
"documentExpirationTimeMicros": "0",
"tenantLinks": [
"/tenants/vsphere.local"
],
"id": "devo-vch4",
"name": "devo-vch4",
"customProperties": {
"__Name": "devo-vch4",
"__adapterDockerType": "API",
"__hostAlias": "devo-vch4",
"__kubernetesNamespace": "default",
"__dockerHostScheme": "https",
"__dockerHostPort": "2376",
"__hostURI": "https://192.168.170.232:2376",
"__sslTrustAlias": "323b0b86f0532640384746aa5f8b63d888b9de3a",
"__computeContainerHost": "true",
"__computeHost": "true",
"__dockerUri": "https://192.168.170.232:2376/v1.24",
"__containerHostType": "DOCKER",
"__trustCertLink": "/config/trust-certs/323b0b86f0532640384746aa5f8b63d888b9de3a"
},
"descriptionLink": "/resources/compute-descriptions/docker-host-compute-desc-id",
"address": "https://192.168.170.232:2376",
"primaryMAC": "string",
"powerState": "UNKNOWN",
"adapterManagementReference": "https://192.168.8.151:8485/adapters/host-docker-service",
"creationTimeMicros": 0,
"lifecycleState": "READY"
}
],
"metadata": {
"size": 1,
"totalElements": 1,
"totalPages": 1,
"number": 1,
"offset": 0
}
}

0 REPLIES 0