avseelam
Contributor
Contributor

Content Library Item Deployment using API

I am trying to deploy a VM from OVF content Library item using Vsphere API explorer. I am having hard time specifying network & storage mappings. Can some one help me with the sample or syntax to declare.

{

  "target": {

    "resource_pool_id": "resgroup-73474"

  },

  "deployment_spec": {

    "name": "content-test",

    "additional_parameters": [

      null

    ],

    "locale": "string",

    "network_mappings": [{"key" : "XXXX" ,

"value": "XXXX" }],

"storage_mappings" : {}

    "accept_all_EULA": true,

    "annotation": "test"

}

}

0 Kudos
0 Replies