# get\_all\_vcenters

Retrieve information for each vCenter connected to the Rubrik cluster.

```python
def get_all_vcenters(self, timeout=15)
```

## Keyword Arguments

| Name    | Type | Description                                                                 | Choices | Default |
| ------- | ---- | --------------------------------------------------------------------------- | ------- | ------- |
| timeout | int  | The number of seconds to wait to establish a connection the Rubrik cluster. |         | 15      |

## Returns

| Type | Return Value                                        |
| ---- | --------------------------------------------------- |
| dict | The full API response for `GET /v1/vmware/vcenter`. |

## Example

```python
import rubrik_cdm
rubrik = rubrik_cdm.Connect()
vcenter_details = rubrik.get_all_vcenters())
```
