> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/v/vmware-aria-operations-cloud.md).

# VMware Aria Operations Cloud

VMware Aria Operations Cloud (vROps Cloud) is the SaaS edition of Aria Operations. OctoXLabs reads the virtual machine resources and their properties through the suite API. This adds host names, IP addresses and guest operating systems to the inventory.

## Use cases

* List the virtual machines that Aria Operations Cloud monitors.

```
Adapters = vmware-aria-operations-cloud
```

## Before you begin

### Network

| Source              | Destination                                            | Port             | Protocol |
| ------------------- | ------------------------------------------------------ | ---------------- | -------- |
| OctoXLabs connector | `www.mgmt.cloud.vmware.com` (default, region specific) | 443              | HTTPS    |
| OctoXLabs connector | `console.cloud.vmware.com` (CSP, default)              | 443              | HTTPS    |
| OctoXLabs connector | HTTP proxy (optional)                                  | Set in **Proxy** | HTTP     |

### Required permissions

| Scope or role                                      | Permission | Needed for                               |
| -------------------------------------------------- | ---------- | ---------------------------------------- |
| CSP API token with access to Aria Operations Cloud | Read       | Virtual machine resources and properties |

The exact CSP service role is Not verified.

## Create credentials in VMware Aria Operations Cloud

{% stepper %}
{% step %}

### Open API Tokens

Sign in to the VMware Cloud Services portal. Go to **My Account**, then **API Tokens**.
{% endstep %}

{% step %}

### Generate a token

Generate an API token with access to Aria Operations Cloud.
{% endstep %}

{% step %}

### Copy the token

Copy the token. OctoXLabs exchanges it for a short-lived access token on every run.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default                                                       | Description                                                                       |
| ------------ | -------- | ------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| Domain       | No       | Text    | [www.mgmt.cloud.vmware.com](http://www.mgmt.cloud.vmware.com) | vROps Cloud management endpoint. Non-US organizations use a region specific host. |
| CSP Domain   | No       | Text    | console.cloud.vmware.com                                      | Cloud Services Platform host used to exchange the token.                          |
| API Token    | Yes      | Text    |                                                               | CSP API token.                                                                    |
| Proxy        | No       | Text    |                                                               | Proxy in `host:port` format.                                                      |
| Timeout      | No       | Integer | 30                                                            | Seconds to wait for API responses.                                                |
| Thread Count | No       | Integer | 32                                                            | Parallel workers that fetch VM properties. Min 1, max 32.                         |
| Sleep Time   | No       | Integer | 0                                                             | Delay in seconds between threaded requests.                                       |

## Troubleshooting

| Error message            | Cause                              | Fix                                    |
| ------------------------ | ---------------------------------- | -------------------------------------- |
| Max retries exceeded for | The API kept returning 401 or 429. | Check the API token, then retry later. |

## Change history
