Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The "cloudRegion-fromCountry" query allows a client to provide A&AI with a country and retrieve all appropriate cloud-regions.


InputOutputUsersRelease(s)

country

cloud-region


Amsterdam


Details

...

Elite soft json viewer
width800
height500200
{
  "start":["cloud-infrastructure/complexes?country={country}"],
  "query":"query/cloudRegion-fromCountry"
}

...

Elite soft json viewer
width800
height500
{
    "results": [
   
    {
            "id": "42735820961081299096",
           
"node-type": "cloud-region",
            "url": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-custom443/cloud-region-custom-321",
"properties": {
"resource-version": "1500765120158",
"last-mod-source-of-truth": "FitNesse-Test",
"aai-created-ts": 1500765120157,
"aai-last-mod-ts": 1500765120158,
       "source-of-truth": "FitNesse-Test",
"cloud-owner": "CloudOwnercloud-owner-custom443",
 
              "cloud-region-id": "Region1cloud-region-custom-321",
"cloud-type": "cloud-type-1",
              "resource"owner-defined-type": "1",
"cloud-region-version": "15193102142332.7",
"cloud-zone":                "rs-CloudZone",
"sriov-automation": false
},
"related-to": [ {
"id": "909664360",
"node-type": "complex",
"url":   "/aai/v11/cloud-infrastructure/complexes/complex/complex-Middletown22"
}]
},
{
"id": "1081295000",
        "node-type": "cloud-region",
"url": "/aai/v16v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/Region1"
        },
        {
            cloud-owner-custom/cloud-region-custom-2",
"properties": {
"resource-version": "1500765119481",
"last-mod-source-of-truth": "FitNesse-Test",
"aai-created-ts": 1500765119480,
"aai-last-mod-ts": 1500765119481,
"source-of-truth": "FitNesse-Test",
"cloud-owner": "cloud-owner-custom",
"cloud-region-id": "cloud-region-custom-2",
"cloud-type": "cloud-type-1",
"owner-defined-type": "1",
"cloud-region-version": "2.5",
"cloud-zone": "rs-CloudZone",
"sriov-automation": false
},
"related-to": [ {
"id": "49829437441319178448",
"node-type": "complex",
"url": "/aai/v11/cloud-infrastructure/complexes/complex/complex-Middletown1"
}]
},
{
    "id": "1523818584",
"node-type": "genericcloud-vnfregion",
"url":            "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner-custom4/cloud-region-custom-3",
"properties": {
"resource-version": "1500765119815",
              "in-maint": true,
                "is-closed-loop-disabled": false,
                "orchestration-status": "active",
                "resource-version": "1519314710016",
                "service"last-mod-source-of-truth": "FitNesse-Test",
"aai-created-ts": 1500765119815,
"aai-last-mod-ts": 1500765119815,
"source-of-truth": "FitNesse-Test",
"cloud-owner": "cloud-owner-custom4",
"cloud-region-id": "a9a77d5acloud-123eregion-4custom-119023",
          
     "vnfcloud-idtype": "gVnfcloud-type-119021",
"owner-defined-type": "1",
              "vnf-name"cloud-region-version": "2.7",
"cloud-zone": "vnfrs-11902CloudZone",
"sriov-automation": false
},
"related-to": [ {
          "vnf"id": "1319178448",
"node-type": "1-11902"
            },
            complex",
"url": "/aai/v16v11/network/generic-vnfs/generic-vnf/gVnf-11902"
        }
    ]
}cloud-infrastructure/complexes/complex/complex-Middletown1"
}]
}
]}