# VMware vCenter

> Read vCenter inventory, hardware, and power state and monitor changes to virtual machines.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/vmware-vcenter

## Actions

### Get a compute cluster

Get a compute cluster.

**Inputs**

- Cluster (`cluster`, text, required): Identifier of the cluster. The parameter must be an identifier for the resource type: `ClusterComputeResource`.

**Outputs**

- `data` (object): The Vcenter.Cluster.Info schema contains information about a cluster in vCenter Server.

**Example output**

```json
{
  "data": {
    "name": "Example",
    "resource_pool": "Example"
  }
}
```

### Get a data center

Get a data center.

**Inputs**

- Datacenter (`datacenter`, text, required): Identifier of the datacenter. The parameter must be an identifier for the resource type: `Datacenter`.

**Outputs**

- `data` (object): The Vcenter.Datacenter.Info schema contains information about a datacenter in vCenter Server.

**Example output**

```json
{
  "data": {
    "datastore_folder": "Example",
    "host_folder": "Example",
    "name": "Example",
    "network_folder": "Example",
    "vm_folder": "Example"
  }
}
```

### Get a datastore

Get a datastore.

**Inputs**

- Datastore (`datastore`, text, required): Identifier of the datastore for which information should be retrieved. The parameter must be an identifier for the resource type: `Datastore`.

**Outputs**

- `data` (object): The Vcenter.Datastore.Info schema contains information about a datastore.

**Example output**

```json
{
  "data": {
    "accessible": false,
    "free_space": 1,
    "multiple_host_access": false,
    "name": "Example",
    "thin_provisioning_supported": false,
    "type": "Example"
  }
}
```

### Get a resource pool

Get a resource pool.

**Inputs**

- Resource pool (`resource_pool`, text, required): Identifier of the resource pool for which information should be retrieved. The parameter must be an identifier for the resource type: `ResourcePool`.

**Outputs**

- `data` (object): The Vcenter.ResourcePool.Info schema contains information about a resource pool.

**Example output**

```json
{
  "data": {
    "cpu_allocation": {
      "expandable_reservation": false,
      "limit": 1,
      "reservation": 1,
      "shares": {
        "level": "Example",
        "shares": 1
      }
    },
    "memory_allocation": {
      "expandable_reservation": false,
      "limit": 1,
      "reservation": 1,
      "shares": {
        "level": "Example",
        "shares": 1
      }
    },
    "name": "Example",
    "resource_pools": [
      "Example"
    ]
  }
}
```

### Get a virtual machine

Get a virtual machine.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): Document-based info.

**Example output**

```json
{
  "data": {
    "boot": {
      "delay": 1,
      "efi_legacy_boot": false,
      "enter_setup_mode": false,
      "network_protocol": "Example",
      "retry": false,
      "retry_delay": 1,
      "type": "Example"
    },
    "boot_devices": [
      {
        "disks": [
          "Example"
        ],
        "nic": "Example",
        "type": "Example"
      }
    ],
    "cdroms": {},
    "cpu": {
      "cores_per_socket": 1,
      "count": 1,
      "hot_add_enabled": false,
      "hot_remove_enabled": false
    },
    "disks": {},
    "floppies": {},
    "guest_os": "Example",
    "hardware": {
      "upgrade_error": {},
      "upgrade_policy": "Example",
      "upgrade_status": "Example",
      "upgrade_version": "Example",
      "version": "Example"
    },
    "identity": {
      "bios_uuid": "sample_bios_uuid",
      "instance_uuid": "sample_instance_uuid",
      "name": "Example"
    },
    "instant_clone_frozen": false,
    "memory": {
      "hot_add_enabled": false,
      "hot_add_increment_size_mib": 1,
      "hot_add_limit_mib": 1,
      "size_mib": 1
    },
    "name": "Example",
    "nics": {},
    "nvme_adapters": {},
    "parallel_ports": {},
    "power_state": "Example",
    "sata_adapters": {},
    "scsi_adapters": {},
    "serial_ports": {}
  }
}
```

### Get virtual machine CPU settings

Get virtual machine CPU settings.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): The Vcenter.Vm.Hardware.Cpu.Info schema contains CPU-related information about a virtual machine.

**Example output**

```json
{
  "data": {
    "cores_per_socket": 1,
    "count": 1,
    "hot_add_enabled": false,
    "hot_remove_enabled": false
  }
}
```

### Get virtual machine guest identity

Get virtual machine guest identity.

**Inputs**

- Vm (`vm`, text, required): Identifier of the virtual machine. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): The Vcenter.Vm.Guest.Identity.Info schema contains information describing the guest operating system identification. This schema was added in __vSphere API 6.7__.

**Example output**

```json
{
  "data": {
    "family": "Example",
    "full_name": {
      "args": [
        "Example"
      ],
      "default_message": "Example",
      "id": "sample_id",
      "localized": "Example",
      "params": {}
    },
    "host_name": "Example",
    "ip_address": "Example",
    "name": "Example"
  }
}
```

### Get virtual machine guest network

Get virtual machine guest network.

**Inputs**

- Vm (`vm`, text, required): Virtual machine ID The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): The Vcenter.Vm.Guest.Networking.Info schema contains information about networking as configured in the guest operating system. This schema was added in __vSphere API 7.0.0.0__.

**Example output**

```json
{
  "data": {
    "dns": {
      "ip_addresses": [
        "Example"
      ],
      "search_domains": [
        "Example"
      ]
    },
    "dns_values": {
      "domain_name": "Example",
      "host_name": "Example"
    }
  }
}
```

### Get virtual machine hardware

Get virtual machine hardware.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): The Vcenter.Vm.Hardware.Info schema contains information related to the virtual hardware of a virtual machine.

**Example output**

```json
{
  "data": {
    "upgrade_error": {},
    "upgrade_policy": "Example",
    "upgrade_status": "Example",
    "upgrade_version": "Example",
    "version": "Example"
  }
}
```

### Get virtual machine memory settings

Get virtual machine memory settings.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): The Vcenter.Vm.Hardware.Memory.Info schema contains memory-related information about a virtual machine.

**Example output**

```json
{
  "data": {
    "hot_add_enabled": false,
    "hot_add_increment_size_mib": 1,
    "hot_add_limit_mib": 1,
    "size_mib": 1
  }
}
```

### Get virtual machine power state

Get virtual machine power state.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): The Vcenter.Vm.Power.Info schema contains information about the power state of a virtual machine.

**Example output**

```json
{
  "data": {
    "clean_power_off": false,
    "state": "Example"
  }
}
```

### Get VMware Tools status

Get VMware Tools status.

**Inputs**

- Vm (`vm`, text, required): Identifier of the virtual machine. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (object): The Vcenter.Vm.Tools.Info schema describes the VMware Tools properties of a virtual machine. This schema was added in __vSphere API 7.0.0.0__.

**Example output**

```json
{
  "data": {
    "auto_update_supported": false,
    "guest_reboot_status": {
      "reboot_requested": false,
      "request_timestamp": "2026-11-30T12:00:00Z",
      "requesting_components": [
        "Example"
      ]
    },
    "install_attempt_count": 1,
    "install_type": "Example",
    "run_state": "Example",
    "upgrade_policy": "Example",
    "version": "Example",
    "version_number": 1,
    "version_status": "Example"
  }
}
```

### List compute clusters

List compute clusters.

**Inputs**

- Clusters (`clusters`, list): Identifiers of clusters that can match the filter. If missing or `null` or empty, clusters with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `ClusterComputeResource
- Names (`names`, list): Names that clusters must have to match the filter (see *Vcenter.Cluster.Info.name*). If missing or `null` or empty, clusters with any name match the filter.
- Folders (`folders`, list): Folders that must contain the cluster for the cluster to match the filter. If missing or `null` or empty, clusters in any folder match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Fold
- Datacenters (`datacenters`, list): Datacenters that must contain the cluster for the cluster to match the filter. If missing or `null` or empty, clusters in any datacenter match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource typ

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "cluster": "Example",
      "drs_enabled": false,
      "ha_enabled": false,
      "name": "Example"
    }
  ]
}
```

### List compute hosts

List compute hosts.

**Inputs**

- Hosts (`hosts`, list): Identifiers of hosts that can match the filter. If missing or `null` or empty, hosts with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `HostSystem`. When operations
- Names (`names`, list): Names that hosts must have to match the filter (see *Vcenter.Host.Summary.name*). If missing or `null` or empty, hosts with any name match the filter.
- Folders (`folders`, list): Folders that must contain the hosts for the hosts to match the filter. If missing or `null` or empty, hosts in any folder match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Folder`. Wh
- Datacenters (`datacenters`, list): Datacenters that must contain the hosts for the hosts to match the filter. If missing or `null` or empty, hosts in any datacenter match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Dat
- Clusters (`clusters`, list): Clusters that must contain the hosts for the hosts to match the filter. If missing or `null` or empty, hosts in any cluster and hosts that are not in a cluster match the filter. If this property is not empty and *Vcenter.Host.FilterSpec.standalone* is true, no hosts wil
- Connection states (`connection_states`, list): Connection states that a host must be in to match the filter (see *Vcenter.Host.Summary.connection_state*. Possible values: - `CONNECTED`: Host is connected to the vCenter Server - `DISCONNECTED`: Host is disconnected from the vCenter Server - `NOT_RESPONDING`: VirtualC
- Host uuids (`host_uuids`, list): UUID of hosts that can match the filter. Maps to "UUID" in SMBIOS: System Information (Type 1) and offset 08h This property was added in __vSphere API 9.0.0.0__. If missing or `null` or empty, hosts with any identifier match the filter.

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "connection_state": "Example",
      "host": "Example",
      "host_uuid": "sample_host_uuid",
      "name": "Example",
      "power_state": "Example"
    }
  ]
}
```

### List data centers

List data centers.

**Inputs**

- Datacenters (`datacenters`, list): Identifiers of datacenters that can match the filter. If missing or `null` or empty, datacenters with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Datacenter`. Whe
- Names (`names`, list): Names that datacenters must have to match the filter (see *Vcenter.Datacenter.Info.name*). If missing or `null` or empty, datacenters with any name match the filter.
- Folders (`folders`, list): Folders that must contain the datacenters for the datacenter to match the filter. If missing or `null` or empty, datacenters in any folder match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource t

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "datacenter": "Example",
      "name": "Example"
    }
  ]
}
```

### List datastores

List datastores.

**Inputs**

- Datastores (`datastores`, list): Identifiers of datastores that can match the filter. If missing or `null` or empty, datastores with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Datastore`. When o
- Names (`names`, list): Names that datastores must have to match the filter (see *Vcenter.Datastore.Info.name*). If missing or `null` or empty, datastores with any name match the filter.
- Types (`types`, list): Types that datastores must have to match the filter (see *Vcenter.Datastore.Summary.type*). Possible values: - `VMFS`: VMware File System (ESX Server only). - `NFS`: Network file system v3 (linux & esx servers only). - `NFS41`: Network file system v4.1 (linux & esx serv
- Folders (`folders`, list): Folders that must contain the datastore for the datastore to match the filter. If missing or `null` or empty, datastores in any folder match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type:
- Datacenters (`datacenters`, list): Datacenters that must contain the datastore for the datastore to match the filter. If missing or `null` or empty, datastores in any datacenter match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resour

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "capacity": 1,
      "datastore": "Example",
      "free_space": 1,
      "name": "Example",
      "type": "Example"
    }
  ]
}
```

### List inventory folders

List inventory folders.

**Inputs**

- Folders (`folders`, list): Identifiers of folders that can match the filter. If missing or `null` or empty, folders with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Folder`. When operations
- Names (`names`, list): Names that folders must have to match the filter (see *Vcenter.Folder.Summary.name*). If missing or `null` or empty, folders with any name match the filter.
- Parent folders (`parent_folders`, list): Folders that must contain the folder for the folder to match the filter. If missing or `null` or empty, folder in any folder match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Folder`.
- Datacenters (`datacenters`, list): Datacenters that must contain the folder for the folder to match the filter. If missing or `null` or empty, folder in any datacenter match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "folder": "Example",
      "name": "Example",
      "type": "Example"
    }
  ]
}
```

### List resource pools

List resource pools.

**Inputs**

- Resource pools (`resource_pools`, list): Identifiers of resource pools that can match the filter. If missing or `null` or empty, resource pools with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `ResourcePo
- Names (`names`, list): Names that resource pools must have to match the filter (see *Vcenter.ResourcePool.Info.name*). If missing or `null` or empty, resource pools with any name match the filter.
- Parent resource pools (`parent_resource_pools`, list): Resource pools that must contain the resource pool for the resource pool to match the filter. If missing or `null` or empty, resource pools in any resource pool match the filter. When clients pass a value of this schema as a parameter, the property must contain identifi
- Datacenters (`datacenters`, list): Datacenters that must contain the resource pool for the resource pool to match the filter. If missing or `null` or empty, resource pools in any datacenter match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers fo
- Hosts (`hosts`, list): Hosts that must contain the resource pool for the resource pool to match the filter. If missing or `null` or empty, resource pools in any host match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resour
- Clusters (`clusters`, list): Clusters that must contain the resource pool for the resource pool to match the filter. If missing or `null` or empty, resource pools in any cluster match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "name": "Example",
      "resource_pool": "Example"
    }
  ]
}
```

### List virtual machine disks

List virtual machine disks.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "disk": "Example"
    }
  ]
}
```

### List virtual machine network adapters

List virtual machine network adapters.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "nic": "Example"
    }
  ]
}
```

### List virtual machine optical drives

List virtual machine optical drives.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "cdrom": "Example"
    }
  ]
}
```

### List virtual machine parallel ports

List virtual machine parallel ports.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "port": "Example"
    }
  ]
}
```

### List virtual machine serial ports

List virtual machine serial ports.

**Inputs**

- Vm (`vm`, text, required): Virtual machine identifier. The parameter must be an identifier for the resource type: `VirtualMachine`.

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "port": "Example"
    }
  ]
}
```

### List virtual machines

List virtual machines.

**Inputs**

- Vms (`vms`, list): Identifiers of virtual machines that can match the filter. If missing or `null` or empty, virtual machines with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Virtua
- Names (`names`, list): Names that virtual machines must have to match the filter (see *Vcenter.VM.Info.name*). If missing or `null` or empty, virtual machines with any name match the filter.
- Folders (`folders`, list): Folders that must contain the virtual machine for the virtual machine to match the filter. If missing or `null` or empty, virtual machines in any folder match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for
- Datacenters (`datacenters`, list): Datacenters that must contain the virtual machine for the virtual machine to match the filter. If missing or `null` or empty, virtual machines in any datacenter match the filter. When clients pass a value of this schema as a parameter, the property must contain identifi
- Hosts (`hosts`, list): Hosts that must contain the virtual machine for the virtual machine to match the filter. If missing or `null` or empty, virtual machines on any host match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the
- Clusters (`clusters`, list): Clusters that must contain the virtual machine for the virtual machine to match the filter. If missing or `null` or empty, virtual machines in any cluster match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers fo
- Resource pools (`resource_pools`, list): Resource pools that must contain the virtual machine for the virtual machine to match the filter. If missing or `null` or empty, virtual machines in any resource pool match the filter. When clients pass a value of this schema as a parameter, the property must contain id
- Power states (`power_states`, list): Power states that a virtual machine must be in to match the filter (see *Vcenter.Vm.Power.Info.state*. Possible values: - `POWERED_OFF`: The virtual machine is powered off. - `POWERED_ON`: The virtual machine is powered on. - `SUSPENDED`: The virtual machine is suspende

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "cpu_count": 1,
      "memory_size_mib": 1,
      "name": "Example",
      "power_state": "Example",
      "vm": "Example"
    }
  ]
}
```

### List virtual networks

List virtual networks.

**Inputs**

- Networks (`networks`, list): Identifiers of networks that can match the filter. If missing or `null` or empty, networks with any identifier match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Network`. When operati
- Names (`names`, list): Names that networks must have to match the filter (see *Vcenter.Network.Summary.name*). If missing or `null` or empty, networks with any name match the filter.
- Types (`types`, list): Types that networks must have to match the filter (see *Vcenter.Network.Summary.type*). Possible values: - `STANDARD_PORTGROUP`: vSphere standard portgroup (created and managed on ESX) - `DISTRIBUTED_PORTGROUP`: Distributed virtual portgroup (created and managed through
- Folders (`folders`, list): Folders that must contain the network for the network to match the filter. If missing or `null` or empty, networks in any folder match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: `Fold
- Datacenters (`datacenters`, list): Datacenters that must contain the network for the network to match the filter. If missing or `null` or empty, networks in any datacenter match the filter. When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource typ

**Outputs**

- `data` (list): The response from VMware vCenter.

**Example output**

```json
{
  "data": [
    {
      "name": "Example",
      "network": "Example",
      "type": "Example"
    }
  ]
}
```
