From aa3a05205f90b3e6b7cf25a72a20981356ff5da9 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 15:10:04 +0000 Subject: [PATCH] Add region field and note about multiregion start (#1071) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 +++--- .generator/schemas/v1/openapi.yaml | 26 +++++++++++++------ .../apis/UsageMeteringApi.ts | 4 +-- .../models/HourlyUsageAttributionBody.ts | 8 ++++++ .../models/MonthlyUsageAttributionBody.ts | 8 ++++++ 5 files changed, 40 insertions(+), 14 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 8e23e74959b..c08866c2b3d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-04-10 11:13:56.873442", - "spec_repo_commit": "04eeb6ee" + "regenerated": "2023-04-10 15:00:16.484096", + "spec_repo_commit": "615bff17" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-04-10 11:13:56.891137", - "spec_repo_commit": "04eeb6ee" + "regenerated": "2023-04-10 15:00:16.496350", + "spec_repo_commit": "615bff17" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 83ee905c6ce..75147af0534 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3606,6 +3606,10 @@ components: public_id: description: The organization public ID. type: string + region: + description: The region of the Datadog instance that the organization belongs + to. + type: string tag_config_source: description: The source of the usage attribution tag configuration and the selected tags in the format of `:::///:::///::://////`. */ @@ -70,6 +74,10 @@ export class HourlyUsageAttributionBody { baseName: "public_id", type: "string", }, + region: { + baseName: "region", + type: "string", + }, tagConfigSource: { baseName: "tag_config_source", type: "string", diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts index 279d2ba94f9..64417967eef 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts @@ -23,6 +23,10 @@ export class MonthlyUsageAttributionBody { * The organization public ID. */ "publicId"?: string; + /** + * The region of the Datadog instance that the organization belongs to. + */ + "region"?: string; /** * The source of the usage attribution tag configuration and the selected tags in the format `::://////`. */ @@ -66,6 +70,10 @@ export class MonthlyUsageAttributionBody { baseName: "public_id", type: "string", }, + region: { + baseName: "region", + type: "string", + }, tagConfigSource: { baseName: "tag_config_source", type: "string",