> For the complete documentation index, see [llms.txt](https://docs.enclaive.cloud/enclaive-multi-cloud-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enclaive.cloud/enclaive-multi-cloud-platform/developers/api/client-api/manage/configurations/provider.md).

# Provider

The "Provider" subsection contains a list of cloud providers categorized by resource type (app, db, vm, k8s), enabling users to select the appropriate cloud platform for their specific resource needs.

## Get providers

<mark style="color:blue;">`GET`</mark> `{{BASE_URL}}/api/providers`

Get all the available providers for the creation of a resource.

#### Query Parameters

| Name                                   | Type   | Description                           |
| -------------------------------------- | ------ | ------------------------------------- |
| type<mark style="color:red;">\*</mark> | String | vm, db, app, k8sNode, k8sControlPlane |

#### Headers

| Name                                            | Type   | Description  |
| ----------------------------------------------- | ------ | ------------ |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer Token |

{% tabs %}
{% tab title="200: OK " %}

```json
[
    {
        "type": "vm",
        "isDisabled": false,
        "_id": "6548a383e2442d14b6bf9687",
        "cloudProvider": {
            "_id": "6548a383e2442d14b6bf9681",
            "name": "Azure",
            "isDisabled": false
        }
    },
    {
        "type": "vm",
        "isDisabled": false,
        "_id": "6548a383e2442d14b6bf9688",
        "cloudProvider": {
            "_id": "6548a383e2442d14b6bf9682",
            "name": "AWS",
            "isDisabled": false
        }
    },
    {
        "type": "vm",
        "isDisabled": false,
        "_id": "6548a383e2442d14b6bf968b",
        "cloudProvider": {
            "_id": "6548a383e2442d14b6bf9685",
            "name": "Kraud.Cloud",
            "isDisabled": false
        }
    },
    {
        "type": "vm",
        "isDisabled": true,
        "_id": "6548a383e2442d14b6bf9689",
        "cloudProvider": {
            "_id": "6548a383e2442d14b6bf9683",
            "name": "GCP",
            "isDisabled": false
        }
    },
    {
        "type": "vm",
        "isDisabled": true,
        "_id": "6548a383e2442d14b6bf968a",
        "cloudProvider": {
            "_id": "6548a383e2442d14b6bf9684",
            "name": "OVH",
            "isDisabled": false
        }
    }
]
```

{% endtab %}
{% endtabs %}
