@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.
Files changed (175) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +3359 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/microsoftDatadogClient.d.ts +22 -0
  17. package/dist-esm/src/microsoftDatadogClient.d.ts.map +1 -0
  18. package/dist-esm/src/microsoftDatadogClient.js +55 -0
  19. package/dist-esm/src/microsoftDatadogClient.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +790 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +69 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +42 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +551 -600
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +18 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +145 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +1 -2
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
  37. package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
  38. package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
  39. package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
  40. package/dist-esm/src/operations/monitors.d.ts +220 -0
  41. package/dist-esm/src/operations/monitors.d.ts.map +1 -0
  42. package/dist-esm/src/operations/monitors.js +1035 -0
  43. package/dist-esm/src/operations/monitors.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/singleSignOnConfigurations.d.ts +63 -0
  49. package/dist-esm/src/operations/singleSignOnConfigurations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/singleSignOnConfigurations.js +256 -0
  51. package/dist-esm/src/operations/singleSignOnConfigurations.js.map +1 -0
  52. package/dist-esm/src/operations/tagRules.d.ts +54 -0
  53. package/dist-esm/src/operations/tagRules.d.ts.map +1 -0
  54. package/dist-esm/src/operations/tagRules.js +203 -0
  55. package/dist-esm/src/operations/tagRules.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  57. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  59. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  61. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  62. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/marketplaceAgreements.js} +2 -9
  63. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/monitors.d.ts +116 -0
  65. package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +1 -0
  66. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/monitors.js} +2 -1
  67. package/dist-esm/src/operationsInterfaces/monitors.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts +38 -0
  73. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/tagRules.d.ts +29 -0
  77. package/dist-esm/src/operationsInterfaces/tagRules.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/tagRules.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/tagRules.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +65 -22
  85. package/review/arm-datadog.api.md +746 -0
  86. package/rollup.config.js +181 -30
  87. package/src/index.ts +12 -0
  88. package/src/lroImpl.ts +34 -0
  89. package/src/microsoftDatadogClient.ts +80 -40
  90. package/src/models/index.ts +650 -1297
  91. package/src/models/mappers.ts +561 -609
  92. package/src/models/parameters.ts +104 -34
  93. package/src/operations/index.ts +1 -2
  94. package/src/operations/marketplaceAgreements.ts +110 -116
  95. package/src/operations/monitors.ts +960 -819
  96. package/src/operations/operations.ts +87 -75
  97. package/src/operations/singleSignOnConfigurations.ts +247 -166
  98. package/src/operations/tagRules.ts +169 -171
  99. package/src/operationsInterfaces/index.ts +13 -0
  100. package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
  101. package/src/operationsInterfaces/monitors.ts +220 -0
  102. package/src/operationsInterfaces/operations.ts +22 -0
  103. package/src/operationsInterfaces/singleSignOnConfigurations.ts +78 -0
  104. package/src/operationsInterfaces/tagRules.ts +59 -0
  105. package/tsconfig.json +3 -3
  106. package/types/arm-datadog.d.ts +1130 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-datadog.js +0 -2855
  109. package/dist/arm-datadog.js.map +0 -1
  110. package/dist/arm-datadog.min.js +0 -1
  111. package/dist/arm-datadog.min.js.map +0 -1
  112. package/esm/microsoftDatadogClient.d.ts +0 -28
  113. package/esm/microsoftDatadogClient.d.ts.map +0 -1
  114. package/esm/microsoftDatadogClient.js +0 -41
  115. package/esm/microsoftDatadogClient.js.map +0 -1
  116. package/esm/microsoftDatadogClientContext.d.ts +0 -22
  117. package/esm/microsoftDatadogClientContext.d.ts.map +0 -1
  118. package/esm/microsoftDatadogClientContext.js +0 -61
  119. package/esm/microsoftDatadogClientContext.js.map +0 -1
  120. package/esm/models/index.d.ts +0 -1422
  121. package/esm/models/index.d.ts.map +0 -1
  122. package/esm/models/index.js.map +0 -1
  123. package/esm/models/mappers.d.ts +0 -44
  124. package/esm/models/mappers.d.ts.map +0 -1
  125. package/esm/models/mappers.js.map +0 -1
  126. package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
  127. package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
  128. package/esm/models/marketplaceAgreementsMappers.js +0 -9
  129. package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
  130. package/esm/models/monitorsMappers.d.ts +0 -2
  131. package/esm/models/monitorsMappers.d.ts.map +0 -1
  132. package/esm/models/monitorsMappers.js +0 -9
  133. package/esm/models/monitorsMappers.js.map +0 -1
  134. package/esm/models/operationsMappers.d.ts +0 -2
  135. package/esm/models/operationsMappers.d.ts.map +0 -1
  136. package/esm/models/operationsMappers.js.map +0 -1
  137. package/esm/models/parameters.d.ts +0 -10
  138. package/esm/models/parameters.d.ts.map +0 -1
  139. package/esm/models/parameters.js +0 -101
  140. package/esm/models/parameters.js.map +0 -1
  141. package/esm/models/singleSignOnConfigurationsMappers.d.ts +0 -2
  142. package/esm/models/singleSignOnConfigurationsMappers.d.ts.map +0 -1
  143. package/esm/models/singleSignOnConfigurationsMappers.js +0 -9
  144. package/esm/models/singleSignOnConfigurationsMappers.js.map +0 -1
  145. package/esm/models/tagRulesMappers.d.ts +0 -2
  146. package/esm/models/tagRulesMappers.d.ts.map +0 -1
  147. package/esm/models/tagRulesMappers.js +0 -9
  148. package/esm/models/tagRulesMappers.js.map +0 -1
  149. package/esm/operations/index.d.ts.map +0 -1
  150. package/esm/operations/index.js.map +0 -1
  151. package/esm/operations/marketplaceAgreements.d.ts +0 -61
  152. package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
  153. package/esm/operations/marketplaceAgreements.js +0 -116
  154. package/esm/operations/marketplaceAgreements.js.map +0 -1
  155. package/esm/operations/monitors.d.ts +0 -373
  156. package/esm/operations/monitors.d.ts.map +0 -1
  157. package/esm/operations/monitors.js +0 -533
  158. package/esm/operations/monitors.js.map +0 -1
  159. package/esm/operations/operations.d.ts +0 -46
  160. package/esm/operations/operations.d.ts.map +0 -1
  161. package/esm/operations/operations.js +0 -79
  162. package/esm/operations/operations.js.map +0 -1
  163. package/esm/operations/singleSignOnConfigurations.d.ts +0 -95
  164. package/esm/operations/singleSignOnConfigurations.d.ts.map +0 -1
  165. package/esm/operations/singleSignOnConfigurations.js +0 -182
  166. package/esm/operations/singleSignOnConfigurations.js.map +0 -1
  167. package/esm/operations/tagRules.d.ts +0 -100
  168. package/esm/operations/tagRules.d.ts.map +0 -1
  169. package/esm/operations/tagRules.js +0 -159
  170. package/esm/operations/tagRules.js.map +0 -1
  171. package/src/microsoftDatadogClientContext.ts +0 -74
  172. package/src/models/marketplaceAgreementsMappers.ts +0 -31
  173. package/src/models/monitorsMappers.ts +0 -45
  174. package/src/models/singleSignOnConfigurationsMappers.ts +0 -31
  175. package/src/models/tagRulesMappers.ts +0 -31
@@ -0,0 +1,1130 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /**
8
+ * Defines values for CreatedByType. \
9
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **User** \
13
+ * **Application** \
14
+ * **ManagedIdentity** \
15
+ * **Key**
16
+ */
17
+ export declare type CreatedByType = string;
18
+
19
+ /** Terms properties. */
20
+ export declare interface DatadogAgreementProperties {
21
+ /** Publisher identifier string. */
22
+ publisher?: string;
23
+ /** Product identifier string. */
24
+ product?: string;
25
+ /** Plan identifier string. */
26
+ plan?: string;
27
+ /** Link to HTML with Microsoft and Publisher terms. */
28
+ licenseTextLink?: string;
29
+ /** Link to the privacy policy of the publisher. */
30
+ privacyPolicyLink?: string;
31
+ /** Date and time in UTC of when the terms were accepted. This is empty if Accepted is false. */
32
+ retrieveDatetime?: Date;
33
+ /** Terms signature. */
34
+ signature?: string;
35
+ /** If any version of the terms have been accepted, otherwise false. */
36
+ accepted?: boolean;
37
+ }
38
+
39
+ export declare interface DatadogAgreementResource {
40
+ /**
41
+ * ARM id of the resource.
42
+ * NOTE: This property will not be serialized. It can only be populated by the server.
43
+ */
44
+ readonly id?: string;
45
+ /**
46
+ * Name of the agreement.
47
+ * NOTE: This property will not be serialized. It can only be populated by the server.
48
+ */
49
+ readonly name?: string;
50
+ /**
51
+ * The type of the resource.
52
+ * NOTE: This property will not be serialized. It can only be populated by the server.
53
+ */
54
+ readonly type?: string;
55
+ /** Represents the properties of the resource. */
56
+ properties?: DatadogAgreementProperties;
57
+ /**
58
+ * Metadata pertaining to creation and last modification of the resource.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly systemData?: SystemData;
62
+ }
63
+
64
+ /** Response of a list operation. */
65
+ export declare interface DatadogAgreementResourceListResponse {
66
+ /** Results of a list operation. */
67
+ value?: DatadogAgreementResource[];
68
+ /** Link to the next set of results, if any. */
69
+ nextLink?: string;
70
+ }
71
+
72
+ export declare interface DatadogApiKey {
73
+ /** The user that created the API key. */
74
+ createdBy?: string;
75
+ /** The name of the API key. */
76
+ name?: string;
77
+ /** The value of the API key. */
78
+ key: string;
79
+ /** The time of creation of the API key. */
80
+ created?: string;
81
+ }
82
+
83
+ /** Response of a list operation. */
84
+ export declare interface DatadogApiKeyListResponse {
85
+ /** Results of a list operation. */
86
+ value?: DatadogApiKey[];
87
+ /** Link to the next set of results, if any. */
88
+ nextLink?: string;
89
+ }
90
+
91
+ export declare interface DatadogHost {
92
+ /** The name of the host. */
93
+ name?: string;
94
+ /** The aliases for the host. */
95
+ aliases?: string[];
96
+ /** The Datadog integrations reporting metrics for the host. */
97
+ apps?: string[];
98
+ meta?: DatadogHostMetadata;
99
+ }
100
+
101
+ /** Response of a list operation. */
102
+ export declare interface DatadogHostListResponse {
103
+ /** Results of a list operation. */
104
+ value?: DatadogHost[];
105
+ /** Link to the next set of results, if any. */
106
+ nextLink?: string;
107
+ }
108
+
109
+ export declare interface DatadogHostMetadata {
110
+ /** The agent version. */
111
+ agentVersion?: string;
112
+ installMethod?: DatadogInstallMethod;
113
+ logsAgent?: DatadogLogsAgent;
114
+ }
115
+
116
+ export declare interface DatadogInstallMethod {
117
+ /** The tool. */
118
+ tool?: string;
119
+ /** The tool version. */
120
+ toolVersion?: string;
121
+ /** The installer version. */
122
+ installerVersion?: string;
123
+ }
124
+
125
+ export declare interface DatadogLogsAgent {
126
+ /** The transport. */
127
+ transport?: string;
128
+ }
129
+
130
+ export declare interface DatadogMonitorResource {
131
+ /**
132
+ * ARM id of the monitor resource.
133
+ * NOTE: This property will not be serialized. It can only be populated by the server.
134
+ */
135
+ readonly id?: string;
136
+ /**
137
+ * Name of the monitor resource.
138
+ * NOTE: This property will not be serialized. It can only be populated by the server.
139
+ */
140
+ readonly name?: string;
141
+ /**
142
+ * The type of the monitor resource.
143
+ * NOTE: This property will not be serialized. It can only be populated by the server.
144
+ */
145
+ readonly type?: string;
146
+ sku?: ResourceSku;
147
+ /** Properties specific to the monitor resource. */
148
+ properties?: MonitorProperties;
149
+ identity?: IdentityProperties;
150
+ /** Dictionary of <string> */
151
+ tags?: {
152
+ [propertyName: string]: string;
153
+ };
154
+ location: string;
155
+ /**
156
+ * Metadata pertaining to creation and last modification of the resource.
157
+ * NOTE: This property will not be serialized. It can only be populated by the server.
158
+ */
159
+ readonly systemData?: SystemData;
160
+ }
161
+
162
+ /** Response of a list operation. */
163
+ export declare interface DatadogMonitorResourceListResponse {
164
+ /** Results of a list operation. */
165
+ value?: DatadogMonitorResource[];
166
+ /** Link to the next set of results, if any. */
167
+ nextLink?: string;
168
+ }
169
+
170
+ /** The parameters for a PATCH request to a monitor resource. */
171
+ export declare interface DatadogMonitorResourceUpdateParameters {
172
+ /** The set of properties that can be update in a PATCH request to a monitor resource. */
173
+ properties?: MonitorUpdateProperties;
174
+ /** The new tags of the monitor resource. */
175
+ tags?: {
176
+ [propertyName: string]: string;
177
+ };
178
+ sku?: ResourceSku;
179
+ }
180
+
181
+ /** Datadog organization properties */
182
+ export declare interface DatadogOrganizationProperties {
183
+ /**
184
+ * Name of the Datadog organization.
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
+ */
187
+ readonly name?: string;
188
+ /**
189
+ * Id of the Datadog organization.
190
+ * NOTE: This property will not be serialized. It can only be populated by the server.
191
+ */
192
+ readonly id?: string;
193
+ /** The auth code used to linking to an existing datadog organization. */
194
+ linkingAuthCode?: string;
195
+ /** The client_id from an existing in exchange for an auth token to link organization. */
196
+ linkingClientId?: string;
197
+ /** The redirect uri for linking. */
198
+ redirectUri?: string;
199
+ /** Api key associated to the Datadog organization. */
200
+ apiKey?: string;
201
+ /** Application key associated to the Datadog organization. */
202
+ applicationKey?: string;
203
+ /** The Id of the Enterprise App used for Single sign on. */
204
+ enterpriseAppId?: string;
205
+ }
206
+
207
+ export declare interface DatadogSetPasswordLink {
208
+ setPasswordLink?: string;
209
+ }
210
+
211
+ export declare interface DatadogSingleSignOnProperties {
212
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
213
+ readonly provisioningState?: ProvisioningState;
214
+ /** Various states of the SSO resource */
215
+ singleSignOnState?: SingleSignOnStates;
216
+ /** The Id of the Enterprise App used for Single sign-on. */
217
+ enterpriseAppId?: string;
218
+ /**
219
+ * The login URL specific to this Datadog Organization.
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
221
+ */
222
+ readonly singleSignOnUrl?: string;
223
+ }
224
+
225
+ export declare interface DatadogSingleSignOnResource {
226
+ /**
227
+ * ARM id of the resource.
228
+ * NOTE: This property will not be serialized. It can only be populated by the server.
229
+ */
230
+ readonly id?: string;
231
+ /**
232
+ * Name of the configuration.
233
+ * NOTE: This property will not be serialized. It can only be populated by the server.
234
+ */
235
+ readonly name?: string;
236
+ /**
237
+ * The type of the resource.
238
+ * NOTE: This property will not be serialized. It can only be populated by the server.
239
+ */
240
+ readonly type?: string;
241
+ properties?: DatadogSingleSignOnProperties;
242
+ /**
243
+ * Metadata pertaining to creation and last modification of the resource.
244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
245
+ */
246
+ readonly systemData?: SystemData;
247
+ }
248
+
249
+ /** Response of a list operation. */
250
+ export declare interface DatadogSingleSignOnResourceListResponse {
251
+ /** Results of a list operation. */
252
+ value?: DatadogSingleSignOnResource[];
253
+ /** Link to the next set of results, if any. */
254
+ nextLink?: string;
255
+ }
256
+
257
+ /** The resource management error additional info. */
258
+ export declare interface ErrorAdditionalInfo {
259
+ /**
260
+ * The additional info type.
261
+ * NOTE: This property will not be serialized. It can only be populated by the server.
262
+ */
263
+ readonly type?: string;
264
+ /**
265
+ * The additional info.
266
+ * NOTE: This property will not be serialized. It can only be populated by the server.
267
+ */
268
+ readonly info?: Record<string, unknown>;
269
+ }
270
+
271
+ /** The error detail. */
272
+ export declare interface ErrorDetail {
273
+ /**
274
+ * The error code.
275
+ * NOTE: This property will not be serialized. It can only be populated by the server.
276
+ */
277
+ readonly code?: string;
278
+ /**
279
+ * The error message.
280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
281
+ */
282
+ readonly message?: string;
283
+ /**
284
+ * The error target.
285
+ * NOTE: This property will not be serialized. It can only be populated by the server.
286
+ */
287
+ readonly target?: string;
288
+ /**
289
+ * The error details.
290
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
+ */
292
+ readonly details?: ErrorDetail[];
293
+ /**
294
+ * The error additional info.
295
+ * NOTE: This property will not be serialized. It can only be populated by the server.
296
+ */
297
+ readonly additionalInfo?: ErrorAdditionalInfo[];
298
+ }
299
+
300
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
301
+ export declare interface ErrorResponse {
302
+ /** The error object. */
303
+ error?: ErrorDetail;
304
+ }
305
+
306
+ /** The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored. */
307
+ export declare interface FilteringTag {
308
+ /** The name (also known as the key) of the tag. */
309
+ name?: string;
310
+ /** The value of the tag. */
311
+ value?: string;
312
+ /** Valid actions for a filtering tag. Exclusion takes priority over inclusion. */
313
+ action?: TagAction;
314
+ }
315
+
316
+ export declare interface IdentityProperties {
317
+ /**
318
+ * The identity ID.
319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
320
+ */
321
+ readonly principalId?: string;
322
+ /**
323
+ * The tenant ID of resource.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly tenantId?: string;
327
+ /** Identity type */
328
+ type?: ManagedIdentityTypes;
329
+ }
330
+
331
+ /** Known values of {@link CreatedByType} that the service accepts. */
332
+ export declare enum KnownCreatedByType {
333
+ User = "User",
334
+ Application = "Application",
335
+ ManagedIdentity = "ManagedIdentity",
336
+ Key = "Key"
337
+ }
338
+
339
+ /** Known values of {@link LiftrResourceCategories} that the service accepts. */
340
+ export declare enum KnownLiftrResourceCategories {
341
+ Unknown = "Unknown",
342
+ MonitorLogs = "MonitorLogs"
343
+ }
344
+
345
+ /** Known values of {@link ManagedIdentityTypes} that the service accepts. */
346
+ export declare enum KnownManagedIdentityTypes {
347
+ SystemAssigned = "SystemAssigned",
348
+ UserAssigned = "UserAssigned"
349
+ }
350
+
351
+ /** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */
352
+ export declare enum KnownMarketplaceSubscriptionStatus {
353
+ Provisioning = "Provisioning",
354
+ Active = "Active",
355
+ Suspended = "Suspended",
356
+ Unsubscribed = "Unsubscribed"
357
+ }
358
+
359
+ /** Known values of {@link MonitoringStatus} that the service accepts. */
360
+ export declare enum KnownMonitoringStatus {
361
+ Enabled = "Enabled",
362
+ Disabled = "Disabled"
363
+ }
364
+
365
+ /** Known values of {@link ProvisioningState} that the service accepts. */
366
+ export declare enum KnownProvisioningState {
367
+ Accepted = "Accepted",
368
+ Creating = "Creating",
369
+ Updating = "Updating",
370
+ Deleting = "Deleting",
371
+ Succeeded = "Succeeded",
372
+ Failed = "Failed",
373
+ Canceled = "Canceled",
374
+ Deleted = "Deleted",
375
+ NotSpecified = "NotSpecified"
376
+ }
377
+
378
+ /** Known values of {@link SingleSignOnStates} that the service accepts. */
379
+ export declare enum KnownSingleSignOnStates {
380
+ Initial = "Initial",
381
+ Enable = "Enable",
382
+ Disable = "Disable",
383
+ Existing = "Existing"
384
+ }
385
+
386
+ /** Known values of {@link TagAction} that the service accepts. */
387
+ export declare enum KnownTagAction {
388
+ Include = "Include",
389
+ Exclude = "Exclude"
390
+ }
391
+
392
+ /**
393
+ * Defines values for LiftrResourceCategories. \
394
+ * {@link KnownLiftrResourceCategories} can be used interchangeably with LiftrResourceCategories,
395
+ * this enum contains the known values that the service supports.
396
+ * ### Known values supported by the service
397
+ * **Unknown** \
398
+ * **MonitorLogs**
399
+ */
400
+ export declare type LiftrResourceCategories = string;
401
+
402
+ /** The definition of a linked resource. */
403
+ export declare interface LinkedResource {
404
+ /** The ARM id of the linked resource. */
405
+ id?: string;
406
+ }
407
+
408
+ /** Response of a list operation. */
409
+ export declare interface LinkedResourceListResponse {
410
+ /** Results of a list operation. */
411
+ value?: LinkedResource[];
412
+ /** Link to the next set of results, if any. */
413
+ nextLink?: string;
414
+ }
415
+
416
+ /** Set of rules for sending logs for the Monitor resource. */
417
+ export declare interface LogRules {
418
+ /** Flag specifying if AAD logs should be sent for the Monitor resource. */
419
+ sendAadLogs?: boolean;
420
+ /** Flag specifying if Azure subscription logs should be sent for the Monitor resource. */
421
+ sendSubscriptionLogs?: boolean;
422
+ /** Flag specifying if Azure resource logs should be sent for the Monitor resource. */
423
+ sendResourceLogs?: boolean;
424
+ /** List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. */
425
+ filteringTags?: FilteringTag[];
426
+ }
427
+
428
+ /**
429
+ * Defines values for ManagedIdentityTypes. \
430
+ * {@link KnownManagedIdentityTypes} can be used interchangeably with ManagedIdentityTypes,
431
+ * this enum contains the known values that the service supports.
432
+ * ### Known values supported by the service
433
+ * **SystemAssigned** \
434
+ * **UserAssigned**
435
+ */
436
+ export declare type ManagedIdentityTypes = string;
437
+
438
+ /** Interface representing a MarketplaceAgreements. */
439
+ export declare interface MarketplaceAgreements {
440
+ /**
441
+ * List Datadog marketplace agreements in the subscription.
442
+ * @param options The options parameters.
443
+ */
444
+ list(options?: MarketplaceAgreementsListOptionalParams): PagedAsyncIterableIterator<DatadogAgreementResource>;
445
+ /**
446
+ * Create Datadog marketplace agreement in the subscription.
447
+ * @param options The options parameters.
448
+ */
449
+ createOrUpdate(options?: MarketplaceAgreementsCreateOrUpdateOptionalParams): Promise<MarketplaceAgreementsCreateOrUpdateResponse>;
450
+ }
451
+
452
+ /** Optional parameters. */
453
+ export declare interface MarketplaceAgreementsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
454
+ body?: DatadogAgreementResource;
455
+ }
456
+
457
+ /** Contains response data for the createOrUpdate operation. */
458
+ export declare type MarketplaceAgreementsCreateOrUpdateResponse = DatadogAgreementResource;
459
+
460
+ /** Optional parameters. */
461
+ export declare interface MarketplaceAgreementsListNextOptionalParams extends coreClient.OperationOptions {
462
+ }
463
+
464
+ /** Contains response data for the listNext operation. */
465
+ export declare type MarketplaceAgreementsListNextResponse = DatadogAgreementResourceListResponse;
466
+
467
+ /** Optional parameters. */
468
+ export declare interface MarketplaceAgreementsListOptionalParams extends coreClient.OperationOptions {
469
+ }
470
+
471
+ /** Contains response data for the list operation. */
472
+ export declare type MarketplaceAgreementsListResponse = DatadogAgreementResourceListResponse;
473
+
474
+ /**
475
+ * Defines values for MarketplaceSubscriptionStatus. \
476
+ * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus,
477
+ * this enum contains the known values that the service supports.
478
+ * ### Known values supported by the service
479
+ * **Provisioning** \
480
+ * **Active** \
481
+ * **Suspended** \
482
+ * **Unsubscribed**
483
+ */
484
+ export declare type MarketplaceSubscriptionStatus = string;
485
+
486
+ /** Set of rules for sending metrics for the Monitor resource. */
487
+ export declare interface MetricRules {
488
+ /** List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. */
489
+ filteringTags?: FilteringTag[];
490
+ }
491
+
492
+ export declare class MicrosoftDatadogClient extends coreClient.ServiceClient {
493
+ $host: string;
494
+ subscriptionId: string;
495
+ apiVersion: string;
496
+ /**
497
+ * Initializes a new instance of the MicrosoftDatadogClient class.
498
+ * @param credentials Subscription credentials which uniquely identify client subscription.
499
+ * @param subscriptionId The ID of the target subscription.
500
+ * @param options The parameter options
501
+ */
502
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftDatadogClientOptionalParams);
503
+ marketplaceAgreements: MarketplaceAgreements;
504
+ monitors: Monitors;
505
+ operations: Operations;
506
+ tagRules: TagRules;
507
+ singleSignOnConfigurations: SingleSignOnConfigurations;
508
+ }
509
+
510
+ /** Optional parameters. */
511
+ export declare interface MicrosoftDatadogClientOptionalParams extends coreClient.ServiceClientOptions {
512
+ /** server parameter */
513
+ $host?: string;
514
+ /** Api Version */
515
+ apiVersion?: string;
516
+ /** Overrides client endpoint. */
517
+ endpoint?: string;
518
+ }
519
+
520
+ /** The properties of a resource currently being monitored by the Datadog monitor resource. */
521
+ export declare interface MonitoredResource {
522
+ /** The ARM id of the resource. */
523
+ id?: string;
524
+ /** Flag indicating if resource is sending metrics to Datadog. */
525
+ sendingMetrics?: boolean;
526
+ /** Reason for why the resource is sending metrics (or why it is not sending). */
527
+ reasonForMetricsStatus?: string;
528
+ /** Flag indicating if resource is sending logs to Datadog. */
529
+ sendingLogs?: boolean;
530
+ /** Reason for why the resource is sending logs (or why it is not sending). */
531
+ reasonForLogsStatus?: string;
532
+ }
533
+
534
+ /** Response of a list operation. */
535
+ export declare interface MonitoredResourceListResponse {
536
+ /** Results of a list operation. */
537
+ value?: MonitoredResource[];
538
+ /** Link to the next set of results, if any. */
539
+ nextLink?: string;
540
+ }
541
+
542
+ /**
543
+ * Defines values for MonitoringStatus. \
544
+ * {@link KnownMonitoringStatus} can be used interchangeably with MonitoringStatus,
545
+ * this enum contains the known values that the service supports.
546
+ * ### Known values supported by the service
547
+ * **Enabled** \
548
+ * **Disabled**
549
+ */
550
+ export declare type MonitoringStatus = string;
551
+
552
+ /** Capture logs and metrics of Azure resources based on ARM tags. */
553
+ export declare interface MonitoringTagRules {
554
+ /**
555
+ * Name of the rule set.
556
+ * NOTE: This property will not be serialized. It can only be populated by the server.
557
+ */
558
+ readonly name?: string;
559
+ /**
560
+ * The id of the rule set.
561
+ * NOTE: This property will not be serialized. It can only be populated by the server.
562
+ */
563
+ readonly id?: string;
564
+ /**
565
+ * The type of the rule set.
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
567
+ */
568
+ readonly type?: string;
569
+ /** Definition of the properties for a TagRules resource. */
570
+ properties?: MonitoringTagRulesProperties;
571
+ /**
572
+ * Metadata pertaining to creation and last modification of the resource.
573
+ * NOTE: This property will not be serialized. It can only be populated by the server.
574
+ */
575
+ readonly systemData?: SystemData;
576
+ }
577
+
578
+ /** Response of a list operation. */
579
+ export declare interface MonitoringTagRulesListResponse {
580
+ /** Results of a list operation. */
581
+ value?: MonitoringTagRules[];
582
+ /** Link to the next set of results, if any. */
583
+ nextLink?: string;
584
+ }
585
+
586
+ /** Definition of the properties for a TagRules resource. */
587
+ export declare interface MonitoringTagRulesProperties {
588
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
589
+ readonly provisioningState?: ProvisioningState;
590
+ /** Set of rules for sending logs for the Monitor resource. */
591
+ logRules?: LogRules;
592
+ /** Set of rules for sending metrics for the Monitor resource. */
593
+ metricRules?: MetricRules;
594
+ }
595
+
596
+ /** Properties specific to the monitor resource. */
597
+ export declare interface MonitorProperties {
598
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
599
+ readonly provisioningState?: ProvisioningState;
600
+ /** Flag specifying if the resource monitoring is enabled or disabled. */
601
+ monitoringStatus?: MonitoringStatus;
602
+ /**
603
+ * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
604
+ * NOTE: This property will not be serialized. It can only be populated by the server.
605
+ */
606
+ readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;
607
+ /** Datadog organization properties */
608
+ datadogOrganizationProperties?: DatadogOrganizationProperties;
609
+ /** User info */
610
+ userInfo?: UserInfo;
611
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
612
+ readonly liftrResourceCategory?: LiftrResourceCategories;
613
+ /**
614
+ * The priority of the resource.
615
+ * NOTE: This property will not be serialized. It can only be populated by the server.
616
+ */
617
+ readonly liftrResourcePreference?: number;
618
+ }
619
+
620
+ /** Interface representing a Monitors. */
621
+ export declare interface Monitors {
622
+ /**
623
+ * List the api keys for a given monitor resource.
624
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
625
+ * @param monitorName Monitor resource name
626
+ * @param options The options parameters.
627
+ */
628
+ listApiKeys(resourceGroupName: string, monitorName: string, options?: MonitorsListApiKeysOptionalParams): PagedAsyncIterableIterator<DatadogApiKey>;
629
+ /**
630
+ * List the hosts for a given monitor resource.
631
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
632
+ * @param monitorName Monitor resource name
633
+ * @param options The options parameters.
634
+ */
635
+ listHosts(resourceGroupName: string, monitorName: string, options?: MonitorsListHostsOptionalParams): PagedAsyncIterableIterator<DatadogHost>;
636
+ /**
637
+ * List all Azure resources associated to the same Datadog organization as the target resource.
638
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
639
+ * @param monitorName Monitor resource name
640
+ * @param options The options parameters.
641
+ */
642
+ listLinkedResources(resourceGroupName: string, monitorName: string, options?: MonitorsListLinkedResourcesOptionalParams): PagedAsyncIterableIterator<LinkedResource>;
643
+ /**
644
+ * List the resources currently being monitored by the Datadog monitor resource.
645
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
646
+ * @param monitorName Monitor resource name
647
+ * @param options The options parameters.
648
+ */
649
+ listMonitoredResources(resourceGroupName: string, monitorName: string, options?: MonitorsListMonitoredResourcesOptionalParams): PagedAsyncIterableIterator<MonitoredResource>;
650
+ /**
651
+ * List all monitors under the specified subscription.
652
+ * @param options The options parameters.
653
+ */
654
+ list(options?: MonitorsListOptionalParams): PagedAsyncIterableIterator<DatadogMonitorResource>;
655
+ /**
656
+ * List all monitors under the specified resource group.
657
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
658
+ * @param options The options parameters.
659
+ */
660
+ listByResourceGroup(resourceGroupName: string, options?: MonitorsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DatadogMonitorResource>;
661
+ /**
662
+ * Get the default api key.
663
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
664
+ * @param monitorName Monitor resource name
665
+ * @param options The options parameters.
666
+ */
667
+ getDefaultKey(resourceGroupName: string, monitorName: string, options?: MonitorsGetDefaultKeyOptionalParams): Promise<MonitorsGetDefaultKeyResponse>;
668
+ /**
669
+ * Set the default api key.
670
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
671
+ * @param monitorName Monitor resource name
672
+ * @param options The options parameters.
673
+ */
674
+ setDefaultKey(resourceGroupName: string, monitorName: string, options?: MonitorsSetDefaultKeyOptionalParams): Promise<void>;
675
+ /**
676
+ * Get the properties of a specific monitor resource.
677
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
678
+ * @param monitorName Monitor resource name
679
+ * @param options The options parameters.
680
+ */
681
+ get(resourceGroupName: string, monitorName: string, options?: MonitorsGetOptionalParams): Promise<MonitorsGetResponse>;
682
+ /**
683
+ * Create a monitor resource.
684
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
685
+ * @param monitorName Monitor resource name
686
+ * @param options The options parameters.
687
+ */
688
+ beginCreate(resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams): Promise<PollerLike<PollOperationState<MonitorsCreateResponse>, MonitorsCreateResponse>>;
689
+ /**
690
+ * Create a monitor resource.
691
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
692
+ * @param monitorName Monitor resource name
693
+ * @param options The options parameters.
694
+ */
695
+ beginCreateAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams): Promise<MonitorsCreateResponse>;
696
+ /**
697
+ * Update a monitor resource.
698
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
699
+ * @param monitorName Monitor resource name
700
+ * @param options The options parameters.
701
+ */
702
+ beginUpdate(resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams): Promise<PollerLike<PollOperationState<MonitorsUpdateResponse>, MonitorsUpdateResponse>>;
703
+ /**
704
+ * Update a monitor resource.
705
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
706
+ * @param monitorName Monitor resource name
707
+ * @param options The options parameters.
708
+ */
709
+ beginUpdateAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams): Promise<MonitorsUpdateResponse>;
710
+ /**
711
+ * Delete a monitor resource.
712
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
713
+ * @param monitorName Monitor resource name
714
+ * @param options The options parameters.
715
+ */
716
+ beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
717
+ /**
718
+ * Delete a monitor resource.
719
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
720
+ * @param monitorName Monitor resource name
721
+ * @param options The options parameters.
722
+ */
723
+ beginDeleteAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<void>;
724
+ /**
725
+ * Refresh the set password link and return a latest one.
726
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
727
+ * @param monitorName Monitor resource name
728
+ * @param options The options parameters.
729
+ */
730
+ refreshSetPasswordLink(resourceGroupName: string, monitorName: string, options?: MonitorsRefreshSetPasswordLinkOptionalParams): Promise<MonitorsRefreshSetPasswordLinkResponse>;
731
+ }
732
+
733
+ /** Optional parameters. */
734
+ export declare interface MonitorsCreateOptionalParams extends coreClient.OperationOptions {
735
+ body?: DatadogMonitorResource;
736
+ /** Delay to wait until next poll, in milliseconds. */
737
+ updateIntervalInMs?: number;
738
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
739
+ resumeFrom?: string;
740
+ }
741
+
742
+ /** Contains response data for the create operation. */
743
+ export declare type MonitorsCreateResponse = DatadogMonitorResource;
744
+
745
+ /** Optional parameters. */
746
+ export declare interface MonitorsDeleteOptionalParams extends coreClient.OperationOptions {
747
+ /** Delay to wait until next poll, in milliseconds. */
748
+ updateIntervalInMs?: number;
749
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
750
+ resumeFrom?: string;
751
+ }
752
+
753
+ /** Optional parameters. */
754
+ export declare interface MonitorsGetDefaultKeyOptionalParams extends coreClient.OperationOptions {
755
+ }
756
+
757
+ /** Contains response data for the getDefaultKey operation. */
758
+ export declare type MonitorsGetDefaultKeyResponse = DatadogApiKey;
759
+
760
+ /** Optional parameters. */
761
+ export declare interface MonitorsGetOptionalParams extends coreClient.OperationOptions {
762
+ }
763
+
764
+ /** Contains response data for the get operation. */
765
+ export declare type MonitorsGetResponse = DatadogMonitorResource;
766
+
767
+ /** Optional parameters. */
768
+ export declare interface MonitorsListApiKeysNextOptionalParams extends coreClient.OperationOptions {
769
+ }
770
+
771
+ /** Contains response data for the listApiKeysNext operation. */
772
+ export declare type MonitorsListApiKeysNextResponse = DatadogApiKeyListResponse;
773
+
774
+ /** Optional parameters. */
775
+ export declare interface MonitorsListApiKeysOptionalParams extends coreClient.OperationOptions {
776
+ }
777
+
778
+ /** Contains response data for the listApiKeys operation. */
779
+ export declare type MonitorsListApiKeysResponse = DatadogApiKeyListResponse;
780
+
781
+ /** Optional parameters. */
782
+ export declare interface MonitorsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
783
+ }
784
+
785
+ /** Contains response data for the listByResourceGroupNext operation. */
786
+ export declare type MonitorsListByResourceGroupNextResponse = DatadogMonitorResourceListResponse;
787
+
788
+ /** Optional parameters. */
789
+ export declare interface MonitorsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
790
+ }
791
+
792
+ /** Contains response data for the listByResourceGroup operation. */
793
+ export declare type MonitorsListByResourceGroupResponse = DatadogMonitorResourceListResponse;
794
+
795
+ /** Optional parameters. */
796
+ export declare interface MonitorsListHostsNextOptionalParams extends coreClient.OperationOptions {
797
+ }
798
+
799
+ /** Contains response data for the listHostsNext operation. */
800
+ export declare type MonitorsListHostsNextResponse = DatadogHostListResponse;
801
+
802
+ /** Optional parameters. */
803
+ export declare interface MonitorsListHostsOptionalParams extends coreClient.OperationOptions {
804
+ }
805
+
806
+ /** Contains response data for the listHosts operation. */
807
+ export declare type MonitorsListHostsResponse = DatadogHostListResponse;
808
+
809
+ /** Optional parameters. */
810
+ export declare interface MonitorsListLinkedResourcesNextOptionalParams extends coreClient.OperationOptions {
811
+ }
812
+
813
+ /** Contains response data for the listLinkedResourcesNext operation. */
814
+ export declare type MonitorsListLinkedResourcesNextResponse = LinkedResourceListResponse;
815
+
816
+ /** Optional parameters. */
817
+ export declare interface MonitorsListLinkedResourcesOptionalParams extends coreClient.OperationOptions {
818
+ }
819
+
820
+ /** Contains response data for the listLinkedResources operation. */
821
+ export declare type MonitorsListLinkedResourcesResponse = LinkedResourceListResponse;
822
+
823
+ /** Optional parameters. */
824
+ export declare interface MonitorsListMonitoredResourcesNextOptionalParams extends coreClient.OperationOptions {
825
+ }
826
+
827
+ /** Contains response data for the listMonitoredResourcesNext operation. */
828
+ export declare type MonitorsListMonitoredResourcesNextResponse = MonitoredResourceListResponse;
829
+
830
+ /** Optional parameters. */
831
+ export declare interface MonitorsListMonitoredResourcesOptionalParams extends coreClient.OperationOptions {
832
+ }
833
+
834
+ /** Contains response data for the listMonitoredResources operation. */
835
+ export declare type MonitorsListMonitoredResourcesResponse = MonitoredResourceListResponse;
836
+
837
+ /** Optional parameters. */
838
+ export declare interface MonitorsListNextOptionalParams extends coreClient.OperationOptions {
839
+ }
840
+
841
+ /** Contains response data for the listNext operation. */
842
+ export declare type MonitorsListNextResponse = DatadogMonitorResourceListResponse;
843
+
844
+ /** Optional parameters. */
845
+ export declare interface MonitorsListOptionalParams extends coreClient.OperationOptions {
846
+ }
847
+
848
+ /** Contains response data for the list operation. */
849
+ export declare type MonitorsListResponse = DatadogMonitorResourceListResponse;
850
+
851
+ /** Optional parameters. */
852
+ export declare interface MonitorsRefreshSetPasswordLinkOptionalParams extends coreClient.OperationOptions {
853
+ }
854
+
855
+ /** Contains response data for the refreshSetPasswordLink operation. */
856
+ export declare type MonitorsRefreshSetPasswordLinkResponse = DatadogSetPasswordLink;
857
+
858
+ /** Optional parameters. */
859
+ export declare interface MonitorsSetDefaultKeyOptionalParams extends coreClient.OperationOptions {
860
+ body?: DatadogApiKey;
861
+ }
862
+
863
+ /** Optional parameters. */
864
+ export declare interface MonitorsUpdateOptionalParams extends coreClient.OperationOptions {
865
+ /** The parameters for a PATCH request to a monitor resource. */
866
+ body?: DatadogMonitorResourceUpdateParameters;
867
+ /** Delay to wait until next poll, in milliseconds. */
868
+ updateIntervalInMs?: number;
869
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
870
+ resumeFrom?: string;
871
+ }
872
+
873
+ /** Contains response data for the update operation. */
874
+ export declare type MonitorsUpdateResponse = DatadogMonitorResource;
875
+
876
+ /** The set of properties that can be update in a PATCH request to a monitor resource. */
877
+ export declare interface MonitorUpdateProperties {
878
+ /** Flag specifying if the resource monitoring is enabled or disabled. */
879
+ monitoringStatus?: MonitoringStatus;
880
+ }
881
+
882
+ /** The object that represents the operation. */
883
+ export declare interface OperationDisplay {
884
+ /** Service provider, i.e., Microsoft.Datadog. */
885
+ provider?: string;
886
+ /** Type on which the operation is performed, e.g., 'monitors'. */
887
+ resource?: string;
888
+ /** Operation type, e.g., read, write, delete, etc. */
889
+ operation?: string;
890
+ /** Description of the operation, e.g., 'Write monitors'. */
891
+ description?: string;
892
+ }
893
+
894
+ /** Result of GET request to list the Microsoft.Datadog operations. */
895
+ export declare interface OperationListResult {
896
+ /** List of operations supported by the Microsoft.Datadog provider. */
897
+ value?: OperationResult[];
898
+ /** URL to get the next set of operation list results if there are any. */
899
+ nextLink?: string;
900
+ }
901
+
902
+ /** A Microsoft.Datadog REST API operation. */
903
+ export declare interface OperationResult {
904
+ /** Operation name, i.e., {provider}/{resource}/{operation}. */
905
+ name?: string;
906
+ /** The object that represents the operation. */
907
+ display?: OperationDisplay;
908
+ /** Indicates whether the operation is a data action */
909
+ isDataAction?: boolean;
910
+ }
911
+
912
+ /** Interface representing a Operations. */
913
+ export declare interface Operations {
914
+ /**
915
+ * List all operations provided by Microsoft.Datadog for the 2021-03-01 api version.
916
+ * @param options The options parameters.
917
+ */
918
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationResult>;
919
+ }
920
+
921
+ /** Optional parameters. */
922
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
923
+ }
924
+
925
+ /** Contains response data for the listNext operation. */
926
+ export declare type OperationsListNextResponse = OperationListResult;
927
+
928
+ /** Optional parameters. */
929
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
930
+ }
931
+
932
+ /** Contains response data for the list operation. */
933
+ export declare type OperationsListResponse = OperationListResult;
934
+
935
+ /**
936
+ * Defines values for ProvisioningState. \
937
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
938
+ * this enum contains the known values that the service supports.
939
+ * ### Known values supported by the service
940
+ * **Accepted** \
941
+ * **Creating** \
942
+ * **Updating** \
943
+ * **Deleting** \
944
+ * **Succeeded** \
945
+ * **Failed** \
946
+ * **Canceled** \
947
+ * **Deleted** \
948
+ * **NotSpecified**
949
+ */
950
+ export declare type ProvisioningState = string;
951
+
952
+ export declare interface ResourceSku {
953
+ /** Name of the SKU. */
954
+ name: string;
955
+ }
956
+
957
+ /** Interface representing a SingleSignOnConfigurations. */
958
+ export declare interface SingleSignOnConfigurations {
959
+ /**
960
+ * List the single sign-on configurations for a given monitor resource.
961
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
962
+ * @param monitorName Monitor resource name
963
+ * @param options The options parameters.
964
+ */
965
+ list(resourceGroupName: string, monitorName: string, options?: SingleSignOnConfigurationsListOptionalParams): PagedAsyncIterableIterator<DatadogSingleSignOnResource>;
966
+ /**
967
+ * Configures single-sign-on for this resource.
968
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
969
+ * @param monitorName Monitor resource name
970
+ * @param configurationName Configuration name
971
+ * @param options The options parameters.
972
+ */
973
+ beginCreateOrUpdate(resourceGroupName: string, monitorName: string, configurationName: string, options?: SingleSignOnConfigurationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SingleSignOnConfigurationsCreateOrUpdateResponse>, SingleSignOnConfigurationsCreateOrUpdateResponse>>;
974
+ /**
975
+ * Configures single-sign-on for this resource.
976
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
977
+ * @param monitorName Monitor resource name
978
+ * @param configurationName Configuration name
979
+ * @param options The options parameters.
980
+ */
981
+ beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, configurationName: string, options?: SingleSignOnConfigurationsCreateOrUpdateOptionalParams): Promise<SingleSignOnConfigurationsCreateOrUpdateResponse>;
982
+ /**
983
+ * Gets the datadog single sign-on resource for the given Monitor.
984
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
985
+ * @param monitorName Monitor resource name
986
+ * @param configurationName Configuration name
987
+ * @param options The options parameters.
988
+ */
989
+ get(resourceGroupName: string, monitorName: string, configurationName: string, options?: SingleSignOnConfigurationsGetOptionalParams): Promise<SingleSignOnConfigurationsGetResponse>;
990
+ }
991
+
992
+ /** Optional parameters. */
993
+ export declare interface SingleSignOnConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
994
+ body?: DatadogSingleSignOnResource;
995
+ /** Delay to wait until next poll, in milliseconds. */
996
+ updateIntervalInMs?: number;
997
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
998
+ resumeFrom?: string;
999
+ }
1000
+
1001
+ /** Contains response data for the createOrUpdate operation. */
1002
+ export declare type SingleSignOnConfigurationsCreateOrUpdateResponse = DatadogSingleSignOnResource;
1003
+
1004
+ /** Optional parameters. */
1005
+ export declare interface SingleSignOnConfigurationsGetOptionalParams extends coreClient.OperationOptions {
1006
+ }
1007
+
1008
+ /** Contains response data for the get operation. */
1009
+ export declare type SingleSignOnConfigurationsGetResponse = DatadogSingleSignOnResource;
1010
+
1011
+ /** Optional parameters. */
1012
+ export declare interface SingleSignOnConfigurationsListNextOptionalParams extends coreClient.OperationOptions {
1013
+ }
1014
+
1015
+ /** Contains response data for the listNext operation. */
1016
+ export declare type SingleSignOnConfigurationsListNextResponse = DatadogSingleSignOnResourceListResponse;
1017
+
1018
+ /** Optional parameters. */
1019
+ export declare interface SingleSignOnConfigurationsListOptionalParams extends coreClient.OperationOptions {
1020
+ }
1021
+
1022
+ /** Contains response data for the list operation. */
1023
+ export declare type SingleSignOnConfigurationsListResponse = DatadogSingleSignOnResourceListResponse;
1024
+
1025
+ /**
1026
+ * Defines values for SingleSignOnStates. \
1027
+ * {@link KnownSingleSignOnStates} can be used interchangeably with SingleSignOnStates,
1028
+ * this enum contains the known values that the service supports.
1029
+ * ### Known values supported by the service
1030
+ * **Initial** \
1031
+ * **Enable** \
1032
+ * **Disable** \
1033
+ * **Existing**
1034
+ */
1035
+ export declare type SingleSignOnStates = string;
1036
+
1037
+ /** Metadata pertaining to creation and last modification of the resource. */
1038
+ export declare interface SystemData {
1039
+ /** The identity that created the resource. */
1040
+ createdBy?: string;
1041
+ /** The type of identity that created the resource. */
1042
+ createdByType?: CreatedByType;
1043
+ /** The timestamp of resource creation (UTC). */
1044
+ createdAt?: Date;
1045
+ /** The identity that last modified the resource. */
1046
+ lastModifiedBy?: string;
1047
+ /** The type of identity that last modified the resource. */
1048
+ lastModifiedByType?: CreatedByType;
1049
+ /** The timestamp of resource last modification (UTC) */
1050
+ lastModifiedAt?: Date;
1051
+ }
1052
+
1053
+ /**
1054
+ * Defines values for TagAction. \
1055
+ * {@link KnownTagAction} can be used interchangeably with TagAction,
1056
+ * this enum contains the known values that the service supports.
1057
+ * ### Known values supported by the service
1058
+ * **Include** \
1059
+ * **Exclude**
1060
+ */
1061
+ export declare type TagAction = string;
1062
+
1063
+ /** Interface representing a TagRules. */
1064
+ export declare interface TagRules {
1065
+ /**
1066
+ * List the tag rules for a given monitor resource.
1067
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1068
+ * @param monitorName Monitor resource name
1069
+ * @param options The options parameters.
1070
+ */
1071
+ list(resourceGroupName: string, monitorName: string, options?: TagRulesListOptionalParams): PagedAsyncIterableIterator<MonitoringTagRules>;
1072
+ /**
1073
+ * Create or update a tag rule set for a given monitor resource.
1074
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1075
+ * @param monitorName Monitor resource name
1076
+ * @param ruleSetName Rule set name
1077
+ * @param options The options parameters.
1078
+ */
1079
+ createOrUpdate(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesCreateOrUpdateOptionalParams): Promise<TagRulesCreateOrUpdateResponse>;
1080
+ /**
1081
+ * Get a tag rule set for a given monitor resource.
1082
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1083
+ * @param monitorName Monitor resource name
1084
+ * @param ruleSetName Rule set name
1085
+ * @param options The options parameters.
1086
+ */
1087
+ get(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesGetOptionalParams): Promise<TagRulesGetResponse>;
1088
+ }
1089
+
1090
+ /** Optional parameters. */
1091
+ export declare interface TagRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1092
+ /** Capture logs and metrics of Azure resources based on ARM tags. */
1093
+ body?: MonitoringTagRules;
1094
+ }
1095
+
1096
+ /** Contains response data for the createOrUpdate operation. */
1097
+ export declare type TagRulesCreateOrUpdateResponse = MonitoringTagRules;
1098
+
1099
+ /** Optional parameters. */
1100
+ export declare interface TagRulesGetOptionalParams extends coreClient.OperationOptions {
1101
+ }
1102
+
1103
+ /** Contains response data for the get operation. */
1104
+ export declare type TagRulesGetResponse = MonitoringTagRules;
1105
+
1106
+ /** Optional parameters. */
1107
+ export declare interface TagRulesListNextOptionalParams extends coreClient.OperationOptions {
1108
+ }
1109
+
1110
+ /** Contains response data for the listNext operation. */
1111
+ export declare type TagRulesListNextResponse = MonitoringTagRulesListResponse;
1112
+
1113
+ /** Optional parameters. */
1114
+ export declare interface TagRulesListOptionalParams extends coreClient.OperationOptions {
1115
+ }
1116
+
1117
+ /** Contains response data for the list operation. */
1118
+ export declare type TagRulesListResponse = MonitoringTagRulesListResponse;
1119
+
1120
+ /** User info */
1121
+ export declare interface UserInfo {
1122
+ /** Name of the user */
1123
+ name?: string;
1124
+ /** Email of the user used by Datadog for contacting them if needed */
1125
+ emailAddress?: string;
1126
+ /** Phone number of the user used by Datadog for contacting them if needed */
1127
+ phoneNumber?: string;
1128
+ }
1129
+
1130
+ export { }