Skip to content

Commit 365bbe9

Browse files
authored
[Datadog] Sync swagger from azure-rest-api-specs-pr RPSaaSMaster branch (#12918)
* [Datadog] Sync swagger from azure-rest-api-specs-pr RPSaaSMaster branch * Feedback * Update * Fix
1 parent 118ae92 commit 365bbe9

File tree

1 file changed

+48
-19
lines changed
  • specification/datadog/resource-manager/Microsoft.Datadog/preview/2020-02-01-preview

1 file changed

+48
-19
lines changed

specification/datadog/resource-manager/Microsoft.Datadog/preview/2020-02-01-preview/datadog.json

Lines changed: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"Agreements"
7575
],
7676
"summary": "Create Datadog marketplace agreement in the subscription.",
77-
"operationId": "MarketplaceAgreements_Create",
77+
"operationId": "MarketplaceAgreements_CreateOrUpdate",
7878
"consumes": [
7979
"application/json"
8080
],
@@ -111,7 +111,7 @@
111111
}
112112
},
113113
"x-ms-examples": {
114-
"MarketplaceAgreements_Create": {
114+
"MarketplaceAgreements_CreateOrUpdate": {
115115
"$ref": "./examples/MarketplaceAgreements_Create.json"
116116
}
117117
}
@@ -123,7 +123,7 @@
123123
"ApiKey"
124124
],
125125
"summary": "List the api keys for a given monitor resource.",
126-
"operationId": "ApiKeys_List",
126+
"operationId": "Monitors_ListApiKeys",
127127
"produces": [
128128
"application/json"
129129
],
@@ -159,7 +159,7 @@
159159
"nextLinkName": "nextLink"
160160
},
161161
"x-ms-examples": {
162-
"ApiKeys_List": {
162+
"Monitors_ListApiKeys": {
163163
"$ref": "./examples/ApiKeys_List.json"
164164
}
165165
}
@@ -171,7 +171,7 @@
171171
"ApiKey"
172172
],
173173
"summary": "Get the default api key.",
174-
"operationId": "ApiKeys_GetDefaultKey",
174+
"operationId": "Monitors_GetDefaultKey",
175175
"produces": [
176176
"application/json"
177177
],
@@ -204,7 +204,7 @@
204204
}
205205
},
206206
"x-ms-examples": {
207-
"ApiKeys_GetDefaultKey": {
207+
"Monitors_GetDefaultKey": {
208208
"$ref": "./examples/ApiKeys_GetDefaultKey.json"
209209
}
210210
}
@@ -216,7 +216,7 @@
216216
"ApiKey"
217217
],
218218
"summary": "Set the default api key.",
219-
"operationId": "ApiKeys_SetDefaultKey",
219+
"operationId": "Monitors_SetDefaultKey",
220220
"consumes": [
221221
"application/json"
222222
],
@@ -256,7 +256,7 @@
256256
}
257257
},
258258
"x-ms-examples": {
259-
"ApiKeys_SetDefaultKey": {
259+
"Monitors_SetDefaultKey": {
260260
"$ref": "./examples/ApiKeys_SetDefaultKey.json"
261261
}
262262
}
@@ -268,7 +268,7 @@
268268
"Hosts"
269269
],
270270
"summary": "List the hosts for a given monitor resource.",
271-
"operationId": "Hosts_List",
271+
"operationId": "Monitors_ListHosts",
272272
"produces": [
273273
"application/json"
274274
],
@@ -304,7 +304,7 @@
304304
"nextLinkName": "nextLink"
305305
},
306306
"x-ms-examples": {
307-
"Hosts_List": {
307+
"Monitors_ListHosts": {
308308
"$ref": "./examples/Hosts_List.json"
309309
}
310310
}
@@ -316,7 +316,7 @@
316316
"LinkedResources"
317317
],
318318
"summary": "List all Azure resources associated to the same Datadog organization as the target resource.",
319-
"operationId": "LinkedResources_List",
319+
"operationId": "Monitors_ListLinkedResources",
320320
"produces": [
321321
"application/json"
322322
],
@@ -352,7 +352,7 @@
352352
"nextLinkName": "nextLink"
353353
},
354354
"x-ms-examples": {
355-
"LinkedResources_List": {
355+
"Monitors_ListLinkedResources": {
356356
"$ref": "./examples/LinkedResources_List.json"
357357
}
358358
}
@@ -364,7 +364,7 @@
364364
"MonitoredResources"
365365
],
366366
"summary": "List the resources currently being monitored by the Datadog monitor resource.",
367-
"operationId": "MonitoredResources_List",
367+
"operationId": "Monitors_ListMonitoredResources",
368368
"produces": [
369369
"application/json"
370370
],
@@ -400,7 +400,7 @@
400400
"nextLinkName": "nextLink"
401401
},
402402
"x-ms-examples": {
403-
"MonitoredResources_List": {
403+
"Monitors_ListMonitoredResources": {
404404
"$ref": "./examples/MonitoredResources_List.json"
405405
}
406406
}
@@ -746,7 +746,7 @@
746746
"RefreshSetPasswordLink"
747747
],
748748
"summary": "Refresh the set password link and return a latest one.",
749-
"operationId": "RefreshSetPassword_Get",
749+
"operationId": "Monitors_RefreshSetPasswordLink",
750750
"produces": [
751751
"application/json"
752752
],
@@ -779,7 +779,7 @@
779779
}
780780
},
781781
"x-ms-examples": {
782-
"RefreshSetPassword_Get": {
782+
"Monitors_RefreshSetPasswordLink": {
783783
"$ref": "./examples/RefreshSetPassword_Get.json"
784784
}
785785
}
@@ -1517,14 +1517,15 @@
15171517
"x-ms-enum": {
15181518
"modelAsString": true,
15191519
"name": "MonitoringStatus"
1520-
},
1521-
"readOnly": true
1520+
}
15221521
},
15231522
"MarketplaceSubscriptionStatus": {
15241523
"description": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.",
15251524
"enum": [
1525+
"Provisioning",
15261526
"Active",
1527-
"Suspended"
1527+
"Suspended",
1528+
"Unsubscribed"
15281529
],
15291530
"type": "string",
15301531
"x-ms-enum": {
@@ -1558,6 +1559,28 @@
15581559
"linkingClientId": {
15591560
"description": "The client_id from an existing in exchange for an auth token to link organization.",
15601561
"type": "string",
1562+
"x-ms-mutability": [
1563+
"create"
1564+
]
1565+
},
1566+
"redirectUri": {
1567+
"description": "The redirect uri for linking.",
1568+
"type": "string",
1569+
"x-ms-mutability": [
1570+
"create"
1571+
]
1572+
},
1573+
"apiKey": {
1574+
"description": "Api key associated to the Datadog organization.",
1575+
"type": "string",
1576+
"x-ms-mutability": [
1577+
"create"
1578+
],
1579+
"x-ms-secret": true
1580+
},
1581+
"applicationKey": {
1582+
"description": "Application key associated to the Datadog organization.",
1583+
"type": "string",
15611584
"x-ms-mutability": [
15621585
"create"
15631586
],
@@ -1829,6 +1852,9 @@
18291852
"description": "Definition of the properties for a TagRules resource.",
18301853
"type": "object",
18311854
"properties": {
1855+
"provisioningState": {
1856+
"$ref": "#/definitions/ProvisioningState"
1857+
},
18321858
"logRules": {
18331859
"$ref": "#/definitions/LogRules"
18341860
},
@@ -1896,6 +1922,9 @@
18961922
"DatadogSingleSignOnProperties": {
18971923
"type": "object",
18981924
"properties": {
1925+
"provisioningState": {
1926+
"$ref": "#/definitions/ProvisioningState"
1927+
},
18991928
"singleSignOnState": {
19001929
"$ref": "#/definitions/SingleSignOnStates"
19011930
},

0 commit comments

Comments
 (0)