Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for GCP config endpoints #26942

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-17 14:25:24.590035",
"spec_repo_commit": "60205e12"
"regenerated": "2025-01-17 20:08:52.013496",
"spec_repo_commit": "127642e2"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-17 14:25:32.955754",
"spec_repo_commit": "60205e12"
"regenerated": "2025-01-17 20:08:59.958113",
"spec_repo_commit": "127642e2"
}
}
}
48 changes: 48 additions & 0 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5172,6 +5172,54 @@ menu:
url: /api/latest/cloud-cost-management/
identifier: cloud-cost-management
generated: true
- name: Update Cloud Cost Management GCP Usage Cost config
url: '#update-cloud-cost-management-gcp-usage-cost-config'
identifier: cloud-cost-management-update-cloud-cost-management-gcp-usage-cost-config
parent: cloud-cost-management
generated: true
params:
versions:
- v2
operationids:
- UpdateCostGCPUsageCostConfig
unstable: []
order: 2
- name: Delete Cloud Cost Management GCP Usage Cost config
url: '#delete-cloud-cost-management-gcp-usage-cost-config'
identifier: cloud-cost-management-delete-cloud-cost-management-gcp-usage-cost-config
parent: cloud-cost-management
generated: true
params:
versions:
- v2
operationids:
- DeleteCostGCPUsageCostConfig
unstable: []
order: 4
- name: Create Cloud Cost Management GCP Usage Cost config
url: '#create-cloud-cost-management-gcp-usage-cost-config'
identifier: cloud-cost-management-create-cloud-cost-management-gcp-usage-cost-config
parent: cloud-cost-management
generated: true
params:
versions:
- v2
operationids:
- CreateCostGCPUsageCostConfig
unstable: []
order: 3
- name: List Cloud Cost Management GCP Usage Cost configs
url: '#list-cloud-cost-management-gcp-usage-cost-configs'
identifier: cloud-cost-management-list-cloud-cost-management-gcp-usage-cost-configs
parent: cloud-cost-management
generated: true
params:
versions:
- v2
operationids:
- ListCostGCPUsageCostConfigs
unstable: []
order: 1
- name: Get Custom Costs file
url: '#get-custom-costs-file'
identifier: cloud-cost-management-get-custom-costs-file
Expand Down
232 changes: 232 additions & 0 deletions content/en/api/v2/cloud-cost-management/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"data": {
"attributes": {
"account_id": "123456_A123BC_12AB34",
"bucket_name": "dd-cost-bucket",
"dataset": "billing",
"export_prefix": "datadog_cloud_cost_usage_export",
"export_project_name": "dd-cloud-cost-report",
"service_account": "dd-ccm-gcp-integration@my-environment.iam.gserviceaccount.com"
},
"type": "gcp_usage_cost_config_post_request"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"data": {
"attributes": {
"is_enabled": true
},
"type": "gcp_usage_cost_config_patch_request"
}
}
14 changes: 14 additions & 0 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,13 @@
"description": "Create Cloud Cost Management Azure configs returns \"OK\" response"
}
],
"CreateCostGCPUsageCostConfig": [
{
"group": "cloud_cost_management",
"suffix": "",
"description": "Create Cloud Cost Management GCP Usage Cost config returns \"OK\" response"
}
],
"UpdateCostAWSCURConfig": [
{
"group": "cloud_cost_management",
Expand All @@ -255,6 +262,13 @@
"description": "Update Cloud Cost Management Azure config returns \"OK\" response"
}
],
"UpdateCostGCPUsageCostConfig": [
{
"group": "cloud_cost_management",
"suffix": "",
"description": "Update Cloud Cost Management GCP Usage Cost config returns \"OK\" response"
}
],
"UploadCustomCostsFile": [
{
"group": "cloud_cost_management",
Expand Down
Loading
Loading