From 0a9c18cc5ac1ad5e264a206cb8019d016e70cbd6 Mon Sep 17 00:00:00 2001 From: Limin Gu Date: Mon, 30 Nov 2020 14:06:25 -0800 Subject: [PATCH] [Datadog] Fix swagger KPIs --- .../preview/2020-02-01-preview/datadog.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/specification/datadog/resource-manager/Microsoft.Datadog/preview/2020-02-01-preview/datadog.json b/specification/datadog/resource-manager/Microsoft.Datadog/preview/2020-02-01-preview/datadog.json index f44ce0804b10..d768a2994c98 100644 --- a/specification/datadog/resource-manager/Microsoft.Datadog/preview/2020-02-01-preview/datadog.json +++ b/specification/datadog/resource-manager/Microsoft.Datadog/preview/2020-02-01-preview/datadog.json @@ -1511,7 +1511,8 @@ "x-ms-enum": { "modelAsString": true, "name": "MonitoringStatus" - } + }, + "readOnly": true }, "MarketplaceSubscriptionStatus": { "description": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.", @@ -1523,7 +1524,8 @@ "x-ms-enum": { "modelAsString": true, "name": "MarketplaceSubscriptionStatus" - } + }, + "readOnly": true }, "DatadogOrganizationProperties": { "description": "Datadog organization properties", @@ -1544,14 +1546,16 @@ "type": "string", "x-ms-mutability": [ "create" - ] + ], + "x-ms-secret": true }, "linkingClientId": { "description": "The client_id from an existing in exchange for an auth token to link organization.", "type": "string", "x-ms-mutability": [ "create" - ] + ], + "x-ms-secret": true }, "enterpriseAppId": { "description": "The Id of the Enterprise App used for Single sign on.", @@ -1581,7 +1585,8 @@ "maxLength": 40, "type": "string" } - } + }, + "x-ms-secret": true }, "LiftrResourceCategories": { "enum": [ @@ -1894,7 +1899,8 @@ }, "singleSignOnUrl": { "description": "The login URL specific to this Datadog Organization.", - "type": "string" + "type": "string", + "readOnly": true } } },