Skip to content

Commit ff7b247

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specamaskara-dd
authoredDec 18, 2024
Regenerate client from commit 8cb3faac of spec repo (#1968)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: amaskara-dd <175134603+amaskara-dd@users.noreply.github.com>
1 parent a5cac89 commit ff7b247

File tree

14 files changed

+131
-93
lines changed

14 files changed

+131
-93
lines changed
 

‎.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-12-18 16:21:36.811067",
8-
"spec_repo_commit": "e12aeab9"
7+
"regenerated": "2024-12-18 17:18:37.759145",
8+
"spec_repo_commit": "8cb3faac"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-18 16:21:36.828243",
13-
"spec_repo_commit": "e12aeab9"
12+
"regenerated": "2024-12-18 17:18:37.774123",
13+
"spec_repo_commit": "8cb3faac"
1414
}
1515
}
1616
}

‎.generator/schemas/v1/openapi.yaml

+32-23
Original file line numberDiff line numberDiff line change
@@ -844,8 +844,15 @@ components:
844844
Only hosts that match one of the defined tags are imported into Datadog.'
845845
example: key:value,filter:example
846846
type: string
847-
metrics_config:
848-
$ref: '#/components/schemas/AzureAccountMetricsConfig'
847+
metrics_enabled:
848+
description: Enable Azure metrics for your organization.
849+
example: true
850+
type: boolean
851+
metrics_enabled_default:
852+
description: Enable Azure metrics for your organization for resource providers
853+
where no resource provider config is specified.
854+
example: true
855+
type: boolean
849856
new_client_id:
850857
description: Your New Azure web application ID.
851858
example: new1c7f6-1234-5678-9101-3fcbf464test
@@ -860,37 +867,26 @@ components:
860867
monitored by this app registration.
861868
example: true
862869
type: boolean
870+
resource_provider_configs:
871+
description: Configuration settings applied to resources from the specified
872+
Azure resource providers.
873+
items:
874+
$ref: '#/components/schemas/ResourceProviderConfig'
875+
type: array
863876
tenant_name:
864877
description: Your Azure Active Directory ID.
865878
example: testc44-1234-5678-9101-cc00736ftest
866879
type: string
880+
usage_metrics_enabled:
881+
description: Enable azure.usage metrics for your organization.
882+
example: true
883+
type: boolean
867884
type: object
868885
AzureAccountListResponse:
869886
description: Accounts configured for your organization.
870887
items:
871888
$ref: '#/components/schemas/AzureAccount'
872889
type: array
873-
AzureAccountMetricsConfig:
874-
description: 'Dictionary containing the key `excluded_resource_providers` which
875-
has to be a list of Microsoft Azure Resource Provider names.
876-
877-
This feature is currently being beta tested.
878-
879-
In order to enable all resource providers for metric collection, pass:
880-
881-
`metrics_config: {"excluded_resource_providers": []}` (i.e., an empty list
882-
for `excluded_resource_providers`).'
883-
properties:
884-
excluded_resource_providers:
885-
description: List of Microsoft Azure Resource Providers to exclude from
886-
metric collection.
887-
example:
888-
- Microsoft.Sql
889-
- Microsoft.Cdn
890-
items:
891-
type: string
892-
type: array
893-
type: object
894890
CancelDowntimesByScopeRequest:
895891
description: Cancel downtimes according to scope.
896892
properties:
@@ -10209,6 +10205,19 @@ components:
1020910205
- lookup_enrichment_table
1021010206
- type
1021110207
type: object
10208+
ResourceProviderConfig:
10209+
description: Configuration settings applied to resources from the specified
10210+
Azure resource provider.
10211+
properties:
10212+
metrics_enabled:
10213+
description: Collect metrics for resources from this provider.
10214+
example: true
10215+
type: boolean
10216+
namespace:
10217+
description: The provider namespace to apply this configuration to.
10218+
example: Microsoft.Compute
10219+
type: string
10220+
type: object
1021210221
ResponseMetaAttributes:
1021310222
description: Object describing meta attributes of response.
1021410223
properties:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-07-25T18:47:35.517Z"
1+
"2024-12-17T21:43:00.678Z"

‎cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/recording.har

+14-14
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "a4786fba223ec55e474f89e7ba3e291f",
11+
"_id": "4e2e023bb6c56332096971d544522742",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 614,
15+
"bodySize": 756,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,13 +26,13 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 574,
29+
"headersSize": 573,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
35+
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_enabled\":true,\"metrics_enabled_default\":true,\"new_client_id\":\"17344717-0000-0000-0000-173447178000\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178000\",\"resource_collection_enabled\":true,\"resource_provider_configs\":[{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Compute\"},{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Web\"}],\"tenant_name\":\"17344717-0000-0000-0000-173447178000\",\"usage_metrics_enabled\":true}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2024-07-25T18:47:35.525Z",
61-
"time": 162
60+
"startedDateTime": "2024-12-17T21:43:00.686Z",
61+
"time": 164
6262
},
6363
{
64-
"_id": "92cc025e6a5dac9ca6af65450cdedad1",
64+
"_id": "18bf59b15d582ef71a8b79afe390d743",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -85,7 +85,7 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
88+
"text": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -110,11 +110,11 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2024-07-25T18:47:35.696Z",
114-
"time": 130
113+
"startedDateTime": "2024-12-17T21:43:00.855Z",
114+
"time": 138
115115
},
116116
{
117-
"_id": "92cc025e6a5dac9ca6af65450cdedad1",
117+
"_id": "18bf59b15d582ef71a8b79afe390d743",
118118
"_order": 1,
119119
"cache": {},
120120
"request": {
@@ -138,7 +138,7 @@
138138
"postData": {
139139
"mimeType": "application/json",
140140
"params": [],
141-
"text": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
141+
"text": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}"
142142
},
143143
"queryString": [],
144144
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -163,8 +163,8 @@
163163
"status": 200,
164164
"statusText": "OK"
165165
},
166-
"startedDateTime": "2024-07-25T18:47:35.835Z",
167-
"time": 123
166+
"startedDateTime": "2024-12-17T21:43:00.999Z",
167+
"time": 112
168168
}
169169
],
170170
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-07-25T18:47:35.975Z"
1+
"2024-12-17T21:43:01.129Z"

‎cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/recording.har

+14-14
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "a4786fba223ec55e474f89e7ba3e291f",
11+
"_id": "6ba1c834178d7fbd05a98c57c5b3a59c",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 614,
15+
"bodySize": 756,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
35+
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_enabled\":true,\"metrics_enabled_default\":true,\"new_client_id\":\"17344717-0000-0000-0000-173447178100\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"resource_collection_enabled\":true,\"resource_provider_configs\":[{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Compute\"},{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Web\"}],\"tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"usage_metrics_enabled\":true}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -57,15 +57,15 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2024-07-25T18:47:35.979Z",
61-
"time": 132
60+
"startedDateTime": "2024-12-17T21:43:01.132Z",
61+
"time": 161
6262
},
6363
{
64-
"_id": "4b7878a346702d19bc5fb0a28b21768c",
64+
"_id": "d21774b07473079b4c57d1a122d1c43a",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
68-
"bodySize": 614,
68+
"bodySize": 531,
6969
"cookies": [],
7070
"headers": [
7171
{
@@ -85,7 +85,7 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
88+
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17344717-0000-0000-0000-173447178100\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"resource_collection_enabled\":true,\"tenant_name\":\"17344717-0000-0000-0000-173447178100\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -110,11 +110,11 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2024-07-25T18:47:36.121Z",
114-
"time": 129
113+
"startedDateTime": "2024-12-17T21:43:01.298Z",
114+
"time": 158
115115
},
116116
{
117-
"_id": "92cc025e6a5dac9ca6af65450cdedad1",
117+
"_id": "5f728266903295f35a6347b82c4cbe45",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -138,7 +138,7 @@
138138
"postData": {
139139
"mimeType": "application/json",
140140
"params": [],
141-
"text": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
141+
"text": "{\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"tenant_name\":\"17344717-0000-0000-0000-173447178100\"}"
142142
},
143143
"queryString": [],
144144
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -163,8 +163,8 @@
163163
"status": 200,
164164
"statusText": "OK"
165165
},
166-
"startedDateTime": "2024-07-25T18:47:36.259Z",
167-
"time": 118
166+
"startedDateTime": "2024-12-17T21:43:01.461Z",
167+
"time": 121
168168
}
169169
],
170170
"pages": [],

‎examples/v1/azure-integration/UpdateAzureHostFilters.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,19 @@ const params: v1.AzureIntegrationApiUpdateAzureHostFiltersRequest = {
1818
customMetricsEnabled: true,
1919
errors: ["*"],
2020
hostFilters: "key:value,filter:example",
21-
metricsConfig: {
22-
excludedResourceProviders: ["Microsoft.Sql", "Microsoft.Cdn"],
23-
},
21+
metricsEnabled: true,
22+
metricsEnabledDefault: true,
2423
newClientId: "new1c7f6-1234-5678-9101-3fcbf464test",
2524
newTenantName: "new1c44-1234-5678-9101-cc00736ftest",
2625
resourceCollectionEnabled: true,
26+
resourceProviderConfigs: [
27+
{
28+
metricsEnabled: true,
29+
namespace: "Microsoft.Compute",
30+
},
31+
],
2732
tenantName: "testc44-1234-5678-9101-cc00736ftest",
33+
usageMetricsEnabled: true,
2834
},
2935
};
3036

‎examples/v1/azure-integration/UpdateAzureIntegration.ts

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ const params: v1.AzureIntegrationApiUpdateAzureIntegrationRequest = {
2121
newClientId: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2222
newTenantName: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2323
resourceCollectionEnabled: true,
24-
metricsConfig: {
25-
excludedResourceProviders: ["Microsoft.Sql", "Microsoft.Cdn"],
26-
},
2724
tenantName: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2825
},
2926
};

0 commit comments

Comments
 (0)