Skip to content

Instantly share code, notes, and snippets.

@goneri
Created February 27, 2020 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goneri/4d1ce451d27ed48126c3648cf6219bc2 to your computer and use it in GitHub Desktop.
Save goneri/4d1ce451d27ed48126c3648cf6219bc2 to your computer and use it in GitHub Desktop.
import json
import re
from pprint import pprint
def path_to_module_name(path, value):
def is_element(i):
if i and not '{' in i:
return True
else:
return False
path = path.split('?')[0]
elements = [i for i in path.split('/') if is_element(i)]
if 'post' in value and value['post']['operationId'] == elements[-1]:
elements = elements[:-1]
module_name = '_'.join(elements)
return module_name
#assert path_to_module_name("/vcenter/vm/{vm}/hardware/serial/{port}") == "vcenter_vm_hardware_serial"
with open("vcenter.json", "r") as fd:
data = json.loads(fd.read())
modules = {}
for k, v in data['definitions'].items():
print(k)
print(v['type'])
# pprint(v)
for k, v in data['paths'].items():
module = path_to_module_name(k, v)
print("PATH: {k} MODULE: {module}".format(k=k, module=module))
if module not in modules:
modules[module] = {'operationIds': [], 'parameters': {}}
#print(v.keys())
for verb, desc in v.items():
#print(verb)
#pprint(desc)
if 'operationId' in desc:
modules[module]['operationIds'].append(desc['operationId'])
# TODO: parameters of the different HTTP verbs may be different,
# especially, the description
modules[module]['parameters'] = desc['parameters']
pprint(modules[module])
#pprint(modules)
@goneri
Copy link
Author

goneri commented Feb 27, 2020

PATH: /com/vmware/vcenter/inventory/datastore?~action=find  MODULE: com_vmware_vcenter_inventory_datastore
{'operationIds': ['find'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.inventory.datastore_find'}}]}
PATH: /com/vmware/vcenter/inventory/network?~action=find  MODULE: com_vmware_vcenter_inventory_network
{'operationIds': ['find'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.inventory.network_find'}}]}
PATH: /com/vmware/vcenter/iso/image/id:{library_item}?~action=mount  MODULE: com_vmware_vcenter_iso_image
{'operationIds': ['mount'],
 'parameters': [{'description': 'The identifier of the library item having the '
                                'ISO image to mount on the virtual machine.',
                 'in': 'path',
                 'name': 'library_item',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.iso.image_mount'}}]}
PATH: /com/vmware/vcenter/iso/image/id:{vm}?~action=unmount  MODULE: com_vmware_vcenter_iso_image
{'operationIds': ['mount', 'unmount'],
 'parameters': [{'description': 'The identifier of the virtual machine from '
                                'which to unmount the virtual CD-ROM.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.iso.image_unmount'}}]}
PATH: /com/vmware/vcenter/ovf/capability/id:{server_guid}  MODULE: com_vmware_vcenter_ovf_capability
{'operationIds': ['get'],
 'parameters': [{'description': 'Target vCenter server GUID',
                 'in': 'path',
                 'name': 'server_guid',
                 'required': True,
                 'type': 'string'}]}
PATH: /com/vmware/vcenter/ovf/export-flag  MODULE: com_vmware_vcenter_ovf_export-flag
{'operationIds': ['list'], 'parameters': []}
PATH: /com/vmware/vcenter/ovf/import-flag  MODULE: com_vmware_vcenter_ovf_import-flag
{'operationIds': ['list'], 'parameters': []}
PATH: /com/vmware/vcenter/ovf/library-item  MODULE: com_vmware_vcenter_ovf_library-item
{'operationIds': ['create'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.ovf.library_item_create'}}]}
PATH: /com/vmware/vcenter/ovf/library-item/id:{ovf_library_item_id}?~action=deploy  MODULE: com_vmware_vcenter_ovf_library-item
{'operationIds': ['create', 'deploy'],
 'parameters': [{'description': 'Identifier of the content library item '
                                'containing the OVF package to be deployed.',
                 'in': 'path',
                 'name': 'ovf_library_item_id',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.ovf.library_item_deploy'}}]}
PATH: /com/vmware/vcenter/ovf/library-item/id:{ovf_library_item_id}?~action=filter  MODULE: com_vmware_vcenter_ovf_library-item
{'operationIds': ['create', 'deploy', 'filter'],
 'parameters': [{'description': 'Identifier of the content library item '
                                'containing the OVF package to query.',
                 'in': 'path',
                 'name': 'ovf_library_item_id',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.ovf.library_item_filter'}}]}
PATH: /vcenter/cluster  MODULE: vcenter_cluster
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Names that clusters must have to match the '
                                'filter (see Cluster.Info.name).\n'
                                'If unset or empty, clusters with any name '
                                'match the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Datacenters that must contain the cluster for '
                                'the cluster to match the filter.\n'
                                'If unset or empty, clusters in any datacenter '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Identifiers of clusters that can match the '
                                'filter.\n'
                                'If unset or empty, clusters with any '
                                'identifier match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'ClusterComputeResource. When operations '
                                'return a value of this structure as a result, '
                                'the field will contain identifiers for the '
                                'resource type: ClusterComputeResource.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.clusters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Folders that must contain the cluster for the '
                                'cluster to match the filter.\n'
                                'If unset or empty, clusters in any folder '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.folders',
                 'type': 'array'}]}
PATH: /vcenter/cluster/{cluster}  MODULE: vcenter_cluster
{'operationIds': ['list', 'get'],
 'parameters': [{'description': 'Identifier of the cluster.\n'
                                'The parameter must be an identifier for the '
                                'resource type: ClusterComputeResource.',
                 'in': 'path',
                 'name': 'cluster',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/datacenter  MODULE: vcenter_datacenter
{'operationIds': ['create', 'list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Names that datacenters must have to match the '
                                'filter (see Datacenter.Info.name).\n'
                                'If unset or empty, datacenters with any name '
                                'match the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Identifiers of datacenters that can match the '
                                'filter.\n'
                                'If unset or empty, datacenters with any '
                                'identifier match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Folders that must contain the datacenters for '
                                'the datacenter to match the filter.\n'
                                'If unset or empty, datacenters in any folder '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.folders',
                 'type': 'array'}]}
PATH: /vcenter/datacenter/{datacenter}  MODULE: vcenter_datacenter
{'operationIds': ['create', 'list', 'delete', 'get'],
 'parameters': [{'description': 'Identifier of the datacenter.\n'
                                'The parameter must be an identifier for the '
                                'resource type: Datacenter.',
                 'in': 'path',
                 'name': 'datacenter',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/datastore  MODULE: vcenter_datastore
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Types that datastores must have to match the '
                                'filter (see Datastore.Summary.type).\n'
                                'If unset or empty, datastores with any type '
                                'match the filter.',
                 'in': 'query',
                 'items': {'enum': ['VMFS',
                                    'NFS',
                                    'NFS41',
                                    'CIFS',
                                    'VSAN',
                                    'VFFS',
                                    'VVOL'],
                           'type': 'string'},
                 'name': 'filter.types',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Names that datastores must have to match the '
                                'filter (see Datastore.Info.name).\n'
                                'If unset or empty, datastores with any name '
                                'match the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Identifiers of datastores that can match the '
                                'filter.\n'
                                'If unset or empty, datastores with any '
                                'identifier match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Datastore. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Datastore.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datastores',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Datacenters that must contain the datastore '
                                'for the datastore to match the filter.\n'
                                'If unset or empty, datastores in any '
                                'datacenter match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Folders that must contain the datastore for '
                                'the datastore to match the filter.\n'
                                'If unset or empty, datastores in any folder '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.folders',
                 'type': 'array'}]}
PATH: /vcenter/datastore/{datastore}  MODULE: vcenter_datastore
{'operationIds': ['list', 'get'],
 'parameters': [{'description': 'Identifier of the datastore for which '
                                'information should be retrieved.\n'
                                'The parameter must be an identifier for the '
                                'resource type: Datastore.',
                 'in': 'path',
                 'name': 'datastore',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/datastore/{datastore}/default-policy  MODULE: vcenter_datastore_default-policy
{'operationIds': ['get'],
 'parameters': [{'description': 'Identifier of the datastore for which the '
                                'default policy is requested.\n'
                                'The parameter must be an identifier for the '
                                'resource type: Datastore.',
                 'in': 'path',
                 'name': 'datastore',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/deployment  MODULE: vcenter_deployment
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/deployment/history  MODULE: vcenter_deployment_history
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/deployment/history?action=cancel  MODULE: vcenter_deployment_history
{'operationIds': ['get', 'cancel'], 'parameters': []}
PATH: /vcenter/deployment/history?action=pause  MODULE: vcenter_deployment_history
{'operationIds': ['get', 'cancel', 'pause'], 'parameters': []}
PATH: /vcenter/deployment/history?action=resume  MODULE: vcenter_deployment_history
{'operationIds': ['get', 'cancel', 'pause', 'resume'], 'parameters': []}
PATH: /vcenter/deployment/history?action=start  MODULE: vcenter_deployment_history
{'operationIds': ['get', 'cancel', 'pause', 'resume', 'start'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.import_history_start'}}]}
PATH: /vcenter/deployment/install  MODULE: vcenter_deployment_install
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/deployment/install/initial-config/remote-psc/thumbprint  MODULE: vcenter_deployment_install_initial-config_remote-psc_thumbprint
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/deployment/install/psc/replicated?action=check  MODULE: vcenter_deployment_install_psc_replicated
{'operationIds': ['check'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.install.psc.replicated_check'}}]}
PATH: /vcenter/deployment/install/psc/standalone?action=check  MODULE: vcenter_deployment_install_psc_standalone
{'operationIds': ['check'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.install.psc.standalone_check'}}]}
PATH: /vcenter/deployment/install/remote-psc?action=check  MODULE: vcenter_deployment_install_remote-psc
{'operationIds': ['check'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.install.remote_psc_check'}}]}
PATH: /vcenter/deployment/install?action=cancel  MODULE: vcenter_deployment_install
{'operationIds': ['get', 'cancel'], 'parameters': []}
PATH: /vcenter/deployment/install?action=check  MODULE: vcenter_deployment_install
{'operationIds': ['get', 'cancel', 'check'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.install_check'}}]}
PATH: /vcenter/deployment/install?action=start  MODULE: vcenter_deployment_install
{'operationIds': ['get', 'cancel', 'check', 'start'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.install_start'}}]}
PATH: /vcenter/deployment/question  MODULE: vcenter_deployment_question
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/deployment/question?action=answer  MODULE: vcenter_deployment_question
{'operationIds': ['get', 'answer'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.question_answer'}}]}
PATH: /vcenter/deployment/upgrade  MODULE: vcenter_deployment_upgrade
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/deployment/upgrade?action=cancel  MODULE: vcenter_deployment_upgrade
{'operationIds': ['get', 'cancel'], 'parameters': []}
PATH: /vcenter/deployment/upgrade?action=check  MODULE: vcenter_deployment_upgrade
{'operationIds': ['get', 'cancel', 'check'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.upgrade_check'}}]}
PATH: /vcenter/deployment/upgrade?action=start  MODULE: vcenter_deployment_upgrade
{'operationIds': ['get', 'cancel', 'check', 'start'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.deployment.upgrade_start'}}]}
PATH: /vcenter/deployment?action=rollback  MODULE: vcenter_deployment
{'operationIds': ['get', 'rollback'], 'parameters': []}
PATH: /vcenter/folder  MODULE: vcenter_folder
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Names that folders must have to match the '
                                'filter (see Folder.Summary.name).\n'
                                'If unset or empty, folders with any name '
                                'match the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Datacenters that must contain the folder for '
                                'the folder to match the filter.\n'
                                'If unset or empty, folder in any datacenter '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'description': 'The Folder.Type enumerated type defines the '
                                'type of a vCenter Server folder. The type of '
                                'a folder determines what what kinds of '
                                'children can be contained in the folder.',
                 'enum': ['DATACENTER',
                          'DATASTORE',
                          'HOST',
                          'NETWORK',
                          'VIRTUAL_MACHINE'],
                 'in': 'query',
                 'name': 'filter.type',
                 'type': 'string'},
                {'collectionFormat': 'multi',
                 'description': 'Identifiers of folders that can match the '
                                'filter.\n'
                                'If unset or empty, folders with any '
                                'identifier match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.folders',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Folders that must contain the folder for the '
                                'folder to match the filter.\n'
                                'If unset or empty, folder in any folder match '
                                'the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.parent_folders',
                 'type': 'array'}]}
PATH: /vcenter/guest/customization-specs  MODULE: vcenter_guest_customization-specs
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Names that guest customization specifications '
                                'must have to match the filter (see '
                                'CustomizationSpecs.Summary.name).\n'
                                'If unset or empty, guest customization '
                                'specifications with any name match the '
                                'filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'com.vmware.vcenter.guest.CustomizationSpec. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: '
                                'com.vmware.vcenter.guest.CustomizationSpec.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'description': 'The CustomizationSpecs.OsType enumerated type '
                                'defines the types of guest operating systems '
                                'for which guest customization is supported.',
                 'enum': ['WINDOWS', 'LINUX'],
                 'in': 'query',
                 'name': 'filter.OS_type',
                 'type': 'string'}]}
PATH: /vcenter/host  MODULE: vcenter_host
{'operationIds': ['create', 'list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Identifiers of hosts that can match the '
                                'filter.\n'
                                'If unset or empty, hosts with any identifier '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'HostSystem. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'HostSystem.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.hosts',
                 'type': 'array'},
                {'description': 'If true, only hosts that are not part of a '
                                'cluster can match the filter, and if false, '
                                'only hosts that are are part of a cluster can '
                                'match the filter.\n'
                                'If unset Hosts can match filter independent '
                                'of whether they are part of a cluster or not. '
                                'If this field is true and '
                                'Host.FilterSpec.clusters os not empty, no '
                                'hosts will match the filter.',
                 'in': 'query',
                 'name': 'filter.standalone',
                 'type': 'boolean'},
                {'collectionFormat': 'multi',
                 'description': 'Names that hosts must have to match the '
                                'filter (see Host.Summary.name).\n'
                                'If unset or empty, hosts with any name match '
                                'the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Datacenters that must contain the hosts for '
                                'the hosts to match the filter.\n'
                                'If unset or empty, hosts in any datacenter '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Folders that must contain the hosts for the '
                                'hosts to match the filter.\n'
                                'If unset or empty, hosts in any folder match '
                                'the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.folders',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Connection states that a host must be in to '
                                'match the filter (see '
                                'Host.Summary.connection-state.\n'
                                'If unset or empty, hosts in any connection '
                                'state match the filter.',
                 'in': 'query',
                 'items': {'enum': ['CONNECTED',
                                    'DISCONNECTED',
                                    'NOT_RESPONDING'],
                           'type': 'string'},
                 'name': 'filter.connection_states',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Clusters that must contain the hosts for the '
                                'hosts to match the filter.\n'
                                'If unset or empty, hosts in any cluster and '
                                'hosts that are not in a cluster match the '
                                'filter. If this field is not empty and '
                                'Host.FilterSpec.standalone is true, no hosts '
                                'will match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'ClusterComputeResource. When operations '
                                'return a value of this structure as a result, '
                                'the field will contain identifiers for the '
                                'resource type: ClusterComputeResource.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.clusters',
                 'type': 'array'}]}
PATH: /vcenter/host/{host}  MODULE: vcenter_host
{'operationIds': ['create', 'list', 'delete'],
 'parameters': [{'description': 'Identifier of the host to be deleted.\n'
                                'The parameter must be an identifier for the '
                                'resource type: HostSystem.',
                 'in': 'path',
                 'name': 'host',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/host/{host}/connect  MODULE: vcenter_host
{'operationIds': ['create', 'list', 'delete', 'connect'],
 'parameters': [{'description': 'Identifier of the host to be reconnected.\n'
                                'The parameter must be an identifier for the '
                                'resource type: HostSystem.',
                 'in': 'path',
                 'name': 'host',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/host/{host}/disconnect  MODULE: vcenter_host
{'operationIds': ['create', 'list', 'delete', 'connect', 'disconnect'],
 'parameters': [{'description': 'Identifier of the host to be disconnected.\n'
                                'The parameter must be an identifier for the '
                                'resource type: HostSystem.',
                 'in': 'path',
                 'name': 'host',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/network  MODULE: vcenter_network
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Types that networks must have to match the '
                                'filter (see Network.Summary.type).\n'
                                'If unset, networks with any type match the '
                                'filter.',
                 'in': 'query',
                 'items': {'enum': ['STANDARD_PORTGROUP',
                                    'DISTRIBUTED_PORTGROUP',
                                    'OPAQUE_NETWORK'],
                           'type': 'string'},
                 'name': 'filter.types',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Names that networks must have to match the '
                                'filter (see Network.Summary.name).\n'
                                'If unset or empty, networks with any name '
                                'match the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Datacenters that must contain the network for '
                                'the network to match the filter.\n'
                                'If unset or empty, networks in any datacenter '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Identifiers of networks that can match the '
                                'filter.\n'
                                'If unset or empty, networks with any '
                                'identifier match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Network. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Network.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.networks',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Folders that must contain the network for the '
                                'network to match the filter.\n'
                                'If unset or empty, networks in any folder '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.folders',
                 'type': 'array'}]}
PATH: /vcenter/resource-pool  MODULE: vcenter_resource-pool
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Hosts that must contain the resource pool for '
                                'the resource pool to match the filter.\n'
                                'If unset or empty, resource pools in any host '
                                'match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'HostSystem. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'HostSystem.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.hosts',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Datacenters that must contain the resource '
                                'pool for the resource pool to match the '
                                'filter.\n'
                                'If unset or empty, resource pools in any '
                                'datacenter match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Resource pools that must contain the resource '
                                'pool for the resource pool to match the '
                                'filter.\n'
                                'If unset or empty, resource pools in any '
                                'resource pool match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'ResourcePool. When operations return a value '
                                'of this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'ResourcePool.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.parent_resource_pools',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Names that resource pools must have to match '
                                'the filter (see ResourcePool.Info.name).\n'
                                'If unset or empty, resource pools with any '
                                'name match the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Identifiers of resource pools that can match '
                                'the filter.\n'
                                'If unset or empty, resource pools with any '
                                'identifier match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'ResourcePool. When operations return a value '
                                'of this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'ResourcePool.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.resource_pools',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Clusters that must contain the resource pool '
                                'for the resource pool to match the filter.\n'
                                'If unset or empty, resource pools in any '
                                'cluster match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'ClusterComputeResource. When operations '
                                'return a value of this structure as a result, '
                                'the field will contain identifiers for the '
                                'resource type: ClusterComputeResource.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.clusters',
                 'type': 'array'}]}
PATH: /vcenter/resource-pool/{resource-pool}  MODULE: vcenter_resource-pool
{'operationIds': ['list', 'get'],
 'parameters': [{'description': 'Identifier of the resource pool for which '
                                'information should be retrieved.\n'
                                'The parameter must be an identifier for the '
                                'resource type: ResourcePool.',
                 'in': 'path',
                 'name': 'resource-pool',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/services  MODULE: vcenter_services
{'operationIds': ['list_details'], 'parameters': []}
PATH: /vcenter/services/{id}  MODULE: vcenter_services
{'operationIds': ['list_details', 'update', 'get'],
 'parameters': [{'description': 'identifier of the service whose state is '
                                'being queried.',
                 'in': 'path',
                 'name': 'service',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/services/{id}/restart  MODULE: vcenter_services
{'operationIds': ['list_details', 'update', 'get', 'restart'],
 'parameters': [{'description': 'identifier of the service to restart',
                 'in': 'path',
                 'name': 'service',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/services/{id}/start  MODULE: vcenter_services
{'operationIds': ['list_details', 'update', 'get', 'restart', 'start'],
 'parameters': [{'description': 'identifier of the service to start',
                 'in': 'path',
                 'name': 'service',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/services/{id}/stop  MODULE: vcenter_services
{'operationIds': ['list_details', 'update', 'get', 'restart', 'start', 'stop'],
 'parameters': [{'description': 'identifier of the service to stop',
                 'in': 'path',
                 'name': 'service',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/storage/policies  MODULE: vcenter_storage_policies
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Identifiers of storage policies that can '
                                'match the filter.\n'
                                'If unset or empty, storage policies with any '
                                'identifiers match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'com.vmware.vcenter.StoragePolicy. When '
                                'operations return a value of this structure '
                                'as a result, the field will contain '
                                'identifiers for the resource type: '
                                'com.vmware.vcenter.StoragePolicy.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.policies',
                 'type': 'array'}]}
PATH: /vcenter/storage/policies/compliance/vm  MODULE: vcenter_storage_policies_compliance_vm
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Identifiers of virtual machines that can '
                                'match the filter\n'
                                'If unset or empty, virtual machines with any '
                                'identifier matches the filter\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'VirtualMachine. When operations return a '
                                'value of this structure as a result, the '
                                'field will contain identifiers for the '
                                'resource type: VirtualMachine.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.vms',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Compliance Status that a virtual machine must '
                                'have to match the filter. Atleast one status '
                                'must be specified.',
                 'in': 'query',
                 'items': {'enum': ['COMPLIANT',
                                    'NON_COMPLIANT',
                                    'UNKNOWN_COMPLIANCE',
                                    'NOT_APPLICABLE',
                                    'OUT_OF_DATE'],
                           'type': 'string'},
                 'name': 'filter.status',
                 'type': 'array'}]}
PATH: /vcenter/storage/policies/entities/compliance  MODULE: vcenter_storage_policies_entities_compliance
{'operationIds': ['list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Compliance Status that a virtual machine must '
                                'have to match the filter.',
                 'in': 'query',
                 'items': {'enum': ['COMPLIANT',
                                    'NON_COMPLIANT',
                                    'UNKNOWN',
                                    'NOT_APPLICABLE',
                                    'OUT_OF_DATE'],
                           'type': 'string'},
                 'name': 'filter.status',
                 'type': 'array'}]}
PATH: /vcenter/storage/policies/{policy}/vm  MODULE: vcenter_storage_policies_vm
{'operationIds': ['list'],
 'parameters': [{'description': 'storage policy identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.StoragePolicy.',
                 'in': 'path',
                 'name': 'policy',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/storage/policies/{policy}?action=check-compatibility  MODULE: vcenter_storage_policies
{'operationIds': ['list', 'check_compatibility'],
 'parameters': [{'description': 'The storage policy identifier\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.StoragePolicy.',
                 'in': 'path',
                 'name': 'policy',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.storage.policies_check_compatibility'}}]}
PATH: /vcenter/system-config/deployment-type  MODULE: vcenter_system-config_deployment-type
{'operationIds': ['reconfigure', 'get'], 'parameters': []}
PATH: /vcenter/system-config/psc-registration  MODULE: vcenter_system-config_psc-registration
{'operationIds': ['repoint', 'get'], 'parameters': []}
PATH: /vcenter/vcha/capabilities  MODULE: vcenter_vcha_capabilities
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/vcha/cluster/active?action=get  MODULE: vcenter_vcha_cluster_active
{'operationIds': ['get'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster.active_get'}}]}
PATH: /vcenter/vcha/cluster/deployment-type  MODULE: vcenter_vcha_cluster_deployment-type
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/vcha/cluster/mode  MODULE: vcenter_vcha_cluster_mode
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/vcha/cluster/mode?vmw-task=true  MODULE: vcenter_vcha_cluster_mode
{'operationIds': ['get', 'set$task'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster.mode_set$task'}}]}
PATH: /vcenter/vcha/cluster/passive?action=check  MODULE: vcenter_vcha_cluster_passive
{'operationIds': ['check'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster.passive_check'}}]}
PATH: /vcenter/vcha/cluster/passive?action=redeploy&vmw-task=true  MODULE: vcenter_vcha_cluster_passive
{'operationIds': ['check', 'redeploy$task'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster.passive_redeploy$task'}}]}
PATH: /vcenter/vcha/cluster/witness?action=check  MODULE: vcenter_vcha_cluster_witness
{'operationIds': ['check'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster.witness_check'}}]}
PATH: /vcenter/vcha/cluster/witness?action=redeploy&vmw-task=true  MODULE: vcenter_vcha_cluster_witness
{'operationIds': ['check', 'redeploy$task'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster.witness_redeploy$task'}}]}
PATH: /vcenter/vcha/cluster?action=deploy&vmw-task=true  MODULE: vcenter_vcha_cluster
{'operationIds': ['deploy$task'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster_deploy$task'}}]}
PATH: /vcenter/vcha/cluster?action=failover&vmw-task=true  MODULE: vcenter_vcha_cluster
{'operationIds': ['deploy$task', 'failover$task'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster_failover$task'}}]}
PATH: /vcenter/vcha/cluster?action=get  MODULE: vcenter_vcha_cluster
{'operationIds': ['deploy$task', 'failover$task', 'get'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster_get'}}]}
PATH: /vcenter/vcha/cluster?action=undeploy&vmw-task=true  MODULE: vcenter_vcha_cluster
{'operationIds': ['deploy$task', 'failover$task', 'get', 'undeploy$task'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.cluster_undeploy$task'}}]}
PATH: /vcenter/vcha/operations  MODULE: vcenter_vcha_operations
{'operationIds': ['get'], 'parameters': []}
PATH: /vcenter/vcha/vc-credentials?action=validate  MODULE: vcenter_vcha_vc-credentials
{'operationIds': ['validate'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vcha.vc_credentials_validate'}}]}
PATH: /vcenter/vm  MODULE: vcenter_vm
{'operationIds': ['create', 'list'],
 'parameters': [{'collectionFormat': 'multi',
                 'description': 'Power states that a virtual machine must be '
                                'in to match the filter (see '
                                'Power.Info.state.\n'
                                'If unset or empty, virtual machines in any '
                                'power state match the filter.',
                 'in': 'query',
                 'items': {'enum': ['POWERED_OFF', 'POWERED_ON', 'SUSPENDED'],
                           'type': 'string'},
                 'name': 'filter.power_states',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Hosts that must contain the virtual machine '
                                'for the virtual machine to match the filter.\n'
                                'If unset or empty, virtual machines on any '
                                'host match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'HostSystem. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'HostSystem.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.hosts',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Identifiers of virtual machines that can '
                                'match the filter.\n'
                                'If unset or empty, virtual machines with any '
                                'identifier match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'VirtualMachine. When operations return a '
                                'value of this structure as a result, the '
                                'field will contain identifiers for the '
                                'resource type: VirtualMachine.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.vms',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Datacenters that must contain the virtual '
                                'machine for the virtual machine to match the '
                                'filter.\n'
                                'If unset or empty, virtual machines in any '
                                'datacenter match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'Datacenter. When operations return a value of '
                                'this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'Datacenter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.datacenters',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Resource pools that must contain the virtual '
                                'machine for the virtual machine to match the '
                                'filter.\n'
                                'If unset or empty, virtual machines in any '
                                'resource pool match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'ResourcePool. When operations return a value '
                                'of this structure as a result, the field will '
                                'contain identifiers for the resource type: '
                                'ResourcePool.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.resource_pools',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Names that virtual machines must have to '
                                'match the filter (see VM.Info.name).\n'
                                'If unset or empty, virtual machines with any '
                                'name match the filter.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.names',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Folders that must contain the virtual machine '
                                'for the virtual machine to match the filter.\n'
                                'If unset or empty, virtual machines in any '
                                'folder match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: Folder. '
                                'When operations return a value of this '
                                'structure as a result, the field will contain '
                                'identifiers for the resource type: Folder.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.folders',
                 'type': 'array'},
                {'collectionFormat': 'multi',
                 'description': 'Clusters that must contain the virtual '
                                'machine for the virtual machine to match the '
                                'filter.\n'
                                'If unset or empty, virtual machines in any '
                                'cluster match the filter.\n'
                                'When clients pass a value of this structure '
                                'as a parameter, the field must contain '
                                'identifiers for the resource type: '
                                'ClusterComputeResource. When operations '
                                'return a value of this structure as a result, '
                                'the field will contain identifiers for the '
                                'resource type: ClusterComputeResource.',
                 'in': 'query',
                 'items': {'type': 'string'},
                 'name': 'filter.clusters',
                 'type': 'array'}]}
PATH: /vcenter/vm-template/library-items  MODULE: vcenter_vm-template_library-items
{'operationIds': ['create'],
 'parameters': [{'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vm_template.library_items_create'}}]}
PATH: /vcenter/vm-template/library-items/{item}  MODULE: vcenter_vm-template_library-items
{'operationIds': ['create', 'get'],
 'parameters': [{'description': 'identifier of the library item containing the '
                                'virtual machine template.',
                 'in': 'path',
                 'name': 'item',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm-template/library-items/{item}?action=deploy  MODULE: vcenter_vm-template_library-items
{'operationIds': ['create', 'get', 'deploy'],
 'parameters': [{'description': 'identifier of the content library item '
                                'containing the source virtual machine '
                                'template to be deployed.',
                 'in': 'path',
                 'name': 'item',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'required': True,
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vm_template.library_items_deploy'}}]}
PATH: /vcenter/vm/{vm}  MODULE: vcenter_vm
{'operationIds': ['create', 'list', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/guest/identity  MODULE: vcenter_vm_guest_identity
{'operationIds': ['get'],
 'parameters': [{'description': 'Identifier of the virtual machine.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/guest/local-filesystem  MODULE: vcenter_vm_guest_local-filesystem
{'operationIds': ['get'],
 'parameters': [{'description': 'Identifier of the virtual machine.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/guest/power  MODULE: vcenter_vm_guest_power
{'operationIds': ['get'],
 'parameters': [{'description': 'Identifier of the virtual machine.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/guest/power?action=reboot  MODULE: vcenter_vm_guest_power
{'operationIds': ['get', 'reboot'],
 'parameters': [{'description': 'Identifier of the virtual machine.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/guest/power?action=shutdown  MODULE: vcenter_vm_guest_power
{'operationIds': ['get', 'reboot', 'shutdown'],
 'parameters': [{'description': 'Identifier of the virtual machine.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/guest/power?action=standby  MODULE: vcenter_vm_guest_power
{'operationIds': ['get', 'reboot', 'shutdown', 'standby'],
 'parameters': [{'description': 'Identifier of the virtual machine.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware  MODULE: vcenter_vm_hardware
{'operationIds': ['update', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/action/upgrade  MODULE: vcenter_vm_hardware_action
{'operationIds': ['upgrade'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vm.hardware_upgrade'}}]}
PATH: /vcenter/vm/{vm}/hardware/adapter/sata  MODULE: vcenter_vm_hardware_adapter_sata
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/adapter/sata/{adapter}  MODULE: vcenter_vm_hardware_adapter_sata
{'operationIds': ['create', 'list', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual SATA adapter identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.SataAdapter.',
                 'in': 'path',
                 'name': 'adapter',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/adapter/scsi  MODULE: vcenter_vm_hardware_adapter_scsi
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/adapter/scsi/{adapter}  MODULE: vcenter_vm_hardware_adapter_scsi
{'operationIds': ['create', 'list', 'update', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual SCSI adapter identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.ScsiAdapter.',
                 'in': 'path',
                 'name': 'adapter',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/boot  MODULE: vcenter_vm_hardware_boot
{'operationIds': ['update', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/boot/device  MODULE: vcenter_vm_hardware_boot_device
{'operationIds': ['set', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/cdrom  MODULE: vcenter_vm_hardware_cdrom
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/cdrom/{cdrom}  MODULE: vcenter_vm_hardware_cdrom
{'operationIds': ['create', 'list', 'update', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual CD-ROM device identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Cdrom.',
                 'in': 'path',
                 'name': 'cdrom',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/cdrom/{cdrom}/connect  MODULE: vcenter_vm_hardware_cdrom
{'operationIds': ['create', 'list', 'update', 'delete', 'get', 'connect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual CD-ROM device identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Cdrom.',
                 'in': 'path',
                 'name': 'cdrom',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/cdrom/{cdrom}/disconnect  MODULE: vcenter_vm_hardware_cdrom
{'operationIds': ['create',
                  'list',
                  'update',
                  'delete',
                  'get',
                  'connect',
                  'disconnect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual CD-ROM device identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Cdrom.',
                 'in': 'path',
                 'name': 'cdrom',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/cpu  MODULE: vcenter_vm_hardware_cpu
{'operationIds': ['update', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/disk  MODULE: vcenter_vm_hardware_disk
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/disk/{disk}  MODULE: vcenter_vm_hardware_disk
{'operationIds': ['create', 'list', 'update', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual disk identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Disk.',
                 'in': 'path',
                 'name': 'disk',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/ethernet  MODULE: vcenter_vm_hardware_ethernet
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/ethernet/{nic}  MODULE: vcenter_vm_hardware_ethernet
{'operationIds': ['create', 'list', 'update', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual Ethernet adapter identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Ethernet.',
                 'in': 'path',
                 'name': 'nic',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/ethernet/{nic}/connect  MODULE: vcenter_vm_hardware_ethernet
{'operationIds': ['create', 'list', 'update', 'delete', 'get', 'connect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual Ethernet adapter identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Ethernet.',
                 'in': 'path',
                 'name': 'nic',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/ethernet/{nic}/disconnect  MODULE: vcenter_vm_hardware_ethernet
{'operationIds': ['create',
                  'list',
                  'update',
                  'delete',
                  'get',
                  'connect',
                  'disconnect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual Ethernet adapter identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Ethernet.',
                 'in': 'path',
                 'name': 'nic',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/floppy  MODULE: vcenter_vm_hardware_floppy
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/floppy/{floppy}  MODULE: vcenter_vm_hardware_floppy
{'operationIds': ['create', 'list', 'update', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual floppy drive identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Floppy.',
                 'in': 'path',
                 'name': 'floppy',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/floppy/{floppy}/connect  MODULE: vcenter_vm_hardware_floppy
{'operationIds': ['create', 'list', 'update', 'delete', 'get', 'connect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual floppy drive identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Floppy.',
                 'in': 'path',
                 'name': 'floppy',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/floppy/{floppy}/disconnect  MODULE: vcenter_vm_hardware_floppy
{'operationIds': ['create',
                  'list',
                  'update',
                  'delete',
                  'get',
                  'connect',
                  'disconnect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual floppy drive identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.Floppy.',
                 'in': 'path',
                 'name': 'floppy',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/memory  MODULE: vcenter_vm_hardware_memory
{'operationIds': ['update', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/parallel  MODULE: vcenter_vm_hardware_parallel
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/parallel/{port}  MODULE: vcenter_vm_hardware_parallel
{'operationIds': ['create', 'list', 'update', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual parallel port identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.ParallelPort.',
                 'in': 'path',
                 'name': 'port',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/parallel/{port}/connect  MODULE: vcenter_vm_hardware_parallel
{'operationIds': ['create', 'list', 'update', 'delete', 'get', 'connect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual parallel port identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.ParallelPort.',
                 'in': 'path',
                 'name': 'port',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/parallel/{port}/disconnect  MODULE: vcenter_vm_hardware_parallel
{'operationIds': ['create',
                  'list',
                  'update',
                  'delete',
                  'get',
                  'connect',
                  'disconnect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual parallel port identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.ParallelPort.',
                 'in': 'path',
                 'name': 'port',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/serial  MODULE: vcenter_vm_hardware_serial
{'operationIds': ['create', 'list'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/serial/{port}  MODULE: vcenter_vm_hardware_serial
{'operationIds': ['create', 'list', 'update', 'delete', 'get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual serial port identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.SerialPort.',
                 'in': 'path',
                 'name': 'port',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/serial/{port}/connect  MODULE: vcenter_vm_hardware_serial
{'operationIds': ['create', 'list', 'update', 'delete', 'get', 'connect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual serial port identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.SerialPort.',
                 'in': 'path',
                 'name': 'port',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/hardware/serial/{port}/disconnect  MODULE: vcenter_vm_hardware_serial
{'operationIds': ['create',
                  'list',
                  'update',
                  'delete',
                  'get',
                  'connect',
                  'disconnect'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'description': 'Virtual serial port identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: '
                                'com.vmware.vcenter.vm.hardware.SerialPort.',
                 'in': 'path',
                 'name': 'port',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/power  MODULE: vcenter_vm_power
{'operationIds': ['get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/power/reset  MODULE: vcenter_vm_power
{'operationIds': ['get', 'reset'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/power/start  MODULE: vcenter_vm_power
{'operationIds': ['get', 'reset', 'start'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/power/stop  MODULE: vcenter_vm_power
{'operationIds': ['get', 'reset', 'start', 'stop'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/power/suspend  MODULE: vcenter_vm_power
{'operationIds': ['get', 'reset', 'start', 'stop', 'suspend'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/storage/policy  MODULE: vcenter_vm_storage_policy
{'operationIds': ['update', 'get'],
 'parameters': [{'description': 'Virtual machine identifier\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/storage/policy/compliance  MODULE: vcenter_vm_storage_policy_compliance
{'operationIds': ['get'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'}]}
PATH: /vcenter/vm/{vm}/storage/policy/compliance?action=check  MODULE: vcenter_vm_storage_policy_compliance
{'operationIds': ['get', 'check'],
 'parameters': [{'description': 'Virtual machine identifier.\n'
                                'The parameter must be an identifier for the '
                                'resource type: VirtualMachine.',
                 'in': 'path',
                 'name': 'vm',
                 'required': True,
                 'type': 'string'},
                {'in': 'body',
                 'name': 'request_body',
                 'schema': {'$ref': '#/definitions/com.vmware.vcenter.vm.storage.policy.compliance_check'}}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment