262 lines
11 KiB
JSON
262 lines
11 KiB
JSON
{
|
|
"name": "UpdateConfluentAccount",
|
|
"fully_qualified_name": "DatadogApi.UpdateConfluentAccount@0.1.0",
|
|
"description": "Updates the Confluent account details.\n\nUse this tool to update the details of a Confluent account by providing the account ID. It ensures the account information is current and accurately reflects any required changes.",
|
|
"toolkit": {
|
|
"name": "ArcadeDatadogApi",
|
|
"description": null,
|
|
"version": "0.1.0"
|
|
},
|
|
"input": {
|
|
"parameters": [
|
|
{
|
|
"name": "confluent_account_id",
|
|
"required": true,
|
|
"description": "The unique ID of the Confluent account to be updated.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Confluent Account ID."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "account_id"
|
|
},
|
|
{
|
|
"name": "confluent_api_key",
|
|
"required": true,
|
|
"description": "Provide the API key associated with your Confluent account.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The API key associated with your Confluent account."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "data.attributes.api_key"
|
|
},
|
|
{
|
|
"name": "confluent_api_secret",
|
|
"required": true,
|
|
"description": "The API secret for the Confluent account. Required to authenticate and update the account details.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The API secret associated with your Confluent account."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "data.attributes.api_secret"
|
|
},
|
|
{
|
|
"name": "api_type",
|
|
"required": true,
|
|
"description": "Set this to `confluent-cloud-accounts` to specify the JSON:API type for the update request.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"confluent-cloud-accounts"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The JSON:API type for this API. Should always be `confluent-cloud-accounts`."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "data.type"
|
|
},
|
|
{
|
|
"name": "tags_list",
|
|
"required": false,
|
|
"description": "A list of tag strings for the account. Use single keys or key-value pairs separated by a colon.",
|
|
"value_schema": {
|
|
"val_type": "array",
|
|
"inner_val_type": "string",
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "data.attributes.tags"
|
|
}
|
|
]
|
|
},
|
|
"output": {
|
|
"description": "Response from the API endpoint 'UpdateConfluentAccount'.",
|
|
"available_modes": [
|
|
"value",
|
|
"error",
|
|
"null"
|
|
],
|
|
"value_schema": {
|
|
"val_type": "json",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
}
|
|
},
|
|
"requirements": {
|
|
"authorization": null,
|
|
"secrets": [
|
|
{
|
|
"key": "DATADOG_API_KEY"
|
|
},
|
|
{
|
|
"key": "DATADOG_APPLICATION_KEY"
|
|
},
|
|
{
|
|
"key": "DATADOG_BASE_URL"
|
|
}
|
|
],
|
|
"metadata": null
|
|
},
|
|
"deprecation_message": null,
|
|
"metadata": {
|
|
"object_type": "api_wrapper_tool",
|
|
"version": "1.1.0",
|
|
"description": "Tools that enable LLMs to interact directly with the Datadog API."
|
|
},
|
|
"http_endpoint": {
|
|
"metadata": {
|
|
"object_type": "http_endpoint",
|
|
"version": "1.2.0",
|
|
"description": ""
|
|
},
|
|
"url": "https://{datadog_base_url}/api/v2/integrations/confluent-cloud/accounts/{account_id}",
|
|
"http_method": "PATCH",
|
|
"headers": {},
|
|
"parameters": [
|
|
{
|
|
"name": "account_id",
|
|
"tool_parameter_name": "confluent_account_id",
|
|
"description": "Confluent Account ID.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Confluent Account ID."
|
|
},
|
|
"accepted_as": "path",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "data.attributes.api_key",
|
|
"tool_parameter_name": "confluent_api_key",
|
|
"description": "The API key associated with your Confluent account.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The API key associated with your Confluent account."
|
|
},
|
|
"accepted_as": "body",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "data.attributes.api_secret",
|
|
"tool_parameter_name": "confluent_api_secret",
|
|
"description": "The API secret associated with your Confluent account.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The API secret associated with your Confluent account."
|
|
},
|
|
"accepted_as": "body",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "data.attributes.tags",
|
|
"tool_parameter_name": "tags_list",
|
|
"description": "A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.",
|
|
"value_schema": {
|
|
"val_type": "array",
|
|
"inner_val_type": "string",
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon."
|
|
},
|
|
"accepted_as": "body",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "data.type",
|
|
"tool_parameter_name": "api_type",
|
|
"description": "The JSON:API type for this API. Should always be `confluent-cloud-accounts`.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"confluent-cloud-accounts"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The JSON:API type for this API. Should always be `confluent-cloud-accounts`."
|
|
},
|
|
"accepted_as": "body",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": "confluent-cloud-accounts",
|
|
"documentation_urls": []
|
|
}
|
|
],
|
|
"documentation_urls": [],
|
|
"secrets": [
|
|
{
|
|
"arcade_key": "DATADOG_API_KEY",
|
|
"parameter_name": "DD-API-KEY",
|
|
"accepted_as": "header",
|
|
"formatted_value": null,
|
|
"description": "",
|
|
"is_auth_token": false
|
|
},
|
|
{
|
|
"arcade_key": "DATADOG_APPLICATION_KEY",
|
|
"parameter_name": "DD-APPLICATION-KEY",
|
|
"accepted_as": "header",
|
|
"formatted_value": null,
|
|
"description": "",
|
|
"is_auth_token": false
|
|
},
|
|
{
|
|
"arcade_key": "DATADOG_BASE_URL",
|
|
"parameter_name": "datadog_base_url",
|
|
"accepted_as": "path",
|
|
"formatted_value": null,
|
|
"description": "",
|
|
"is_auth_token": false
|
|
}
|
|
],
|
|
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"description\": \"The JSON:API request for updating a Confluent account.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Data object for updating a Confluent account.\",\n \"properties\": {\n \"attributes\": {\n \"description\": \"Attributes object for updating a Confluent account.\",\n \"properties\": {\n \"api_key\": {\n \"description\": \"The API key associated with your Confluent account.\",\n \"example\": \"TESTAPIKEY123\",\n \"type\": \"string\"\n },\n \"api_secret\": {\n \"description\": \"The API secret associated with your Confluent account.\",\n \"example\": \"test-api-secret-123\",\n \"type\": \"string\"\n },\n \"tags\": {\n \"description\": \"A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.\",\n \"example\": [\n \"myTag\",\n \"myTag2:myValue\"\n ],\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"api_key\",\n \"api_secret\"\n ],\n \"type\": \"object\"\n },\n \"type\": {\n \"default\": \"confluent-cloud-accounts\",\n \"description\": \"The JSON:API type for this API. Should always be `confluent-cloud-accounts`.\",\n \"enum\": [\n \"confluent-cloud-accounts\"\n ],\n \"example\": \"confluent-cloud-accounts\",\n \"type\": \"string\",\n \"x-enum-varnames\": [\n \"CONFLUENT_CLOUD_ACCOUNTS\"\n ]\n }\n },\n \"required\": [\n \"attributes\",\n \"type\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"data\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Confluent payload\",\n \"required\": true\n}",
|
|
"use_request_body_schema_mode": false,
|
|
"validate_request_body_schema": false
|
|
}
|
|
}
|