Skip to content

Commit 3c097b0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 8292e96 of spec repo (DataDog#3378)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent ce770a6 commit 3c097b0

31 files changed

Lines changed: 593 additions & 2544 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 177 additions & 531 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# List Cloud Cost Management tag metadata months returns "OK" response
2+
3+
require "datadog_api_client"
4+
DatadogAPIClient.configure do |config|
5+
config.unstable_operations["v2.list_cost_tag_metadata_months".to_sym] = true
6+
end
7+
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
8+
p api_instance.list_cost_tag_metadata_months("filter[provider]")

examples/v2/oauth2-client-public/DeleteScopesRestriction.rb

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/v2/oauth2-client-public/GetScopesRestriction.rb

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/v2/oauth2-client-public/RegisterOAuthClient.rb

Lines changed: 0 additions & 29 deletions
This file was deleted.

examples/v2/oauth2-client-public/UpsertScopesRestriction.rb

Lines changed: 0 additions & 24 deletions
This file was deleted.

features/scenarios_model_mapping.rb

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2643,6 +2643,9 @@
26432643
"filter_month" => "String",
26442644
"filter_provider" => "String",
26452645
},
2646+
"v2.ListCostTagMetadataMonths" => {
2647+
"filter_provider" => "String",
2648+
},
26462649
"v2.ListCostTagMetadataOrchestrators" => {
26472650
"filter_month" => "String",
26482651
"filter_provider" => "String",
@@ -3875,19 +3878,6 @@
38753878
"tags" => "String",
38763879
"limit" => "Integer",
38773880
},
3878-
"v2.DeleteScopesRestriction" => {
3879-
"client_uuid" => "UUID",
3880-
},
3881-
"v2.GetScopesRestriction" => {
3882-
"client_uuid" => "UUID",
3883-
},
3884-
"v2.UpsertScopesRestriction" => {
3885-
"client_uuid" => "UUID",
3886-
"body" => "UpsertOAuthScopesRestrictionRequest",
3887-
},
3888-
"v2.RegisterOAuthClient" => {
3889-
"body" => "OAuthClientRegistrationRequest",
3890-
},
38913881
"v2.ListPipelines" => {
38923882
"page_size" => "Integer",
38933883
"page_number" => "Integer",

features/v2/cloud_cost_management.feature

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,22 @@ Feature: Cloud Cost Management
606606
When the request is sent
607607
Then the response status is 200 OK
608608

609+
@generated @skip @team:DataDog/cloud-cost-management
610+
Scenario: List Cloud Cost Management tag metadata months returns "Bad Request" response
611+
Given operation "ListCostTagMetadataMonths" enabled
612+
And new "ListCostTagMetadataMonths" request
613+
And request contains "filter[provider]" parameter from "REPLACE.ME"
614+
When the request is sent
615+
Then the response status is 400 Bad Request
616+
617+
@generated @skip @team:DataDog/cloud-cost-management
618+
Scenario: List Cloud Cost Management tag metadata months returns "OK" response
619+
Given operation "ListCostTagMetadataMonths" enabled
620+
And new "ListCostTagMetadataMonths" request
621+
And request contains "filter[provider]" parameter from "REPLACE.ME"
622+
When the request is sent
623+
Then the response status is 200 OK
624+
609625
@generated @skip @team:DataDog/cloud-cost-management
610626
Scenario: List Cloud Cost Management tag sources returns "Bad Request" response
611627
Given operation "ListCostTagKeySources" enabled

features/v2/oauth2_client_public.feature

Lines changed: 0 additions & 100 deletions
This file was deleted.

features/v2/undo.json

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,6 +1898,12 @@
18981898
"type": "safe"
18991899
}
19001900
},
1901+
"ListCostTagMetadataMonths": {
1902+
"tag": "Cloud Cost Management",
1903+
"undo": {
1904+
"type": "safe"
1905+
}
1906+
},
19011907
"ListCostTagMetadataOrchestrators": {
19021908
"tag": "Cloud Cost Management",
19031909
"undo": {
@@ -4666,30 +4672,6 @@
46664672
"type": "safe"
46674673
}
46684674
},
4669-
"DeleteScopesRestriction": {
4670-
"tag": "OAuth2 Client Public",
4671-
"undo": {
4672-
"type": "idempotent"
4673-
}
4674-
},
4675-
"GetScopesRestriction": {
4676-
"tag": "OAuth2 Client Public",
4677-
"undo": {
4678-
"type": "safe"
4679-
}
4680-
},
4681-
"UpsertScopesRestriction": {
4682-
"tag": "OAuth2 Client Public",
4683-
"undo": {
4684-
"type": "idempotent"
4685-
}
4686-
},
4687-
"RegisterOAuthClient": {
4688-
"tag": "OAuth2 Client Public",
4689-
"undo": {
4690-
"type": "idempotent"
4691-
}
4692-
},
46934675
"ListPipelines": {
46944676
"tag": "Observability Pipelines",
46954677
"undo": {

0 commit comments

Comments
 (0)