Skip to Content
Static Data

Get details of a single `Cloud Provider Service`

GET
/static/cloud-provider-service-options/{cloud_provider_service_code}

Path Parameters

cloud_provider_service_code*string

The cloud provider service code.

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
code*CloudProviderServiceCode

The code that uniquely identify this cloud service.

Value in"aws-ec2""azure-rm""digitalocean-droplet""gcp-gce""hetzner-hcloud""self-hosted-custom"
name*string

The full name of the cloud service

provider?
regions?array<>
resource_types?array<>
Example Request
curl -X GET 'https://api.devopness.com/static/cloud-provider-service-options/aws-ec2' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response
{  "code": "aws-ec2",  "name": "Amazon Elastic Compute Cloud",  "provider": {    "active": true,    "code": "aws",    "code_human_readable": "Amazon Web Services",    "type": "cloud_provider",    "type_human_readable": "Cloud Provider"  },  "regions": [    {      "code": "us-east-1",      "name": "US East (N. Virginia) us-east-1",      "hint": "Some text here describing this field for end users",      "zones": [        "us-east-1a",        "us-east-1b",        "us-east-1c"      ]    }  ],  "resource_types": [    {      "provider_resource_type": "vpc",      "devopness_resource_type": "network",      "scope": "region",      "input_settings": [        {          "name": "access_key_id",          "name_human_readable": "Access Key",          "default_value": "default_access_key",          "sensitive": false,          "validation": {            "required": true,            "type": "string",            "min": 10,            "max": 30,            "allowed_values": [              "string"            ]          }        }      ],      "os": [        {          "code": "ubuntu",          "name": "Ubuntu",          "hint": "Some text here describing this field for end users",          "supported_versions": [            {              "name": "22.04 LTS (Jammy Jellyfish)",              "code_name": "Jammy Jellyfish",              "version": "22.04",              "os_version_code": "ubuntu_26_04",              "os_version_code_human_readable": "Ubuntu 22.04 LTS (Jammy Jellyfish)",              "released_at": "2020-04-23",              "end_standard_support_at": "2025-04-01",              "end_of_life_at": "2030-04-01"            }          ]        }      ],      "can_keep_disk_after_delete_server": true,      "operation_custom_settings": {        "operation": "remove",        "operation_human_readable": "Delete",        "triggers_action": true      }    }  ]}