@azure/arm-datadog 2.1.1 → 3.0.1-alpha.20220120.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.
- package/CHANGELOG.md +21 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +3359 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/microsoftDatadogClient.d.ts +22 -0
- package/dist-esm/src/microsoftDatadogClient.d.ts.map +1 -0
- package/dist-esm/src/microsoftDatadogClient.js +55 -0
- package/dist-esm/src/microsoftDatadogClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +790 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +69 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +42 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +551 -600
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +145 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
- package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
- package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
- package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
- package/dist-esm/src/operations/monitors.d.ts +220 -0
- package/dist-esm/src/operations/monitors.d.ts.map +1 -0
- package/dist-esm/src/operations/monitors.js +1035 -0
- package/dist-esm/src/operations/monitors.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/singleSignOnConfigurations.d.ts +63 -0
- package/dist-esm/src/operations/singleSignOnConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/singleSignOnConfigurations.js +256 -0
- package/dist-esm/src/operations/singleSignOnConfigurations.js.map +1 -0
- package/dist-esm/src/operations/tagRules.d.ts +54 -0
- package/dist-esm/src/operations/tagRules.d.ts.map +1 -0
- package/dist-esm/src/operations/tagRules.js +203 -0
- package/dist-esm/src/operations/tagRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/marketplaceAgreements.js} +2 -9
- package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/monitors.d.ts +116 -0
- package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/monitors.js} +2 -1
- package/dist-esm/src/operationsInterfaces/monitors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tagRules.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/tagRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tagRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/tagRules.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -22
- package/review/arm-datadog.api.md +746 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/microsoftDatadogClient.ts +80 -40
- package/src/models/index.ts +650 -1297
- package/src/models/mappers.ts +561 -609
- package/src/models/parameters.ts +104 -34
- package/src/operations/index.ts +1 -2
- package/src/operations/marketplaceAgreements.ts +110 -116
- package/src/operations/monitors.ts +960 -819
- package/src/operations/operations.ts +87 -75
- package/src/operations/singleSignOnConfigurations.ts +247 -166
- package/src/operations/tagRules.ts +169 -171
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
- package/src/operationsInterfaces/monitors.ts +220 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/singleSignOnConfigurations.ts +78 -0
- package/src/operationsInterfaces/tagRules.ts +59 -0
- package/tsconfig.json +3 -3
- package/types/arm-datadog.d.ts +1130 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-datadog.js +0 -2855
- package/dist/arm-datadog.js.map +0 -1
- package/dist/arm-datadog.min.js +0 -1
- package/dist/arm-datadog.min.js.map +0 -1
- package/esm/microsoftDatadogClient.d.ts +0 -28
- package/esm/microsoftDatadogClient.d.ts.map +0 -1
- package/esm/microsoftDatadogClient.js +0 -41
- package/esm/microsoftDatadogClient.js.map +0 -1
- package/esm/microsoftDatadogClientContext.d.ts +0 -22
- package/esm/microsoftDatadogClientContext.d.ts.map +0 -1
- package/esm/microsoftDatadogClientContext.js +0 -61
- package/esm/microsoftDatadogClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -1422
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -44
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
- package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
- package/esm/models/marketplaceAgreementsMappers.js +0 -9
- package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
- package/esm/models/monitorsMappers.d.ts +0 -2
- package/esm/models/monitorsMappers.d.ts.map +0 -1
- package/esm/models/monitorsMappers.js +0 -9
- package/esm/models/monitorsMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -101
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/singleSignOnConfigurationsMappers.d.ts +0 -2
- package/esm/models/singleSignOnConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/singleSignOnConfigurationsMappers.js +0 -9
- package/esm/models/singleSignOnConfigurationsMappers.js.map +0 -1
- package/esm/models/tagRulesMappers.d.ts +0 -2
- package/esm/models/tagRulesMappers.d.ts.map +0 -1
- package/esm/models/tagRulesMappers.js +0 -9
- package/esm/models/tagRulesMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/marketplaceAgreements.d.ts +0 -61
- package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
- package/esm/operations/marketplaceAgreements.js +0 -116
- package/esm/operations/marketplaceAgreements.js.map +0 -1
- package/esm/operations/monitors.d.ts +0 -373
- package/esm/operations/monitors.d.ts.map +0 -1
- package/esm/operations/monitors.js +0 -533
- package/esm/operations/monitors.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/singleSignOnConfigurations.d.ts +0 -95
- package/esm/operations/singleSignOnConfigurations.d.ts.map +0 -1
- package/esm/operations/singleSignOnConfigurations.js +0 -182
- package/esm/operations/singleSignOnConfigurations.js.map +0 -1
- package/esm/operations/tagRules.d.ts +0 -100
- package/esm/operations/tagRules.d.ts.map +0 -1
- package/esm/operations/tagRules.js +0 -159
- package/esm/operations/tagRules.js.map +0 -1
- package/src/microsoftDatadogClientContext.ts +0 -74
- package/src/models/marketplaceAgreementsMappers.ts +0 -31
- package/src/models/monitorsMappers.ts +0 -45
- package/src/models/singleSignOnConfigurationsMappers.ts +0 -31
- package/src/models/tagRulesMappers.ts +0 -31
package/dist/arm-datadog.js
DELETED
@@ -1,2855 +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
|
-
sku: {
|
788
|
-
serializedName: "sku",
|
789
|
-
type: {
|
790
|
-
name: "Composite",
|
791
|
-
className: "ResourceSku"
|
792
|
-
}
|
793
|
-
}
|
794
|
-
}
|
795
|
-
}
|
796
|
-
};
|
797
|
-
var DatadogSetPasswordLink = {
|
798
|
-
serializedName: "DatadogSetPasswordLink",
|
799
|
-
type: {
|
800
|
-
name: "Composite",
|
801
|
-
className: "DatadogSetPasswordLink",
|
802
|
-
modelProperties: {
|
803
|
-
setPasswordLink: {
|
804
|
-
serializedName: "setPasswordLink",
|
805
|
-
type: {
|
806
|
-
name: "String"
|
807
|
-
}
|
808
|
-
}
|
809
|
-
}
|
810
|
-
}
|
811
|
-
};
|
812
|
-
var FilteringTag = {
|
813
|
-
serializedName: "FilteringTag",
|
814
|
-
type: {
|
815
|
-
name: "Composite",
|
816
|
-
className: "FilteringTag",
|
817
|
-
modelProperties: {
|
818
|
-
name: {
|
819
|
-
serializedName: "name",
|
820
|
-
type: {
|
821
|
-
name: "String"
|
822
|
-
}
|
823
|
-
},
|
824
|
-
value: {
|
825
|
-
serializedName: "value",
|
826
|
-
type: {
|
827
|
-
name: "String"
|
828
|
-
}
|
829
|
-
},
|
830
|
-
action: {
|
831
|
-
serializedName: "action",
|
832
|
-
type: {
|
833
|
-
name: "String"
|
834
|
-
}
|
835
|
-
}
|
836
|
-
}
|
837
|
-
}
|
838
|
-
};
|
839
|
-
var LogRules = {
|
840
|
-
serializedName: "LogRules",
|
841
|
-
type: {
|
842
|
-
name: "Composite",
|
843
|
-
className: "LogRules",
|
844
|
-
modelProperties: {
|
845
|
-
sendAadLogs: {
|
846
|
-
serializedName: "sendAadLogs",
|
847
|
-
type: {
|
848
|
-
name: "Boolean"
|
849
|
-
}
|
850
|
-
},
|
851
|
-
sendSubscriptionLogs: {
|
852
|
-
serializedName: "sendSubscriptionLogs",
|
853
|
-
type: {
|
854
|
-
name: "Boolean"
|
855
|
-
}
|
856
|
-
},
|
857
|
-
sendResourceLogs: {
|
858
|
-
serializedName: "sendResourceLogs",
|
859
|
-
type: {
|
860
|
-
name: "Boolean"
|
861
|
-
}
|
862
|
-
},
|
863
|
-
filteringTags: {
|
864
|
-
serializedName: "filteringTags",
|
865
|
-
type: {
|
866
|
-
name: "Sequence",
|
867
|
-
element: {
|
868
|
-
type: {
|
869
|
-
name: "Composite",
|
870
|
-
className: "FilteringTag"
|
871
|
-
}
|
872
|
-
}
|
873
|
-
}
|
874
|
-
}
|
875
|
-
}
|
876
|
-
}
|
877
|
-
};
|
878
|
-
var MetricRules = {
|
879
|
-
serializedName: "MetricRules",
|
880
|
-
type: {
|
881
|
-
name: "Composite",
|
882
|
-
className: "MetricRules",
|
883
|
-
modelProperties: {
|
884
|
-
filteringTags: {
|
885
|
-
serializedName: "filteringTags",
|
886
|
-
type: {
|
887
|
-
name: "Sequence",
|
888
|
-
element: {
|
889
|
-
type: {
|
890
|
-
name: "Composite",
|
891
|
-
className: "FilteringTag"
|
892
|
-
}
|
893
|
-
}
|
894
|
-
}
|
895
|
-
}
|
896
|
-
}
|
897
|
-
}
|
898
|
-
};
|
899
|
-
var MonitoringTagRulesProperties = {
|
900
|
-
serializedName: "MonitoringTagRulesProperties",
|
901
|
-
type: {
|
902
|
-
name: "Composite",
|
903
|
-
className: "MonitoringTagRulesProperties",
|
904
|
-
modelProperties: {
|
905
|
-
provisioningState: {
|
906
|
-
serializedName: "provisioningState",
|
907
|
-
type: {
|
908
|
-
name: "String"
|
909
|
-
}
|
910
|
-
},
|
911
|
-
logRules: {
|
912
|
-
serializedName: "logRules",
|
913
|
-
type: {
|
914
|
-
name: "Composite",
|
915
|
-
className: "LogRules"
|
916
|
-
}
|
917
|
-
},
|
918
|
-
metricRules: {
|
919
|
-
serializedName: "metricRules",
|
920
|
-
type: {
|
921
|
-
name: "Composite",
|
922
|
-
className: "MetricRules"
|
923
|
-
}
|
924
|
-
}
|
925
|
-
}
|
926
|
-
}
|
927
|
-
};
|
928
|
-
var MonitoringTagRules = {
|
929
|
-
serializedName: "MonitoringTagRules",
|
930
|
-
type: {
|
931
|
-
name: "Composite",
|
932
|
-
className: "MonitoringTagRules",
|
933
|
-
modelProperties: {
|
934
|
-
name: {
|
935
|
-
readOnly: true,
|
936
|
-
serializedName: "name",
|
937
|
-
type: {
|
938
|
-
name: "String"
|
939
|
-
}
|
940
|
-
},
|
941
|
-
id: {
|
942
|
-
readOnly: true,
|
943
|
-
serializedName: "id",
|
944
|
-
type: {
|
945
|
-
name: "String"
|
946
|
-
}
|
947
|
-
},
|
948
|
-
type: {
|
949
|
-
readOnly: true,
|
950
|
-
serializedName: "type",
|
951
|
-
type: {
|
952
|
-
name: "String"
|
953
|
-
}
|
954
|
-
},
|
955
|
-
properties: {
|
956
|
-
serializedName: "properties",
|
957
|
-
type: {
|
958
|
-
name: "Composite",
|
959
|
-
className: "MonitoringTagRulesProperties"
|
960
|
-
}
|
961
|
-
},
|
962
|
-
systemData: {
|
963
|
-
readOnly: true,
|
964
|
-
serializedName: "systemData",
|
965
|
-
type: {
|
966
|
-
name: "Composite",
|
967
|
-
className: "SystemData"
|
968
|
-
}
|
969
|
-
}
|
970
|
-
}
|
971
|
-
}
|
972
|
-
};
|
973
|
-
var DatadogSingleSignOnProperties = {
|
974
|
-
serializedName: "DatadogSingleSignOnProperties",
|
975
|
-
type: {
|
976
|
-
name: "Composite",
|
977
|
-
className: "DatadogSingleSignOnProperties",
|
978
|
-
modelProperties: {
|
979
|
-
provisioningState: {
|
980
|
-
serializedName: "provisioningState",
|
981
|
-
type: {
|
982
|
-
name: "String"
|
983
|
-
}
|
984
|
-
},
|
985
|
-
singleSignOnState: {
|
986
|
-
serializedName: "singleSignOnState",
|
987
|
-
type: {
|
988
|
-
name: "String"
|
989
|
-
}
|
990
|
-
},
|
991
|
-
enterpriseAppId: {
|
992
|
-
serializedName: "enterpriseAppId",
|
993
|
-
type: {
|
994
|
-
name: "String"
|
995
|
-
}
|
996
|
-
},
|
997
|
-
singleSignOnUrl: {
|
998
|
-
readOnly: true,
|
999
|
-
serializedName: "singleSignOnUrl",
|
1000
|
-
type: {
|
1001
|
-
name: "String"
|
1002
|
-
}
|
1003
|
-
}
|
1004
|
-
}
|
1005
|
-
}
|
1006
|
-
};
|
1007
|
-
var DatadogSingleSignOnResource = {
|
1008
|
-
serializedName: "DatadogSingleSignOnResource",
|
1009
|
-
type: {
|
1010
|
-
name: "Composite",
|
1011
|
-
className: "DatadogSingleSignOnResource",
|
1012
|
-
modelProperties: {
|
1013
|
-
id: {
|
1014
|
-
readOnly: true,
|
1015
|
-
serializedName: "id",
|
1016
|
-
type: {
|
1017
|
-
name: "String"
|
1018
|
-
}
|
1019
|
-
},
|
1020
|
-
name: {
|
1021
|
-
readOnly: true,
|
1022
|
-
serializedName: "name",
|
1023
|
-
type: {
|
1024
|
-
name: "String"
|
1025
|
-
}
|
1026
|
-
},
|
1027
|
-
type: {
|
1028
|
-
readOnly: true,
|
1029
|
-
serializedName: "type",
|
1030
|
-
type: {
|
1031
|
-
name: "String"
|
1032
|
-
}
|
1033
|
-
},
|
1034
|
-
properties: {
|
1035
|
-
serializedName: "properties",
|
1036
|
-
type: {
|
1037
|
-
name: "Composite",
|
1038
|
-
className: "DatadogSingleSignOnProperties"
|
1039
|
-
}
|
1040
|
-
},
|
1041
|
-
systemData: {
|
1042
|
-
readOnly: true,
|
1043
|
-
serializedName: "systemData",
|
1044
|
-
type: {
|
1045
|
-
name: "Composite",
|
1046
|
-
className: "SystemData"
|
1047
|
-
}
|
1048
|
-
}
|
1049
|
-
}
|
1050
|
-
}
|
1051
|
-
};
|
1052
|
-
var ErrorAdditionalInfo = {
|
1053
|
-
serializedName: "ErrorAdditionalInfo",
|
1054
|
-
type: {
|
1055
|
-
name: "Composite",
|
1056
|
-
className: "ErrorAdditionalInfo",
|
1057
|
-
modelProperties: {
|
1058
|
-
type: {
|
1059
|
-
readOnly: true,
|
1060
|
-
serializedName: "type",
|
1061
|
-
type: {
|
1062
|
-
name: "String"
|
1063
|
-
}
|
1064
|
-
},
|
1065
|
-
info: {
|
1066
|
-
readOnly: true,
|
1067
|
-
serializedName: "info",
|
1068
|
-
type: {
|
1069
|
-
name: "Object"
|
1070
|
-
}
|
1071
|
-
}
|
1072
|
-
}
|
1073
|
-
}
|
1074
|
-
};
|
1075
|
-
var ErrorDetail = {
|
1076
|
-
serializedName: "ErrorDetail",
|
1077
|
-
type: {
|
1078
|
-
name: "Composite",
|
1079
|
-
className: "ErrorDetail",
|
1080
|
-
modelProperties: {
|
1081
|
-
code: {
|
1082
|
-
readOnly: true,
|
1083
|
-
serializedName: "code",
|
1084
|
-
type: {
|
1085
|
-
name: "String"
|
1086
|
-
}
|
1087
|
-
},
|
1088
|
-
message: {
|
1089
|
-
readOnly: true,
|
1090
|
-
serializedName: "message",
|
1091
|
-
type: {
|
1092
|
-
name: "String"
|
1093
|
-
}
|
1094
|
-
},
|
1095
|
-
target: {
|
1096
|
-
readOnly: true,
|
1097
|
-
serializedName: "target",
|
1098
|
-
type: {
|
1099
|
-
name: "String"
|
1100
|
-
}
|
1101
|
-
},
|
1102
|
-
details: {
|
1103
|
-
readOnly: true,
|
1104
|
-
serializedName: "details",
|
1105
|
-
type: {
|
1106
|
-
name: "Sequence",
|
1107
|
-
element: {
|
1108
|
-
type: {
|
1109
|
-
name: "Composite",
|
1110
|
-
className: "ErrorDetail"
|
1111
|
-
}
|
1112
|
-
}
|
1113
|
-
}
|
1114
|
-
},
|
1115
|
-
additionalInfo: {
|
1116
|
-
readOnly: true,
|
1117
|
-
serializedName: "additionalInfo",
|
1118
|
-
type: {
|
1119
|
-
name: "Sequence",
|
1120
|
-
element: {
|
1121
|
-
type: {
|
1122
|
-
name: "Composite",
|
1123
|
-
className: "ErrorAdditionalInfo"
|
1124
|
-
}
|
1125
|
-
}
|
1126
|
-
}
|
1127
|
-
}
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
};
|
1131
|
-
var ErrorResponse = {
|
1132
|
-
serializedName: "ErrorResponse",
|
1133
|
-
type: {
|
1134
|
-
name: "Composite",
|
1135
|
-
className: "ErrorResponse",
|
1136
|
-
modelProperties: {
|
1137
|
-
error: {
|
1138
|
-
serializedName: "error",
|
1139
|
-
type: {
|
1140
|
-
name: "Composite",
|
1141
|
-
className: "ErrorDetail"
|
1142
|
-
}
|
1143
|
-
}
|
1144
|
-
}
|
1145
|
-
}
|
1146
|
-
};
|
1147
|
-
var DatadogAgreementResourceListResponse = {
|
1148
|
-
serializedName: "DatadogAgreementResourceListResponse",
|
1149
|
-
type: {
|
1150
|
-
name: "Composite",
|
1151
|
-
className: "DatadogAgreementResourceListResponse",
|
1152
|
-
modelProperties: {
|
1153
|
-
value: {
|
1154
|
-
serializedName: "",
|
1155
|
-
type: {
|
1156
|
-
name: "Sequence",
|
1157
|
-
element: {
|
1158
|
-
type: {
|
1159
|
-
name: "Composite",
|
1160
|
-
className: "DatadogAgreementResource"
|
1161
|
-
}
|
1162
|
-
}
|
1163
|
-
}
|
1164
|
-
},
|
1165
|
-
nextLink: {
|
1166
|
-
serializedName: "nextLink",
|
1167
|
-
type: {
|
1168
|
-
name: "String"
|
1169
|
-
}
|
1170
|
-
}
|
1171
|
-
}
|
1172
|
-
}
|
1173
|
-
};
|
1174
|
-
var DatadogApiKeyListResponse = {
|
1175
|
-
serializedName: "DatadogApiKeyListResponse",
|
1176
|
-
type: {
|
1177
|
-
name: "Composite",
|
1178
|
-
className: "DatadogApiKeyListResponse",
|
1179
|
-
modelProperties: {
|
1180
|
-
value: {
|
1181
|
-
serializedName: "",
|
1182
|
-
type: {
|
1183
|
-
name: "Sequence",
|
1184
|
-
element: {
|
1185
|
-
type: {
|
1186
|
-
name: "Composite",
|
1187
|
-
className: "DatadogApiKey"
|
1188
|
-
}
|
1189
|
-
}
|
1190
|
-
}
|
1191
|
-
},
|
1192
|
-
nextLink: {
|
1193
|
-
serializedName: "nextLink",
|
1194
|
-
type: {
|
1195
|
-
name: "String"
|
1196
|
-
}
|
1197
|
-
}
|
1198
|
-
}
|
1199
|
-
}
|
1200
|
-
};
|
1201
|
-
var DatadogHostListResponse = {
|
1202
|
-
serializedName: "DatadogHostListResponse",
|
1203
|
-
type: {
|
1204
|
-
name: "Composite",
|
1205
|
-
className: "DatadogHostListResponse",
|
1206
|
-
modelProperties: {
|
1207
|
-
value: {
|
1208
|
-
serializedName: "",
|
1209
|
-
type: {
|
1210
|
-
name: "Sequence",
|
1211
|
-
element: {
|
1212
|
-
type: {
|
1213
|
-
name: "Composite",
|
1214
|
-
className: "DatadogHost"
|
1215
|
-
}
|
1216
|
-
}
|
1217
|
-
}
|
1218
|
-
},
|
1219
|
-
nextLink: {
|
1220
|
-
serializedName: "nextLink",
|
1221
|
-
type: {
|
1222
|
-
name: "String"
|
1223
|
-
}
|
1224
|
-
}
|
1225
|
-
}
|
1226
|
-
}
|
1227
|
-
};
|
1228
|
-
var LinkedResourceListResponse = {
|
1229
|
-
serializedName: "LinkedResourceListResponse",
|
1230
|
-
type: {
|
1231
|
-
name: "Composite",
|
1232
|
-
className: "LinkedResourceListResponse",
|
1233
|
-
modelProperties: {
|
1234
|
-
value: {
|
1235
|
-
serializedName: "",
|
1236
|
-
type: {
|
1237
|
-
name: "Sequence",
|
1238
|
-
element: {
|
1239
|
-
type: {
|
1240
|
-
name: "Composite",
|
1241
|
-
className: "LinkedResource"
|
1242
|
-
}
|
1243
|
-
}
|
1244
|
-
}
|
1245
|
-
},
|
1246
|
-
nextLink: {
|
1247
|
-
serializedName: "nextLink",
|
1248
|
-
type: {
|
1249
|
-
name: "String"
|
1250
|
-
}
|
1251
|
-
}
|
1252
|
-
}
|
1253
|
-
}
|
1254
|
-
};
|
1255
|
-
var MonitoredResourceListResponse = {
|
1256
|
-
serializedName: "MonitoredResourceListResponse",
|
1257
|
-
type: {
|
1258
|
-
name: "Composite",
|
1259
|
-
className: "MonitoredResourceListResponse",
|
1260
|
-
modelProperties: {
|
1261
|
-
value: {
|
1262
|
-
serializedName: "",
|
1263
|
-
type: {
|
1264
|
-
name: "Sequence",
|
1265
|
-
element: {
|
1266
|
-
type: {
|
1267
|
-
name: "Composite",
|
1268
|
-
className: "MonitoredResource"
|
1269
|
-
}
|
1270
|
-
}
|
1271
|
-
}
|
1272
|
-
},
|
1273
|
-
nextLink: {
|
1274
|
-
serializedName: "nextLink",
|
1275
|
-
type: {
|
1276
|
-
name: "String"
|
1277
|
-
}
|
1278
|
-
}
|
1279
|
-
}
|
1280
|
-
}
|
1281
|
-
};
|
1282
|
-
var DatadogMonitorResourceListResponse = {
|
1283
|
-
serializedName: "DatadogMonitorResourceListResponse",
|
1284
|
-
type: {
|
1285
|
-
name: "Composite",
|
1286
|
-
className: "DatadogMonitorResourceListResponse",
|
1287
|
-
modelProperties: {
|
1288
|
-
value: {
|
1289
|
-
serializedName: "",
|
1290
|
-
type: {
|
1291
|
-
name: "Sequence",
|
1292
|
-
element: {
|
1293
|
-
type: {
|
1294
|
-
name: "Composite",
|
1295
|
-
className: "DatadogMonitorResource"
|
1296
|
-
}
|
1297
|
-
}
|
1298
|
-
}
|
1299
|
-
},
|
1300
|
-
nextLink: {
|
1301
|
-
serializedName: "nextLink",
|
1302
|
-
type: {
|
1303
|
-
name: "String"
|
1304
|
-
}
|
1305
|
-
}
|
1306
|
-
}
|
1307
|
-
}
|
1308
|
-
};
|
1309
|
-
var OperationListResult = {
|
1310
|
-
serializedName: "OperationListResult",
|
1311
|
-
type: {
|
1312
|
-
name: "Composite",
|
1313
|
-
className: "OperationListResult",
|
1314
|
-
modelProperties: {
|
1315
|
-
value: {
|
1316
|
-
serializedName: "",
|
1317
|
-
type: {
|
1318
|
-
name: "Sequence",
|
1319
|
-
element: {
|
1320
|
-
type: {
|
1321
|
-
name: "Composite",
|
1322
|
-
className: "OperationResult"
|
1323
|
-
}
|
1324
|
-
}
|
1325
|
-
}
|
1326
|
-
},
|
1327
|
-
nextLink: {
|
1328
|
-
serializedName: "nextLink",
|
1329
|
-
type: {
|
1330
|
-
name: "String"
|
1331
|
-
}
|
1332
|
-
}
|
1333
|
-
}
|
1334
|
-
}
|
1335
|
-
};
|
1336
|
-
var MonitoringTagRulesListResponse = {
|
1337
|
-
serializedName: "MonitoringTagRulesListResponse",
|
1338
|
-
type: {
|
1339
|
-
name: "Composite",
|
1340
|
-
className: "MonitoringTagRulesListResponse",
|
1341
|
-
modelProperties: {
|
1342
|
-
value: {
|
1343
|
-
serializedName: "",
|
1344
|
-
type: {
|
1345
|
-
name: "Sequence",
|
1346
|
-
element: {
|
1347
|
-
type: {
|
1348
|
-
name: "Composite",
|
1349
|
-
className: "MonitoringTagRules"
|
1350
|
-
}
|
1351
|
-
}
|
1352
|
-
}
|
1353
|
-
},
|
1354
|
-
nextLink: {
|
1355
|
-
serializedName: "nextLink",
|
1356
|
-
type: {
|
1357
|
-
name: "String"
|
1358
|
-
}
|
1359
|
-
}
|
1360
|
-
}
|
1361
|
-
}
|
1362
|
-
};
|
1363
|
-
var DatadogSingleSignOnResourceListResponse = {
|
1364
|
-
serializedName: "DatadogSingleSignOnResourceListResponse",
|
1365
|
-
type: {
|
1366
|
-
name: "Composite",
|
1367
|
-
className: "DatadogSingleSignOnResourceListResponse",
|
1368
|
-
modelProperties: {
|
1369
|
-
value: {
|
1370
|
-
serializedName: "",
|
1371
|
-
type: {
|
1372
|
-
name: "Sequence",
|
1373
|
-
element: {
|
1374
|
-
type: {
|
1375
|
-
name: "Composite",
|
1376
|
-
className: "DatadogSingleSignOnResource"
|
1377
|
-
}
|
1378
|
-
}
|
1379
|
-
}
|
1380
|
-
},
|
1381
|
-
nextLink: {
|
1382
|
-
serializedName: "nextLink",
|
1383
|
-
type: {
|
1384
|
-
name: "String"
|
1385
|
-
}
|
1386
|
-
}
|
1387
|
-
}
|
1388
|
-
}
|
1389
|
-
};
|
1390
|
-
|
1391
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
1392
|
-
__proto__: null,
|
1393
|
-
CloudError: CloudError,
|
1394
|
-
BaseResource: BaseResource,
|
1395
|
-
DatadogAgreementProperties: DatadogAgreementProperties,
|
1396
|
-
SystemData: SystemData,
|
1397
|
-
DatadogAgreementResource: DatadogAgreementResource,
|
1398
|
-
DatadogApiKey: DatadogApiKey,
|
1399
|
-
DatadogInstallMethod: DatadogInstallMethod,
|
1400
|
-
DatadogLogsAgent: DatadogLogsAgent,
|
1401
|
-
DatadogHostMetadata: DatadogHostMetadata,
|
1402
|
-
DatadogHost: DatadogHost,
|
1403
|
-
LinkedResource: LinkedResource,
|
1404
|
-
MonitoredResource: MonitoredResource,
|
1405
|
-
OperationDisplay: OperationDisplay,
|
1406
|
-
OperationResult: OperationResult,
|
1407
|
-
ResourceSku: ResourceSku,
|
1408
|
-
DatadogOrganizationProperties: DatadogOrganizationProperties,
|
1409
|
-
UserInfo: UserInfo,
|
1410
|
-
MonitorProperties: MonitorProperties,
|
1411
|
-
IdentityProperties: IdentityProperties,
|
1412
|
-
DatadogMonitorResource: DatadogMonitorResource,
|
1413
|
-
MonitorUpdateProperties: MonitorUpdateProperties,
|
1414
|
-
DatadogMonitorResourceUpdateParameters: DatadogMonitorResourceUpdateParameters,
|
1415
|
-
DatadogSetPasswordLink: DatadogSetPasswordLink,
|
1416
|
-
FilteringTag: FilteringTag,
|
1417
|
-
LogRules: LogRules,
|
1418
|
-
MetricRules: MetricRules,
|
1419
|
-
MonitoringTagRulesProperties: MonitoringTagRulesProperties,
|
1420
|
-
MonitoringTagRules: MonitoringTagRules,
|
1421
|
-
DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
|
1422
|
-
DatadogSingleSignOnResource: DatadogSingleSignOnResource,
|
1423
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
1424
|
-
ErrorDetail: ErrorDetail,
|
1425
|
-
ErrorResponse: ErrorResponse,
|
1426
|
-
DatadogAgreementResourceListResponse: DatadogAgreementResourceListResponse,
|
1427
|
-
DatadogApiKeyListResponse: DatadogApiKeyListResponse,
|
1428
|
-
DatadogHostListResponse: DatadogHostListResponse,
|
1429
|
-
LinkedResourceListResponse: LinkedResourceListResponse,
|
1430
|
-
MonitoredResourceListResponse: MonitoredResourceListResponse,
|
1431
|
-
DatadogMonitorResourceListResponse: DatadogMonitorResourceListResponse,
|
1432
|
-
OperationListResult: OperationListResult,
|
1433
|
-
MonitoringTagRulesListResponse: MonitoringTagRulesListResponse,
|
1434
|
-
DatadogSingleSignOnResourceListResponse: DatadogSingleSignOnResourceListResponse
|
1435
|
-
});
|
1436
|
-
|
1437
|
-
/*
|
1438
|
-
* Copyright (c) Microsoft Corporation.
|
1439
|
-
* Licensed under the MIT License.
|
1440
|
-
*
|
1441
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1442
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1443
|
-
*/
|
1444
|
-
|
1445
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
1446
|
-
__proto__: null,
|
1447
|
-
BaseResource: BaseResource,
|
1448
|
-
DatadogAgreementProperties: DatadogAgreementProperties,
|
1449
|
-
DatadogAgreementResource: DatadogAgreementResource,
|
1450
|
-
DatadogAgreementResourceListResponse: DatadogAgreementResourceListResponse,
|
1451
|
-
DatadogMonitorResource: DatadogMonitorResource,
|
1452
|
-
DatadogOrganizationProperties: DatadogOrganizationProperties,
|
1453
|
-
DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
|
1454
|
-
DatadogSingleSignOnResource: DatadogSingleSignOnResource,
|
1455
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
1456
|
-
ErrorDetail: ErrorDetail,
|
1457
|
-
ErrorResponse: ErrorResponse,
|
1458
|
-
FilteringTag: FilteringTag,
|
1459
|
-
IdentityProperties: IdentityProperties,
|
1460
|
-
LogRules: LogRules,
|
1461
|
-
MetricRules: MetricRules,
|
1462
|
-
MonitoringTagRules: MonitoringTagRules,
|
1463
|
-
MonitoringTagRulesProperties: MonitoringTagRulesProperties,
|
1464
|
-
MonitorProperties: MonitorProperties,
|
1465
|
-
ResourceSku: ResourceSku,
|
1466
|
-
SystemData: SystemData,
|
1467
|
-
UserInfo: UserInfo
|
1468
|
-
});
|
1469
|
-
|
1470
|
-
/*
|
1471
|
-
* Copyright (c) Microsoft Corporation.
|
1472
|
-
* Licensed under the MIT License.
|
1473
|
-
*
|
1474
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1475
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1476
|
-
* regenerated.
|
1477
|
-
*/
|
1478
|
-
var acceptLanguage = {
|
1479
|
-
parameterPath: "acceptLanguage",
|
1480
|
-
mapper: {
|
1481
|
-
serializedName: "accept-language",
|
1482
|
-
defaultValue: 'en-US',
|
1483
|
-
type: {
|
1484
|
-
name: "String"
|
1485
|
-
}
|
1486
|
-
}
|
1487
|
-
};
|
1488
|
-
var apiVersion = {
|
1489
|
-
parameterPath: "apiVersion",
|
1490
|
-
mapper: {
|
1491
|
-
required: true,
|
1492
|
-
serializedName: "api-version",
|
1493
|
-
constraints: {
|
1494
|
-
MinLength: 1
|
1495
|
-
},
|
1496
|
-
type: {
|
1497
|
-
name: "String"
|
1498
|
-
}
|
1499
|
-
}
|
1500
|
-
};
|
1501
|
-
var configurationName = {
|
1502
|
-
parameterPath: "configurationName",
|
1503
|
-
mapper: {
|
1504
|
-
required: true,
|
1505
|
-
serializedName: "configurationName",
|
1506
|
-
type: {
|
1507
|
-
name: "String"
|
1508
|
-
}
|
1509
|
-
}
|
1510
|
-
};
|
1511
|
-
var monitorName = {
|
1512
|
-
parameterPath: "monitorName",
|
1513
|
-
mapper: {
|
1514
|
-
required: true,
|
1515
|
-
serializedName: "monitorName",
|
1516
|
-
type: {
|
1517
|
-
name: "String"
|
1518
|
-
}
|
1519
|
-
}
|
1520
|
-
};
|
1521
|
-
var nextPageLink = {
|
1522
|
-
parameterPath: "nextPageLink",
|
1523
|
-
mapper: {
|
1524
|
-
required: true,
|
1525
|
-
serializedName: "nextLink",
|
1526
|
-
type: {
|
1527
|
-
name: "String"
|
1528
|
-
}
|
1529
|
-
},
|
1530
|
-
skipEncoding: true
|
1531
|
-
};
|
1532
|
-
var resourceGroupName = {
|
1533
|
-
parameterPath: "resourceGroupName",
|
1534
|
-
mapper: {
|
1535
|
-
required: true,
|
1536
|
-
serializedName: "resourceGroupName",
|
1537
|
-
constraints: {
|
1538
|
-
MaxLength: 90,
|
1539
|
-
MinLength: 1,
|
1540
|
-
Pattern: /^[-\w\._\(\)]+$/
|
1541
|
-
},
|
1542
|
-
type: {
|
1543
|
-
name: "String"
|
1544
|
-
}
|
1545
|
-
}
|
1546
|
-
};
|
1547
|
-
var ruleSetName = {
|
1548
|
-
parameterPath: "ruleSetName",
|
1549
|
-
mapper: {
|
1550
|
-
required: true,
|
1551
|
-
serializedName: "ruleSetName",
|
1552
|
-
type: {
|
1553
|
-
name: "String"
|
1554
|
-
}
|
1555
|
-
}
|
1556
|
-
};
|
1557
|
-
var subscriptionId = {
|
1558
|
-
parameterPath: "subscriptionId",
|
1559
|
-
mapper: {
|
1560
|
-
required: true,
|
1561
|
-
serializedName: "subscriptionId",
|
1562
|
-
constraints: {
|
1563
|
-
MinLength: 1
|
1564
|
-
},
|
1565
|
-
type: {
|
1566
|
-
name: "String"
|
1567
|
-
}
|
1568
|
-
}
|
1569
|
-
};
|
1570
|
-
|
1571
|
-
/*
|
1572
|
-
* Copyright (c) Microsoft Corporation.
|
1573
|
-
* Licensed under the MIT License.
|
1574
|
-
*
|
1575
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1576
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1577
|
-
* regenerated.
|
1578
|
-
*/
|
1579
|
-
/** Class representing a MarketplaceAgreements. */
|
1580
|
-
var MarketplaceAgreements = /** @class */ (function () {
|
1581
|
-
/**
|
1582
|
-
* Create a MarketplaceAgreements.
|
1583
|
-
* @param {MicrosoftDatadogClientContext} client Reference to the service client.
|
1584
|
-
*/
|
1585
|
-
function MarketplaceAgreements(client) {
|
1586
|
-
this.client = client;
|
1587
|
-
}
|
1588
|
-
MarketplaceAgreements.prototype.list = function (options, callback) {
|
1589
|
-
return this.client.sendOperationRequest({
|
1590
|
-
options: options
|
1591
|
-
}, listOperationSpec, callback);
|
1592
|
-
};
|
1593
|
-
MarketplaceAgreements.prototype.createOrUpdate = function (options, callback) {
|
1594
|
-
return this.client.sendOperationRequest({
|
1595
|
-
options: options
|
1596
|
-
}, createOrUpdateOperationSpec, callback);
|
1597
|
-
};
|
1598
|
-
MarketplaceAgreements.prototype.listNext = function (nextPageLink, options, callback) {
|
1599
|
-
return this.client.sendOperationRequest({
|
1600
|
-
nextPageLink: nextPageLink,
|
1601
|
-
options: options
|
1602
|
-
}, listNextOperationSpec, callback);
|
1603
|
-
};
|
1604
|
-
return MarketplaceAgreements;
|
1605
|
-
}());
|
1606
|
-
// Operation Specifications
|
1607
|
-
var serializer = new msRest.Serializer(Mappers);
|
1608
|
-
var listOperationSpec = {
|
1609
|
-
httpMethod: "GET",
|
1610
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements",
|
1611
|
-
urlParameters: [
|
1612
|
-
subscriptionId
|
1613
|
-
],
|
1614
|
-
queryParameters: [
|
1615
|
-
apiVersion
|
1616
|
-
],
|
1617
|
-
headerParameters: [
|
1618
|
-
acceptLanguage
|
1619
|
-
],
|
1620
|
-
responses: {
|
1621
|
-
200: {
|
1622
|
-
bodyMapper: DatadogAgreementResourceListResponse
|
1623
|
-
},
|
1624
|
-
default: {
|
1625
|
-
bodyMapper: ErrorResponse
|
1626
|
-
}
|
1627
|
-
},
|
1628
|
-
serializer: serializer
|
1629
|
-
};
|
1630
|
-
var createOrUpdateOperationSpec = {
|
1631
|
-
httpMethod: "PUT",
|
1632
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements/default",
|
1633
|
-
urlParameters: [
|
1634
|
-
subscriptionId
|
1635
|
-
],
|
1636
|
-
queryParameters: [
|
1637
|
-
apiVersion
|
1638
|
-
],
|
1639
|
-
headerParameters: [
|
1640
|
-
acceptLanguage
|
1641
|
-
],
|
1642
|
-
requestBody: {
|
1643
|
-
parameterPath: [
|
1644
|
-
"options",
|
1645
|
-
"body"
|
1646
|
-
],
|
1647
|
-
mapper: DatadogAgreementResource
|
1648
|
-
},
|
1649
|
-
responses: {
|
1650
|
-
200: {
|
1651
|
-
bodyMapper: DatadogAgreementResource
|
1652
|
-
},
|
1653
|
-
default: {
|
1654
|
-
bodyMapper: ErrorResponse
|
1655
|
-
}
|
1656
|
-
},
|
1657
|
-
serializer: serializer
|
1658
|
-
};
|
1659
|
-
var listNextOperationSpec = {
|
1660
|
-
httpMethod: "GET",
|
1661
|
-
baseUrl: "https://management.azure.com",
|
1662
|
-
path: "{nextLink}",
|
1663
|
-
urlParameters: [
|
1664
|
-
nextPageLink
|
1665
|
-
],
|
1666
|
-
queryParameters: [
|
1667
|
-
apiVersion
|
1668
|
-
],
|
1669
|
-
headerParameters: [
|
1670
|
-
acceptLanguage
|
1671
|
-
],
|
1672
|
-
responses: {
|
1673
|
-
200: {
|
1674
|
-
bodyMapper: DatadogAgreementResourceListResponse
|
1675
|
-
},
|
1676
|
-
default: {
|
1677
|
-
bodyMapper: ErrorResponse
|
1678
|
-
}
|
1679
|
-
},
|
1680
|
-
serializer: serializer
|
1681
|
-
};
|
1682
|
-
|
1683
|
-
/*
|
1684
|
-
* Copyright (c) Microsoft Corporation.
|
1685
|
-
* Licensed under the MIT License.
|
1686
|
-
*
|
1687
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1688
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1689
|
-
*/
|
1690
|
-
|
1691
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
1692
|
-
__proto__: null,
|
1693
|
-
BaseResource: BaseResource,
|
1694
|
-
DatadogAgreementProperties: DatadogAgreementProperties,
|
1695
|
-
DatadogAgreementResource: DatadogAgreementResource,
|
1696
|
-
DatadogApiKey: DatadogApiKey,
|
1697
|
-
DatadogApiKeyListResponse: DatadogApiKeyListResponse,
|
1698
|
-
DatadogHost: DatadogHost,
|
1699
|
-
DatadogHostListResponse: DatadogHostListResponse,
|
1700
|
-
DatadogHostMetadata: DatadogHostMetadata,
|
1701
|
-
DatadogInstallMethod: DatadogInstallMethod,
|
1702
|
-
DatadogLogsAgent: DatadogLogsAgent,
|
1703
|
-
DatadogMonitorResource: DatadogMonitorResource,
|
1704
|
-
DatadogMonitorResourceListResponse: DatadogMonitorResourceListResponse,
|
1705
|
-
DatadogMonitorResourceUpdateParameters: DatadogMonitorResourceUpdateParameters,
|
1706
|
-
DatadogOrganizationProperties: DatadogOrganizationProperties,
|
1707
|
-
DatadogSetPasswordLink: DatadogSetPasswordLink,
|
1708
|
-
DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
|
1709
|
-
DatadogSingleSignOnResource: DatadogSingleSignOnResource,
|
1710
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
1711
|
-
ErrorDetail: ErrorDetail,
|
1712
|
-
ErrorResponse: ErrorResponse,
|
1713
|
-
FilteringTag: FilteringTag,
|
1714
|
-
IdentityProperties: IdentityProperties,
|
1715
|
-
LinkedResource: LinkedResource,
|
1716
|
-
LinkedResourceListResponse: LinkedResourceListResponse,
|
1717
|
-
LogRules: LogRules,
|
1718
|
-
MetricRules: MetricRules,
|
1719
|
-
MonitoredResource: MonitoredResource,
|
1720
|
-
MonitoredResourceListResponse: MonitoredResourceListResponse,
|
1721
|
-
MonitoringTagRules: MonitoringTagRules,
|
1722
|
-
MonitoringTagRulesProperties: MonitoringTagRulesProperties,
|
1723
|
-
MonitorProperties: MonitorProperties,
|
1724
|
-
MonitorUpdateProperties: MonitorUpdateProperties,
|
1725
|
-
ResourceSku: ResourceSku,
|
1726
|
-
SystemData: SystemData,
|
1727
|
-
UserInfo: UserInfo
|
1728
|
-
});
|
1729
|
-
|
1730
|
-
/*
|
1731
|
-
* Copyright (c) Microsoft Corporation.
|
1732
|
-
* Licensed under the MIT License.
|
1733
|
-
*
|
1734
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1735
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1736
|
-
* regenerated.
|
1737
|
-
*/
|
1738
|
-
/** Class representing a Monitors. */
|
1739
|
-
var Monitors = /** @class */ (function () {
|
1740
|
-
/**
|
1741
|
-
* Create a Monitors.
|
1742
|
-
* @param {MicrosoftDatadogClientContext} client Reference to the service client.
|
1743
|
-
*/
|
1744
|
-
function Monitors(client) {
|
1745
|
-
this.client = client;
|
1746
|
-
}
|
1747
|
-
Monitors.prototype.listApiKeys = function (resourceGroupName, monitorName, options, callback) {
|
1748
|
-
return this.client.sendOperationRequest({
|
1749
|
-
resourceGroupName: resourceGroupName,
|
1750
|
-
monitorName: monitorName,
|
1751
|
-
options: options
|
1752
|
-
}, listApiKeysOperationSpec, callback);
|
1753
|
-
};
|
1754
|
-
Monitors.prototype.getDefaultKey = function (resourceGroupName, monitorName, options, callback) {
|
1755
|
-
return this.client.sendOperationRequest({
|
1756
|
-
resourceGroupName: resourceGroupName,
|
1757
|
-
monitorName: monitorName,
|
1758
|
-
options: options
|
1759
|
-
}, getDefaultKeyOperationSpec, callback);
|
1760
|
-
};
|
1761
|
-
Monitors.prototype.setDefaultKey = function (resourceGroupName, monitorName, options, callback) {
|
1762
|
-
return this.client.sendOperationRequest({
|
1763
|
-
resourceGroupName: resourceGroupName,
|
1764
|
-
monitorName: monitorName,
|
1765
|
-
options: options
|
1766
|
-
}, setDefaultKeyOperationSpec, callback);
|
1767
|
-
};
|
1768
|
-
Monitors.prototype.listHosts = function (resourceGroupName, monitorName, options, callback) {
|
1769
|
-
return this.client.sendOperationRequest({
|
1770
|
-
resourceGroupName: resourceGroupName,
|
1771
|
-
monitorName: monitorName,
|
1772
|
-
options: options
|
1773
|
-
}, listHostsOperationSpec, callback);
|
1774
|
-
};
|
1775
|
-
Monitors.prototype.listLinkedResources = function (resourceGroupName, monitorName, options, callback) {
|
1776
|
-
return this.client.sendOperationRequest({
|
1777
|
-
resourceGroupName: resourceGroupName,
|
1778
|
-
monitorName: monitorName,
|
1779
|
-
options: options
|
1780
|
-
}, listLinkedResourcesOperationSpec, callback);
|
1781
|
-
};
|
1782
|
-
Monitors.prototype.listMonitoredResources = function (resourceGroupName, monitorName, options, callback) {
|
1783
|
-
return this.client.sendOperationRequest({
|
1784
|
-
resourceGroupName: resourceGroupName,
|
1785
|
-
monitorName: monitorName,
|
1786
|
-
options: options
|
1787
|
-
}, listMonitoredResourcesOperationSpec, callback);
|
1788
|
-
};
|
1789
|
-
Monitors.prototype.list = function (options, callback) {
|
1790
|
-
return this.client.sendOperationRequest({
|
1791
|
-
options: options
|
1792
|
-
}, listOperationSpec$1, callback);
|
1793
|
-
};
|
1794
|
-
Monitors.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
1795
|
-
return this.client.sendOperationRequest({
|
1796
|
-
resourceGroupName: resourceGroupName,
|
1797
|
-
options: options
|
1798
|
-
}, listByResourceGroupOperationSpec, callback);
|
1799
|
-
};
|
1800
|
-
Monitors.prototype.get = function (resourceGroupName, monitorName, options, callback) {
|
1801
|
-
return this.client.sendOperationRequest({
|
1802
|
-
resourceGroupName: resourceGroupName,
|
1803
|
-
monitorName: monitorName,
|
1804
|
-
options: options
|
1805
|
-
}, getOperationSpec, callback);
|
1806
|
-
};
|
1807
|
-
/**
|
1808
|
-
* @summary Create a monitor resource.
|
1809
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
1810
|
-
* @param monitorName Monitor resource name
|
1811
|
-
* @param [options] The optional parameters
|
1812
|
-
* @returns Promise<Models.MonitorsCreateResponse>
|
1813
|
-
*/
|
1814
|
-
Monitors.prototype.create = function (resourceGroupName, monitorName, options) {
|
1815
|
-
return this.beginCreate(resourceGroupName, monitorName, options).then(function (lroPoller) {
|
1816
|
-
return lroPoller.pollUntilFinished();
|
1817
|
-
});
|
1818
|
-
};
|
1819
|
-
/**
|
1820
|
-
* @summary Update a monitor resource.
|
1821
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
1822
|
-
* @param monitorName Monitor resource name
|
1823
|
-
* @param [options] The optional parameters
|
1824
|
-
* @returns Promise<Models.MonitorsUpdateResponse>
|
1825
|
-
*/
|
1826
|
-
Monitors.prototype.update = function (resourceGroupName, monitorName, options) {
|
1827
|
-
return this.beginUpdate(resourceGroupName, monitorName, options).then(function (lroPoller) {
|
1828
|
-
return lroPoller.pollUntilFinished();
|
1829
|
-
});
|
1830
|
-
};
|
1831
|
-
/**
|
1832
|
-
* @summary Delete a monitor resource.
|
1833
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
1834
|
-
* @param monitorName Monitor resource name
|
1835
|
-
* @param [options] The optional parameters
|
1836
|
-
* @returns Promise<msRest.RestResponse>
|
1837
|
-
*/
|
1838
|
-
Monitors.prototype.deleteMethod = function (resourceGroupName, monitorName, options) {
|
1839
|
-
return this.beginDeleteMethod(resourceGroupName, monitorName, options).then(function (lroPoller) {
|
1840
|
-
return lroPoller.pollUntilFinished();
|
1841
|
-
});
|
1842
|
-
};
|
1843
|
-
Monitors.prototype.refreshSetPasswordLink = function (resourceGroupName, monitorName, options, callback) {
|
1844
|
-
return this.client.sendOperationRequest({
|
1845
|
-
resourceGroupName: resourceGroupName,
|
1846
|
-
monitorName: monitorName,
|
1847
|
-
options: options
|
1848
|
-
}, refreshSetPasswordLinkOperationSpec, callback);
|
1849
|
-
};
|
1850
|
-
/**
|
1851
|
-
* @summary Create 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.beginCreate = function (resourceGroupName, monitorName, options) {
|
1858
|
-
return this.client.sendLRORequest({
|
1859
|
-
resourceGroupName: resourceGroupName,
|
1860
|
-
monitorName: monitorName,
|
1861
|
-
options: options
|
1862
|
-
}, beginCreateOperationSpec, options);
|
1863
|
-
};
|
1864
|
-
/**
|
1865
|
-
* @summary Update a monitor resource.
|
1866
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
1867
|
-
* @param monitorName Monitor resource name
|
1868
|
-
* @param [options] The optional parameters
|
1869
|
-
* @returns Promise<msRestAzure.LROPoller>
|
1870
|
-
*/
|
1871
|
-
Monitors.prototype.beginUpdate = function (resourceGroupName, monitorName, options) {
|
1872
|
-
return this.client.sendLRORequest({
|
1873
|
-
resourceGroupName: resourceGroupName,
|
1874
|
-
monitorName: monitorName,
|
1875
|
-
options: options
|
1876
|
-
}, beginUpdateOperationSpec, options);
|
1877
|
-
};
|
1878
|
-
/**
|
1879
|
-
* @summary Delete a monitor resource.
|
1880
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
1881
|
-
* @param monitorName Monitor resource name
|
1882
|
-
* @param [options] The optional parameters
|
1883
|
-
* @returns Promise<msRestAzure.LROPoller>
|
1884
|
-
*/
|
1885
|
-
Monitors.prototype.beginDeleteMethod = function (resourceGroupName, monitorName, options) {
|
1886
|
-
return this.client.sendLRORequest({
|
1887
|
-
resourceGroupName: resourceGroupName,
|
1888
|
-
monitorName: monitorName,
|
1889
|
-
options: options
|
1890
|
-
}, beginDeleteMethodOperationSpec, options);
|
1891
|
-
};
|
1892
|
-
Monitors.prototype.listApiKeysNext = function (nextPageLink, options, callback) {
|
1893
|
-
return this.client.sendOperationRequest({
|
1894
|
-
nextPageLink: nextPageLink,
|
1895
|
-
options: options
|
1896
|
-
}, listApiKeysNextOperationSpec, callback);
|
1897
|
-
};
|
1898
|
-
Monitors.prototype.listHostsNext = function (nextPageLink, options, callback) {
|
1899
|
-
return this.client.sendOperationRequest({
|
1900
|
-
nextPageLink: nextPageLink,
|
1901
|
-
options: options
|
1902
|
-
}, listHostsNextOperationSpec, callback);
|
1903
|
-
};
|
1904
|
-
Monitors.prototype.listLinkedResourcesNext = function (nextPageLink, options, callback) {
|
1905
|
-
return this.client.sendOperationRequest({
|
1906
|
-
nextPageLink: nextPageLink,
|
1907
|
-
options: options
|
1908
|
-
}, listLinkedResourcesNextOperationSpec, callback);
|
1909
|
-
};
|
1910
|
-
Monitors.prototype.listMonitoredResourcesNext = function (nextPageLink, options, callback) {
|
1911
|
-
return this.client.sendOperationRequest({
|
1912
|
-
nextPageLink: nextPageLink,
|
1913
|
-
options: options
|
1914
|
-
}, listMonitoredResourcesNextOperationSpec, callback);
|
1915
|
-
};
|
1916
|
-
Monitors.prototype.listNext = function (nextPageLink, options, callback) {
|
1917
|
-
return this.client.sendOperationRequest({
|
1918
|
-
nextPageLink: nextPageLink,
|
1919
|
-
options: options
|
1920
|
-
}, listNextOperationSpec$1, callback);
|
1921
|
-
};
|
1922
|
-
Monitors.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
1923
|
-
return this.client.sendOperationRequest({
|
1924
|
-
nextPageLink: nextPageLink,
|
1925
|
-
options: options
|
1926
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
1927
|
-
};
|
1928
|
-
return Monitors;
|
1929
|
-
}());
|
1930
|
-
// Operation Specifications
|
1931
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
1932
|
-
var listApiKeysOperationSpec = {
|
1933
|
-
httpMethod: "POST",
|
1934
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listApiKeys",
|
1935
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
1936
|
-
queryParameters: [apiVersion],
|
1937
|
-
headerParameters: [acceptLanguage],
|
1938
|
-
responses: {
|
1939
|
-
200: {
|
1940
|
-
bodyMapper: DatadogApiKeyListResponse
|
1941
|
-
},
|
1942
|
-
default: {
|
1943
|
-
bodyMapper: ErrorResponse
|
1944
|
-
}
|
1945
|
-
},
|
1946
|
-
serializer: serializer$1
|
1947
|
-
};
|
1948
|
-
var getDefaultKeyOperationSpec = {
|
1949
|
-
httpMethod: "POST",
|
1950
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/getDefaultKey",
|
1951
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
1952
|
-
queryParameters: [apiVersion],
|
1953
|
-
headerParameters: [acceptLanguage],
|
1954
|
-
responses: {
|
1955
|
-
200: {
|
1956
|
-
bodyMapper: DatadogApiKey
|
1957
|
-
},
|
1958
|
-
default: {
|
1959
|
-
bodyMapper: ErrorResponse
|
1960
|
-
}
|
1961
|
-
},
|
1962
|
-
serializer: serializer$1
|
1963
|
-
};
|
1964
|
-
var setDefaultKeyOperationSpec = {
|
1965
|
-
httpMethod: "POST",
|
1966
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/setDefaultKey",
|
1967
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
1968
|
-
queryParameters: [apiVersion],
|
1969
|
-
headerParameters: [acceptLanguage],
|
1970
|
-
requestBody: {
|
1971
|
-
parameterPath: ["options", "body"],
|
1972
|
-
mapper: DatadogApiKey
|
1973
|
-
},
|
1974
|
-
responses: {
|
1975
|
-
200: {},
|
1976
|
-
default: {
|
1977
|
-
bodyMapper: ErrorResponse
|
1978
|
-
}
|
1979
|
-
},
|
1980
|
-
serializer: serializer$1
|
1981
|
-
};
|
1982
|
-
var listHostsOperationSpec = {
|
1983
|
-
httpMethod: "POST",
|
1984
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listHosts",
|
1985
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
1986
|
-
queryParameters: [apiVersion],
|
1987
|
-
headerParameters: [acceptLanguage],
|
1988
|
-
responses: {
|
1989
|
-
200: {
|
1990
|
-
bodyMapper: DatadogHostListResponse
|
1991
|
-
},
|
1992
|
-
default: {
|
1993
|
-
bodyMapper: ErrorResponse
|
1994
|
-
}
|
1995
|
-
},
|
1996
|
-
serializer: serializer$1
|
1997
|
-
};
|
1998
|
-
var listLinkedResourcesOperationSpec = {
|
1999
|
-
httpMethod: "POST",
|
2000
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listLinkedResources",
|
2001
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
2002
|
-
queryParameters: [apiVersion],
|
2003
|
-
headerParameters: [acceptLanguage],
|
2004
|
-
responses: {
|
2005
|
-
200: {
|
2006
|
-
bodyMapper: LinkedResourceListResponse
|
2007
|
-
},
|
2008
|
-
default: {
|
2009
|
-
bodyMapper: ErrorResponse
|
2010
|
-
}
|
2011
|
-
},
|
2012
|
-
serializer: serializer$1
|
2013
|
-
};
|
2014
|
-
var listMonitoredResourcesOperationSpec = {
|
2015
|
-
httpMethod: "POST",
|
2016
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/listMonitoredResources",
|
2017
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
2018
|
-
queryParameters: [apiVersion],
|
2019
|
-
headerParameters: [acceptLanguage],
|
2020
|
-
responses: {
|
2021
|
-
200: {
|
2022
|
-
bodyMapper: MonitoredResourceListResponse
|
2023
|
-
},
|
2024
|
-
default: {
|
2025
|
-
bodyMapper: ErrorResponse
|
2026
|
-
}
|
2027
|
-
},
|
2028
|
-
serializer: serializer$1
|
2029
|
-
};
|
2030
|
-
var listOperationSpec$1 = {
|
2031
|
-
httpMethod: "GET",
|
2032
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors",
|
2033
|
-
urlParameters: [subscriptionId],
|
2034
|
-
queryParameters: [apiVersion],
|
2035
|
-
headerParameters: [acceptLanguage],
|
2036
|
-
responses: {
|
2037
|
-
200: {
|
2038
|
-
bodyMapper: DatadogMonitorResourceListResponse
|
2039
|
-
},
|
2040
|
-
default: {
|
2041
|
-
bodyMapper: ErrorResponse
|
2042
|
-
}
|
2043
|
-
},
|
2044
|
-
serializer: serializer$1
|
2045
|
-
};
|
2046
|
-
var listByResourceGroupOperationSpec = {
|
2047
|
-
httpMethod: "GET",
|
2048
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors",
|
2049
|
-
urlParameters: [subscriptionId, resourceGroupName],
|
2050
|
-
queryParameters: [apiVersion],
|
2051
|
-
headerParameters: [acceptLanguage],
|
2052
|
-
responses: {
|
2053
|
-
200: {
|
2054
|
-
bodyMapper: DatadogMonitorResourceListResponse
|
2055
|
-
},
|
2056
|
-
default: {
|
2057
|
-
bodyMapper: ErrorResponse
|
2058
|
-
}
|
2059
|
-
},
|
2060
|
-
serializer: serializer$1
|
2061
|
-
};
|
2062
|
-
var getOperationSpec = {
|
2063
|
-
httpMethod: "GET",
|
2064
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
|
2065
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
2066
|
-
queryParameters: [apiVersion],
|
2067
|
-
headerParameters: [acceptLanguage],
|
2068
|
-
responses: {
|
2069
|
-
200: {
|
2070
|
-
bodyMapper: DatadogMonitorResource
|
2071
|
-
},
|
2072
|
-
default: {
|
2073
|
-
bodyMapper: ErrorResponse
|
2074
|
-
}
|
2075
|
-
},
|
2076
|
-
serializer: serializer$1
|
2077
|
-
};
|
2078
|
-
var refreshSetPasswordLinkOperationSpec = {
|
2079
|
-
httpMethod: "POST",
|
2080
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/refreshSetPasswordLink",
|
2081
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
2082
|
-
queryParameters: [apiVersion],
|
2083
|
-
headerParameters: [acceptLanguage],
|
2084
|
-
responses: {
|
2085
|
-
200: {
|
2086
|
-
bodyMapper: DatadogSetPasswordLink
|
2087
|
-
},
|
2088
|
-
default: {
|
2089
|
-
bodyMapper: ErrorResponse
|
2090
|
-
}
|
2091
|
-
},
|
2092
|
-
serializer: serializer$1
|
2093
|
-
};
|
2094
|
-
var beginCreateOperationSpec = {
|
2095
|
-
httpMethod: "PUT",
|
2096
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
|
2097
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
2098
|
-
queryParameters: [apiVersion],
|
2099
|
-
headerParameters: [acceptLanguage],
|
2100
|
-
requestBody: {
|
2101
|
-
parameterPath: ["options", "body"],
|
2102
|
-
mapper: DatadogMonitorResource
|
2103
|
-
},
|
2104
|
-
responses: {
|
2105
|
-
200: {
|
2106
|
-
bodyMapper: DatadogMonitorResource
|
2107
|
-
},
|
2108
|
-
201: {
|
2109
|
-
bodyMapper: DatadogMonitorResource
|
2110
|
-
},
|
2111
|
-
default: {
|
2112
|
-
bodyMapper: ErrorResponse
|
2113
|
-
}
|
2114
|
-
},
|
2115
|
-
serializer: serializer$1
|
2116
|
-
};
|
2117
|
-
var beginUpdateOperationSpec = {
|
2118
|
-
httpMethod: "PATCH",
|
2119
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
|
2120
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
2121
|
-
queryParameters: [apiVersion],
|
2122
|
-
headerParameters: [acceptLanguage],
|
2123
|
-
requestBody: {
|
2124
|
-
parameterPath: ["options", "body"],
|
2125
|
-
mapper: DatadogMonitorResourceUpdateParameters
|
2126
|
-
},
|
2127
|
-
responses: {
|
2128
|
-
200: {
|
2129
|
-
bodyMapper: DatadogMonitorResource
|
2130
|
-
},
|
2131
|
-
201: {
|
2132
|
-
bodyMapper: DatadogMonitorResource
|
2133
|
-
},
|
2134
|
-
default: {
|
2135
|
-
bodyMapper: ErrorResponse
|
2136
|
-
}
|
2137
|
-
},
|
2138
|
-
serializer: serializer$1
|
2139
|
-
};
|
2140
|
-
var beginDeleteMethodOperationSpec = {
|
2141
|
-
httpMethod: "DELETE",
|
2142
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}",
|
2143
|
-
urlParameters: [subscriptionId, resourceGroupName, monitorName],
|
2144
|
-
queryParameters: [apiVersion],
|
2145
|
-
headerParameters: [acceptLanguage],
|
2146
|
-
responses: {
|
2147
|
-
200: {},
|
2148
|
-
202: {},
|
2149
|
-
204: {},
|
2150
|
-
default: {
|
2151
|
-
bodyMapper: ErrorResponse
|
2152
|
-
}
|
2153
|
-
},
|
2154
|
-
serializer: serializer$1
|
2155
|
-
};
|
2156
|
-
var listApiKeysNextOperationSpec = {
|
2157
|
-
httpMethod: "POST",
|
2158
|
-
baseUrl: "https://management.azure.com",
|
2159
|
-
path: "{nextLink}",
|
2160
|
-
urlParameters: [nextPageLink],
|
2161
|
-
queryParameters: [apiVersion],
|
2162
|
-
headerParameters: [acceptLanguage],
|
2163
|
-
responses: {
|
2164
|
-
200: {
|
2165
|
-
bodyMapper: DatadogApiKeyListResponse
|
2166
|
-
},
|
2167
|
-
default: {
|
2168
|
-
bodyMapper: ErrorResponse
|
2169
|
-
}
|
2170
|
-
},
|
2171
|
-
serializer: serializer$1
|
2172
|
-
};
|
2173
|
-
var listHostsNextOperationSpec = {
|
2174
|
-
httpMethod: "POST",
|
2175
|
-
baseUrl: "https://management.azure.com",
|
2176
|
-
path: "{nextLink}",
|
2177
|
-
urlParameters: [nextPageLink],
|
2178
|
-
queryParameters: [apiVersion],
|
2179
|
-
headerParameters: [acceptLanguage],
|
2180
|
-
responses: {
|
2181
|
-
200: {
|
2182
|
-
bodyMapper: DatadogHostListResponse
|
2183
|
-
},
|
2184
|
-
default: {
|
2185
|
-
bodyMapper: ErrorResponse
|
2186
|
-
}
|
2187
|
-
},
|
2188
|
-
serializer: serializer$1
|
2189
|
-
};
|
2190
|
-
var listLinkedResourcesNextOperationSpec = {
|
2191
|
-
httpMethod: "POST",
|
2192
|
-
baseUrl: "https://management.azure.com",
|
2193
|
-
path: "{nextLink}",
|
2194
|
-
urlParameters: [nextPageLink],
|
2195
|
-
queryParameters: [apiVersion],
|
2196
|
-
headerParameters: [acceptLanguage],
|
2197
|
-
responses: {
|
2198
|
-
200: {
|
2199
|
-
bodyMapper: LinkedResourceListResponse
|
2200
|
-
},
|
2201
|
-
default: {
|
2202
|
-
bodyMapper: ErrorResponse
|
2203
|
-
}
|
2204
|
-
},
|
2205
|
-
serializer: serializer$1
|
2206
|
-
};
|
2207
|
-
var listMonitoredResourcesNextOperationSpec = {
|
2208
|
-
httpMethod: "POST",
|
2209
|
-
baseUrl: "https://management.azure.com",
|
2210
|
-
path: "{nextLink}",
|
2211
|
-
urlParameters: [nextPageLink],
|
2212
|
-
queryParameters: [apiVersion],
|
2213
|
-
headerParameters: [acceptLanguage],
|
2214
|
-
responses: {
|
2215
|
-
200: {
|
2216
|
-
bodyMapper: MonitoredResourceListResponse
|
2217
|
-
},
|
2218
|
-
default: {
|
2219
|
-
bodyMapper: ErrorResponse
|
2220
|
-
}
|
2221
|
-
},
|
2222
|
-
serializer: serializer$1
|
2223
|
-
};
|
2224
|
-
var listNextOperationSpec$1 = {
|
2225
|
-
httpMethod: "GET",
|
2226
|
-
baseUrl: "https://management.azure.com",
|
2227
|
-
path: "{nextLink}",
|
2228
|
-
urlParameters: [nextPageLink],
|
2229
|
-
queryParameters: [apiVersion],
|
2230
|
-
headerParameters: [acceptLanguage],
|
2231
|
-
responses: {
|
2232
|
-
200: {
|
2233
|
-
bodyMapper: DatadogMonitorResourceListResponse
|
2234
|
-
},
|
2235
|
-
default: {
|
2236
|
-
bodyMapper: ErrorResponse
|
2237
|
-
}
|
2238
|
-
},
|
2239
|
-
serializer: serializer$1
|
2240
|
-
};
|
2241
|
-
var listByResourceGroupNextOperationSpec = {
|
2242
|
-
httpMethod: "GET",
|
2243
|
-
baseUrl: "https://management.azure.com",
|
2244
|
-
path: "{nextLink}",
|
2245
|
-
urlParameters: [nextPageLink],
|
2246
|
-
queryParameters: [apiVersion],
|
2247
|
-
headerParameters: [acceptLanguage],
|
2248
|
-
responses: {
|
2249
|
-
200: {
|
2250
|
-
bodyMapper: DatadogMonitorResourceListResponse
|
2251
|
-
},
|
2252
|
-
default: {
|
2253
|
-
bodyMapper: ErrorResponse
|
2254
|
-
}
|
2255
|
-
},
|
2256
|
-
serializer: serializer$1
|
2257
|
-
};
|
2258
|
-
|
2259
|
-
/*
|
2260
|
-
* Copyright (c) Microsoft Corporation.
|
2261
|
-
* Licensed under the MIT License.
|
2262
|
-
*
|
2263
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2264
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2265
|
-
*/
|
2266
|
-
|
2267
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
2268
|
-
__proto__: null,
|
2269
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
2270
|
-
ErrorDetail: ErrorDetail,
|
2271
|
-
ErrorResponse: ErrorResponse,
|
2272
|
-
OperationDisplay: OperationDisplay,
|
2273
|
-
OperationListResult: OperationListResult,
|
2274
|
-
OperationResult: OperationResult
|
2275
|
-
});
|
2276
|
-
|
2277
|
-
/*
|
2278
|
-
* Copyright (c) Microsoft Corporation.
|
2279
|
-
* Licensed under the MIT License.
|
2280
|
-
*
|
2281
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2282
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
2283
|
-
* regenerated.
|
2284
|
-
*/
|
2285
|
-
/** Class representing a Operations. */
|
2286
|
-
var Operations = /** @class */ (function () {
|
2287
|
-
/**
|
2288
|
-
* Create a Operations.
|
2289
|
-
* @param {MicrosoftDatadogClientContext} client Reference to the service client.
|
2290
|
-
*/
|
2291
|
-
function Operations(client) {
|
2292
|
-
this.client = client;
|
2293
|
-
}
|
2294
|
-
Operations.prototype.list = function (options, callback) {
|
2295
|
-
return this.client.sendOperationRequest({
|
2296
|
-
options: options
|
2297
|
-
}, listOperationSpec$2, callback);
|
2298
|
-
};
|
2299
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
2300
|
-
return this.client.sendOperationRequest({
|
2301
|
-
nextPageLink: nextPageLink,
|
2302
|
-
options: options
|
2303
|
-
}, listNextOperationSpec$2, callback);
|
2304
|
-
};
|
2305
|
-
return Operations;
|
2306
|
-
}());
|
2307
|
-
// Operation Specifications
|
2308
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
2309
|
-
var listOperationSpec$2 = {
|
2310
|
-
httpMethod: "GET",
|
2311
|
-
path: "providers/Microsoft.Datadog/operations",
|
2312
|
-
queryParameters: [
|
2313
|
-
apiVersion
|
2314
|
-
],
|
2315
|
-
headerParameters: [
|
2316
|
-
acceptLanguage
|
2317
|
-
],
|
2318
|
-
responses: {
|
2319
|
-
200: {
|
2320
|
-
bodyMapper: OperationListResult
|
2321
|
-
},
|
2322
|
-
default: {
|
2323
|
-
bodyMapper: ErrorResponse
|
2324
|
-
}
|
2325
|
-
},
|
2326
|
-
serializer: serializer$2
|
2327
|
-
};
|
2328
|
-
var listNextOperationSpec$2 = {
|
2329
|
-
httpMethod: "GET",
|
2330
|
-
baseUrl: "https://management.azure.com",
|
2331
|
-
path: "{nextLink}",
|
2332
|
-
urlParameters: [
|
2333
|
-
nextPageLink
|
2334
|
-
],
|
2335
|
-
queryParameters: [
|
2336
|
-
apiVersion
|
2337
|
-
],
|
2338
|
-
headerParameters: [
|
2339
|
-
acceptLanguage
|
2340
|
-
],
|
2341
|
-
responses: {
|
2342
|
-
200: {
|
2343
|
-
bodyMapper: OperationListResult
|
2344
|
-
},
|
2345
|
-
default: {
|
2346
|
-
bodyMapper: ErrorResponse
|
2347
|
-
}
|
2348
|
-
},
|
2349
|
-
serializer: serializer$2
|
2350
|
-
};
|
2351
|
-
|
2352
|
-
/*
|
2353
|
-
* Copyright (c) Microsoft Corporation.
|
2354
|
-
* Licensed under the MIT License.
|
2355
|
-
*
|
2356
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2357
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2358
|
-
*/
|
2359
|
-
|
2360
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
2361
|
-
__proto__: null,
|
2362
|
-
BaseResource: BaseResource,
|
2363
|
-
DatadogAgreementProperties: DatadogAgreementProperties,
|
2364
|
-
DatadogAgreementResource: DatadogAgreementResource,
|
2365
|
-
DatadogMonitorResource: DatadogMonitorResource,
|
2366
|
-
DatadogOrganizationProperties: DatadogOrganizationProperties,
|
2367
|
-
DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
|
2368
|
-
DatadogSingleSignOnResource: DatadogSingleSignOnResource,
|
2369
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
2370
|
-
ErrorDetail: ErrorDetail,
|
2371
|
-
ErrorResponse: ErrorResponse,
|
2372
|
-
FilteringTag: FilteringTag,
|
2373
|
-
IdentityProperties: IdentityProperties,
|
2374
|
-
LogRules: LogRules,
|
2375
|
-
MetricRules: MetricRules,
|
2376
|
-
MonitoringTagRules: MonitoringTagRules,
|
2377
|
-
MonitoringTagRulesListResponse: MonitoringTagRulesListResponse,
|
2378
|
-
MonitoringTagRulesProperties: MonitoringTagRulesProperties,
|
2379
|
-
MonitorProperties: MonitorProperties,
|
2380
|
-
ResourceSku: ResourceSku,
|
2381
|
-
SystemData: SystemData,
|
2382
|
-
UserInfo: UserInfo
|
2383
|
-
});
|
2384
|
-
|
2385
|
-
/*
|
2386
|
-
* Copyright (c) Microsoft Corporation.
|
2387
|
-
* Licensed under the MIT License.
|
2388
|
-
*
|
2389
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2390
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
2391
|
-
* regenerated.
|
2392
|
-
*/
|
2393
|
-
/** Class representing a TagRules. */
|
2394
|
-
var TagRules = /** @class */ (function () {
|
2395
|
-
/**
|
2396
|
-
* Create a TagRules.
|
2397
|
-
* @param {MicrosoftDatadogClientContext} client Reference to the service client.
|
2398
|
-
*/
|
2399
|
-
function TagRules(client) {
|
2400
|
-
this.client = client;
|
2401
|
-
}
|
2402
|
-
TagRules.prototype.list = function (resourceGroupName, monitorName, options, callback) {
|
2403
|
-
return this.client.sendOperationRequest({
|
2404
|
-
resourceGroupName: resourceGroupName,
|
2405
|
-
monitorName: monitorName,
|
2406
|
-
options: options
|
2407
|
-
}, listOperationSpec$3, callback);
|
2408
|
-
};
|
2409
|
-
TagRules.prototype.createOrUpdate = function (resourceGroupName, monitorName, ruleSetName, options, callback) {
|
2410
|
-
return this.client.sendOperationRequest({
|
2411
|
-
resourceGroupName: resourceGroupName,
|
2412
|
-
monitorName: monitorName,
|
2413
|
-
ruleSetName: ruleSetName,
|
2414
|
-
options: options
|
2415
|
-
}, createOrUpdateOperationSpec$1, callback);
|
2416
|
-
};
|
2417
|
-
TagRules.prototype.get = function (resourceGroupName, monitorName, ruleSetName, options, callback) {
|
2418
|
-
return this.client.sendOperationRequest({
|
2419
|
-
resourceGroupName: resourceGroupName,
|
2420
|
-
monitorName: monitorName,
|
2421
|
-
ruleSetName: ruleSetName,
|
2422
|
-
options: options
|
2423
|
-
}, getOperationSpec$1, callback);
|
2424
|
-
};
|
2425
|
-
TagRules.prototype.listNext = function (nextPageLink, options, callback) {
|
2426
|
-
return this.client.sendOperationRequest({
|
2427
|
-
nextPageLink: nextPageLink,
|
2428
|
-
options: options
|
2429
|
-
}, listNextOperationSpec$3, callback);
|
2430
|
-
};
|
2431
|
-
return TagRules;
|
2432
|
-
}());
|
2433
|
-
// Operation Specifications
|
2434
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
2435
|
-
var listOperationSpec$3 = {
|
2436
|
-
httpMethod: "GET",
|
2437
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules",
|
2438
|
-
urlParameters: [
|
2439
|
-
subscriptionId,
|
2440
|
-
resourceGroupName,
|
2441
|
-
monitorName
|
2442
|
-
],
|
2443
|
-
queryParameters: [
|
2444
|
-
apiVersion
|
2445
|
-
],
|
2446
|
-
headerParameters: [
|
2447
|
-
acceptLanguage
|
2448
|
-
],
|
2449
|
-
responses: {
|
2450
|
-
200: {
|
2451
|
-
bodyMapper: MonitoringTagRulesListResponse
|
2452
|
-
},
|
2453
|
-
default: {
|
2454
|
-
bodyMapper: ErrorResponse
|
2455
|
-
}
|
2456
|
-
},
|
2457
|
-
serializer: serializer$3
|
2458
|
-
};
|
2459
|
-
var createOrUpdateOperationSpec$1 = {
|
2460
|
-
httpMethod: "PUT",
|
2461
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules/{ruleSetName}",
|
2462
|
-
urlParameters: [
|
2463
|
-
subscriptionId,
|
2464
|
-
resourceGroupName,
|
2465
|
-
monitorName,
|
2466
|
-
ruleSetName
|
2467
|
-
],
|
2468
|
-
queryParameters: [
|
2469
|
-
apiVersion
|
2470
|
-
],
|
2471
|
-
headerParameters: [
|
2472
|
-
acceptLanguage
|
2473
|
-
],
|
2474
|
-
requestBody: {
|
2475
|
-
parameterPath: [
|
2476
|
-
"options",
|
2477
|
-
"body"
|
2478
|
-
],
|
2479
|
-
mapper: MonitoringTagRules
|
2480
|
-
},
|
2481
|
-
responses: {
|
2482
|
-
200: {
|
2483
|
-
bodyMapper: MonitoringTagRules
|
2484
|
-
},
|
2485
|
-
default: {
|
2486
|
-
bodyMapper: ErrorResponse
|
2487
|
-
}
|
2488
|
-
},
|
2489
|
-
serializer: serializer$3
|
2490
|
-
};
|
2491
|
-
var getOperationSpec$1 = {
|
2492
|
-
httpMethod: "GET",
|
2493
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules/{ruleSetName}",
|
2494
|
-
urlParameters: [
|
2495
|
-
subscriptionId,
|
2496
|
-
resourceGroupName,
|
2497
|
-
monitorName,
|
2498
|
-
ruleSetName
|
2499
|
-
],
|
2500
|
-
queryParameters: [
|
2501
|
-
apiVersion
|
2502
|
-
],
|
2503
|
-
headerParameters: [
|
2504
|
-
acceptLanguage
|
2505
|
-
],
|
2506
|
-
responses: {
|
2507
|
-
200: {
|
2508
|
-
bodyMapper: MonitoringTagRules
|
2509
|
-
},
|
2510
|
-
default: {
|
2511
|
-
bodyMapper: ErrorResponse
|
2512
|
-
}
|
2513
|
-
},
|
2514
|
-
serializer: serializer$3
|
2515
|
-
};
|
2516
|
-
var listNextOperationSpec$3 = {
|
2517
|
-
httpMethod: "GET",
|
2518
|
-
baseUrl: "https://management.azure.com",
|
2519
|
-
path: "{nextLink}",
|
2520
|
-
urlParameters: [
|
2521
|
-
nextPageLink
|
2522
|
-
],
|
2523
|
-
queryParameters: [
|
2524
|
-
apiVersion
|
2525
|
-
],
|
2526
|
-
headerParameters: [
|
2527
|
-
acceptLanguage
|
2528
|
-
],
|
2529
|
-
responses: {
|
2530
|
-
200: {
|
2531
|
-
bodyMapper: MonitoringTagRulesListResponse
|
2532
|
-
},
|
2533
|
-
default: {
|
2534
|
-
bodyMapper: ErrorResponse
|
2535
|
-
}
|
2536
|
-
},
|
2537
|
-
serializer: serializer$3
|
2538
|
-
};
|
2539
|
-
|
2540
|
-
/*
|
2541
|
-
* Copyright (c) Microsoft Corporation.
|
2542
|
-
* Licensed under the MIT License.
|
2543
|
-
*
|
2544
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2545
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2546
|
-
*/
|
2547
|
-
|
2548
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
2549
|
-
__proto__: null,
|
2550
|
-
BaseResource: BaseResource,
|
2551
|
-
DatadogAgreementProperties: DatadogAgreementProperties,
|
2552
|
-
DatadogAgreementResource: DatadogAgreementResource,
|
2553
|
-
DatadogMonitorResource: DatadogMonitorResource,
|
2554
|
-
DatadogOrganizationProperties: DatadogOrganizationProperties,
|
2555
|
-
DatadogSingleSignOnProperties: DatadogSingleSignOnProperties,
|
2556
|
-
DatadogSingleSignOnResource: DatadogSingleSignOnResource,
|
2557
|
-
DatadogSingleSignOnResourceListResponse: DatadogSingleSignOnResourceListResponse,
|
2558
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
2559
|
-
ErrorDetail: ErrorDetail,
|
2560
|
-
ErrorResponse: ErrorResponse,
|
2561
|
-
FilteringTag: FilteringTag,
|
2562
|
-
IdentityProperties: IdentityProperties,
|
2563
|
-
LogRules: LogRules,
|
2564
|
-
MetricRules: MetricRules,
|
2565
|
-
MonitoringTagRules: MonitoringTagRules,
|
2566
|
-
MonitoringTagRulesProperties: MonitoringTagRulesProperties,
|
2567
|
-
MonitorProperties: MonitorProperties,
|
2568
|
-
ResourceSku: ResourceSku,
|
2569
|
-
SystemData: SystemData,
|
2570
|
-
UserInfo: UserInfo
|
2571
|
-
});
|
2572
|
-
|
2573
|
-
/*
|
2574
|
-
* Copyright (c) Microsoft Corporation.
|
2575
|
-
* Licensed under the MIT License.
|
2576
|
-
*
|
2577
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2578
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
2579
|
-
* regenerated.
|
2580
|
-
*/
|
2581
|
-
/** Class representing a SingleSignOnConfigurations. */
|
2582
|
-
var SingleSignOnConfigurations = /** @class */ (function () {
|
2583
|
-
/**
|
2584
|
-
* Create a SingleSignOnConfigurations.
|
2585
|
-
* @param {MicrosoftDatadogClientContext} client Reference to the service client.
|
2586
|
-
*/
|
2587
|
-
function SingleSignOnConfigurations(client) {
|
2588
|
-
this.client = client;
|
2589
|
-
}
|
2590
|
-
SingleSignOnConfigurations.prototype.list = function (resourceGroupName, monitorName, options, callback) {
|
2591
|
-
return this.client.sendOperationRequest({
|
2592
|
-
resourceGroupName: resourceGroupName,
|
2593
|
-
monitorName: monitorName,
|
2594
|
-
options: options
|
2595
|
-
}, listOperationSpec$4, callback);
|
2596
|
-
};
|
2597
|
-
/**
|
2598
|
-
* @summary Configures single-sign-on for this resource.
|
2599
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
2600
|
-
* @param monitorName Monitor resource name
|
2601
|
-
* @param configurationName Configuration name
|
2602
|
-
* @param [options] The optional parameters
|
2603
|
-
* @returns Promise<Models.SingleSignOnConfigurationsCreateOrUpdateResponse>
|
2604
|
-
*/
|
2605
|
-
SingleSignOnConfigurations.prototype.createOrUpdate = function (resourceGroupName, monitorName, configurationName, options) {
|
2606
|
-
return this.beginCreateOrUpdate(resourceGroupName, monitorName, configurationName, options)
|
2607
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
2608
|
-
};
|
2609
|
-
SingleSignOnConfigurations.prototype.get = function (resourceGroupName, monitorName, configurationName, options, callback) {
|
2610
|
-
return this.client.sendOperationRequest({
|
2611
|
-
resourceGroupName: resourceGroupName,
|
2612
|
-
monitorName: monitorName,
|
2613
|
-
configurationName: configurationName,
|
2614
|
-
options: options
|
2615
|
-
}, getOperationSpec$2, callback);
|
2616
|
-
};
|
2617
|
-
/**
|
2618
|
-
* @summary Configures single-sign-on for this resource.
|
2619
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
2620
|
-
* @param monitorName Monitor resource name
|
2621
|
-
* @param configurationName Configuration name
|
2622
|
-
* @param [options] The optional parameters
|
2623
|
-
* @returns Promise<msRestAzure.LROPoller>
|
2624
|
-
*/
|
2625
|
-
SingleSignOnConfigurations.prototype.beginCreateOrUpdate = function (resourceGroupName, monitorName, configurationName, options) {
|
2626
|
-
return this.client.sendLRORequest({
|
2627
|
-
resourceGroupName: resourceGroupName,
|
2628
|
-
monitorName: monitorName,
|
2629
|
-
configurationName: configurationName,
|
2630
|
-
options: options
|
2631
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
2632
|
-
};
|
2633
|
-
SingleSignOnConfigurations.prototype.listNext = function (nextPageLink, options, callback) {
|
2634
|
-
return this.client.sendOperationRequest({
|
2635
|
-
nextPageLink: nextPageLink,
|
2636
|
-
options: options
|
2637
|
-
}, listNextOperationSpec$4, callback);
|
2638
|
-
};
|
2639
|
-
return SingleSignOnConfigurations;
|
2640
|
-
}());
|
2641
|
-
// Operation Specifications
|
2642
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
2643
|
-
var listOperationSpec$4 = {
|
2644
|
-
httpMethod: "GET",
|
2645
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/singleSignOnConfigurations",
|
2646
|
-
urlParameters: [
|
2647
|
-
subscriptionId,
|
2648
|
-
resourceGroupName,
|
2649
|
-
monitorName
|
2650
|
-
],
|
2651
|
-
queryParameters: [
|
2652
|
-
apiVersion
|
2653
|
-
],
|
2654
|
-
headerParameters: [
|
2655
|
-
acceptLanguage
|
2656
|
-
],
|
2657
|
-
responses: {
|
2658
|
-
200: {
|
2659
|
-
bodyMapper: DatadogSingleSignOnResourceListResponse
|
2660
|
-
},
|
2661
|
-
default: {
|
2662
|
-
bodyMapper: ErrorResponse
|
2663
|
-
}
|
2664
|
-
},
|
2665
|
-
serializer: serializer$4
|
2666
|
-
};
|
2667
|
-
var getOperationSpec$2 = {
|
2668
|
-
httpMethod: "GET",
|
2669
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}",
|
2670
|
-
urlParameters: [
|
2671
|
-
subscriptionId,
|
2672
|
-
resourceGroupName,
|
2673
|
-
monitorName,
|
2674
|
-
configurationName
|
2675
|
-
],
|
2676
|
-
queryParameters: [
|
2677
|
-
apiVersion
|
2678
|
-
],
|
2679
|
-
headerParameters: [
|
2680
|
-
acceptLanguage
|
2681
|
-
],
|
2682
|
-
responses: {
|
2683
|
-
200: {
|
2684
|
-
bodyMapper: DatadogSingleSignOnResource
|
2685
|
-
},
|
2686
|
-
default: {
|
2687
|
-
bodyMapper: ErrorResponse
|
2688
|
-
}
|
2689
|
-
},
|
2690
|
-
serializer: serializer$4
|
2691
|
-
};
|
2692
|
-
var beginCreateOrUpdateOperationSpec = {
|
2693
|
-
httpMethod: "PUT",
|
2694
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}",
|
2695
|
-
urlParameters: [
|
2696
|
-
subscriptionId,
|
2697
|
-
resourceGroupName,
|
2698
|
-
monitorName,
|
2699
|
-
configurationName
|
2700
|
-
],
|
2701
|
-
queryParameters: [
|
2702
|
-
apiVersion
|
2703
|
-
],
|
2704
|
-
headerParameters: [
|
2705
|
-
acceptLanguage
|
2706
|
-
],
|
2707
|
-
requestBody: {
|
2708
|
-
parameterPath: [
|
2709
|
-
"options",
|
2710
|
-
"body"
|
2711
|
-
],
|
2712
|
-
mapper: DatadogSingleSignOnResource
|
2713
|
-
},
|
2714
|
-
responses: {
|
2715
|
-
200: {
|
2716
|
-
bodyMapper: DatadogSingleSignOnResource
|
2717
|
-
},
|
2718
|
-
201: {
|
2719
|
-
bodyMapper: DatadogSingleSignOnResource
|
2720
|
-
},
|
2721
|
-
default: {
|
2722
|
-
bodyMapper: ErrorResponse
|
2723
|
-
}
|
2724
|
-
},
|
2725
|
-
serializer: serializer$4
|
2726
|
-
};
|
2727
|
-
var listNextOperationSpec$4 = {
|
2728
|
-
httpMethod: "GET",
|
2729
|
-
baseUrl: "https://management.azure.com",
|
2730
|
-
path: "{nextLink}",
|
2731
|
-
urlParameters: [
|
2732
|
-
nextPageLink
|
2733
|
-
],
|
2734
|
-
queryParameters: [
|
2735
|
-
apiVersion
|
2736
|
-
],
|
2737
|
-
headerParameters: [
|
2738
|
-
acceptLanguage
|
2739
|
-
],
|
2740
|
-
responses: {
|
2741
|
-
200: {
|
2742
|
-
bodyMapper: DatadogSingleSignOnResourceListResponse
|
2743
|
-
},
|
2744
|
-
default: {
|
2745
|
-
bodyMapper: ErrorResponse
|
2746
|
-
}
|
2747
|
-
},
|
2748
|
-
serializer: serializer$4
|
2749
|
-
};
|
2750
|
-
|
2751
|
-
/*
|
2752
|
-
* Copyright (c) Microsoft Corporation.
|
2753
|
-
* Licensed under the MIT License.
|
2754
|
-
*
|
2755
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2756
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
2757
|
-
* regenerated.
|
2758
|
-
*/
|
2759
|
-
var packageName = "@azure/arm-datadog";
|
2760
|
-
var packageVersion = "2.1.1";
|
2761
|
-
var MicrosoftDatadogClientContext = /** @class */ (function (_super) {
|
2762
|
-
__extends(MicrosoftDatadogClientContext, _super);
|
2763
|
-
/**
|
2764
|
-
* Initializes a new instance of the MicrosoftDatadogClient class.
|
2765
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
2766
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
2767
|
-
* more information about these credentials, see
|
2768
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
2769
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
2770
|
-
* @azure/ms-rest-browserauth are also supported.
|
2771
|
-
* @param subscriptionId The ID of the target subscription.
|
2772
|
-
* @param [options] The parameter options
|
2773
|
-
*/
|
2774
|
-
function MicrosoftDatadogClientContext(credentials, subscriptionId, options) {
|
2775
|
-
var _this = this;
|
2776
|
-
if (credentials == undefined) {
|
2777
|
-
throw new Error("'credentials' cannot be null.");
|
2778
|
-
}
|
2779
|
-
if (subscriptionId == undefined) {
|
2780
|
-
throw new Error("'subscriptionId' cannot be null.");
|
2781
|
-
}
|
2782
|
-
if (!options) {
|
2783
|
-
options = {};
|
2784
|
-
}
|
2785
|
-
if (!options.userAgent) {
|
2786
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
2787
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
2788
|
-
}
|
2789
|
-
_this = _super.call(this, credentials, options) || this;
|
2790
|
-
_this.apiVersion = "2021-03-01";
|
2791
|
-
_this.acceptLanguage = "en-US";
|
2792
|
-
_this.longRunningOperationRetryTimeout = 30;
|
2793
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
2794
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
2795
|
-
_this.credentials = credentials;
|
2796
|
-
_this.subscriptionId = subscriptionId;
|
2797
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
2798
|
-
_this.acceptLanguage = options.acceptLanguage;
|
2799
|
-
}
|
2800
|
-
if (options.longRunningOperationRetryTimeout !== null &&
|
2801
|
-
options.longRunningOperationRetryTimeout !== undefined) {
|
2802
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
2803
|
-
}
|
2804
|
-
return _this;
|
2805
|
-
}
|
2806
|
-
return MicrosoftDatadogClientContext;
|
2807
|
-
}(msRestAzure.AzureServiceClient));
|
2808
|
-
|
2809
|
-
/*
|
2810
|
-
* Copyright (c) Microsoft Corporation.
|
2811
|
-
* Licensed under the MIT License.
|
2812
|
-
*
|
2813
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2814
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
2815
|
-
* regenerated.
|
2816
|
-
*/
|
2817
|
-
var MicrosoftDatadogClient = /** @class */ (function (_super) {
|
2818
|
-
__extends(MicrosoftDatadogClient, _super);
|
2819
|
-
/**
|
2820
|
-
* Initializes a new instance of the MicrosoftDatadogClient class.
|
2821
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
2822
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
2823
|
-
* more information about these credentials, see
|
2824
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
2825
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
2826
|
-
* @azure/ms-rest-browserauth are also supported.
|
2827
|
-
* @param subscriptionId The ID of the target subscription.
|
2828
|
-
* @param [options] The parameter options
|
2829
|
-
*/
|
2830
|
-
function MicrosoftDatadogClient(credentials, subscriptionId, options) {
|
2831
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
2832
|
-
_this.marketplaceAgreements = new MarketplaceAgreements(_this);
|
2833
|
-
_this.monitors = new Monitors(_this);
|
2834
|
-
_this.operations = new Operations(_this);
|
2835
|
-
_this.tagRules = new TagRules(_this);
|
2836
|
-
_this.singleSignOnConfigurations = new SingleSignOnConfigurations(_this);
|
2837
|
-
return _this;
|
2838
|
-
}
|
2839
|
-
return MicrosoftDatadogClient;
|
2840
|
-
}(MicrosoftDatadogClientContext));
|
2841
|
-
|
2842
|
-
exports.MarketplaceAgreements = MarketplaceAgreements;
|
2843
|
-
exports.MicrosoftDatadogClient = MicrosoftDatadogClient;
|
2844
|
-
exports.MicrosoftDatadogClientContext = MicrosoftDatadogClientContext;
|
2845
|
-
exports.MicrosoftDatadogMappers = mappers;
|
2846
|
-
exports.MicrosoftDatadogModels = index;
|
2847
|
-
exports.Monitors = Monitors;
|
2848
|
-
exports.Operations = Operations;
|
2849
|
-
exports.SingleSignOnConfigurations = SingleSignOnConfigurations;
|
2850
|
-
exports.TagRules = TagRules;
|
2851
|
-
|
2852
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
2853
|
-
|
2854
|
-
})));
|
2855
|
-
//# sourceMappingURL=arm-datadog.js.map
|