{"openapi":"3.0.0","info":{"title":"OVHcloud API specification","description":"Specification for OVHcloud API","version":"1.0","contact":{"name":"OVH","email":"api@ml.ovh.net"}},"servers":[{"url":"https://api.eu.ovhcloud.com/v2"}],"components":{"schemas":{"any":{"description":"Can be anything (text, int, bool, json, html, etc.)","example":"This is a content of any type !"},"common.RegionEnum":{"type":"string","description":"OVHcloud region identifier","enum":["af-north-lz-rba","ap-south-mum","ap-southeast-sgp","ap-southeast-syd","ca-east-bhs","ca-east-tor","eu-central-lz-buh","eu-central-lz-prg","eu-central-lz-sof","eu-central-waw","eu-north-lz-cph","eu-north-lz-hel","eu-north-lz-osl","eu-north-lz-sto","eu-south-lz-lis","eu-south-lz-mad","eu-south-lz-mil","eu-south-mil","eu-west-eri","eu-west-gra","eu-west-gra-snc","eu-west-lim","eu-west-lz-ams","eu-west-lz-bru","eu-west-lz-dln","eu-west-lz-lux","eu-west-lz-mnc","eu-west-lz-mrs","eu-west-lz-vie","eu-west-lz-zrh","eu-west-par","eu-west-rbx","eu-west-rbx-snc","eu-west-sbg","eu-west-sbg-snc","us-central-lz-slc","us-central-lz-stl","us-east-lz-atl","us-east-lz-bos","us-east-lz-chi","us-east-lz-dal","us-east-lz-mia","us-east-lz-nyc","us-east-vin","us-west-hil","us-west-lz-den","us-west-lz-lax","us-west-lz-pao","us-west-lz-phx","us-west-lz-sea"]},"duration":{"type":"string","description":"Duration (e.g., P1Y2M3DT4H6M9S)","example":"P1Y2M3DT4H6M9S"},"email":{"type":"string","description":"Email address (e.g., api@ml.ovh.net)","format":"email","example":"api@ml.ovh.net"},"internationalPhoneNumber":{"type":"string","description":"International phone number","format":"phone-number"},"ip":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipBlock":{"type":"string","description":"IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24)","format":"ip-block","example":"192.0.2.0/24"},"ipInterface":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4":{"type":"string","description":"IPv4 address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4Block":{"type":"string","description":"IPv4 CIDR notation (e.g., 192.0.2.0/24)","format":"ipv4-block","example":"192.0.2.0/24"},"ipv6":{"type":"string","description":"IPv6 address (e.g., 2001:41d0:1:1994::1)","format":"ipv6","example":"2001:41d0:1:1994::1"},"ipv6Block":{"type":"string","description":"IPv6 CIDR notation (e.g., 2001:41d0::/128)","format":"ipv6-block","example":"2001:41d0::/128"},"location.TypeEnum":{"type":"string","description":"Typology of the region","enum":["LOCAL-ZONE","REGION-1-AZ","REGION-3-AZ"]},"macAddress":{"type":"string","description":"MAC address (e.g., 00:00:5e:00:53:01)","format":"mac-address","example":"00:00:5e:00:53:01"},"phoneNumber":{"type":"string","description":"Phone number","format":"phone-number"},"publicCloud.database.Availability":{"type":"object","description":"Availability of a database engine configuration","properties":{"backups":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Backups"}],"description":"Backup strategy for this availability","readOnly":true},"category":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.CategoryEnum"}],"description":"Category of the engine (database or analytics)","readOnly":true},"default":{"type":"boolean","description":"Whether this availability can be used by default","readOnly":true},"engine":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.EngineEnum"}],"description":"Database engine name","readOnly":true},"lifecycle":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Lifecycle"}],"description":"Lifecycle information","readOnly":true},"plan":{"type":"string","description":"Plan name","readOnly":true},"planCode":{"type":"string","description":"Billing plan code","readOnly":true},"planCodeStorage":{"type":"string","description":"Billing plan code for storage","nullable":true,"readOnly":true},"region":{"allOf":[{"$ref":"#/components/schemas/common.RegionEnum"}],"description":"Region name","readOnly":true},"specifications":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Specifications"}],"description":"Technical specifications","readOnly":true},"version":{"type":"string","description":"Version name","readOnly":true}}},"publicCloud.database.CategoryEnum":{"type":"string","description":"Database Category of the managed database and analytics service","enum":["ANALYTICS","DATABASE"]},"publicCloud.database.EngineCapability":{"type":"object","description":"Capability definition for a specific database engine","properties":{"category":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.CategoryEnum"}],"description":"Category of the engine (database or analytics)","readOnly":true},"defaultVersion":{"type":"string","description":"Version used when no version is specified at service creation","readOnly":true},"description":{"type":"string","description":"Human-readable description of the engine","readOnly":true},"lifecycle":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Lifecycle"}],"description":"Lifecycle information of the engine","readOnly":true},"name":{"type":"string","description":"Engine name","readOnly":true},"order":{"type":"integer","description":"Display order","readOnly":true},"sslModes":{"type":"array","description":"Supported TLS modes for connections","items":{"type":"string"},"readOnly":true},"storage":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.capabilities.engine.StorageStrategyEnum"}],"description":"Storage strategy of the engine","readOnly":true},"tags":{"type":"array","description":"Display tags","nullable":true,"items":{"type":"string"},"readOnly":true},"versions":{"type":"array","description":"Versions available for this engine","items":{"$ref":"#/components/schemas/publicCloud.database.EngineVersion"},"readOnly":true}}},"publicCloud.database.EngineEnum":{"type":"string","description":"Database engine type of the managed database service","enum":["CLICKHOUSE","GRAFANA","KAFKA","KAFKA_CONNECT","KAFKA_MIRROR_MAKER","MONGODB","MYSQL","OPENSEARCH","POSTGRESQL","VALKEY"]},"publicCloud.database.EngineVersion":{"type":"object","description":"A version available for a database engine","properties":{"default":{"type":"boolean","description":"Whether this is the default version for the engine","readOnly":true},"lifecycle":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Lifecycle"}],"description":"Lifecycle information of the version","readOnly":true},"name":{"type":"string","description":"Version name","readOnly":true},"tags":{"type":"array","description":"Display tags","nullable":true,"items":{"type":"string"},"readOnly":true}}},"publicCloud.database.NetworkEnum":{"type":"string","description":"Network type of the managed database service","enum":["PRIVATE","PUBLIC"]},"publicCloud.database.StorageUnitEnum":{"type":"string","description":"Unit for storage size values","enum":["GB","MB"]},"publicCloud.database.UnitAndValue":{"type":"object","description":"A numeric size value with its associated unit","properties":{"unit":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.StorageUnitEnum"}],"description":"Unit of the value"},"value":{"type":"integer","description":"Numeric value"}}},"publicCloud.database.availability.ActionEnum":{"type":"string","description":"Action type to filter availabilities","enum":["FORK","READ","UPDATE"]},"publicCloud.database.availability.Backups":{"type":"object","description":"Backup availability for a database engine offer","properties":{"available":{"type":"boolean","description":"Whether backups are available for this offer","readOnly":true},"retentionDays":{"type":"integer","description":"Number of retention days for the backups","nullable":true,"readOnly":true}}},"publicCloud.database.availability.Lifecycle":{"type":"object","description":"Lifecycle information for an availability","properties":{"endOfLifeAt":{"type":"string","description":"End of life date","nullable":true,"format":"date","readOnly":true},"endOfSaleAt":{"type":"string","description":"End of sale date","nullable":true,"format":"date","readOnly":true},"startedAt":{"type":"string","description":"Release date","format":"date","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.StatusEnum"}],"description":"Current status","readOnly":true}}},"publicCloud.database.availability.Specifications":{"type":"object","description":"Technical specifications of an availability","properties":{"flavor":{"type":"string","description":"Flavor name","readOnly":true},"network":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.NetworkEnum"}],"description":"Type of network (public or private)","readOnly":true},"nodes":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.specifications.Nodes"}],"description":"Node count specifications","readOnly":true},"storage":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.specifications.Storage"}],"description":"Storage specifications","nullable":true,"readOnly":true}}},"publicCloud.database.availability.StatusEnum":{"type":"string","description":"Status of an availability","enum":["BETA","DEPRECATED","END_OF_LIFE","END_OF_SALE","STABLE","UNAVAILABLE"]},"publicCloud.database.availability.Suggestion":{"type":"object","description":"Suggested availability for a database engine","properties":{"default":{"type":"boolean","description":"Whether this suggestion is the default","readOnly":true},"engine":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.EngineEnum"}],"description":"Engine name","readOnly":true},"flavor":{"type":"string","description":"Flavor name","readOnly":true},"plan":{"type":"string","description":"Plan name","readOnly":true},"region":{"allOf":[{"$ref":"#/components/schemas/common.RegionEnum"}],"description":"Region name","readOnly":true},"version":{"type":"string","description":"Version name","readOnly":true}}},"publicCloud.database.availability.TargetEnum":{"type":"string","description":"Target type to filter availabilities","enum":["FLAVOR","PLAN","SELF","VERSION"]},"publicCloud.database.availability.specifications.Nodes":{"type":"object","description":"Node count specifications for an availability","properties":{"maximum":{"type":"integer","description":"Maximum number of nodes","readOnly":true},"minimum":{"type":"integer","description":"Minimum number of nodes","readOnly":true}}},"publicCloud.database.availability.specifications.Storage":{"type":"object","description":"Storage specifications for an availability","properties":{"maximum":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.UnitAndValue"}],"description":"Maximum storage size","readOnly":true},"minimum":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.UnitAndValue"}],"description":"Minimum storage size","readOnly":true},"step":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.UnitAndValue"}],"description":"Storage increment step between minimum and maximum","nullable":true,"readOnly":true}}},"publicCloud.database.capabilities.DiskType":{"type":"object","description":"A disk type available for database services, with its performance specifications","properties":{"iopsPerGigabyte":{"type":"integer","description":"Number of IOPS per GB of disk. Null when IOPS are fixed regardless of disk size.","nullable":true,"readOnly":true},"maximumIops":{"type":"integer","description":"Maximum IOPS per volume","readOnly":true},"maximumThroughput":{"type":"number","description":"Maximum throughput in MB/s per volume. Null when no throughput limit applies.","nullable":true,"readOnly":true},"name":{"type":"string","description":"Name of the disk type","readOnly":true},"throughputPerGigabyte":{"type":"number","description":"Throughput in MB/s per GB of disk. Null when no throughput scaling applies.","nullable":true,"readOnly":true}}},"publicCloud.database.capabilities.Flavor":{"type":"object","description":"A compute flavor available for database services","properties":{"generation":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.capabilities.FlavorGenerationEnum"}],"description":"Generation tag used to group flavors in the order funnel","nullable":true,"readOnly":true},"lifecycle":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Lifecycle"}],"description":"Lifecycle information of the flavor","readOnly":true},"name":{"type":"string","description":"Name of the flavor","readOnly":true},"order":{"type":"integer","description":"Display order","readOnly":true},"specifications":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.capabilities.flavor.Specifications"}],"description":"Technical specifications","readOnly":true},"tags":{"type":"array","description":"Display tags","nullable":true,"items":{"type":"string"},"readOnly":true}}},"publicCloud.database.capabilities.FlavorGenerationEnum":{"type":"string","description":"Generation tag used to group flavors in the order funnel","enum":["GEN1","GEN2","GEN3"]},"publicCloud.database.capabilities.Option":{"type":"object","description":"An option available for database services","properties":{"name":{"type":"string","description":"Name of the option","readOnly":true},"type":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.capabilities.OptionTypeEnum"}],"description":"Data type of the option","readOnly":true}}},"publicCloud.database.capabilities.OptionTypeEnum":{"type":"string","description":"Data type of a capability option","enum":["BOOLEAN","DOUBLE","DURATION","LONG","STRING"]},"publicCloud.database.capabilities.Plan":{"type":"object","description":"A service plan available for database services","properties":{"backupRetention":{"type":"string","description":"Automatic backup retention duration","nullable":true,"format":"duration","readOnly":true},"description":{"type":"string","description":"Description of the plan","readOnly":true},"lifecycle":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Lifecycle"}],"description":"Lifecycle information of the plan","readOnly":true},"name":{"type":"string","description":"Name of the plan","readOnly":true},"order":{"type":"integer","description":"Display order","readOnly":true},"tags":{"type":"array","description":"Display tags","nullable":true,"items":{"type":"string"},"readOnly":true}}},"publicCloud.database.capabilities.Region":{"type":"object","description":"A region available for database services","properties":{"lifecycle":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.availability.Lifecycle"}],"description":"Lifecycle information of the region","readOnly":true},"name":{"type":"string","description":"Name of the region","readOnly":true},"order":{"type":"integer","description":"Display order","readOnly":true},"tags":{"type":"array","description":"Display tags","nullable":true,"items":{"type":"string"},"readOnly":true},"type":{"allOf":[{"$ref":"#/components/schemas/location.TypeEnum"}],"description":"Type of the region","readOnly":true}}},"publicCloud.database.capabilities.engine.StorageStrategyEnum":{"type":"string","description":"Storage strategy of a database engine","enum":["DISTRIBUTED","NOT_APPLICABLE","REPLICATED"]},"publicCloud.database.capabilities.flavor.Specifications":{"type":"object","description":"Technical specifications of a compute flavor","properties":{"memory":{"allOf":[{"$ref":"#/components/schemas/publicCloud.database.UnitAndValue"}],"description":"RAM size","readOnly":true},"vcpus":{"type":"integer","description":"Number of vCPU cores","readOnly":true}}},"time":{"type":"string","description":"Time (e.g., 15:04:05)","format":"time","example":"15:04:05"}},"securitySchemes":{"oAuth2AuthCode":{"type":"oauth2","description":"Oauth2","x-client-id":"1bb9c7df371741c0","x-client-secret":"a5b4de870aca620d10fbf63cd18d205b","flows":{"authorizationCode":{"authorizationUrl":"https://auth.eu.ovhcloud.com/oauth2/authorize","tokenUrl":"https://auth.eu.ovhcloud.com/oauth2/token","scopes":{"account/all":"Manage your account","all":"Manage your whole account and all your services","services/all":"Manage your services lifecycle and billing"}}}}}},"paths":{"/publicCloud/project/{projectId}/managedAnalytics/availability":{"get":{"operationId":"getManagedAnalyticsAvailabilities","summary":"List Analytics availabilities","description":"Returns the combinations of Analytics engine, version, plan and region that can be ordered, with their specifications. Use clusterId with action and target to get the options available for an existing service, for example the plans it can be updated to.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"query","name":"action","description":"Filter availabilities by action type","schema":{"$ref":"#/components/schemas/publicCloud.database.availability.ActionEnum"}},{"in":"query","name":"clusterId","description":"Restrict availabilities to a specific cluster","schema":{"type":"string","format":"uuid"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}},{"in":"query","name":"target","description":"Filter availabilities by target type","schema":{"$ref":"#/components/schemas/publicCloud.database.availability.TargetEnum"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.Availability"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@10"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/availability\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/availability\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/availability/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/availability/suggestion":{"get":{"operationId":"getManagedAnalyticsAvailabilitySuggestions","summary":"List Analytics availability suggestions","description":"Returns suggested combinations of Analytics engine, version, plan, flavor and region. The default suggestion is marked.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.availability.Suggestion"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@20"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/availability/suggestion\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/availability/suggestion\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/availability/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/capabilities/disks":{"get":{"operationId":"getManagedAnalyticsDisks","summary":"List Analytics disk types","description":"Returns the disk types available for Analytics services, with their IOPS and throughput specifications.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.capabilities.DiskType"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@70"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/disks\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/disks\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/capabilities/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/capabilities/engines":{"get":{"operationId":"getManagedAnalyticsEngines","summary":"List Analytics engines","description":"Returns the available Analytics engines with their versions, default version and supported TLS modes.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.EngineCapability"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@30"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/engines\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/engines\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/capabilities/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/capabilities/flavors":{"get":{"operationId":"getManagedAnalyticsFlavors","summary":"List Analytics flavors","description":"Returns the compute flavors available for Analytics services, with their technical specifications and lifecycle.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.capabilities.Flavor"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@60"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/flavors\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/flavors\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/capabilities/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/capabilities/options":{"get":{"operationId":"getManagedAnalyticsOptions","summary":"List Analytics options","description":"Returns the options available for Analytics services and their data type.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.capabilities.Option"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@80"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/options\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/options\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/capabilities/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/capabilities/plans":{"get":{"operationId":"getManagedAnalyticsPlans","summary":"List Analytics plans","description":"Returns the plans available for Analytics services, with their description and automatic backup retention.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.capabilities.Plan"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@50"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/plans\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/plans\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/capabilities/get","required":true}]}},"/publicCloud/project/{projectId}/managedAnalytics/capabilities/regions":{"get":{"operationId":"getManagedAnalyticsRegions","summary":"List Analytics regions","description":"Returns the regions available for Analytics services, with their type and lifecycle.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"header","name":"X-Pagination-Cursor","description":"Pagination cursor","schema":{"type":"string"}},{"in":"header","name":"X-Pagination-Size","description":"Pagination size","schema":{"type":"integer"}},{"in":"path","name":"projectId","description":"Project ID","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/publicCloud.database.capabilities.Region"}}}}}},"tags":["Managed Analytics","Capabilities & availability"],"x-developer-hub-navigation":[["Public Cloud","Project Management","Service references","Analytics"],["Public Cloud","Analytics","Service references@@@40"]],"x-badges":[{"color":"blue","label":"Beta version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/regions\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/v2/publicCloud/project/{projectId}/managedAnalytics/capabilities/regions\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"publicCloudProject:apiovh:analytics/capabilities/get","required":true}]}}},"tags":[{"name":"Managed Analytics","x-tag-expanded":false,"description":"Missing description"},{"name":"Capabilities & availability","x-tag-expanded":false,"description":"Missing description"}]}
