@azure/arm-datadog 1.0.0 → 3.0.0-alpha.20220113.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -70
  4. package/dist/index.js +3359 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/microsoftDatadogClient.d.ts +22 -0
  17. package/dist-esm/src/microsoftDatadogClient.d.ts.map +1 -0
  18. package/dist-esm/src/microsoftDatadogClient.js +55 -0
  19. package/dist-esm/src/microsoftDatadogClient.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +790 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +69 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +42 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +554 -596
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +18 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +145 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +1 -2
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
  37. package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
  38. package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
  39. package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
  40. package/dist-esm/src/operations/monitors.d.ts +220 -0
  41. package/dist-esm/src/operations/monitors.d.ts.map +1 -0
  42. package/dist-esm/src/operations/monitors.js +1035 -0
  43. package/dist-esm/src/operations/monitors.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/singleSignOnConfigurations.d.ts +63 -0
  49. package/dist-esm/src/operations/singleSignOnConfigurations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/singleSignOnConfigurations.js +256 -0
  51. package/dist-esm/src/operations/singleSignOnConfigurations.js.map +1 -0
  52. package/dist-esm/src/operations/tagRules.d.ts +54 -0
  53. package/dist-esm/src/operations/tagRules.d.ts.map +1 -0
  54. package/dist-esm/src/operations/tagRules.js +203 -0
  55. package/dist-esm/src/operations/tagRules.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  57. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  59. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  61. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  62. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/marketplaceAgreements.js} +2 -9
  63. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/monitors.d.ts +116 -0
  65. package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +1 -0
  66. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/monitors.js} +2 -1
  67. package/dist-esm/src/operationsInterfaces/monitors.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts +38 -0
  73. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/tagRules.d.ts +29 -0
  77. package/dist-esm/src/operationsInterfaces/tagRules.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/tagRules.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/tagRules.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +65 -21
  85. package/review/arm-datadog.api.md +746 -0
  86. package/rollup.config.js +181 -30
  87. package/src/index.ts +12 -0
  88. package/src/lroImpl.ts +34 -0
  89. package/src/microsoftDatadogClient.ts +80 -34
  90. package/src/models/index.ts +652 -1254
  91. package/src/models/mappers.ts +564 -605
  92. package/src/models/parameters.ts +104 -34
  93. package/src/operations/index.ts +1 -2
  94. package/src/operations/marketplaceAgreements.ts +110 -116
  95. package/src/operations/monitors.ts +1010 -696
  96. package/src/operations/operations.ts +87 -75
  97. package/src/operations/singleSignOnConfigurations.ts +247 -166
  98. package/src/operations/tagRules.ts +169 -171
  99. package/src/operationsInterfaces/index.ts +13 -0
  100. package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
  101. package/src/operationsInterfaces/monitors.ts +220 -0
  102. package/src/operationsInterfaces/operations.ts +22 -0
  103. package/src/operationsInterfaces/singleSignOnConfigurations.ts +78 -0
  104. package/src/operationsInterfaces/tagRules.ts +59 -0
  105. package/tsconfig.json +3 -3
  106. package/types/arm-datadog.d.ts +1130 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-datadog.js +0 -2959
  109. package/dist/arm-datadog.js.map +0 -1
  110. package/dist/arm-datadog.min.js +0 -1
  111. package/dist/arm-datadog.min.js.map +0 -1
  112. package/esm/microsoftDatadogClient.d.ts +0 -22
  113. package/esm/microsoftDatadogClient.d.ts.map +0 -1
  114. package/esm/microsoftDatadogClient.js +0 -36
  115. package/esm/microsoftDatadogClient.js.map +0 -1
  116. package/esm/microsoftDatadogClientContext.d.ts +0 -16
  117. package/esm/microsoftDatadogClientContext.d.ts.map +0 -1
  118. package/esm/microsoftDatadogClientContext.js +0 -55
  119. package/esm/microsoftDatadogClientContext.js.map +0 -1
  120. package/esm/models/index.d.ts +0 -1397
  121. package/esm/models/index.d.ts.map +0 -1
  122. package/esm/models/index.js.map +0 -1
  123. package/esm/models/mappers.d.ts +0 -44
  124. package/esm/models/mappers.d.ts.map +0 -1
  125. package/esm/models/mappers.js.map +0 -1
  126. package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
  127. package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
  128. package/esm/models/marketplaceAgreementsMappers.js +0 -9
  129. package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
  130. package/esm/models/monitorsMappers.d.ts +0 -2
  131. package/esm/models/monitorsMappers.d.ts.map +0 -1
  132. package/esm/models/monitorsMappers.js +0 -9
  133. package/esm/models/monitorsMappers.js.map +0 -1
  134. package/esm/models/operationsMappers.d.ts +0 -2
  135. package/esm/models/operationsMappers.d.ts.map +0 -1
  136. package/esm/models/operationsMappers.js.map +0 -1
  137. package/esm/models/parameters.d.ts +0 -10
  138. package/esm/models/parameters.d.ts.map +0 -1
  139. package/esm/models/parameters.js +0 -101
  140. package/esm/models/parameters.js.map +0 -1
  141. package/esm/models/singleSignOnConfigurationsMappers.d.ts +0 -2
  142. package/esm/models/singleSignOnConfigurationsMappers.d.ts.map +0 -1
  143. package/esm/models/singleSignOnConfigurationsMappers.js +0 -9
  144. package/esm/models/singleSignOnConfigurationsMappers.js.map +0 -1
  145. package/esm/models/tagRulesMappers.d.ts +0 -2
  146. package/esm/models/tagRulesMappers.d.ts.map +0 -1
  147. package/esm/models/tagRulesMappers.js +0 -9
  148. package/esm/models/tagRulesMappers.js.map +0 -1
  149. package/esm/operations/index.d.ts.map +0 -1
  150. package/esm/operations/index.js.map +0 -1
  151. package/esm/operations/marketplaceAgreements.d.ts +0 -61
  152. package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
  153. package/esm/operations/marketplaceAgreements.js +0 -116
  154. package/esm/operations/marketplaceAgreements.js.map +0 -1
  155. package/esm/operations/monitors.d.ts +0 -378
  156. package/esm/operations/monitors.d.ts.map +0 -1
  157. package/esm/operations/monitors.js +0 -655
  158. package/esm/operations/monitors.js.map +0 -1
  159. package/esm/operations/operations.d.ts +0 -46
  160. package/esm/operations/operations.d.ts.map +0 -1
  161. package/esm/operations/operations.js +0 -79
  162. package/esm/operations/operations.js.map +0 -1
  163. package/esm/operations/singleSignOnConfigurations.d.ts +0 -95
  164. package/esm/operations/singleSignOnConfigurations.d.ts.map +0 -1
  165. package/esm/operations/singleSignOnConfigurations.js +0 -182
  166. package/esm/operations/singleSignOnConfigurations.js.map +0 -1
  167. package/esm/operations/tagRules.d.ts +0 -100
  168. package/esm/operations/tagRules.d.ts.map +0 -1
  169. package/esm/operations/tagRules.js +0 -159
  170. package/esm/operations/tagRules.js.map +0 -1
  171. package/src/microsoftDatadogClientContext.ts +0 -61
  172. package/src/models/marketplaceAgreementsMappers.ts +0 -31
  173. package/src/models/monitorsMappers.ts +0 -45
  174. package/src/models/singleSignOnConfigurationsMappers.ts +0 -31
  175. package/src/models/tagRulesMappers.ts +0 -31
@@ -1,2959 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
10
- typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
11
- (global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmDatadog = {}), global.msRestAzure, global.msRest));
12
- }(this, (function (exports, msRestAzure, msRest) { 'use strict';
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
- /* global Reflect, Promise */
29
-
30
- var extendStatics = function(d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
-
37
- function __extends(d, b) {
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
-
43
- /*
44
- * Copyright (c) Microsoft Corporation.
45
- * Licensed under the MIT License.
46
- *
47
- * Code generated by Microsoft (R) AutoRest Code Generator.
48
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
49
- */
50
-
51
- var index = /*#__PURE__*/Object.freeze({
52
- __proto__: null
53
- });
54
-
55
- /*
56
- * Copyright (c) Microsoft Corporation.
57
- * Licensed under the MIT License.
58
- *
59
- * Code generated by Microsoft (R) AutoRest Code Generator.
60
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
61
- */
62
- var CloudError = msRestAzure.CloudErrorMapper;
63
- var BaseResource = msRestAzure.BaseResourceMapper;
64
- var DatadogAgreementProperties = {
65
- serializedName: "DatadogAgreementProperties",
66
- type: {
67
- name: "Composite",
68
- className: "DatadogAgreementProperties",
69
- modelProperties: {
70
- publisher: {
71
- serializedName: "publisher",
72
- type: {
73
- name: "String"
74
- }
75
- },
76
- product: {
77
- serializedName: "product",
78
- type: {
79
- name: "String"
80
- }
81
- },
82
- plan: {
83
- serializedName: "plan",
84
- type: {
85
- name: "String"
86
- }
87
- },
88
- licenseTextLink: {
89
- serializedName: "licenseTextLink",
90
- type: {
91
- name: "String"
92
- }
93
- },
94
- privacyPolicyLink: {
95
- serializedName: "privacyPolicyLink",
96
- type: {
97
- name: "String"
98
- }
99
- },
100
- retrieveDatetime: {
101
- serializedName: "retrieveDatetime",
102
- type: {
103
- name: "DateTime"
104
- }
105
- },
106
- signature: {
107
- serializedName: "signature",
108
- type: {
109
- name: "String"
110
- }
111
- },
112
- accepted: {
113
- serializedName: "accepted",
114
- type: {
115
- name: "Boolean"
116
- }
117
- }
118
- }
119
- }
120
- };
121
- var SystemData = {
122
- serializedName: "systemData",
123
- type: {
124
- name: "Composite",
125
- className: "SystemData",
126
- modelProperties: {
127
- createdBy: {
128
- serializedName: "createdBy",
129
- type: {
130
- name: "String"
131
- }
132
- },
133
- createdByType: {
134
- serializedName: "createdByType",
135
- type: {
136
- name: "String"
137
- }
138
- },
139
- createdAt: {
140
- serializedName: "createdAt",
141
- type: {
142
- name: "DateTime"
143
- }
144
- },
145
- lastModifiedBy: {
146
- serializedName: "lastModifiedBy",
147
- type: {
148
- name: "String"
149
- }
150
- },
151
- lastModifiedByType: {
152
- serializedName: "lastModifiedByType",
153
- type: {
154
- name: "String"
155
- }
156
- },
157
- lastModifiedAt: {
158
- serializedName: "lastModifiedAt",
159
- type: {
160
- name: "DateTime"
161
- }
162
- }
163
- }
164
- }
165
- };
166
- var DatadogAgreementResource = {
167
- serializedName: "DatadogAgreementResource",
168
- type: {
169
- name: "Composite",
170
- className: "DatadogAgreementResource",
171
- modelProperties: {
172
- id: {
173
- readOnly: true,
174
- serializedName: "id",
175
- type: {
176
- name: "String"
177
- }
178
- },
179
- name: {
180
- readOnly: true,
181
- serializedName: "name",
182
- type: {
183
- name: "String"
184
- }
185
- },
186
- type: {
187
- readOnly: true,
188
- serializedName: "type",
189
- type: {
190
- name: "String"
191
- }
192
- },
193
- properties: {
194
- serializedName: "properties",
195
- type: {
196
- name: "Composite",
197
- className: "DatadogAgreementProperties"
198
- }
199
- },
200
- systemData: {
201
- readOnly: true,
202
- serializedName: "systemData",
203
- type: {
204
- name: "Composite",
205
- className: "SystemData"
206
- }
207
- }
208
- }
209
- }
210
- };
211
- var DatadogApiKey = {
212
- serializedName: "DatadogApiKey",
213
- type: {
214
- name: "Composite",
215
- className: "DatadogApiKey",
216
- modelProperties: {
217
- createdBy: {
218
- serializedName: "createdBy",
219
- type: {
220
- name: "String"
221
- }
222
- },
223
- name: {
224
- serializedName: "name",
225
- type: {
226
- name: "String"
227
- }
228
- },
229
- key: {
230
- required: true,
231
- serializedName: "key",
232
- type: {
233
- name: "String"
234
- }
235
- },
236
- created: {
237
- serializedName: "created",
238
- type: {
239
- name: "String"
240
- }
241
- }
242
- }
243
- }
244
- };
245
- var DatadogInstallMethod = {
246
- serializedName: "DatadogInstallMethod",
247
- type: {
248
- name: "Composite",
249
- className: "DatadogInstallMethod",
250
- modelProperties: {
251
- tool: {
252
- serializedName: "tool",
253
- type: {
254
- name: "String"
255
- }
256
- },
257
- toolVersion: {
258
- serializedName: "toolVersion",
259
- type: {
260
- name: "String"
261
- }
262
- },
263
- installerVersion: {
264
- serializedName: "installerVersion",
265
- type: {
266
- name: "String"
267
- }
268
- }
269
- }
270
- }
271
- };
272
- var DatadogLogsAgent = {
273
- serializedName: "DatadogLogsAgent",
274
- type: {
275
- name: "Composite",
276
- className: "DatadogLogsAgent",
277
- modelProperties: {
278
- transport: {
279
- serializedName: "transport",
280
- type: {
281
- name: "String"
282
- }
283
- }
284
- }
285
- }
286
- };
287
- var DatadogHostMetadata = {
288
- serializedName: "DatadogHostMetadata",
289
- type: {
290
- name: "Composite",
291
- className: "DatadogHostMetadata",
292
- modelProperties: {
293
- agentVersion: {
294
- serializedName: "agentVersion",
295
- type: {
296
- name: "String"
297
- }
298
- },
299
- installMethod: {
300
- serializedName: "installMethod",
301
- type: {
302
- name: "Composite",
303
- className: "DatadogInstallMethod"
304
- }
305
- },
306
- logsAgent: {
307
- serializedName: "logsAgent",
308
- type: {
309
- name: "Composite",
310
- className: "DatadogLogsAgent"
311
- }
312
- }
313
- }
314
- }
315
- };
316
- var DatadogHost = {
317
- serializedName: "DatadogHost",
318
- type: {
319
- name: "Composite",
320
- className: "DatadogHost",
321
- modelProperties: {
322
- name: {
323
- serializedName: "name",
324
- type: {
325
- name: "String"
326
- }
327
- },
328
- aliases: {
329
- serializedName: "aliases",
330
- type: {
331
- name: "Sequence",
332
- element: {
333
- type: {
334
- name: "String"
335
- }
336
- }
337
- }
338
- },
339
- apps: {
340
- serializedName: "apps",
341
- type: {
342
- name: "Sequence",
343
- element: {
344
- type: {
345
- name: "String"
346
- }
347
- }
348
- }
349
- },
350
- meta: {
351
- serializedName: "meta",
352
- type: {
353
- name: "Composite",
354
- className: "DatadogHostMetadata"
355
- }
356
- }
357
- }
358
- }
359
- };
360
- var LinkedResource = {
361
- serializedName: "LinkedResource",
362
- type: {
363
- name: "Composite",
364
- className: "LinkedResource",
365
- modelProperties: {
366
- id: {
367
- serializedName: "id",
368
- type: {
369
- name: "String"
370
- }
371
- }
372
- }
373
- }
374
- };
375
- var MonitoredResource = {
376
- serializedName: "MonitoredResource",
377
- type: {
378
- name: "Composite",
379
- className: "MonitoredResource",
380
- modelProperties: {
381
- id: {
382
- serializedName: "id",
383
- type: {
384
- name: "String"
385
- }
386
- },
387
- sendingMetrics: {
388
- serializedName: "sendingMetrics",
389
- type: {
390
- name: "Boolean"
391
- }
392
- },
393
- reasonForMetricsStatus: {
394
- serializedName: "reasonForMetricsStatus",
395
- type: {
396
- name: "String"
397
- }
398
- },
399
- sendingLogs: {
400
- serializedName: "sendingLogs",
401
- type: {
402
- name: "Boolean"
403
- }
404
- },
405
- reasonForLogsStatus: {
406
- serializedName: "reasonForLogsStatus",
407
- type: {
408
- name: "String"
409
- }
410
- }
411
- }
412
- }
413
- };
414
- var OperationDisplay = {
415
- serializedName: "OperationDisplay",
416
- type: {
417
- name: "Composite",
418
- className: "OperationDisplay",
419
- modelProperties: {
420
- provider: {
421
- serializedName: "provider",
422
- type: {
423
- name: "String"
424
- }
425
- },
426
- resource: {
427
- serializedName: "resource",
428
- type: {
429
- name: "String"
430
- }
431
- },
432
- operation: {
433
- serializedName: "operation",
434
- type: {
435
- name: "String"
436
- }
437
- },
438
- description: {
439
- serializedName: "description",
440
- type: {
441
- name: "String"
442
- }
443
- }
444
- }
445
- }
446
- };
447
- var OperationResult = {
448
- serializedName: "OperationResult",
449
- type: {
450
- name: "Composite",
451
- className: "OperationResult",
452
- modelProperties: {
453
- name: {
454
- serializedName: "name",
455
- type: {
456
- name: "String"
457
- }
458
- },
459
- display: {
460
- serializedName: "display",
461
- type: {
462
- name: "Composite",
463
- className: "OperationDisplay"
464
- }
465
- },
466
- isDataAction: {
467
- serializedName: "isDataAction",
468
- type: {
469
- name: "Boolean"
470
- }
471
- }
472
- }
473
- }
474
- };
475
- var ResourceSku = {
476
- serializedName: "ResourceSku",
477
- type: {
478
- name: "Composite",
479
- className: "ResourceSku",
480
- modelProperties: {
481
- name: {
482
- required: true,
483
- serializedName: "name",
484
- type: {
485
- name: "String"
486
- }
487
- }
488
- }
489
- }
490
- };
491
- var DatadogOrganizationProperties = {
492
- serializedName: "DatadogOrganizationProperties",
493
- type: {
494
- name: "Composite",
495
- className: "DatadogOrganizationProperties",
496
- modelProperties: {
497
- name: {
498
- readOnly: true,
499
- serializedName: "name",
500
- type: {
501
- name: "String"
502
- }
503
- },
504
- id: {
505
- readOnly: true,
506
- serializedName: "id",
507
- type: {
508
- name: "String"
509
- }
510
- },
511
- linkingAuthCode: {
512
- serializedName: "linkingAuthCode",
513
- type: {
514
- name: "String"
515
- }
516
- },
517
- linkingClientId: {
518
- serializedName: "linkingClientId",
519
- type: {
520
- name: "String"
521
- }
522
- },
523
- redirectUri: {
524
- serializedName: "redirectUri",
525
- type: {
526
- name: "String"
527
- }
528
- },
529
- apiKey: {
530
- serializedName: "apiKey",
531
- type: {
532
- name: "String"
533
- }
534
- },
535
- applicationKey: {
536
- serializedName: "applicationKey",
537
- type: {
538
- name: "String"
539
- }
540
- },
541
- enterpriseAppId: {
542
- serializedName: "enterpriseAppId",
543
- type: {
544
- name: "String"
545
- }
546
- }
547
- }
548
- }
549
- };
550
- var UserInfo = {
551
- serializedName: "UserInfo",
552
- type: {
553
- name: "Composite",
554
- className: "UserInfo",
555
- modelProperties: {
556
- name: {
557
- serializedName: "name",
558
- constraints: {
559
- MaxLength: 50
560
- },
561
- type: {
562
- name: "String"
563
- }
564
- },
565
- emailAddress: {
566
- serializedName: "emailAddress",
567
- constraints: {
568
- Pattern: /^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$/
569
- },
570
- type: {
571
- name: "String"
572
- }
573
- },
574
- phoneNumber: {
575
- serializedName: "phoneNumber",
576
- constraints: {
577
- MaxLength: 40
578
- },
579
- type: {
580
- name: "String"
581
- }
582
- }
583
- }
584
- }
585
- };
586
- var MonitorProperties = {
587
- serializedName: "MonitorProperties",
588
- type: {
589
- name: "Composite",
590
- className: "MonitorProperties",
591
- modelProperties: {
592
- provisioningState: {
593
- serializedName: "provisioningState",
594
- type: {
595
- name: "String"
596
- }
597
- },
598
- monitoringStatus: {
599
- serializedName: "monitoringStatus",
600
- defaultValue: 'Enabled',
601
- type: {
602
- name: "String"
603
- }
604
- },
605
- marketplaceSubscriptionStatus: {
606
- serializedName: "marketplaceSubscriptionStatus",
607
- type: {
608
- name: "String"
609
- }
610
- },
611
- datadogOrganizationProperties: {
612
- serializedName: "datadogOrganizationProperties",
613
- type: {
614
- name: "Composite",
615
- className: "DatadogOrganizationProperties"
616
- }
617
- },
618
- userInfo: {
619
- serializedName: "userInfo",
620
- type: {
621
- name: "Composite",
622
- className: "UserInfo"
623
- }
624
- },
625
- liftrResourceCategory: {
626
- serializedName: "liftrResourceCategory",
627
- type: {
628
- name: "String"
629
- }
630
- },
631
- liftrResourcePreference: {
632
- readOnly: true,
633
- serializedName: "liftrResourcePreference",
634
- type: {
635
- name: "Number"
636
- }
637
- }
638
- }
639
- }
640
- };
641
- var IdentityProperties = {
642
- serializedName: "IdentityProperties",
643
- type: {
644
- name: "Composite",
645
- className: "IdentityProperties",
646
- modelProperties: {
647
- principalId: {
648
- readOnly: true,
649
- serializedName: "principalId",
650
- type: {
651
- name: "String"
652
- }
653
- },
654
- tenantId: {
655
- readOnly: true,
656
- serializedName: "tenantId",
657
- type: {
658
- name: "String"
659
- }
660
- },
661
- type: {
662
- serializedName: "type",
663
- type: {
664
- name: "String"
665
- }
666
- }
667
- }
668
- }
669
- };
670
- var DatadogMonitorResource = {
671
- serializedName: "DatadogMonitorResource",
672
- type: {
673
- name: "Composite",
674
- className: "DatadogMonitorResource",
675
- modelProperties: {
676
- id: {
677
- readOnly: true,
678
- serializedName: "id",
679
- type: {
680
- name: "String"
681
- }
682
- },
683
- name: {
684
- readOnly: true,
685
- serializedName: "name",
686
- type: {
687
- name: "String"
688
- }
689
- },
690
- type: {
691
- readOnly: true,
692
- serializedName: "type",
693
- type: {
694
- name: "String"
695
- }
696
- },
697
- sku: {
698
- serializedName: "sku",
699
- type: {
700
- name: "Composite",
701
- className: "ResourceSku"
702
- }
703
- },
704
- properties: {
705
- serializedName: "properties",
706
- type: {
707
- name: "Composite",
708
- className: "MonitorProperties"
709
- }
710
- },
711
- identity: {
712
- serializedName: "identity",
713
- type: {
714
- name: "Composite",
715
- className: "IdentityProperties"
716
- }
717
- },
718
- tags: {
719
- serializedName: "tags",
720
- type: {
721
- name: "Dictionary",
722
- value: {
723
- type: {
724
- name: "String"
725
- }
726
- }
727
- }
728
- },
729
- location: {
730
- required: true,
731
- serializedName: "location",
732
- type: {
733
- name: "String"
734
- }
735
- },
736
- systemData: {
737
- readOnly: true,
738
- serializedName: "systemData",
739
- type: {
740
- name: "Composite",
741
- className: "SystemData"
742
- }
743
- }
744
- }
745
- }
746
- };
747
- var MonitorUpdateProperties = {
748
- serializedName: "MonitorUpdateProperties",
749
- type: {
750
- name: "Composite",
751
- className: "MonitorUpdateProperties",
752
- modelProperties: {
753
- monitoringStatus: {
754
- serializedName: "monitoringStatus",
755
- defaultValue: 'Enabled',
756
- type: {
757
- name: "String"
758
- }
759
- }
760
- }
761
- }
762
- };
763
- var DatadogMonitorResourceUpdateParameters = {
764
- serializedName: "DatadogMonitorResourceUpdateParameters",
765
- type: {
766
- name: "Composite",
767
- className: "DatadogMonitorResourceUpdateParameters",
768
- modelProperties: {
769
- properties: {
770
- serializedName: "properties",
771
- type: {
772
- name: "Composite",
773
- className: "MonitorUpdateProperties"
774
- }
775
- },
776
- tags: {
777
- serializedName: "tags",
778
- type: {
779
- name: "Dictionary",
780
- value: {
781
- type: {
782
- name: "String"
783
- }
784
- }
785
- }
786
- }
787
- }
788
- }
789
- };
790
- var DatadogSetPasswordLink = {
791
- serializedName: "DatadogSetPasswordLink",
792
- type: {
793
- name: "Composite",
794
- className: "DatadogSetPasswordLink",
795
- modelProperties: {
796
- setPasswordLink: {
797
- serializedName: "setPasswordLink",
798
- type: {
799
- name: "String"
800
- }
801
- }
802
- }
803
- }
804
- };
805
- var FilteringTag = {
806
- serializedName: "FilteringTag",
807
- type: {
808
- name: "Composite",
809
- className: "FilteringTag",
810
- modelProperties: {
811
- name: {
812
- serializedName: "name",
813
- type: {
814
- name: "String"
815
- }
816
- },
817
- value: {
818
- serializedName: "value",
819
- type: {
820
- name: "String"
821
- }
822
- },
823
- action: {
824
- serializedName: "action",
825
- type: {
826
- name: "String"
827
- }
828
- }
829
- }
830
- }
831
- };
832
- var LogRules = {
833
- serializedName: "LogRules",
834
- type: {
835
- name: "Composite",
836
- className: "LogRules",
837
- modelProperties: {
838
- sendAadLogs: {
839
- serializedName: "sendAadLogs",
840
- type: {
841
- name: "Boolean"
842
- }
843
- },
844
- sendSubscriptionLogs: {
845
- serializedName: "sendSubscriptionLogs",
846
- type: {
847
- name: "Boolean"
848
- }
849
- },
850
- sendResourceLogs: {
851
- serializedName: "sendResourceLogs",
852
- type: {
853
- name: "Boolean"
854
- }
855
- },
856
- filteringTags: {
857
- serializedName: "filteringTags",
858
- type: {
859
- name: "Sequence",
860
- element: {
861
- type: {
862
- name: "Composite",
863
- className: "FilteringTag"
864
- }
865
- }
866
- }
867
- }
868
- }
869
- }
870
- };
871
- var MetricRules = {
872
- serializedName: "MetricRules",
873
- type: {
874
- name: "Composite",
875
- className: "MetricRules",
876
- modelProperties: {
877
- filteringTags: {
878
- serializedName: "filteringTags",
879
- type: {
880
- name: "Sequence",
881
- element: {
882
- type: {
883
- name: "Composite",
884
- className: "FilteringTag"
885
- }
886
- }
887
- }
888
- }
889
- }
890
- }
891
- };
892
- var MonitoringTagRulesProperties = {
893
- serializedName: "MonitoringTagRulesProperties",
894
- type: {
895
- name: "Composite",
896
- className: "MonitoringTagRulesProperties",
897
- modelProperties: {
898
- provisioningState: {
899
- serializedName: "provisioningState",
900
- type: {
901
- name: "String"
902
- }
903
- },
904
- logRules: {
905
- serializedName: "logRules",
906
- type: {
907
- name: "Composite",
908
- className: "LogRules"
909
- }
910
- },
911
- metricRules: {
912
- serializedName: "metricRules",
913
- type: {
914
- name: "Composite",
915
- className: "MetricRules"
916
- }
917
- }
918
- }
919
- }
920
- };
921
- var MonitoringTagRules = {
922
- serializedName: "MonitoringTagRules",
923
- type: {
924
- name: "Composite",
925
- className: "MonitoringTagRules",
926
- modelProperties: {
927
- name: {
928
- readOnly: true,
929
- serializedName: "name",
930
- type: {
931
- name: "String"
932
- }
933
- },
934
- id: {
935
- readOnly: true,
936
- serializedName: "id",
937
- type: {
938
- name: "String"
939
- }
940
- },
941
- type: {
942
- readOnly: true,
943
- serializedName: "type",
944
- type: {
945
- name: "String"
946
- }
947
- },
948
- properties: {
949
- serializedName: "properties",
950
- type: {
951
- name: "Composite",
952
- className: "MonitoringTagRulesProperties"
953
- }
954
- },
955
- systemData: {
956
- readOnly: true,
957
- serializedName: "systemData",
958
- type: {
959
- name: "Composite",
960
- className: "SystemData"
961
- }
962
- }
963
- }
964
- }
965
- };
966
- var DatadogSingleSignOnProperties = {
967
- serializedName: "DatadogSingleSignOnProperties",
968
- type: {
969
- name: "Composite",
970
- className: "DatadogSingleSignOnProperties",
971
- modelProperties: {
972
- provisioningState: {
973
- serializedName: "provisioningState",
974
- type: {
975
- name: "String"
976
- }
977
- },
978
- singleSignOnState: {
979
- serializedName: "singleSignOnState",
980
- type: {
981
- name: "String"
982
- }
983
- },
984
- enterpriseAppId: {
985
- serializedName: "enterpriseAppId",
986
- type: {
987
- name: "String"
988
- }
989
- },
990
- singleSignOnUrl: {
991
- readOnly: true,
992
- serializedName: "singleSignOnUrl",
993
- type: {
994
- name: "String"
995
- }
996
- }
997
- }
998
- }
999
- };
1000
- var DatadogSingleSignOnResource = {
1001
- serializedName: "DatadogSingleSignOnResource",
1002
- type: {
1003
- name: "Composite",
1004
- className: "DatadogSingleSignOnResource",
1005
- modelProperties: {
1006
- id: {
1007
- readOnly: true,
1008
- serializedName: "id",
1009
- type: {
1010
- name: "String"
1011
- }
1012
- },
1013
- name: {
1014
- readOnly: true,
1015
- serializedName: "name",
1016
- type: {
1017
- name: "String"
1018
- }
1019
- },
1020
- type: {
1021
- readOnly: true,
1022
- serializedName: "type",
1023
- type: {
1024
- name: "String"
1025
- }
1026
- },
1027
- properties: {
1028
- serializedName: "properties",
1029
- type: {
1030
- name: "Composite",
1031
- className: "DatadogSingleSignOnProperties"
1032
- }
1033
- },
1034
- systemData: {
1035
- readOnly: true,
1036
- serializedName: "systemData",
1037
- type: {
1038
- name: "Composite",
1039
- className: "SystemData"
1040
- }
1041
- }
1042
- }
1043
- }
1044
- };
1045
- var ErrorAdditionalInfo = {
1046
- serializedName: "ErrorAdditionalInfo",
1047
- type: {
1048
- name: "Composite",
1049
- className: "ErrorAdditionalInfo",
1050
- modelProperties: {
1051
- type: {
1052
- readOnly: true,
1053
- serializedName: "type",
1054
- type: {
1055
- name: "String"
1056
- }
1057
- },
1058
- info: {
1059
- readOnly: true,
1060
- serializedName: "info",
1061
- type: {
1062
- name: "Object"
1063
- }
1064
- }
1065
- }
1066
- }
1067
- };
1068
- var ErrorDetail = {
1069
- serializedName: "ErrorDetail",
1070
- type: {
1071
- name: "Composite",
1072
- className: "ErrorDetail",
1073
- modelProperties: {
1074
- code: {
1075
- readOnly: true,
1076
- serializedName: "code",
1077
- type: {
1078
- name: "String"
1079
- }
1080
- },
1081
- message: {
1082
- readOnly: true,
1083
- serializedName: "message",
1084
- type: {
1085
- name: "String"
1086
- }
1087
- },
1088
- target: {
1089
- readOnly: true,
1090
- serializedName: "target",
1091
- type: {
1092
- name: "String"
1093
- }
1094
- },
1095
- details: {
1096
- readOnly: true,
1097
- serializedName: "details",
1098
- type: {
1099
- name: "Sequence",
1100
- element: {
1101
- type: {
1102
- name: "Composite",
1103
- className: "ErrorDetail"
1104
- }
1105
- }
1106
- }
1107
- },
1108
- additionalInfo: {
1109
- readOnly: true,
1110
- serializedName: "additionalInfo",
1111
- type: {
1112
- name: "Sequence",
1113
- element: {
1114
- type: {
1115
- name: "Composite",
1116
- className: "ErrorAdditionalInfo"
1117
- }
1118
- }
1119
- }
1120
- }
1121
- }
1122
- }
1123
- };
1124
- var ErrorResponse = {
1125
- serializedName: "ErrorResponse",
1126
- type: {
1127
- name: "Composite",
1128
- className: "ErrorResponse",
1129
- modelProperties: {
1130
- error: {
1131
- serializedName: "error",
1132
- type: {
1133
- name: "Composite",
1134
- className: "ErrorDetail"
1135
- }
1136
- }
1137
- }
1138
- }
1139
- };
1140
- var DatadogAgreementResourceListResponse = {
1141
- serializedName: "DatadogAgreementResourceListResponse",
1142
- type: {
1143
- name: "Composite",
1144
- className: "DatadogAgreementResourceListResponse",
1145
- modelProperties: {
1146
- value: {
1147
- serializedName: "",
1148
- type: {
1149
- name: "Sequence",
1150
- element: {
1151
- type: {
1152
- name: "Composite",
1153
- className: "DatadogAgreementResource"
1154
- }
1155
- }
1156
- }
1157
- },
1158
- nextLink: {
1159
- serializedName: "nextLink",
1160
- type: {
1161
- name: "String"
1162
- }
1163
- }
1164
- }
1165
- }
1166
- };
1167
- var DatadogApiKeyListResponse = {
1168
- serializedName: "DatadogApiKeyListResponse",
1169
- type: {
1170
- name: "Composite",
1171
- className: "DatadogApiKeyListResponse",
1172
- modelProperties: {
1173
- value: {
1174
- serializedName: "",
1175
- type: {
1176
- name: "Sequence",
1177
- element: {
1178
- type: {
1179
- name: "Composite",
1180
- className: "DatadogApiKey"
1181
- }
1182
- }
1183
- }
1184
- },
1185
- nextLink: {
1186
- serializedName: "nextLink",
1187
- type: {
1188
- name: "String"
1189
- }
1190
- }
1191
- }
1192
- }
1193
- };
1194
- var DatadogHostListResponse = {
1195
- serializedName: "DatadogHostListResponse",
1196
- type: {
1197
- name: "Composite",
1198
- className: "DatadogHostListResponse",
1199
- modelProperties: {
1200
- value: {
1201
- serializedName: "",
1202
- type: {
1203
- name: "Sequence",
1204
- element: {
1205
- type: {
1206
- name: "Composite",
1207
- className: "DatadogHost"
1208
- }
1209
- }
1210
- }
1211
- },
1212
- nextLink: {
1213
- serializedName: "nextLink",
1214
- type: {
1215
- name: "String"
1216
- }
1217
- }
1218
- }
1219
- }
1220
- };
1221
- var LinkedResourceListResponse = {
1222
- serializedName: "LinkedResourceListResponse",
1223
- type: {
1224
- name: "Composite",
1225
- className: "LinkedResourceListResponse",
1226
- modelProperties: {
1227
- value: {
1228
- serializedName: "",
1229
- type: {
1230
- name: "Sequence",
1231
- element: {
1232
- type: {
1233
- name: "Composite",
1234
- className: "LinkedResource"
1235
- }
1236
- }
1237
- }
1238
- },
1239
- nextLink: {
1240
- serializedName: "nextLink",
1241
- type: {
1242
- name: "String"
1243
- }
1244
- }
1245
- }
1246
- }
1247
- };
1248
- var MonitoredResourceListResponse = {
1249
- serializedName: "MonitoredResourceListResponse",
1250
- type: {
1251
- name: "Composite",
1252
- className: "MonitoredResourceListResponse",
1253
- modelProperties: {
1254
- value: {
1255
- serializedName: "",
1256
- type: {
1257
- name: "Sequence",
1258
- element: {
1259
- type: {
1260
- name: "Composite",
1261
- className: "MonitoredResource"
1262
- }
1263
- }
1264
- }
1265
- },
1266
- nextLink: {
1267
- serializedName: "nextLink",
1268
- type: {
1269
- name: "String"
1270
- }
1271
- }
1272
- }
1273
- }
1274
- };
1275
- var DatadogMonitorResourceListResponse = {
1276
- serializedName: "DatadogMonitorResourceListResponse",
1277
- type: {
1278
- name: "Composite",
1279
- className: "DatadogMonitorResourceListResponse",
1280
- modelProperties: {
1281
- value: {
1282
- serializedName: "",
1283
- type: {
1284
- name: "Sequence",
1285
- element: {
1286
- type: {
1287
- name: "Composite",
1288
- className: "DatadogMonitorResource"
1289
- }
1290
- }
1291
- }
1292
- },
1293
- nextLink: {
1294
- serializedName: "nextLink",
1295
- type: {
1296
- name: "String"
1297
- }
1298
- }
1299
- }
1300
- }
1301
- };
1302
- var OperationListResult = {
1303
- serializedName: "OperationListResult",
1304
- type: {
1305
- name: "Composite",
1306
- className: "OperationListResult",
1307
- modelProperties: {
1308
- value: {
1309
- serializedName: "",
1310
- type: {
1311
- name: "Sequence",
1312
- element: {
1313
- type: {
1314
- name: "Composite",
1315
- className: "OperationResult"
1316
- }
1317
- }
1318
- }
1319
- },
1320
- nextLink: {
1321
- serializedName: "nextLink",
1322
- type: {
1323
- name: "String"
1324
- }
1325
- }
1326
- }
1327
- }
1328
- };
1329
- var MonitoringTagRulesListResponse = {
1330
- serializedName: "MonitoringTagRulesListResponse",
1331
- type: {
1332
- name: "Composite",
1333
- className: "MonitoringTagRulesListResponse",
1334
- modelProperties: {
1335
- value: {
1336
- serializedName: "",
1337
- type: {
1338
- name: "Sequence",
1339
- element: {
1340
- type: {
1341
- name: "Composite",
1342
- className: "MonitoringTagRules"
1343
- }
1344
- }
1345
- }
1346
- },
1347
- nextLink: {
1348
- serializedName: "nextLink",
1349
- type: {
1350
- name: "String"
1351
- }
1352
- }
1353
- }
1354
- }
1355
- };
1356
- var DatadogSingleSignOnResourceListResponse = {
1357
- serializedName: "DatadogSingleSignOnResourceListResponse",
1358
- type: {
1359
- name: "Composite",
1360
- className: "DatadogSingleSignOnResourceListResponse",
1361
- modelProperties: {
1362
- value: {
1363
- serializedName: "",
1364
- type: {
1365
- name: "Sequence",
1366
- element: {
1367
- type: {
1368
- name: "Composite",
1369
- className: "DatadogSingleSignOnResource"
1370
- }
1371
- }
1372
- }
1373
- },
1374
- nextLink: {
1375
- serializedName: "nextLink",
1376
- type: {
1377
- name: "String"
1378
- }
1379
- }
1380
- }
1381
- }
1382
- };
1383
-
1384
- var mappers = /*#__PURE__*/Object.freeze({
1385
- __proto__: null,
1386
- CloudError: CloudError,
1387
- BaseResource: BaseResource,
1388
- DatadogAgreementProperties: DatadogAgreementProperties,
1389
- SystemData: SystemData,
1390
- DatadogAgreementResource: DatadogAgreementResource,
1391
- DatadogApiKey: DatadogApiKey,
1392
- DatadogInstallMethod: DatadogInstallMethod,
1393
- DatadogLogsAgent: DatadogLogsAgent,
1394
- DatadogHostMetadata: DatadogHostMetadata,
1395
- DatadogHost: DatadogHost,
1396
- LinkedResource: LinkedResource,
1397
- MonitoredResource: MonitoredResource,
1398
- OperationDisplay: OperationDisplay,
1399
- OperationResult: OperationResult,
1400
- ResourceSku: ResourceSku,
1401
- DatadogOrganizationProperties: DatadogOrganizationProperties,
1402
- UserInfo: UserInfo,
1403
- MonitorProperties: MonitorProperties,
1404
- IdentityProperties: IdentityProperties,
1405
- DatadogMonitorResource: DatadogMonitorResource,
1406
- MonitorUpdateProperties: MonitorUpdateProperties,
1407
- DatadogMonitorResourceUpdateParameters: DatadogMonitorResourceUpdateParameters,
1408
- DatadogSetPasswordLink: DatadogSetPasswordLink,
1409
- FilteringTag: FilteringTag,
1410
- LogRules: LogRules,
1411
- MetricRules: MetricRules,
1412
- MonitoringTagRulesProperties: MonitoringTagRulesProperties,
1413
- MonitoringTagRules: MonitoringTagRules,
1414
- DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
1415
- DatadogSingleSignOnResource: DatadogSingleSignOnResource,
1416
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1417
- ErrorDetail: ErrorDetail,
1418
- ErrorResponse: ErrorResponse,
1419
- DatadogAgreementResourceListResponse: DatadogAgreementResourceListResponse,
1420
- DatadogApiKeyListResponse: DatadogApiKeyListResponse,
1421
- DatadogHostListResponse: DatadogHostListResponse,
1422
- LinkedResourceListResponse: LinkedResourceListResponse,
1423
- MonitoredResourceListResponse: MonitoredResourceListResponse,
1424
- DatadogMonitorResourceListResponse: DatadogMonitorResourceListResponse,
1425
- OperationListResult: OperationListResult,
1426
- MonitoringTagRulesListResponse: MonitoringTagRulesListResponse,
1427
- DatadogSingleSignOnResourceListResponse: DatadogSingleSignOnResourceListResponse
1428
- });
1429
-
1430
- /*
1431
- * Copyright (c) Microsoft Corporation.
1432
- * Licensed under the MIT License.
1433
- *
1434
- * Code generated by Microsoft (R) AutoRest Code Generator.
1435
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1436
- */
1437
-
1438
- var Mappers = /*#__PURE__*/Object.freeze({
1439
- __proto__: null,
1440
- BaseResource: BaseResource,
1441
- DatadogAgreementProperties: DatadogAgreementProperties,
1442
- DatadogAgreementResource: DatadogAgreementResource,
1443
- DatadogAgreementResourceListResponse: DatadogAgreementResourceListResponse,
1444
- DatadogMonitorResource: DatadogMonitorResource,
1445
- DatadogOrganizationProperties: DatadogOrganizationProperties,
1446
- DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
1447
- DatadogSingleSignOnResource: DatadogSingleSignOnResource,
1448
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1449
- ErrorDetail: ErrorDetail,
1450
- ErrorResponse: ErrorResponse,
1451
- FilteringTag: FilteringTag,
1452
- IdentityProperties: IdentityProperties,
1453
- LogRules: LogRules,
1454
- MetricRules: MetricRules,
1455
- MonitoringTagRules: MonitoringTagRules,
1456
- MonitoringTagRulesProperties: MonitoringTagRulesProperties,
1457
- MonitorProperties: MonitorProperties,
1458
- ResourceSku: ResourceSku,
1459
- SystemData: SystemData,
1460
- UserInfo: UserInfo
1461
- });
1462
-
1463
- /*
1464
- * Copyright (c) Microsoft Corporation.
1465
- * Licensed under the MIT License.
1466
- *
1467
- * Code generated by Microsoft (R) AutoRest Code Generator.
1468
- * Changes may cause incorrect behavior and will be lost if the code is
1469
- * regenerated.
1470
- */
1471
- var acceptLanguage = {
1472
- parameterPath: "acceptLanguage",
1473
- mapper: {
1474
- serializedName: "accept-language",
1475
- defaultValue: 'en-US',
1476
- type: {
1477
- name: "String"
1478
- }
1479
- }
1480
- };
1481
- var apiVersion = {
1482
- parameterPath: "apiVersion",
1483
- mapper: {
1484
- required: true,
1485
- serializedName: "api-version",
1486
- constraints: {
1487
- MinLength: 1
1488
- },
1489
- type: {
1490
- name: "String"
1491
- }
1492
- }
1493
- };
1494
- var configurationName = {
1495
- parameterPath: "configurationName",
1496
- mapper: {
1497
- required: true,
1498
- serializedName: "configurationName",
1499
- type: {
1500
- name: "String"
1501
- }
1502
- }
1503
- };
1504
- var monitorName = {
1505
- parameterPath: "monitorName",
1506
- mapper: {
1507
- required: true,
1508
- serializedName: "monitorName",
1509
- type: {
1510
- name: "String"
1511
- }
1512
- }
1513
- };
1514
- var nextPageLink = {
1515
- parameterPath: "nextPageLink",
1516
- mapper: {
1517
- required: true,
1518
- serializedName: "nextLink",
1519
- type: {
1520
- name: "String"
1521
- }
1522
- },
1523
- skipEncoding: true
1524
- };
1525
- var resourceGroupName = {
1526
- parameterPath: "resourceGroupName",
1527
- mapper: {
1528
- required: true,
1529
- serializedName: "resourceGroupName",
1530
- constraints: {
1531
- MaxLength: 90,
1532
- MinLength: 1,
1533
- Pattern: /^[-\w\._\(\)]+$/
1534
- },
1535
- type: {
1536
- name: "String"
1537
- }
1538
- }
1539
- };
1540
- var ruleSetName = {
1541
- parameterPath: "ruleSetName",
1542
- mapper: {
1543
- required: true,
1544
- serializedName: "ruleSetName",
1545
- type: {
1546
- name: "String"
1547
- }
1548
- }
1549
- };
1550
- var subscriptionId = {
1551
- parameterPath: "subscriptionId",
1552
- mapper: {
1553
- required: true,
1554
- serializedName: "subscriptionId",
1555
- constraints: {
1556
- MinLength: 1
1557
- },
1558
- type: {
1559
- name: "String"
1560
- }
1561
- }
1562
- };
1563
-
1564
- /*
1565
- * Copyright (c) Microsoft Corporation.
1566
- * Licensed under the MIT License.
1567
- *
1568
- * Code generated by Microsoft (R) AutoRest Code Generator.
1569
- * Changes may cause incorrect behavior and will be lost if the code is
1570
- * regenerated.
1571
- */
1572
- /** Class representing a MarketplaceAgreements. */
1573
- var MarketplaceAgreements = /** @class */ (function () {
1574
- /**
1575
- * Create a MarketplaceAgreements.
1576
- * @param {MicrosoftDatadogClientContext} client Reference to the service client.
1577
- */
1578
- function MarketplaceAgreements(client) {
1579
- this.client = client;
1580
- }
1581
- MarketplaceAgreements.prototype.list = function (options, callback) {
1582
- return this.client.sendOperationRequest({
1583
- options: options
1584
- }, listOperationSpec, callback);
1585
- };
1586
- MarketplaceAgreements.prototype.createOrUpdate = function (options, callback) {
1587
- return this.client.sendOperationRequest({
1588
- options: options
1589
- }, createOrUpdateOperationSpec, callback);
1590
- };
1591
- MarketplaceAgreements.prototype.listNext = function (nextPageLink, options, callback) {
1592
- return this.client.sendOperationRequest({
1593
- nextPageLink: nextPageLink,
1594
- options: options
1595
- }, listNextOperationSpec, callback);
1596
- };
1597
- return MarketplaceAgreements;
1598
- }());
1599
- // Operation Specifications
1600
- var serializer = new msRest.Serializer(Mappers);
1601
- var listOperationSpec = {
1602
- httpMethod: "GET",
1603
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements",
1604
- urlParameters: [
1605
- subscriptionId
1606
- ],
1607
- queryParameters: [
1608
- apiVersion
1609
- ],
1610
- headerParameters: [
1611
- acceptLanguage
1612
- ],
1613
- responses: {
1614
- 200: {
1615
- bodyMapper: DatadogAgreementResourceListResponse
1616
- },
1617
- default: {
1618
- bodyMapper: ErrorResponse
1619
- }
1620
- },
1621
- serializer: serializer
1622
- };
1623
- var createOrUpdateOperationSpec = {
1624
- httpMethod: "PUT",
1625
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements/default",
1626
- urlParameters: [
1627
- subscriptionId
1628
- ],
1629
- queryParameters: [
1630
- apiVersion
1631
- ],
1632
- headerParameters: [
1633
- acceptLanguage
1634
- ],
1635
- requestBody: {
1636
- parameterPath: [
1637
- "options",
1638
- "body"
1639
- ],
1640
- mapper: DatadogAgreementResource
1641
- },
1642
- responses: {
1643
- 200: {
1644
- bodyMapper: DatadogAgreementResource
1645
- },
1646
- default: {
1647
- bodyMapper: ErrorResponse
1648
- }
1649
- },
1650
- serializer: serializer
1651
- };
1652
- var listNextOperationSpec = {
1653
- httpMethod: "GET",
1654
- baseUrl: "https://management.azure.com",
1655
- path: "{nextLink}",
1656
- urlParameters: [
1657
- nextPageLink
1658
- ],
1659
- queryParameters: [
1660
- apiVersion
1661
- ],
1662
- headerParameters: [
1663
- acceptLanguage
1664
- ],
1665
- responses: {
1666
- 200: {
1667
- bodyMapper: DatadogAgreementResourceListResponse
1668
- },
1669
- default: {
1670
- bodyMapper: ErrorResponse
1671
- }
1672
- },
1673
- serializer: serializer
1674
- };
1675
-
1676
- /*
1677
- * Copyright (c) Microsoft Corporation.
1678
- * Licensed under the MIT License.
1679
- *
1680
- * Code generated by Microsoft (R) AutoRest Code Generator.
1681
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1682
- */
1683
-
1684
- var Mappers$1 = /*#__PURE__*/Object.freeze({
1685
- __proto__: null,
1686
- BaseResource: BaseResource,
1687
- DatadogAgreementProperties: DatadogAgreementProperties,
1688
- DatadogAgreementResource: DatadogAgreementResource,
1689
- DatadogApiKey: DatadogApiKey,
1690
- DatadogApiKeyListResponse: DatadogApiKeyListResponse,
1691
- DatadogHost: DatadogHost,
1692
- DatadogHostListResponse: DatadogHostListResponse,
1693
- DatadogHostMetadata: DatadogHostMetadata,
1694
- DatadogInstallMethod: DatadogInstallMethod,
1695
- DatadogLogsAgent: DatadogLogsAgent,
1696
- DatadogMonitorResource: DatadogMonitorResource,
1697
- DatadogMonitorResourceListResponse: DatadogMonitorResourceListResponse,
1698
- DatadogMonitorResourceUpdateParameters: DatadogMonitorResourceUpdateParameters,
1699
- DatadogOrganizationProperties: DatadogOrganizationProperties,
1700
- DatadogSetPasswordLink: DatadogSetPasswordLink,
1701
- DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
1702
- DatadogSingleSignOnResource: DatadogSingleSignOnResource,
1703
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1704
- ErrorDetail: ErrorDetail,
1705
- ErrorResponse: ErrorResponse,
1706
- FilteringTag: FilteringTag,
1707
- IdentityProperties: IdentityProperties,
1708
- LinkedResource: LinkedResource,
1709
- LinkedResourceListResponse: LinkedResourceListResponse,
1710
- LogRules: LogRules,
1711
- MetricRules: MetricRules,
1712
- MonitoredResource: MonitoredResource,
1713
- MonitoredResourceListResponse: MonitoredResourceListResponse,
1714
- MonitoringTagRules: MonitoringTagRules,
1715
- MonitoringTagRulesProperties: MonitoringTagRulesProperties,
1716
- MonitorProperties: MonitorProperties,
1717
- MonitorUpdateProperties: MonitorUpdateProperties,
1718
- ResourceSku: ResourceSku,
1719
- SystemData: SystemData,
1720
- UserInfo: UserInfo
1721
- });
1722
-
1723
- /*
1724
- * Copyright (c) Microsoft Corporation.
1725
- * Licensed under the MIT License.
1726
- *
1727
- * Code generated by Microsoft (R) AutoRest Code Generator.
1728
- * Changes may cause incorrect behavior and will be lost if the code is
1729
- * regenerated.
1730
- */
1731
- /** Class representing a Monitors. */
1732
- var Monitors = /** @class */ (function () {
1733
- /**
1734
- * Create a Monitors.
1735
- * @param {MicrosoftDatadogClientContext} client Reference to the service client.
1736
- */
1737
- function Monitors(client) {
1738
- this.client = client;
1739
- }
1740
- Monitors.prototype.listApiKeys = function (resourceGroupName, monitorName, options, callback) {
1741
- return this.client.sendOperationRequest({
1742
- resourceGroupName: resourceGroupName,
1743
- monitorName: monitorName,
1744
- options: options
1745
- }, listApiKeysOperationSpec, callback);
1746
- };
1747
- Monitors.prototype.getDefaultKey = function (resourceGroupName, monitorName, options, callback) {
1748
- return this.client.sendOperationRequest({
1749
- resourceGroupName: resourceGroupName,
1750
- monitorName: monitorName,
1751
- options: options
1752
- }, getDefaultKeyOperationSpec, callback);
1753
- };
1754
- Monitors.prototype.setDefaultKey = function (resourceGroupName, monitorName, options, callback) {
1755
- return this.client.sendOperationRequest({
1756
- resourceGroupName: resourceGroupName,
1757
- monitorName: monitorName,
1758
- options: options
1759
- }, setDefaultKeyOperationSpec, callback);
1760
- };
1761
- Monitors.prototype.listHosts = function (resourceGroupName, monitorName, options, callback) {
1762
- return this.client.sendOperationRequest({
1763
- resourceGroupName: resourceGroupName,
1764
- monitorName: monitorName,
1765
- options: options
1766
- }, listHostsOperationSpec, callback);
1767
- };
1768
- Monitors.prototype.listLinkedResources = function (resourceGroupName, monitorName, options, callback) {
1769
- return this.client.sendOperationRequest({
1770
- resourceGroupName: resourceGroupName,
1771
- monitorName: monitorName,
1772
- options: options
1773
- }, listLinkedResourcesOperationSpec, callback);
1774
- };
1775
- Monitors.prototype.listMonitoredResources = function (resourceGroupName, monitorName, options, callback) {
1776
- return this.client.sendOperationRequest({
1777
- resourceGroupName: resourceGroupName,
1778
- monitorName: monitorName,
1779
- options: options
1780
- }, listMonitoredResourcesOperationSpec, callback);
1781
- };
1782
- Monitors.prototype.list = function (options, callback) {
1783
- return this.client.sendOperationRequest({
1784
- options: options
1785
- }, listOperationSpec$1, callback);
1786
- };
1787
- Monitors.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1788
- return this.client.sendOperationRequest({
1789
- resourceGroupName: resourceGroupName,
1790
- options: options
1791
- }, listByResourceGroupOperationSpec, callback);
1792
- };
1793
- Monitors.prototype.get = function (resourceGroupName, monitorName, options, callback) {
1794
- return this.client.sendOperationRequest({
1795
- resourceGroupName: resourceGroupName,
1796
- monitorName: monitorName,
1797
- options: options
1798
- }, getOperationSpec, callback);
1799
- };
1800
- /**
1801
- * @summary Create a monitor resource.
1802
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1803
- * @param monitorName Monitor resource name
1804
- * @param [options] The optional parameters
1805
- * @returns Promise<Models.MonitorsCreateResponse>
1806
- */
1807
- Monitors.prototype.create = function (resourceGroupName, monitorName, options) {
1808
- return this.beginCreate(resourceGroupName, monitorName, options)
1809
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1810
- };
1811
- Monitors.prototype.update = function (resourceGroupName, monitorName, options, callback) {
1812
- return this.client.sendOperationRequest({
1813
- resourceGroupName: resourceGroupName,
1814
- monitorName: monitorName,
1815
- options: options
1816
- }, updateOperationSpec, callback);
1817
- };
1818
- /**
1819
- * @summary Delete a monitor resource.
1820
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1821
- * @param monitorName Monitor resource name
1822
- * @param [options] The optional parameters
1823
- * @returns Promise<msRest.RestResponse>
1824
- */
1825
- Monitors.prototype.deleteMethod = function (resourceGroupName, monitorName, options) {
1826
- return this.beginDeleteMethod(resourceGroupName, monitorName, options)
1827
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1828
- };
1829
- Monitors.prototype.refreshSetPasswordLink = function (resourceGroupName, monitorName, options, callback) {
1830
- return this.client.sendOperationRequest({
1831
- resourceGroupName: resourceGroupName,
1832
- monitorName: monitorName,
1833
- options: options
1834
- }, refreshSetPasswordLinkOperationSpec, callback);
1835
- };
1836
- /**
1837
- * @summary Create a monitor resource.
1838
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1839
- * @param monitorName Monitor resource name
1840
- * @param [options] The optional parameters
1841
- * @returns Promise<msRestAzure.LROPoller>
1842
- */
1843
- Monitors.prototype.beginCreate = function (resourceGroupName, monitorName, options) {
1844
- return this.client.sendLRORequest({
1845
- resourceGroupName: resourceGroupName,
1846
- monitorName: monitorName,
1847
- options: options
1848
- }, beginCreateOperationSpec, options);
1849
- };
1850
- /**
1851
- * @summary Delete a monitor resource.
1852
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1853
- * @param monitorName Monitor resource name
1854
- * @param [options] The optional parameters
1855
- * @returns Promise<msRestAzure.LROPoller>
1856
- */
1857
- Monitors.prototype.beginDeleteMethod = function (resourceGroupName, monitorName, options) {
1858
- return this.client.sendLRORequest({
1859
- resourceGroupName: resourceGroupName,
1860
- monitorName: monitorName,
1861
- options: options
1862
- }, beginDeleteMethodOperationSpec, options);
1863
- };
1864
- Monitors.prototype.listApiKeysNext = function (nextPageLink, options, callback) {
1865
- return this.client.sendOperationRequest({
1866
- nextPageLink: nextPageLink,
1867
- options: options
1868
- }, listApiKeysNextOperationSpec, callback);
1869
- };
1870
- Monitors.prototype.listHostsNext = function (nextPageLink, options, callback) {
1871
- return this.client.sendOperationRequest({
1872
- nextPageLink: nextPageLink,
1873
- options: options
1874
- }, listHostsNextOperationSpec, callback);
1875
- };
1876
- Monitors.prototype.listLinkedResourcesNext = function (nextPageLink, options, callback) {
1877
- return this.client.sendOperationRequest({
1878
- nextPageLink: nextPageLink,
1879
- options: options
1880
- }, listLinkedResourcesNextOperationSpec, callback);
1881
- };
1882
- Monitors.prototype.listMonitoredResourcesNext = function (nextPageLink, options, callback) {
1883
- return this.client.sendOperationRequest({
1884
- nextPageLink: nextPageLink,
1885
- options: options
1886
- }, listMonitoredResourcesNextOperationSpec, callback);
1887
- };
1888
- Monitors.prototype.listNext = function (nextPageLink, options, callback) {
1889
- return this.client.sendOperationRequest({
1890
- nextPageLink: nextPageLink,
1891
- options: options
1892
- }, listNextOperationSpec$1, callback);
1893
- };
1894
- Monitors.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1895
- return this.client.sendOperationRequest({
1896
- nextPageLink: nextPageLink,
1897
- options: options
1898
- }, listByResourceGroupNextOperationSpec, callback);
1899
- };
1900
- return Monitors;
1901
- }());
1902
- // Operation Specifications
1903
- var serializer$1 = new msRest.Serializer(Mappers$1);
1904
- var listApiKeysOperationSpec = {
1905
- httpMethod: "POST",
1906
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listApiKeys",
1907
- urlParameters: [
1908
- subscriptionId,
1909
- resourceGroupName,
1910
- monitorName
1911
- ],
1912
- queryParameters: [
1913
- apiVersion
1914
- ],
1915
- headerParameters: [
1916
- acceptLanguage
1917
- ],
1918
- responses: {
1919
- 200: {
1920
- bodyMapper: DatadogApiKeyListResponse
1921
- },
1922
- default: {
1923
- bodyMapper: ErrorResponse
1924
- }
1925
- },
1926
- serializer: serializer$1
1927
- };
1928
- var getDefaultKeyOperationSpec = {
1929
- httpMethod: "POST",
1930
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/getDefaultKey",
1931
- urlParameters: [
1932
- subscriptionId,
1933
- resourceGroupName,
1934
- monitorName
1935
- ],
1936
- queryParameters: [
1937
- apiVersion
1938
- ],
1939
- headerParameters: [
1940
- acceptLanguage
1941
- ],
1942
- responses: {
1943
- 200: {
1944
- bodyMapper: DatadogApiKey
1945
- },
1946
- default: {
1947
- bodyMapper: ErrorResponse
1948
- }
1949
- },
1950
- serializer: serializer$1
1951
- };
1952
- var setDefaultKeyOperationSpec = {
1953
- httpMethod: "POST",
1954
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/setDefaultKey",
1955
- urlParameters: [
1956
- subscriptionId,
1957
- resourceGroupName,
1958
- monitorName
1959
- ],
1960
- queryParameters: [
1961
- apiVersion
1962
- ],
1963
- headerParameters: [
1964
- acceptLanguage
1965
- ],
1966
- requestBody: {
1967
- parameterPath: [
1968
- "options",
1969
- "body"
1970
- ],
1971
- mapper: DatadogApiKey
1972
- },
1973
- responses: {
1974
- 200: {},
1975
- default: {
1976
- bodyMapper: ErrorResponse
1977
- }
1978
- },
1979
- serializer: serializer$1
1980
- };
1981
- var listHostsOperationSpec = {
1982
- httpMethod: "POST",
1983
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listHosts",
1984
- urlParameters: [
1985
- subscriptionId,
1986
- resourceGroupName,
1987
- monitorName
1988
- ],
1989
- queryParameters: [
1990
- apiVersion
1991
- ],
1992
- headerParameters: [
1993
- acceptLanguage
1994
- ],
1995
- responses: {
1996
- 200: {
1997
- bodyMapper: DatadogHostListResponse
1998
- },
1999
- default: {
2000
- bodyMapper: ErrorResponse
2001
- }
2002
- },
2003
- serializer: serializer$1
2004
- };
2005
- var listLinkedResourcesOperationSpec = {
2006
- httpMethod: "POST",
2007
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listLinkedResources",
2008
- urlParameters: [
2009
- subscriptionId,
2010
- resourceGroupName,
2011
- monitorName
2012
- ],
2013
- queryParameters: [
2014
- apiVersion
2015
- ],
2016
- headerParameters: [
2017
- acceptLanguage
2018
- ],
2019
- responses: {
2020
- 200: {
2021
- bodyMapper: LinkedResourceListResponse
2022
- },
2023
- default: {
2024
- bodyMapper: ErrorResponse
2025
- }
2026
- },
2027
- serializer: serializer$1
2028
- };
2029
- var listMonitoredResourcesOperationSpec = {
2030
- httpMethod: "POST",
2031
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listMonitoredResources",
2032
- urlParameters: [
2033
- subscriptionId,
2034
- resourceGroupName,
2035
- monitorName
2036
- ],
2037
- queryParameters: [
2038
- apiVersion
2039
- ],
2040
- headerParameters: [
2041
- acceptLanguage
2042
- ],
2043
- responses: {
2044
- 200: {
2045
- bodyMapper: MonitoredResourceListResponse
2046
- },
2047
- default: {
2048
- bodyMapper: ErrorResponse
2049
- }
2050
- },
2051
- serializer: serializer$1
2052
- };
2053
- var listOperationSpec$1 = {
2054
- httpMethod: "GET",
2055
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors",
2056
- urlParameters: [
2057
- subscriptionId
2058
- ],
2059
- queryParameters: [
2060
- apiVersion
2061
- ],
2062
- headerParameters: [
2063
- acceptLanguage
2064
- ],
2065
- responses: {
2066
- 200: {
2067
- bodyMapper: DatadogMonitorResourceListResponse
2068
- },
2069
- default: {
2070
- bodyMapper: ErrorResponse
2071
- }
2072
- },
2073
- serializer: serializer$1
2074
- };
2075
- var listByResourceGroupOperationSpec = {
2076
- httpMethod: "GET",
2077
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors",
2078
- urlParameters: [
2079
- subscriptionId,
2080
- resourceGroupName
2081
- ],
2082
- queryParameters: [
2083
- apiVersion
2084
- ],
2085
- headerParameters: [
2086
- acceptLanguage
2087
- ],
2088
- responses: {
2089
- 200: {
2090
- bodyMapper: DatadogMonitorResourceListResponse
2091
- },
2092
- default: {
2093
- bodyMapper: ErrorResponse
2094
- }
2095
- },
2096
- serializer: serializer$1
2097
- };
2098
- var getOperationSpec = {
2099
- httpMethod: "GET",
2100
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
2101
- urlParameters: [
2102
- subscriptionId,
2103
- resourceGroupName,
2104
- monitorName
2105
- ],
2106
- queryParameters: [
2107
- apiVersion
2108
- ],
2109
- headerParameters: [
2110
- acceptLanguage
2111
- ],
2112
- responses: {
2113
- 200: {
2114
- bodyMapper: DatadogMonitorResource
2115
- },
2116
- default: {
2117
- bodyMapper: ErrorResponse
2118
- }
2119
- },
2120
- serializer: serializer$1
2121
- };
2122
- var updateOperationSpec = {
2123
- httpMethod: "PATCH",
2124
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
2125
- urlParameters: [
2126
- subscriptionId,
2127
- resourceGroupName,
2128
- monitorName
2129
- ],
2130
- queryParameters: [
2131
- apiVersion
2132
- ],
2133
- headerParameters: [
2134
- acceptLanguage
2135
- ],
2136
- requestBody: {
2137
- parameterPath: [
2138
- "options",
2139
- "body"
2140
- ],
2141
- mapper: DatadogMonitorResourceUpdateParameters
2142
- },
2143
- responses: {
2144
- 200: {
2145
- bodyMapper: DatadogMonitorResource
2146
- },
2147
- default: {
2148
- bodyMapper: ErrorResponse
2149
- }
2150
- },
2151
- serializer: serializer$1
2152
- };
2153
- var refreshSetPasswordLinkOperationSpec = {
2154
- httpMethod: "POST",
2155
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/refreshSetPasswordLink",
2156
- urlParameters: [
2157
- subscriptionId,
2158
- resourceGroupName,
2159
- monitorName
2160
- ],
2161
- queryParameters: [
2162
- apiVersion
2163
- ],
2164
- headerParameters: [
2165
- acceptLanguage
2166
- ],
2167
- responses: {
2168
- 200: {
2169
- bodyMapper: DatadogSetPasswordLink
2170
- },
2171
- default: {
2172
- bodyMapper: ErrorResponse
2173
- }
2174
- },
2175
- serializer: serializer$1
2176
- };
2177
- var beginCreateOperationSpec = {
2178
- httpMethod: "PUT",
2179
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
2180
- urlParameters: [
2181
- subscriptionId,
2182
- resourceGroupName,
2183
- monitorName
2184
- ],
2185
- queryParameters: [
2186
- apiVersion
2187
- ],
2188
- headerParameters: [
2189
- acceptLanguage
2190
- ],
2191
- requestBody: {
2192
- parameterPath: [
2193
- "options",
2194
- "body"
2195
- ],
2196
- mapper: DatadogMonitorResource
2197
- },
2198
- responses: {
2199
- 200: {
2200
- bodyMapper: DatadogMonitorResource
2201
- },
2202
- 201: {
2203
- bodyMapper: DatadogMonitorResource
2204
- },
2205
- default: {
2206
- bodyMapper: ErrorResponse
2207
- }
2208
- },
2209
- serializer: serializer$1
2210
- };
2211
- var beginDeleteMethodOperationSpec = {
2212
- httpMethod: "DELETE",
2213
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
2214
- urlParameters: [
2215
- subscriptionId,
2216
- resourceGroupName,
2217
- monitorName
2218
- ],
2219
- queryParameters: [
2220
- apiVersion
2221
- ],
2222
- headerParameters: [
2223
- acceptLanguage
2224
- ],
2225
- responses: {
2226
- 200: {},
2227
- 202: {},
2228
- 204: {},
2229
- default: {
2230
- bodyMapper: ErrorResponse
2231
- }
2232
- },
2233
- serializer: serializer$1
2234
- };
2235
- var listApiKeysNextOperationSpec = {
2236
- httpMethod: "POST",
2237
- baseUrl: "https://management.azure.com",
2238
- path: "{nextLink}",
2239
- urlParameters: [
2240
- nextPageLink
2241
- ],
2242
- queryParameters: [
2243
- apiVersion
2244
- ],
2245
- headerParameters: [
2246
- acceptLanguage
2247
- ],
2248
- responses: {
2249
- 200: {
2250
- bodyMapper: DatadogApiKeyListResponse
2251
- },
2252
- default: {
2253
- bodyMapper: ErrorResponse
2254
- }
2255
- },
2256
- serializer: serializer$1
2257
- };
2258
- var listHostsNextOperationSpec = {
2259
- httpMethod: "POST",
2260
- baseUrl: "https://management.azure.com",
2261
- path: "{nextLink}",
2262
- urlParameters: [
2263
- nextPageLink
2264
- ],
2265
- queryParameters: [
2266
- apiVersion
2267
- ],
2268
- headerParameters: [
2269
- acceptLanguage
2270
- ],
2271
- responses: {
2272
- 200: {
2273
- bodyMapper: DatadogHostListResponse
2274
- },
2275
- default: {
2276
- bodyMapper: ErrorResponse
2277
- }
2278
- },
2279
- serializer: serializer$1
2280
- };
2281
- var listLinkedResourcesNextOperationSpec = {
2282
- httpMethod: "POST",
2283
- baseUrl: "https://management.azure.com",
2284
- path: "{nextLink}",
2285
- urlParameters: [
2286
- nextPageLink
2287
- ],
2288
- queryParameters: [
2289
- apiVersion
2290
- ],
2291
- headerParameters: [
2292
- acceptLanguage
2293
- ],
2294
- responses: {
2295
- 200: {
2296
- bodyMapper: LinkedResourceListResponse
2297
- },
2298
- default: {
2299
- bodyMapper: ErrorResponse
2300
- }
2301
- },
2302
- serializer: serializer$1
2303
- };
2304
- var listMonitoredResourcesNextOperationSpec = {
2305
- httpMethod: "POST",
2306
- baseUrl: "https://management.azure.com",
2307
- path: "{nextLink}",
2308
- urlParameters: [
2309
- nextPageLink
2310
- ],
2311
- queryParameters: [
2312
- apiVersion
2313
- ],
2314
- headerParameters: [
2315
- acceptLanguage
2316
- ],
2317
- responses: {
2318
- 200: {
2319
- bodyMapper: MonitoredResourceListResponse
2320
- },
2321
- default: {
2322
- bodyMapper: ErrorResponse
2323
- }
2324
- },
2325
- serializer: serializer$1
2326
- };
2327
- var listNextOperationSpec$1 = {
2328
- httpMethod: "GET",
2329
- baseUrl: "https://management.azure.com",
2330
- path: "{nextLink}",
2331
- urlParameters: [
2332
- nextPageLink
2333
- ],
2334
- queryParameters: [
2335
- apiVersion
2336
- ],
2337
- headerParameters: [
2338
- acceptLanguage
2339
- ],
2340
- responses: {
2341
- 200: {
2342
- bodyMapper: DatadogMonitorResourceListResponse
2343
- },
2344
- default: {
2345
- bodyMapper: ErrorResponse
2346
- }
2347
- },
2348
- serializer: serializer$1
2349
- };
2350
- var listByResourceGroupNextOperationSpec = {
2351
- httpMethod: "GET",
2352
- baseUrl: "https://management.azure.com",
2353
- path: "{nextLink}",
2354
- urlParameters: [
2355
- nextPageLink
2356
- ],
2357
- queryParameters: [
2358
- apiVersion
2359
- ],
2360
- headerParameters: [
2361
- acceptLanguage
2362
- ],
2363
- responses: {
2364
- 200: {
2365
- bodyMapper: DatadogMonitorResourceListResponse
2366
- },
2367
- default: {
2368
- bodyMapper: ErrorResponse
2369
- }
2370
- },
2371
- serializer: serializer$1
2372
- };
2373
-
2374
- /*
2375
- * Copyright (c) Microsoft Corporation.
2376
- * Licensed under the MIT License.
2377
- *
2378
- * Code generated by Microsoft (R) AutoRest Code Generator.
2379
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2380
- */
2381
-
2382
- var Mappers$2 = /*#__PURE__*/Object.freeze({
2383
- __proto__: null,
2384
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2385
- ErrorDetail: ErrorDetail,
2386
- ErrorResponse: ErrorResponse,
2387
- OperationDisplay: OperationDisplay,
2388
- OperationListResult: OperationListResult,
2389
- OperationResult: OperationResult
2390
- });
2391
-
2392
- /*
2393
- * Copyright (c) Microsoft Corporation.
2394
- * Licensed under the MIT License.
2395
- *
2396
- * Code generated by Microsoft (R) AutoRest Code Generator.
2397
- * Changes may cause incorrect behavior and will be lost if the code is
2398
- * regenerated.
2399
- */
2400
- /** Class representing a Operations. */
2401
- var Operations = /** @class */ (function () {
2402
- /**
2403
- * Create a Operations.
2404
- * @param {MicrosoftDatadogClientContext} client Reference to the service client.
2405
- */
2406
- function Operations(client) {
2407
- this.client = client;
2408
- }
2409
- Operations.prototype.list = function (options, callback) {
2410
- return this.client.sendOperationRequest({
2411
- options: options
2412
- }, listOperationSpec$2, callback);
2413
- };
2414
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
2415
- return this.client.sendOperationRequest({
2416
- nextPageLink: nextPageLink,
2417
- options: options
2418
- }, listNextOperationSpec$2, callback);
2419
- };
2420
- return Operations;
2421
- }());
2422
- // Operation Specifications
2423
- var serializer$2 = new msRest.Serializer(Mappers$2);
2424
- var listOperationSpec$2 = {
2425
- httpMethod: "GET",
2426
- path: "providers/Microsoft.Datadog/operations",
2427
- queryParameters: [
2428
- apiVersion
2429
- ],
2430
- headerParameters: [
2431
- acceptLanguage
2432
- ],
2433
- responses: {
2434
- 200: {
2435
- bodyMapper: OperationListResult
2436
- },
2437
- default: {
2438
- bodyMapper: ErrorResponse
2439
- }
2440
- },
2441
- serializer: serializer$2
2442
- };
2443
- var listNextOperationSpec$2 = {
2444
- httpMethod: "GET",
2445
- baseUrl: "https://management.azure.com",
2446
- path: "{nextLink}",
2447
- urlParameters: [
2448
- nextPageLink
2449
- ],
2450
- queryParameters: [
2451
- apiVersion
2452
- ],
2453
- headerParameters: [
2454
- acceptLanguage
2455
- ],
2456
- responses: {
2457
- 200: {
2458
- bodyMapper: OperationListResult
2459
- },
2460
- default: {
2461
- bodyMapper: ErrorResponse
2462
- }
2463
- },
2464
- serializer: serializer$2
2465
- };
2466
-
2467
- /*
2468
- * Copyright (c) Microsoft Corporation.
2469
- * Licensed under the MIT License.
2470
- *
2471
- * Code generated by Microsoft (R) AutoRest Code Generator.
2472
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2473
- */
2474
-
2475
- var Mappers$3 = /*#__PURE__*/Object.freeze({
2476
- __proto__: null,
2477
- BaseResource: BaseResource,
2478
- DatadogAgreementProperties: DatadogAgreementProperties,
2479
- DatadogAgreementResource: DatadogAgreementResource,
2480
- DatadogMonitorResource: DatadogMonitorResource,
2481
- DatadogOrganizationProperties: DatadogOrganizationProperties,
2482
- DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
2483
- DatadogSingleSignOnResource: DatadogSingleSignOnResource,
2484
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2485
- ErrorDetail: ErrorDetail,
2486
- ErrorResponse: ErrorResponse,
2487
- FilteringTag: FilteringTag,
2488
- IdentityProperties: IdentityProperties,
2489
- LogRules: LogRules,
2490
- MetricRules: MetricRules,
2491
- MonitoringTagRules: MonitoringTagRules,
2492
- MonitoringTagRulesListResponse: MonitoringTagRulesListResponse,
2493
- MonitoringTagRulesProperties: MonitoringTagRulesProperties,
2494
- MonitorProperties: MonitorProperties,
2495
- ResourceSku: ResourceSku,
2496
- SystemData: SystemData,
2497
- UserInfo: UserInfo
2498
- });
2499
-
2500
- /*
2501
- * Copyright (c) Microsoft Corporation.
2502
- * Licensed under the MIT License.
2503
- *
2504
- * Code generated by Microsoft (R) AutoRest Code Generator.
2505
- * Changes may cause incorrect behavior and will be lost if the code is
2506
- * regenerated.
2507
- */
2508
- /** Class representing a TagRules. */
2509
- var TagRules = /** @class */ (function () {
2510
- /**
2511
- * Create a TagRules.
2512
- * @param {MicrosoftDatadogClientContext} client Reference to the service client.
2513
- */
2514
- function TagRules(client) {
2515
- this.client = client;
2516
- }
2517
- TagRules.prototype.list = function (resourceGroupName, monitorName, options, callback) {
2518
- return this.client.sendOperationRequest({
2519
- resourceGroupName: resourceGroupName,
2520
- monitorName: monitorName,
2521
- options: options
2522
- }, listOperationSpec$3, callback);
2523
- };
2524
- TagRules.prototype.createOrUpdate = function (resourceGroupName, monitorName, ruleSetName, options, callback) {
2525
- return this.client.sendOperationRequest({
2526
- resourceGroupName: resourceGroupName,
2527
- monitorName: monitorName,
2528
- ruleSetName: ruleSetName,
2529
- options: options
2530
- }, createOrUpdateOperationSpec$1, callback);
2531
- };
2532
- TagRules.prototype.get = function (resourceGroupName, monitorName, ruleSetName, options, callback) {
2533
- return this.client.sendOperationRequest({
2534
- resourceGroupName: resourceGroupName,
2535
- monitorName: monitorName,
2536
- ruleSetName: ruleSetName,
2537
- options: options
2538
- }, getOperationSpec$1, callback);
2539
- };
2540
- TagRules.prototype.listNext = function (nextPageLink, options, callback) {
2541
- return this.client.sendOperationRequest({
2542
- nextPageLink: nextPageLink,
2543
- options: options
2544
- }, listNextOperationSpec$3, callback);
2545
- };
2546
- return TagRules;
2547
- }());
2548
- // Operation Specifications
2549
- var serializer$3 = new msRest.Serializer(Mappers$3);
2550
- var listOperationSpec$3 = {
2551
- httpMethod: "GET",
2552
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules",
2553
- urlParameters: [
2554
- subscriptionId,
2555
- resourceGroupName,
2556
- monitorName
2557
- ],
2558
- queryParameters: [
2559
- apiVersion
2560
- ],
2561
- headerParameters: [
2562
- acceptLanguage
2563
- ],
2564
- responses: {
2565
- 200: {
2566
- bodyMapper: MonitoringTagRulesListResponse
2567
- },
2568
- default: {
2569
- bodyMapper: ErrorResponse
2570
- }
2571
- },
2572
- serializer: serializer$3
2573
- };
2574
- var createOrUpdateOperationSpec$1 = {
2575
- httpMethod: "PUT",
2576
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules/{ruleSetName}",
2577
- urlParameters: [
2578
- subscriptionId,
2579
- resourceGroupName,
2580
- monitorName,
2581
- ruleSetName
2582
- ],
2583
- queryParameters: [
2584
- apiVersion
2585
- ],
2586
- headerParameters: [
2587
- acceptLanguage
2588
- ],
2589
- requestBody: {
2590
- parameterPath: [
2591
- "options",
2592
- "body"
2593
- ],
2594
- mapper: MonitoringTagRules
2595
- },
2596
- responses: {
2597
- 200: {
2598
- bodyMapper: MonitoringTagRules
2599
- },
2600
- default: {
2601
- bodyMapper: ErrorResponse
2602
- }
2603
- },
2604
- serializer: serializer$3
2605
- };
2606
- var getOperationSpec$1 = {
2607
- httpMethod: "GET",
2608
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules/{ruleSetName}",
2609
- urlParameters: [
2610
- subscriptionId,
2611
- resourceGroupName,
2612
- monitorName,
2613
- ruleSetName
2614
- ],
2615
- queryParameters: [
2616
- apiVersion
2617
- ],
2618
- headerParameters: [
2619
- acceptLanguage
2620
- ],
2621
- responses: {
2622
- 200: {
2623
- bodyMapper: MonitoringTagRules
2624
- },
2625
- default: {
2626
- bodyMapper: ErrorResponse
2627
- }
2628
- },
2629
- serializer: serializer$3
2630
- };
2631
- var listNextOperationSpec$3 = {
2632
- httpMethod: "GET",
2633
- baseUrl: "https://management.azure.com",
2634
- path: "{nextLink}",
2635
- urlParameters: [
2636
- nextPageLink
2637
- ],
2638
- queryParameters: [
2639
- apiVersion
2640
- ],
2641
- headerParameters: [
2642
- acceptLanguage
2643
- ],
2644
- responses: {
2645
- 200: {
2646
- bodyMapper: MonitoringTagRulesListResponse
2647
- },
2648
- default: {
2649
- bodyMapper: ErrorResponse
2650
- }
2651
- },
2652
- serializer: serializer$3
2653
- };
2654
-
2655
- /*
2656
- * Copyright (c) Microsoft Corporation.
2657
- * Licensed under the MIT License.
2658
- *
2659
- * Code generated by Microsoft (R) AutoRest Code Generator.
2660
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2661
- */
2662
-
2663
- var Mappers$4 = /*#__PURE__*/Object.freeze({
2664
- __proto__: null,
2665
- BaseResource: BaseResource,
2666
- DatadogAgreementProperties: DatadogAgreementProperties,
2667
- DatadogAgreementResource: DatadogAgreementResource,
2668
- DatadogMonitorResource: DatadogMonitorResource,
2669
- DatadogOrganizationProperties: DatadogOrganizationProperties,
2670
- DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
2671
- DatadogSingleSignOnResource: DatadogSingleSignOnResource,
2672
- DatadogSingleSignOnResourceListResponse: DatadogSingleSignOnResourceListResponse,
2673
- ErrorAdditionalInfo: ErrorAdditionalInfo,
2674
- ErrorDetail: ErrorDetail,
2675
- ErrorResponse: ErrorResponse,
2676
- FilteringTag: FilteringTag,
2677
- IdentityProperties: IdentityProperties,
2678
- LogRules: LogRules,
2679
- MetricRules: MetricRules,
2680
- MonitoringTagRules: MonitoringTagRules,
2681
- MonitoringTagRulesProperties: MonitoringTagRulesProperties,
2682
- MonitorProperties: MonitorProperties,
2683
- ResourceSku: ResourceSku,
2684
- SystemData: SystemData,
2685
- UserInfo: UserInfo
2686
- });
2687
-
2688
- /*
2689
- * Copyright (c) Microsoft Corporation.
2690
- * Licensed under the MIT License.
2691
- *
2692
- * Code generated by Microsoft (R) AutoRest Code Generator.
2693
- * Changes may cause incorrect behavior and will be lost if the code is
2694
- * regenerated.
2695
- */
2696
- /** Class representing a SingleSignOnConfigurations. */
2697
- var SingleSignOnConfigurations = /** @class */ (function () {
2698
- /**
2699
- * Create a SingleSignOnConfigurations.
2700
- * @param {MicrosoftDatadogClientContext} client Reference to the service client.
2701
- */
2702
- function SingleSignOnConfigurations(client) {
2703
- this.client = client;
2704
- }
2705
- SingleSignOnConfigurations.prototype.list = function (resourceGroupName, monitorName, options, callback) {
2706
- return this.client.sendOperationRequest({
2707
- resourceGroupName: resourceGroupName,
2708
- monitorName: monitorName,
2709
- options: options
2710
- }, listOperationSpec$4, callback);
2711
- };
2712
- /**
2713
- * @summary Configures single-sign-on for this resource.
2714
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2715
- * @param monitorName Monitor resource name
2716
- * @param configurationName Configuration name
2717
- * @param [options] The optional parameters
2718
- * @returns Promise<Models.SingleSignOnConfigurationsCreateOrUpdateResponse>
2719
- */
2720
- SingleSignOnConfigurations.prototype.createOrUpdate = function (resourceGroupName, monitorName, configurationName, options) {
2721
- return this.beginCreateOrUpdate(resourceGroupName, monitorName, configurationName, options)
2722
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2723
- };
2724
- SingleSignOnConfigurations.prototype.get = function (resourceGroupName, monitorName, configurationName, options, callback) {
2725
- return this.client.sendOperationRequest({
2726
- resourceGroupName: resourceGroupName,
2727
- monitorName: monitorName,
2728
- configurationName: configurationName,
2729
- options: options
2730
- }, getOperationSpec$2, callback);
2731
- };
2732
- /**
2733
- * @summary Configures single-sign-on for this resource.
2734
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2735
- * @param monitorName Monitor resource name
2736
- * @param configurationName Configuration name
2737
- * @param [options] The optional parameters
2738
- * @returns Promise<msRestAzure.LROPoller>
2739
- */
2740
- SingleSignOnConfigurations.prototype.beginCreateOrUpdate = function (resourceGroupName, monitorName, configurationName, options) {
2741
- return this.client.sendLRORequest({
2742
- resourceGroupName: resourceGroupName,
2743
- monitorName: monitorName,
2744
- configurationName: configurationName,
2745
- options: options
2746
- }, beginCreateOrUpdateOperationSpec, options);
2747
- };
2748
- SingleSignOnConfigurations.prototype.listNext = function (nextPageLink, options, callback) {
2749
- return this.client.sendOperationRequest({
2750
- nextPageLink: nextPageLink,
2751
- options: options
2752
- }, listNextOperationSpec$4, callback);
2753
- };
2754
- return SingleSignOnConfigurations;
2755
- }());
2756
- // Operation Specifications
2757
- var serializer$4 = new msRest.Serializer(Mappers$4);
2758
- var listOperationSpec$4 = {
2759
- httpMethod: "GET",
2760
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/singleSignOnConfigurations",
2761
- urlParameters: [
2762
- subscriptionId,
2763
- resourceGroupName,
2764
- monitorName
2765
- ],
2766
- queryParameters: [
2767
- apiVersion
2768
- ],
2769
- headerParameters: [
2770
- acceptLanguage
2771
- ],
2772
- responses: {
2773
- 200: {
2774
- bodyMapper: DatadogSingleSignOnResourceListResponse
2775
- },
2776
- default: {
2777
- bodyMapper: ErrorResponse
2778
- }
2779
- },
2780
- serializer: serializer$4
2781
- };
2782
- var getOperationSpec$2 = {
2783
- httpMethod: "GET",
2784
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}",
2785
- urlParameters: [
2786
- subscriptionId,
2787
- resourceGroupName,
2788
- monitorName,
2789
- configurationName
2790
- ],
2791
- queryParameters: [
2792
- apiVersion
2793
- ],
2794
- headerParameters: [
2795
- acceptLanguage
2796
- ],
2797
- responses: {
2798
- 200: {
2799
- bodyMapper: DatadogSingleSignOnResource
2800
- },
2801
- default: {
2802
- bodyMapper: ErrorResponse
2803
- }
2804
- },
2805
- serializer: serializer$4
2806
- };
2807
- var beginCreateOrUpdateOperationSpec = {
2808
- httpMethod: "PUT",
2809
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}",
2810
- urlParameters: [
2811
- subscriptionId,
2812
- resourceGroupName,
2813
- monitorName,
2814
- configurationName
2815
- ],
2816
- queryParameters: [
2817
- apiVersion
2818
- ],
2819
- headerParameters: [
2820
- acceptLanguage
2821
- ],
2822
- requestBody: {
2823
- parameterPath: [
2824
- "options",
2825
- "body"
2826
- ],
2827
- mapper: DatadogSingleSignOnResource
2828
- },
2829
- responses: {
2830
- 200: {
2831
- bodyMapper: DatadogSingleSignOnResource
2832
- },
2833
- 201: {
2834
- bodyMapper: DatadogSingleSignOnResource
2835
- },
2836
- default: {
2837
- bodyMapper: ErrorResponse
2838
- }
2839
- },
2840
- serializer: serializer$4
2841
- };
2842
- var listNextOperationSpec$4 = {
2843
- httpMethod: "GET",
2844
- baseUrl: "https://management.azure.com",
2845
- path: "{nextLink}",
2846
- urlParameters: [
2847
- nextPageLink
2848
- ],
2849
- queryParameters: [
2850
- apiVersion
2851
- ],
2852
- headerParameters: [
2853
- acceptLanguage
2854
- ],
2855
- responses: {
2856
- 200: {
2857
- bodyMapper: DatadogSingleSignOnResourceListResponse
2858
- },
2859
- default: {
2860
- bodyMapper: ErrorResponse
2861
- }
2862
- },
2863
- serializer: serializer$4
2864
- };
2865
-
2866
- /*
2867
- * Copyright (c) Microsoft Corporation.
2868
- * Licensed under the MIT License.
2869
- *
2870
- * Code generated by Microsoft (R) AutoRest Code Generator.
2871
- * Changes may cause incorrect behavior and will be lost if the code is
2872
- * regenerated.
2873
- */
2874
- var packageName = "@azure/arm-datadog";
2875
- var packageVersion = "1.0.0";
2876
- var MicrosoftDatadogClientContext = /** @class */ (function (_super) {
2877
- __extends(MicrosoftDatadogClientContext, _super);
2878
- /**
2879
- * Initializes a new instance of the MicrosoftDatadogClient class.
2880
- * @param credentials Credentials needed for the client to connect to Azure.
2881
- * @param subscriptionId The ID of the target subscription.
2882
- * @param [options] The parameter options
2883
- */
2884
- function MicrosoftDatadogClientContext(credentials, subscriptionId, options) {
2885
- var _this = this;
2886
- if (credentials == undefined) {
2887
- throw new Error('\'credentials\' cannot be null.');
2888
- }
2889
- if (subscriptionId == undefined) {
2890
- throw new Error('\'subscriptionId\' cannot be null.');
2891
- }
2892
- if (!options) {
2893
- options = {};
2894
- }
2895
- if (!options.userAgent) {
2896
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
2897
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
2898
- }
2899
- _this = _super.call(this, credentials, options) || this;
2900
- _this.apiVersion = '2021-03-01';
2901
- _this.acceptLanguage = 'en-US';
2902
- _this.longRunningOperationRetryTimeout = 30;
2903
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
2904
- _this.requestContentType = "application/json; charset=utf-8";
2905
- _this.credentials = credentials;
2906
- _this.subscriptionId = subscriptionId;
2907
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
2908
- _this.acceptLanguage = options.acceptLanguage;
2909
- }
2910
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
2911
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
2912
- }
2913
- return _this;
2914
- }
2915
- return MicrosoftDatadogClientContext;
2916
- }(msRestAzure.AzureServiceClient));
2917
-
2918
- /*
2919
- * Copyright (c) Microsoft Corporation.
2920
- * Licensed under the MIT License.
2921
- *
2922
- * Code generated by Microsoft (R) AutoRest Code Generator.
2923
- * Changes may cause incorrect behavior and will be lost if the code is
2924
- * regenerated.
2925
- */
2926
- var MicrosoftDatadogClient = /** @class */ (function (_super) {
2927
- __extends(MicrosoftDatadogClient, _super);
2928
- /**
2929
- * Initializes a new instance of the MicrosoftDatadogClient class.
2930
- * @param credentials Credentials needed for the client to connect to Azure.
2931
- * @param subscriptionId The ID of the target subscription.
2932
- * @param [options] The parameter options
2933
- */
2934
- function MicrosoftDatadogClient(credentials, subscriptionId, options) {
2935
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
2936
- _this.marketplaceAgreements = new MarketplaceAgreements(_this);
2937
- _this.monitors = new Monitors(_this);
2938
- _this.operations = new Operations(_this);
2939
- _this.tagRules = new TagRules(_this);
2940
- _this.singleSignOnConfigurations = new SingleSignOnConfigurations(_this);
2941
- return _this;
2942
- }
2943
- return MicrosoftDatadogClient;
2944
- }(MicrosoftDatadogClientContext));
2945
-
2946
- exports.MarketplaceAgreements = MarketplaceAgreements;
2947
- exports.MicrosoftDatadogClient = MicrosoftDatadogClient;
2948
- exports.MicrosoftDatadogClientContext = MicrosoftDatadogClientContext;
2949
- exports.MicrosoftDatadogMappers = mappers;
2950
- exports.MicrosoftDatadogModels = index;
2951
- exports.Monitors = Monitors;
2952
- exports.Operations = Operations;
2953
- exports.SingleSignOnConfigurations = SingleSignOnConfigurations;
2954
- exports.TagRules = TagRules;
2955
-
2956
- Object.defineProperty(exports, '__esModule', { value: true });
2957
-
2958
- })));
2959
- //# sourceMappingURL=arm-datadog.js.map