---
title: "Implements GET vCenters in a resource group."
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/vcenters"
tags: ["VCenters"]
---

# Implements GET vCenters in a resource group.

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/vcenters`

List of vCenters in a resource group.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- VCentersList — List of VCenters.
  - `nextLink` string — Url to follow for getting next page of VCenters.
  - `value` VCenter[], required — Array of VCenters
    - `properties` VCenterProperties, required — Describes the properties of a VCenter.
      - `uuid` string — Gets or sets a unique identifier for this resource.
      - `fqdn` string, required — Gets or sets the FQDN/IPAddress of the vCenter.
      - `port` integer — Gets or sets the port of the vCenter.
      - `version` string — Gets or sets the version of the vCenter.
      - `instanceUuid` string — Gets or sets the instance UUID of the vCenter.
      - `connectionStatus` string — Gets or sets the connection status to the vCenter.
      - `customResourceName` string — Gets the name of the corresponding resource in Kubernetes.
      - `credentials` VICredential — Username / Password Credentials to connect to vcenter.
        - `username` string — Gets or sets username to connect with the vCenter.
        - `password` string — Gets or sets the password to connect with the vCenter.
      - `statuses` ResourceStatus[] — The resource status information.
        - `type` string — The type of the condition.
        - `status` string — Status of the condition.
        - `reason` string — The reason for the condition's status.
        - `message` string — A human readable message indicating details about the status.
        - `severity` string — Severity with which to treat failures of this type of condition.
        - `lastUpdatedAt` string, date-time — The last update time for this condition.
      - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled' | 'Provisioning' | 'Updating' | 'Deleting' | 'Accepted' | 'Created' — The current deployment state of resource.
    - `location` string, required — Gets or sets the location.
    - `extendedLocation` ExtendedLocation — The extended location.
      - `type` string — The extended location type.
      - `name` string — The extended location name.
    - `systemData` SystemData — unresolved $ref
    - `tags` object — Gets or sets the Resource tags.
    - `name` string — Gets or sets the name.
    - `id` string — Gets or sets the Id.
    - `type` string — Gets or sets the type of the resource.
    - `kind` string — Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/connectedvmware-microsoft-connectedvmwarevsphere.md) · [All operations](https://skmtc.net/azure/apis/connectedvmware-microsoft-connectedvmwarevsphere/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/connectedvmware-microsoft-connectedvmwarevsphere/revisions/81d67c5b52dd/schema)
