@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
@@ -6,1562 +6,915 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
11
+ /** Response of a list operation. */
12
+ export interface DatadogAgreementResourceListResponse {
13
+ /** Results of a list operation. */
14
+ value?: DatadogAgreementResource[];
15
+ /** Link to the next set of results, if any. */
16
+ nextLink?: string;
17
+ }
13
18
 
14
- /**
15
- * Terms properties.
16
- */
17
- export interface DatadogAgreementProperties {
19
+ export interface DatadogAgreementResource {
18
20
  /**
19
- * Publisher identifier string.
21
+ * ARM id of the resource.
22
+ * NOTE: This property will not be serialized. It can only be populated by the server.
20
23
  */
21
- publisher?: string;
24
+ readonly id?: string;
22
25
  /**
23
- * Product identifier string.
26
+ * Name of the agreement.
27
+ * NOTE: This property will not be serialized. It can only be populated by the server.
24
28
  */
25
- product?: string;
29
+ readonly name?: string;
26
30
  /**
27
- * Plan identifier string.
31
+ * The type of the resource.
32
+ * NOTE: This property will not be serialized. It can only be populated by the server.
28
33
  */
29
- plan?: string;
34
+ readonly type?: string;
35
+ /** Represents the properties of the resource. */
36
+ properties?: DatadogAgreementProperties;
30
37
  /**
31
- * Link to HTML with Microsoft and Publisher terms.
38
+ * Metadata pertaining to creation and last modification of the resource.
39
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
40
  */
41
+ readonly systemData?: SystemData;
42
+ }
43
+
44
+ /** Terms properties. */
45
+ export interface DatadogAgreementProperties {
46
+ /** Publisher identifier string. */
47
+ publisher?: string;
48
+ /** Product identifier string. */
49
+ product?: string;
50
+ /** Plan identifier string. */
51
+ plan?: string;
52
+ /** Link to HTML with Microsoft and Publisher terms. */
33
53
  licenseTextLink?: string;
34
- /**
35
- * Link to the privacy policy of the publisher.
36
- */
54
+ /** Link to the privacy policy of the publisher. */
37
55
  privacyPolicyLink?: string;
38
- /**
39
- * Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
40
- */
56
+ /** Date and time in UTC of when the terms were accepted. This is empty if Accepted is false. */
41
57
  retrieveDatetime?: Date;
42
- /**
43
- * Terms signature.
44
- */
58
+ /** Terms signature. */
45
59
  signature?: string;
46
- /**
47
- * If any version of the terms have been accepted, otherwise false.
48
- */
60
+ /** If any version of the terms have been accepted, otherwise false. */
49
61
  accepted?: boolean;
50
62
  }
51
63
 
52
- /**
53
- * Metadata pertaining to creation and last modification of the resource.
54
- */
64
+ /** Metadata pertaining to creation and last modification of the resource. */
55
65
  export interface SystemData {
56
- /**
57
- * The identity that created the resource.
58
- */
66
+ /** The identity that created the resource. */
59
67
  createdBy?: string;
60
- /**
61
- * The type of identity that created the resource. Possible values include: 'User',
62
- * 'Application', 'ManagedIdentity', 'Key'
63
- */
68
+ /** The type of identity that created the resource. */
64
69
  createdByType?: CreatedByType;
65
- /**
66
- * The timestamp of resource creation (UTC).
67
- */
70
+ /** The timestamp of resource creation (UTC). */
68
71
  createdAt?: Date;
69
- /**
70
- * The identity that last modified the resource.
71
- */
72
+ /** The identity that last modified the resource. */
72
73
  lastModifiedBy?: string;
73
- /**
74
- * The type of identity that last modified the resource. Possible values include: 'User',
75
- * 'Application', 'ManagedIdentity', 'Key'
76
- */
74
+ /** The type of identity that last modified the resource. */
77
75
  lastModifiedByType?: CreatedByType;
78
- /**
79
- * The timestamp of resource last modification (UTC)
80
- */
76
+ /** The timestamp of resource last modification (UTC) */
81
77
  lastModifiedAt?: Date;
82
78
  }
83
79
 
84
- /**
85
- * An interface representing DatadogAgreementResource.
86
- */
87
- export interface DatadogAgreementResource extends BaseResource {
80
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
81
+ export interface ErrorResponse {
82
+ /** The error object. */
83
+ error?: ErrorDetail;
84
+ }
85
+
86
+ /** The error detail. */
87
+ export interface ErrorDetail {
88
88
  /**
89
- * ARM id of the resource.
90
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
89
+ * The error code.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
91
  */
92
- readonly id?: string;
92
+ readonly code?: string;
93
93
  /**
94
- * Name of the agreement.
95
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
94
+ * The error message.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
96
  */
97
- readonly name?: string;
97
+ readonly message?: string;
98
98
  /**
99
- * The type of the resource.
100
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
99
+ * The error target.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
101
  */
102
- readonly type?: string;
102
+ readonly target?: string;
103
103
  /**
104
- * Represents the properties of the resource.
104
+ * The error details.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
105
106
  */
106
- properties?: DatadogAgreementProperties;
107
+ readonly details?: ErrorDetail[];
107
108
  /**
108
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
109
+ * The error additional info.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
109
111
  */
110
- readonly systemData?: SystemData;
112
+ readonly additionalInfo?: ErrorAdditionalInfo[];
111
113
  }
112
114
 
113
- /**
114
- * An interface representing DatadogApiKey.
115
- */
116
- export interface DatadogApiKey {
115
+ /** The resource management error additional info. */
116
+ export interface ErrorAdditionalInfo {
117
117
  /**
118
- * The user that created the API key.
118
+ * The additional info type.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
119
120
  */
120
- createdBy?: string;
121
+ readonly type?: string;
121
122
  /**
122
- * The name of the API key.
123
+ * The additional info.
124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
123
125
  */
126
+ readonly info?: Record<string, unknown>;
127
+ }
128
+
129
+ /** Response of a list operation. */
130
+ export interface DatadogApiKeyListResponse {
131
+ /** Results of a list operation. */
132
+ value?: DatadogApiKey[];
133
+ /** Link to the next set of results, if any. */
134
+ nextLink?: string;
135
+ }
136
+
137
+ export interface DatadogApiKey {
138
+ /** The user that created the API key. */
139
+ createdBy?: string;
140
+ /** The name of the API key. */
124
141
  name?: string;
125
- /**
126
- * The value of the API key.
127
- */
142
+ /** The value of the API key. */
128
143
  key: string;
129
- /**
130
- * The time of creation of the API key.
131
- */
144
+ /** The time of creation of the API key. */
132
145
  created?: string;
133
146
  }
134
147
 
135
- /**
136
- * An interface representing DatadogInstallMethod.
137
- */
138
- export interface DatadogInstallMethod {
139
- /**
140
- * The tool.
141
- */
142
- tool?: string;
143
- /**
144
- * The tool version.
145
- */
146
- toolVersion?: string;
147
- /**
148
- * The installer version.
149
- */
150
- installerVersion?: string;
148
+ /** Response of a list operation. */
149
+ export interface DatadogHostListResponse {
150
+ /** Results of a list operation. */
151
+ value?: DatadogHost[];
152
+ /** Link to the next set of results, if any. */
153
+ nextLink?: string;
151
154
  }
152
155
 
153
- /**
154
- * An interface representing DatadogLogsAgent.
155
- */
156
- export interface DatadogLogsAgent {
157
- /**
158
- * The transport.
159
- */
160
- transport?: string;
156
+ export interface DatadogHost {
157
+ /** The name of the host. */
158
+ name?: string;
159
+ /** The aliases for the host. */
160
+ aliases?: string[];
161
+ /** The Datadog integrations reporting metrics for the host. */
162
+ apps?: string[];
163
+ meta?: DatadogHostMetadata;
161
164
  }
162
165
 
163
- /**
164
- * An interface representing DatadogHostMetadata.
165
- */
166
166
  export interface DatadogHostMetadata {
167
- /**
168
- * The agent version.
169
- */
167
+ /** The agent version. */
170
168
  agentVersion?: string;
171
169
  installMethod?: DatadogInstallMethod;
172
170
  logsAgent?: DatadogLogsAgent;
173
171
  }
174
172
 
175
- /**
176
- * An interface representing DatadogHost.
177
- */
178
- export interface DatadogHost {
179
- /**
180
- * The name of the host.
181
- */
182
- name?: string;
183
- /**
184
- * The aliases for the host.
185
- */
186
- aliases?: string[];
187
- /**
188
- * The Datadog integrations reporting metrics for the host.
189
- */
190
- apps?: string[];
191
- meta?: DatadogHostMetadata;
173
+ export interface DatadogInstallMethod {
174
+ /** The tool. */
175
+ tool?: string;
176
+ /** The tool version. */
177
+ toolVersion?: string;
178
+ /** The installer version. */
179
+ installerVersion?: string;
192
180
  }
193
181
 
194
- /**
195
- * The definition of a linked resource.
196
- */
182
+ export interface DatadogLogsAgent {
183
+ /** The transport. */
184
+ transport?: string;
185
+ }
186
+
187
+ /** Response of a list operation. */
188
+ export interface LinkedResourceListResponse {
189
+ /** Results of a list operation. */
190
+ value?: LinkedResource[];
191
+ /** Link to the next set of results, if any. */
192
+ nextLink?: string;
193
+ }
194
+
195
+ /** The definition of a linked resource. */
197
196
  export interface LinkedResource {
198
- /**
199
- * The ARM id of the linked resource.
200
- */
197
+ /** The ARM id of the linked resource. */
201
198
  id?: string;
202
199
  }
203
200
 
204
- /**
205
- * The properties of a resource currently being monitored by the Datadog monitor resource.
206
- */
201
+ /** Response of a list operation. */
202
+ export interface MonitoredResourceListResponse {
203
+ /** Results of a list operation. */
204
+ value?: MonitoredResource[];
205
+ /** Link to the next set of results, if any. */
206
+ nextLink?: string;
207
+ }
208
+
209
+ /** The properties of a resource currently being monitored by the Datadog monitor resource. */
207
210
  export interface MonitoredResource {
208
- /**
209
- * The ARM id of the resource.
210
- */
211
+ /** The ARM id of the resource. */
211
212
  id?: string;
212
- /**
213
- * Flag indicating if resource is sending metrics to Datadog.
214
- */
213
+ /** Flag indicating if resource is sending metrics to Datadog. */
215
214
  sendingMetrics?: boolean;
216
- /**
217
- * Reason for why the resource is sending metrics (or why it is not sending).
218
- */
215
+ /** Reason for why the resource is sending metrics (or why it is not sending). */
219
216
  reasonForMetricsStatus?: string;
220
- /**
221
- * Flag indicating if resource is sending logs to Datadog.
222
- */
217
+ /** Flag indicating if resource is sending logs to Datadog. */
223
218
  sendingLogs?: boolean;
224
- /**
225
- * Reason for why the resource is sending logs (or why it is not sending).
226
- */
219
+ /** Reason for why the resource is sending logs (or why it is not sending). */
227
220
  reasonForLogsStatus?: string;
228
221
  }
229
222
 
230
- /**
231
- * The object that represents the operation.
232
- */
223
+ /** Result of GET request to list the Microsoft.Datadog operations. */
224
+ export interface OperationListResult {
225
+ /** List of operations supported by the Microsoft.Datadog provider. */
226
+ value?: OperationResult[];
227
+ /** URL to get the next set of operation list results if there are any. */
228
+ nextLink?: string;
229
+ }
230
+
231
+ /** A Microsoft.Datadog REST API operation. */
232
+ export interface OperationResult {
233
+ /** Operation name, i.e., {provider}/{resource}/{operation}. */
234
+ name?: string;
235
+ /** The object that represents the operation. */
236
+ display?: OperationDisplay;
237
+ /** Indicates whether the operation is a data action */
238
+ isDataAction?: boolean;
239
+ }
240
+
241
+ /** The object that represents the operation. */
233
242
  export interface OperationDisplay {
234
- /**
235
- * Service provider, i.e., Microsoft.Datadog.
236
- */
243
+ /** Service provider, i.e., Microsoft.Datadog. */
237
244
  provider?: string;
238
- /**
239
- * Type on which the operation is performed, e.g., 'monitors'.
240
- */
245
+ /** Type on which the operation is performed, e.g., 'monitors'. */
241
246
  resource?: string;
242
- /**
243
- * Operation type, e.g., read, write, delete, etc.
244
- */
247
+ /** Operation type, e.g., read, write, delete, etc. */
245
248
  operation?: string;
246
- /**
247
- * Description of the operation, e.g., 'Write monitors'.
248
- */
249
+ /** Description of the operation, e.g., 'Write monitors'. */
249
250
  description?: string;
250
251
  }
251
252
 
252
- /**
253
- * A Microsoft.Datadog REST API operation.
254
- */
255
- export interface OperationResult {
253
+ /** Response of a list operation. */
254
+ export interface DatadogMonitorResourceListResponse {
255
+ /** Results of a list operation. */
256
+ value?: DatadogMonitorResource[];
257
+ /** Link to the next set of results, if any. */
258
+ nextLink?: string;
259
+ }
260
+
261
+ export interface DatadogMonitorResource {
256
262
  /**
257
- * Operation name, i.e., {provider}/{resource}/{operation}.
263
+ * ARM id of the monitor resource.
264
+ * NOTE: This property will not be serialized. It can only be populated by the server.
258
265
  */
259
- name?: string;
260
- display?: OperationDisplay;
266
+ readonly id?: string;
261
267
  /**
262
- * Indicates whether the operation is a data action
268
+ * Name of the monitor resource.
269
+ * NOTE: This property will not be serialized. It can only be populated by the server.
263
270
  */
264
- isDataAction?: boolean;
271
+ readonly name?: string;
272
+ /**
273
+ * The type of the monitor resource.
274
+ * NOTE: This property will not be serialized. It can only be populated by the server.
275
+ */
276
+ readonly type?: string;
277
+ sku?: ResourceSku;
278
+ /** Properties specific to the monitor resource. */
279
+ properties?: MonitorProperties;
280
+ identity?: IdentityProperties;
281
+ /** Dictionary of <string> */
282
+ tags?: { [propertyName: string]: string };
283
+ location: string;
284
+ /**
285
+ * Metadata pertaining to creation and last modification of the resource.
286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
287
+ */
288
+ readonly systemData?: SystemData;
265
289
  }
266
290
 
267
- /**
268
- * An interface representing ResourceSku.
269
- */
270
291
  export interface ResourceSku {
292
+ /** Name of the SKU. */
293
+ name: string;
294
+ }
295
+
296
+ /** Properties specific to the monitor resource. */
297
+ export interface MonitorProperties {
298
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
299
+ readonly provisioningState?: ProvisioningState;
300
+ /** Flag specifying if the resource monitoring is enabled or disabled. */
301
+ monitoringStatus?: MonitoringStatus;
271
302
  /**
272
- * Name of the SKU.
303
+ * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
304
+ * NOTE: This property will not be serialized. It can only be populated by the server.
273
305
  */
274
- name: string;
306
+ readonly marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;
307
+ /** Datadog organization properties */
308
+ datadogOrganizationProperties?: DatadogOrganizationProperties;
309
+ /** User info */
310
+ userInfo?: UserInfo;
311
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
312
+ readonly liftrResourceCategory?: LiftrResourceCategories;
313
+ /**
314
+ * The priority of the resource.
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
+ */
317
+ readonly liftrResourcePreference?: number;
275
318
  }
276
319
 
277
- /**
278
- * Datadog organization properties
279
- */
320
+ /** Datadog organization properties */
280
321
  export interface DatadogOrganizationProperties {
281
322
  /**
282
323
  * Name of the Datadog organization.
283
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
284
325
  */
285
326
  readonly name?: string;
286
327
  /**
287
328
  * Id of the Datadog organization.
288
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
289
330
  */
290
331
  readonly id?: string;
291
- /**
292
- * The auth code used to linking to an existing datadog organization.
293
- */
332
+ /** The auth code used to linking to an existing datadog organization. */
294
333
  linkingAuthCode?: string;
295
- /**
296
- * The client_id from an existing in exchange for an auth token to link organization.
297
- */
334
+ /** The client_id from an existing in exchange for an auth token to link organization. */
298
335
  linkingClientId?: string;
299
- /**
300
- * The redirect uri for linking.
301
- */
336
+ /** The redirect uri for linking. */
302
337
  redirectUri?: string;
303
- /**
304
- * Api key associated to the Datadog organization.
305
- */
338
+ /** Api key associated to the Datadog organization. */
306
339
  apiKey?: string;
307
- /**
308
- * Application key associated to the Datadog organization.
309
- */
340
+ /** Application key associated to the Datadog organization. */
310
341
  applicationKey?: string;
311
- /**
312
- * The Id of the Enterprise App used for Single sign on.
313
- */
342
+ /** The Id of the Enterprise App used for Single sign on. */
314
343
  enterpriseAppId?: string;
315
344
  }
316
345
 
317
- /**
318
- * User info
319
- */
346
+ /** User info */
320
347
  export interface UserInfo {
321
- /**
322
- * Name of the user
323
- */
348
+ /** Name of the user */
324
349
  name?: string;
325
- /**
326
- * Email of the user used by Datadog for contacting them if needed
327
- */
350
+ /** Email of the user used by Datadog for contacting them if needed */
328
351
  emailAddress?: string;
329
- /**
330
- * Phone number of the user used by Datadog for contacting them if needed
331
- */
352
+ /** Phone number of the user used by Datadog for contacting them if needed */
332
353
  phoneNumber?: string;
333
354
  }
334
355
 
335
- /**
336
- * Properties specific to the monitor resource.
337
- */
338
- export interface MonitorProperties {
339
- /**
340
- * Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded',
341
- * 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
342
- */
343
- provisioningState?: ProvisioningState;
344
- /**
345
- * Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.
346
- */
347
- monitoringStatus?: MonitoringStatus;
348
- /**
349
- * Possible values include: 'Provisioning', 'Active', 'Suspended', 'Unsubscribed'
350
- */
351
- marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus;
352
- datadogOrganizationProperties?: DatadogOrganizationProperties;
353
- userInfo?: UserInfo;
356
+ export interface IdentityProperties {
354
357
  /**
355
- * Possible values include: 'Unknown', 'MonitorLogs'
358
+ * The identity ID.
359
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
360
  */
357
- liftrResourceCategory?: LiftrResourceCategories;
361
+ readonly principalId?: string;
358
362
  /**
359
- * The priority of the resource.
360
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
361
- */
362
- readonly liftrResourcePreference?: number;
363
- }
364
-
365
- /**
366
- * An interface representing IdentityProperties.
367
- */
368
- export interface IdentityProperties {
369
- /**
370
- * The identity ID.
371
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
372
- */
373
- readonly principalId?: string;
374
- /**
375
- * The tenant ID of resource.
376
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
363
+ * The tenant ID of resource.
364
+ * NOTE: This property will not be serialized. It can only be populated by the server.
377
365
  */
378
366
  readonly tenantId?: string;
379
- /**
380
- * Possible values include: 'SystemAssigned', 'UserAssigned'
381
- */
367
+ /** Identity type */
382
368
  type?: ManagedIdentityTypes;
383
369
  }
384
370
 
385
- /**
386
- * An interface representing DatadogMonitorResource.
387
- */
388
- export interface DatadogMonitorResource extends BaseResource {
389
- /**
390
- * ARM id of the monitor resource.
391
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
392
- */
393
- readonly id?: string;
394
- /**
395
- * Name of the monitor resource.
396
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
397
- */
398
- readonly name?: string;
399
- /**
400
- * The type of the monitor resource.
401
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
402
- */
403
- readonly type?: string;
404
- sku?: ResourceSku;
405
- properties?: MonitorProperties;
406
- identity?: IdentityProperties;
371
+ /** The parameters for a PATCH request to a monitor resource. */
372
+ export interface DatadogMonitorResourceUpdateParameters {
373
+ /** The set of properties that can be update in a PATCH request to a monitor resource. */
374
+ properties?: MonitorUpdateProperties;
375
+ /** The new tags of the monitor resource. */
407
376
  tags?: { [propertyName: string]: string };
408
- location: string;
409
- /**
410
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
411
- */
412
- readonly systemData?: SystemData;
377
+ sku?: ResourceSku;
413
378
  }
414
379
 
415
- /**
416
- * The set of properties that can be update in a PATCH request to a monitor resource.
417
- */
380
+ /** The set of properties that can be update in a PATCH request to a monitor resource. */
418
381
  export interface MonitorUpdateProperties {
419
- /**
420
- * Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.
421
- */
382
+ /** Flag specifying if the resource monitoring is enabled or disabled. */
422
383
  monitoringStatus?: MonitoringStatus;
423
384
  }
424
385
 
425
- /**
426
- * The parameters for a PATCH request to a monitor resource.
427
- */
428
- export interface DatadogMonitorResourceUpdateParameters {
429
- properties?: MonitorUpdateProperties;
430
- /**
431
- * The new tags of the monitor resource.
432
- */
433
- tags?: { [propertyName: string]: string };
434
- sku?: ResourceSku;
435
- }
436
-
437
- /**
438
- * An interface representing DatadogSetPasswordLink.
439
- */
440
386
  export interface DatadogSetPasswordLink {
441
387
  setPasswordLink?: string;
442
388
  }
443
389
 
444
- /**
445
- * The definition of a filtering tag. Filtering tags are used for capturing resources and
446
- * include/exclude them from being monitored.
447
- */
448
- export interface FilteringTag {
449
- /**
450
- * The name (also known as the key) of the tag.
451
- */
452
- name?: string;
453
- /**
454
- * The value of the tag.
455
- */
456
- value?: string;
457
- /**
458
- * Possible values include: 'Include', 'Exclude'
459
- */
460
- action?: TagAction;
461
- }
462
-
463
- /**
464
- * Set of rules for sending logs for the Monitor resource.
465
- */
466
- export interface LogRules {
467
- /**
468
- * Flag specifying if AAD logs should be sent for the Monitor resource.
469
- */
470
- sendAadLogs?: boolean;
471
- /**
472
- * Flag specifying if Azure subscription logs should be sent for the Monitor resource.
473
- */
474
- sendSubscriptionLogs?: boolean;
475
- /**
476
- * Flag specifying if Azure resource logs should be sent for the Monitor resource.
477
- */
478
- sendResourceLogs?: boolean;
479
- /**
480
- * List of filtering tags to be used for capturing logs. This only takes effect if
481
- * SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude
482
- * action is specified, the rules will apply to the list of all available resources. If Include
483
- * actions are specified, the rules will only include resources with the associated tags.
484
- */
485
- filteringTags?: FilteringTag[];
486
- }
487
-
488
- /**
489
- * Set of rules for sending metrics for the Monitor resource.
490
- */
491
- export interface MetricRules {
492
- /**
493
- * List of filtering tags to be used for capturing metrics. If empty, all resources will be
494
- * captured. If only Exclude action is specified, the rules will apply to the list of all
495
- * available resources. If Include actions are specified, the rules will only include resources
496
- * with the associated tags.
497
- */
498
- filteringTags?: FilteringTag[];
499
- }
500
-
501
- /**
502
- * Definition of the properties for a TagRules resource.
503
- */
504
- export interface MonitoringTagRulesProperties {
505
- /**
506
- * Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded',
507
- * 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
508
- */
509
- provisioningState?: ProvisioningState;
510
- logRules?: LogRules;
511
- metricRules?: MetricRules;
390
+ /** Response of a list operation. */
391
+ export interface MonitoringTagRulesListResponse {
392
+ /** Results of a list operation. */
393
+ value?: MonitoringTagRules[];
394
+ /** Link to the next set of results, if any. */
395
+ nextLink?: string;
512
396
  }
513
397
 
514
- /**
515
- * Capture logs and metrics of Azure resources based on ARM tags.
516
- */
517
- export interface MonitoringTagRules extends BaseResource {
398
+ /** Capture logs and metrics of Azure resources based on ARM tags. */
399
+ export interface MonitoringTagRules {
518
400
  /**
519
401
  * Name of the rule set.
520
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
402
+ * NOTE: This property will not be serialized. It can only be populated by the server.
521
403
  */
522
404
  readonly name?: string;
523
405
  /**
524
406
  * The id of the rule set.
525
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
407
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
408
  */
527
409
  readonly id?: string;
528
410
  /**
529
411
  * The type of the rule set.
530
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
412
+ * NOTE: This property will not be serialized. It can only be populated by the server.
531
413
  */
532
414
  readonly type?: string;
415
+ /** Definition of the properties for a TagRules resource. */
533
416
  properties?: MonitoringTagRulesProperties;
534
417
  /**
535
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
418
+ * Metadata pertaining to creation and last modification of the resource.
419
+ * NOTE: This property will not be serialized. It can only be populated by the server.
536
420
  */
537
421
  readonly systemData?: SystemData;
538
422
  }
539
423
 
540
- /**
541
- * An interface representing DatadogSingleSignOnProperties.
542
- */
543
- export interface DatadogSingleSignOnProperties {
544
- /**
545
- * Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded',
546
- * 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
547
- */
548
- provisioningState?: ProvisioningState;
549
- /**
550
- * Possible values include: 'Initial', 'Enable', 'Disable', 'Existing'
551
- */
552
- singleSignOnState?: SingleSignOnStates;
553
- /**
554
- * The Id of the Enterprise App used for Single sign-on.
555
- */
556
- enterpriseAppId?: string;
557
- /**
558
- * The login URL specific to this Datadog Organization.
559
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
560
- */
561
- readonly singleSignOnUrl?: string;
424
+ /** Definition of the properties for a TagRules resource. */
425
+ export interface MonitoringTagRulesProperties {
426
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
427
+ readonly provisioningState?: ProvisioningState;
428
+ /** Set of rules for sending logs for the Monitor resource. */
429
+ logRules?: LogRules;
430
+ /** Set of rules for sending metrics for the Monitor resource. */
431
+ metricRules?: MetricRules;
562
432
  }
563
433
 
564
- /**
565
- * An interface representing DatadogSingleSignOnResource.
566
- */
567
- export interface DatadogSingleSignOnResource extends BaseResource {
434
+ /** Set of rules for sending logs for the Monitor resource. */
435
+ export interface LogRules {
436
+ /** Flag specifying if AAD logs should be sent for the Monitor resource. */
437
+ sendAadLogs?: boolean;
438
+ /** Flag specifying if Azure subscription logs should be sent for the Monitor resource. */
439
+ sendSubscriptionLogs?: boolean;
440
+ /** Flag specifying if Azure resource logs should be sent for the Monitor resource. */
441
+ sendResourceLogs?: boolean;
442
+ /** 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. */
443
+ filteringTags?: FilteringTag[];
444
+ }
445
+
446
+ /** The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored. */
447
+ export interface FilteringTag {
448
+ /** The name (also known as the key) of the tag. */
449
+ name?: string;
450
+ /** The value of the tag. */
451
+ value?: string;
452
+ /** Valid actions for a filtering tag. Exclusion takes priority over inclusion. */
453
+ action?: TagAction;
454
+ }
455
+
456
+ /** Set of rules for sending metrics for the Monitor resource. */
457
+ export interface MetricRules {
458
+ /** 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. */
459
+ filteringTags?: FilteringTag[];
460
+ }
461
+
462
+ /** Response of a list operation. */
463
+ export interface DatadogSingleSignOnResourceListResponse {
464
+ /** Results of a list operation. */
465
+ value?: DatadogSingleSignOnResource[];
466
+ /** Link to the next set of results, if any. */
467
+ nextLink?: string;
468
+ }
469
+
470
+ export interface DatadogSingleSignOnResource {
568
471
  /**
569
472
  * ARM id of the resource.
570
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
473
+ * NOTE: This property will not be serialized. It can only be populated by the server.
571
474
  */
572
475
  readonly id?: string;
573
476
  /**
574
477
  * Name of the configuration.
575
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
478
+ * NOTE: This property will not be serialized. It can only be populated by the server.
576
479
  */
577
480
  readonly name?: string;
578
481
  /**
579
482
  * The type of the resource.
580
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
483
+ * NOTE: This property will not be serialized. It can only be populated by the server.
581
484
  */
582
485
  readonly type?: string;
583
486
  properties?: DatadogSingleSignOnProperties;
584
487
  /**
585
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
488
+ * Metadata pertaining to creation and last modification of the resource.
489
+ * NOTE: This property will not be serialized. It can only be populated by the server.
586
490
  */
587
491
  readonly systemData?: SystemData;
588
492
  }
589
493
 
590
- /**
591
- * The resource management error additional info.
592
- */
593
- export interface ErrorAdditionalInfo {
594
- /**
595
- * The additional info type.
596
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
597
- */
598
- readonly type?: string;
494
+ export interface DatadogSingleSignOnProperties {
495
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
496
+ readonly provisioningState?: ProvisioningState;
497
+ /** Various states of the SSO resource */
498
+ singleSignOnState?: SingleSignOnStates;
499
+ /** The Id of the Enterprise App used for Single sign-on. */
500
+ enterpriseAppId?: string;
599
501
  /**
600
- * The additional info.
601
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
502
+ * The login URL specific to this Datadog Organization.
503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
602
504
  */
603
- readonly info?: any;
505
+ readonly singleSignOnUrl?: string;
604
506
  }
605
507
 
606
- /**
607
- * The error detail.
608
- */
609
- export interface ErrorDetail {
610
- /**
611
- * The error code.
612
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
613
- */
614
- readonly code?: string;
615
- /**
616
- * The error message.
617
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
618
- */
619
- readonly message?: string;
620
- /**
621
- * The error target.
622
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
623
- */
624
- readonly target?: string;
625
- /**
626
- * The error details.
627
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
628
- */
629
- readonly details?: ErrorDetail[];
630
- /**
631
- * The error additional info.
632
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
633
- */
634
- readonly additionalInfo?: ErrorAdditionalInfo[];
508
+ /** Known values of {@link CreatedByType} that the service accepts. */
509
+ export enum KnownCreatedByType {
510
+ User = "User",
511
+ Application = "Application",
512
+ ManagedIdentity = "ManagedIdentity",
513
+ Key = "Key"
635
514
  }
636
515
 
637
516
  /**
638
- * Common error response for all Azure Resource Manager APIs to return error details for failed
639
- * operations. (This also follows the OData error response format.).
640
- * @summary Error response
517
+ * Defines values for CreatedByType. \
518
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
519
+ * this enum contains the known values that the service supports.
520
+ * ### Known values supported by the service
521
+ * **User** \
522
+ * **Application** \
523
+ * **ManagedIdentity** \
524
+ * **Key**
641
525
  */
642
- export interface ErrorResponse {
643
- /**
644
- * The error object.
645
- */
646
- error?: ErrorDetail;
647
- }
526
+ export type CreatedByType = string;
648
527
 
649
- /**
650
- * Optional Parameters.
651
- */
652
- export interface MarketplaceAgreementsCreateOrUpdateOptionalParams
653
- extends msRest.RequestOptionsBase {
654
- body?: DatadogAgreementResource;
528
+ /** Known values of {@link ProvisioningState} that the service accepts. */
529
+ export enum KnownProvisioningState {
530
+ Accepted = "Accepted",
531
+ Creating = "Creating",
532
+ Updating = "Updating",
533
+ Deleting = "Deleting",
534
+ Succeeded = "Succeeded",
535
+ Failed = "Failed",
536
+ Canceled = "Canceled",
537
+ Deleted = "Deleted",
538
+ NotSpecified = "NotSpecified"
655
539
  }
656
540
 
657
541
  /**
658
- * Optional Parameters.
542
+ * Defines values for ProvisioningState. \
543
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
544
+ * this enum contains the known values that the service supports.
545
+ * ### Known values supported by the service
546
+ * **Accepted** \
547
+ * **Creating** \
548
+ * **Updating** \
549
+ * **Deleting** \
550
+ * **Succeeded** \
551
+ * **Failed** \
552
+ * **Canceled** \
553
+ * **Deleted** \
554
+ * **NotSpecified**
659
555
  */
660
- export interface MonitorsSetDefaultKeyOptionalParams extends msRest.RequestOptionsBase {
661
- body?: DatadogApiKey;
662
- }
556
+ export type ProvisioningState = string;
663
557
 
664
- /**
665
- * Optional Parameters.
666
- */
667
- export interface MonitorsCreateOptionalParams extends msRest.RequestOptionsBase {
668
- body?: DatadogMonitorResource;
558
+ /** Known values of {@link MonitoringStatus} that the service accepts. */
559
+ export enum KnownMonitoringStatus {
560
+ Enabled = "Enabled",
561
+ Disabled = "Disabled"
669
562
  }
670
563
 
671
564
  /**
672
- * Optional Parameters.
565
+ * Defines values for MonitoringStatus. \
566
+ * {@link KnownMonitoringStatus} can be used interchangeably with MonitoringStatus,
567
+ * this enum contains the known values that the service supports.
568
+ * ### Known values supported by the service
569
+ * **Enabled** \
570
+ * **Disabled**
673
571
  */
674
- export interface MonitorsUpdateOptionalParams extends msRest.RequestOptionsBase {
675
- body?: DatadogMonitorResourceUpdateParameters;
676
- }
572
+ export type MonitoringStatus = string;
677
573
 
678
- /**
679
- * Optional Parameters.
680
- */
681
- export interface MonitorsBeginCreateOptionalParams extends msRest.RequestOptionsBase {
682
- body?: DatadogMonitorResource;
574
+ /** Known values of {@link MarketplaceSubscriptionStatus} that the service accepts. */
575
+ export enum KnownMarketplaceSubscriptionStatus {
576
+ Provisioning = "Provisioning",
577
+ Active = "Active",
578
+ Suspended = "Suspended",
579
+ Unsubscribed = "Unsubscribed"
683
580
  }
684
581
 
685
582
  /**
686
- * Optional Parameters.
583
+ * Defines values for MarketplaceSubscriptionStatus. \
584
+ * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus,
585
+ * this enum contains the known values that the service supports.
586
+ * ### Known values supported by the service
587
+ * **Provisioning** \
588
+ * **Active** \
589
+ * **Suspended** \
590
+ * **Unsubscribed**
687
591
  */
688
- export interface MonitorsBeginUpdateOptionalParams extends msRest.RequestOptionsBase {
689
- body?: DatadogMonitorResourceUpdateParameters;
690
- }
592
+ export type MarketplaceSubscriptionStatus = string;
691
593
 
692
- /**
693
- * Optional Parameters.
694
- */
695
- export interface TagRulesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase {
696
- body?: MonitoringTagRules;
594
+ /** Known values of {@link LiftrResourceCategories} that the service accepts. */
595
+ export enum KnownLiftrResourceCategories {
596
+ Unknown = "Unknown",
597
+ MonitorLogs = "MonitorLogs"
697
598
  }
698
599
 
699
600
  /**
700
- * Optional Parameters.
601
+ * Defines values for LiftrResourceCategories. \
602
+ * {@link KnownLiftrResourceCategories} can be used interchangeably with LiftrResourceCategories,
603
+ * this enum contains the known values that the service supports.
604
+ * ### Known values supported by the service
605
+ * **Unknown** \
606
+ * **MonitorLogs**
701
607
  */
702
- export interface SingleSignOnConfigurationsCreateOrUpdateOptionalParams
703
- extends msRest.RequestOptionsBase {
704
- body?: DatadogSingleSignOnResource;
705
- }
608
+ export type LiftrResourceCategories = string;
706
609
 
707
- /**
708
- * Optional Parameters.
709
- */
710
- export interface SingleSignOnConfigurationsBeginCreateOrUpdateOptionalParams
711
- extends msRest.RequestOptionsBase {
712
- body?: DatadogSingleSignOnResource;
610
+ /** Known values of {@link ManagedIdentityTypes} that the service accepts. */
611
+ export enum KnownManagedIdentityTypes {
612
+ SystemAssigned = "SystemAssigned",
613
+ UserAssigned = "UserAssigned"
713
614
  }
714
615
 
715
616
  /**
716
- * An interface representing MicrosoftDatadogClientOptions.
617
+ * Defines values for ManagedIdentityTypes. \
618
+ * {@link KnownManagedIdentityTypes} can be used interchangeably with ManagedIdentityTypes,
619
+ * this enum contains the known values that the service supports.
620
+ * ### Known values supported by the service
621
+ * **SystemAssigned** \
622
+ * **UserAssigned**
717
623
  */
718
- export interface MicrosoftDatadogClientOptions extends AzureServiceClientOptions {
719
- baseUri?: string;
720
- }
624
+ export type ManagedIdentityTypes = string;
721
625
 
722
- /**
723
- * @interface
724
- * Response of a list operation.
725
- * @extends Array<DatadogAgreementResource>
726
- */
727
- export interface DatadogAgreementResourceListResponse extends Array<DatadogAgreementResource> {
728
- /**
729
- * Link to the next set of results, if any.
730
- */
731
- nextLink?: string;
626
+ /** Known values of {@link TagAction} that the service accepts. */
627
+ export enum KnownTagAction {
628
+ Include = "Include",
629
+ Exclude = "Exclude"
732
630
  }
733
631
 
734
632
  /**
735
- * @interface
736
- * Response of a list operation.
737
- * @extends Array<DatadogApiKey>
633
+ * Defines values for TagAction. \
634
+ * {@link KnownTagAction} can be used interchangeably with TagAction,
635
+ * this enum contains the known values that the service supports.
636
+ * ### Known values supported by the service
637
+ * **Include** \
638
+ * **Exclude**
738
639
  */
739
- export interface DatadogApiKeyListResponse extends Array<DatadogApiKey> {
740
- /**
741
- * Link to the next set of results, if any.
742
- */
743
- nextLink?: string;
744
- }
640
+ export type TagAction = string;
745
641
 
746
- /**
747
- * @interface
748
- * Response of a list operation.
749
- * @extends Array<DatadogHost>
750
- */
751
- export interface DatadogHostListResponse extends Array<DatadogHost> {
752
- /**
753
- * Link to the next set of results, if any.
754
- */
755
- nextLink?: string;
642
+ /** Known values of {@link SingleSignOnStates} that the service accepts. */
643
+ export enum KnownSingleSignOnStates {
644
+ Initial = "Initial",
645
+ Enable = "Enable",
646
+ Disable = "Disable",
647
+ Existing = "Existing"
756
648
  }
757
649
 
758
650
  /**
759
- * @interface
760
- * Response of a list operation.
761
- * @extends Array<LinkedResource>
651
+ * Defines values for SingleSignOnStates. \
652
+ * {@link KnownSingleSignOnStates} can be used interchangeably with SingleSignOnStates,
653
+ * this enum contains the known values that the service supports.
654
+ * ### Known values supported by the service
655
+ * **Initial** \
656
+ * **Enable** \
657
+ * **Disable** \
658
+ * **Existing**
762
659
  */
763
- export interface LinkedResourceListResponse extends Array<LinkedResource> {
764
- /**
765
- * Link to the next set of results, if any.
766
- */
767
- nextLink?: string;
768
- }
660
+ export type SingleSignOnStates = string;
769
661
 
770
- /**
771
- * @interface
772
- * Response of a list operation.
773
- * @extends Array<MonitoredResource>
774
- */
775
- export interface MonitoredResourceListResponse extends Array<MonitoredResource> {
776
- /**
777
- * Link to the next set of results, if any.
778
- */
779
- nextLink?: string;
780
- }
662
+ /** Optional parameters. */
663
+ export interface MarketplaceAgreementsListOptionalParams
664
+ extends coreClient.OperationOptions {}
781
665
 
782
- /**
783
- * @interface
784
- * Response of a list operation.
785
- * @extends Array<DatadogMonitorResource>
786
- */
787
- export interface DatadogMonitorResourceListResponse extends Array<DatadogMonitorResource> {
788
- /**
789
- * Link to the next set of results, if any.
790
- */
791
- nextLink?: string;
792
- }
666
+ /** Contains response data for the list operation. */
667
+ export type MarketplaceAgreementsListResponse = DatadogAgreementResourceListResponse;
793
668
 
794
- /**
795
- * @interface
796
- * Result of GET request to list the Microsoft.Datadog operations.
797
- * @extends Array<OperationResult>
798
- */
799
- export interface OperationListResult extends Array<OperationResult> {
800
- /**
801
- * URL to get the next set of operation list results if there are any.
802
- */
803
- nextLink?: string;
669
+ /** Optional parameters. */
670
+ export interface MarketplaceAgreementsCreateOrUpdateOptionalParams
671
+ extends coreClient.OperationOptions {
672
+ body?: DatadogAgreementResource;
804
673
  }
805
674
 
806
- /**
807
- * @interface
808
- * Response of a list operation.
809
- * @extends Array<MonitoringTagRules>
810
- */
811
- export interface MonitoringTagRulesListResponse extends Array<MonitoringTagRules> {
812
- /**
813
- * Link to the next set of results, if any.
814
- */
815
- nextLink?: string;
816
- }
675
+ /** Contains response data for the createOrUpdate operation. */
676
+ export type MarketplaceAgreementsCreateOrUpdateResponse = DatadogAgreementResource;
817
677
 
818
- /**
819
- * @interface
820
- * Response of a list operation.
821
- * @extends Array<DatadogSingleSignOnResource>
822
- */
823
- export interface DatadogSingleSignOnResourceListResponse
824
- extends Array<DatadogSingleSignOnResource> {
825
- /**
826
- * Link to the next set of results, if any.
827
- */
828
- nextLink?: string;
678
+ /** Optional parameters. */
679
+ export interface MarketplaceAgreementsListNextOptionalParams
680
+ extends coreClient.OperationOptions {}
681
+
682
+ /** Contains response data for the listNext operation. */
683
+ export type MarketplaceAgreementsListNextResponse = DatadogAgreementResourceListResponse;
684
+
685
+ /** Optional parameters. */
686
+ export interface MonitorsListApiKeysOptionalParams
687
+ extends coreClient.OperationOptions {}
688
+
689
+ /** Contains response data for the listApiKeys operation. */
690
+ export type MonitorsListApiKeysResponse = DatadogApiKeyListResponse;
691
+
692
+ /** Optional parameters. */
693
+ export interface MonitorsGetDefaultKeyOptionalParams
694
+ extends coreClient.OperationOptions {}
695
+
696
+ /** Contains response data for the getDefaultKey operation. */
697
+ export type MonitorsGetDefaultKeyResponse = DatadogApiKey;
698
+
699
+ /** Optional parameters. */
700
+ export interface MonitorsSetDefaultKeyOptionalParams
701
+ extends coreClient.OperationOptions {
702
+ body?: DatadogApiKey;
829
703
  }
830
704
 
831
- /**
832
- * Defines values for CreatedByType.
833
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
834
- * @readonly
835
- * @enum {string}
836
- */
837
- export type CreatedByType = "User" | "Application" | "ManagedIdentity" | "Key";
705
+ /** Optional parameters. */
706
+ export interface MonitorsListHostsOptionalParams
707
+ extends coreClient.OperationOptions {}
838
708
 
839
- /**
840
- * Defines values for ProvisioningState.
841
- * Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
842
- * 'Canceled', 'Deleted', 'NotSpecified'
843
- * @readonly
844
- * @enum {string}
845
- */
846
- export type ProvisioningState =
847
- | "Accepted"
848
- | "Creating"
849
- | "Updating"
850
- | "Deleting"
851
- | "Succeeded"
852
- | "Failed"
853
- | "Canceled"
854
- | "Deleted"
855
- | "NotSpecified";
709
+ /** Contains response data for the listHosts operation. */
710
+ export type MonitorsListHostsResponse = DatadogHostListResponse;
856
711
 
857
- /**
858
- * Defines values for MonitoringStatus.
859
- * Possible values include: 'Enabled', 'Disabled'
860
- * @readonly
861
- * @enum {string}
862
- */
863
- export type MonitoringStatus = "Enabled" | "Disabled";
712
+ /** Optional parameters. */
713
+ export interface MonitorsListLinkedResourcesOptionalParams
714
+ extends coreClient.OperationOptions {}
864
715
 
865
- /**
866
- * Defines values for MarketplaceSubscriptionStatus.
867
- * Possible values include: 'Provisioning', 'Active', 'Suspended', 'Unsubscribed'
868
- * @readonly
869
- * @enum {string}
870
- */
871
- export type MarketplaceSubscriptionStatus =
872
- | "Provisioning"
873
- | "Active"
874
- | "Suspended"
875
- | "Unsubscribed";
716
+ /** Contains response data for the listLinkedResources operation. */
717
+ export type MonitorsListLinkedResourcesResponse = LinkedResourceListResponse;
876
718
 
877
- /**
878
- * Defines values for LiftrResourceCategories.
879
- * Possible values include: 'Unknown', 'MonitorLogs'
880
- * @readonly
881
- * @enum {string}
882
- */
883
- export type LiftrResourceCategories = "Unknown" | "MonitorLogs";
719
+ /** Optional parameters. */
720
+ export interface MonitorsListMonitoredResourcesOptionalParams
721
+ extends coreClient.OperationOptions {}
884
722
 
885
- /**
886
- * Defines values for ManagedIdentityTypes.
887
- * Possible values include: 'SystemAssigned', 'UserAssigned'
888
- * @readonly
889
- * @enum {string}
890
- */
891
- export type ManagedIdentityTypes = "SystemAssigned" | "UserAssigned";
723
+ /** Contains response data for the listMonitoredResources operation. */
724
+ export type MonitorsListMonitoredResourcesResponse = MonitoredResourceListResponse;
892
725
 
893
- /**
894
- * Defines values for TagAction.
895
- * Possible values include: 'Include', 'Exclude'
896
- * @readonly
897
- * @enum {string}
898
- */
899
- export type TagAction = "Include" | "Exclude";
726
+ /** Optional parameters. */
727
+ export interface MonitorsListOptionalParams
728
+ extends coreClient.OperationOptions {}
900
729
 
901
- /**
902
- * Defines values for SingleSignOnStates.
903
- * Possible values include: 'Initial', 'Enable', 'Disable', 'Existing'
904
- * @readonly
905
- * @enum {string}
906
- */
907
- export type SingleSignOnStates = "Initial" | "Enable" | "Disable" | "Existing";
730
+ /** Contains response data for the list operation. */
731
+ export type MonitorsListResponse = DatadogMonitorResourceListResponse;
908
732
 
909
- /**
910
- * Contains response data for the list operation.
911
- */
912
- export type MarketplaceAgreementsListResponse = DatadogAgreementResourceListResponse & {
913
- /**
914
- * The underlying HTTP response.
915
- */
916
- _response: msRest.HttpResponse & {
917
- /**
918
- * The response body as text (string format)
919
- */
920
- bodyAsText: string;
921
-
922
- /**
923
- * The response body as parsed JSON or XML
924
- */
925
- parsedBody: DatadogAgreementResourceListResponse;
926
- };
927
- };
733
+ /** Optional parameters. */
734
+ export interface MonitorsListByResourceGroupOptionalParams
735
+ extends coreClient.OperationOptions {}
928
736
 
929
- /**
930
- * Contains response data for the createOrUpdate operation.
931
- */
932
- export type MarketplaceAgreementsCreateOrUpdateResponse = DatadogAgreementResource & {
933
- /**
934
- * The underlying HTTP response.
935
- */
936
- _response: msRest.HttpResponse & {
937
- /**
938
- * The response body as text (string format)
939
- */
940
- bodyAsText: string;
941
-
942
- /**
943
- * The response body as parsed JSON or XML
944
- */
945
- parsedBody: DatadogAgreementResource;
946
- };
947
- };
737
+ /** Contains response data for the listByResourceGroup operation. */
738
+ export type MonitorsListByResourceGroupResponse = DatadogMonitorResourceListResponse;
948
739
 
949
- /**
950
- * Contains response data for the listNext operation.
951
- */
952
- export type MarketplaceAgreementsListNextResponse = DatadogAgreementResourceListResponse & {
953
- /**
954
- * The underlying HTTP response.
955
- */
956
- _response: msRest.HttpResponse & {
957
- /**
958
- * The response body as text (string format)
959
- */
960
- bodyAsText: string;
961
-
962
- /**
963
- * The response body as parsed JSON or XML
964
- */
965
- parsedBody: DatadogAgreementResourceListResponse;
966
- };
967
- };
740
+ /** Optional parameters. */
741
+ export interface MonitorsGetOptionalParams
742
+ extends coreClient.OperationOptions {}
968
743
 
969
- /**
970
- * Contains response data for the listApiKeys operation.
971
- */
972
- export type MonitorsListApiKeysResponse = DatadogApiKeyListResponse & {
973
- /**
974
- * The underlying HTTP response.
975
- */
976
- _response: msRest.HttpResponse & {
977
- /**
978
- * The response body as text (string format)
979
- */
980
- bodyAsText: string;
981
-
982
- /**
983
- * The response body as parsed JSON or XML
984
- */
985
- parsedBody: DatadogApiKeyListResponse;
986
- };
987
- };
744
+ /** Contains response data for the get operation. */
745
+ export type MonitorsGetResponse = DatadogMonitorResource;
988
746
 
989
- /**
990
- * Contains response data for the getDefaultKey operation.
991
- */
992
- export type MonitorsGetDefaultKeyResponse = DatadogApiKey & {
993
- /**
994
- * The underlying HTTP response.
995
- */
996
- _response: msRest.HttpResponse & {
997
- /**
998
- * The response body as text (string format)
999
- */
1000
- bodyAsText: string;
1001
-
1002
- /**
1003
- * The response body as parsed JSON or XML
1004
- */
1005
- parsedBody: DatadogApiKey;
1006
- };
1007
- };
747
+ /** Optional parameters. */
748
+ export interface MonitorsCreateOptionalParams
749
+ extends coreClient.OperationOptions {
750
+ body?: DatadogMonitorResource;
751
+ /** Delay to wait until next poll, in milliseconds. */
752
+ updateIntervalInMs?: number;
753
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
754
+ resumeFrom?: string;
755
+ }
1008
756
 
1009
- /**
1010
- * Contains response data for the listHosts operation.
1011
- */
1012
- export type MonitorsListHostsResponse = DatadogHostListResponse & {
1013
- /**
1014
- * The underlying HTTP response.
1015
- */
1016
- _response: msRest.HttpResponse & {
1017
- /**
1018
- * The response body as text (string format)
1019
- */
1020
- bodyAsText: string;
1021
-
1022
- /**
1023
- * The response body as parsed JSON or XML
1024
- */
1025
- parsedBody: DatadogHostListResponse;
1026
- };
1027
- };
757
+ /** Contains response data for the create operation. */
758
+ export type MonitorsCreateResponse = DatadogMonitorResource;
1028
759
 
1029
- /**
1030
- * Contains response data for the listLinkedResources operation.
1031
- */
1032
- export type MonitorsListLinkedResourcesResponse = LinkedResourceListResponse & {
1033
- /**
1034
- * The underlying HTTP response.
1035
- */
1036
- _response: msRest.HttpResponse & {
1037
- /**
1038
- * The response body as text (string format)
1039
- */
1040
- bodyAsText: string;
1041
-
1042
- /**
1043
- * The response body as parsed JSON or XML
1044
- */
1045
- parsedBody: LinkedResourceListResponse;
1046
- };
1047
- };
760
+ /** Optional parameters. */
761
+ export interface MonitorsUpdateOptionalParams
762
+ extends coreClient.OperationOptions {
763
+ /** The parameters for a PATCH request to a monitor resource. */
764
+ body?: DatadogMonitorResourceUpdateParameters;
765
+ /** Delay to wait until next poll, in milliseconds. */
766
+ updateIntervalInMs?: number;
767
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
768
+ resumeFrom?: string;
769
+ }
1048
770
 
1049
- /**
1050
- * Contains response data for the listMonitoredResources operation.
1051
- */
1052
- export type MonitorsListMonitoredResourcesResponse = MonitoredResourceListResponse & {
1053
- /**
1054
- * The underlying HTTP response.
1055
- */
1056
- _response: msRest.HttpResponse & {
1057
- /**
1058
- * The response body as text (string format)
1059
- */
1060
- bodyAsText: string;
1061
-
1062
- /**
1063
- * The response body as parsed JSON or XML
1064
- */
1065
- parsedBody: MonitoredResourceListResponse;
1066
- };
1067
- };
771
+ /** Contains response data for the update operation. */
772
+ export type MonitorsUpdateResponse = DatadogMonitorResource;
1068
773
 
1069
- /**
1070
- * Contains response data for the list operation.
1071
- */
1072
- export type MonitorsListResponse = DatadogMonitorResourceListResponse & {
1073
- /**
1074
- * The underlying HTTP response.
1075
- */
1076
- _response: msRest.HttpResponse & {
1077
- /**
1078
- * The response body as text (string format)
1079
- */
1080
- bodyAsText: string;
1081
-
1082
- /**
1083
- * The response body as parsed JSON or XML
1084
- */
1085
- parsedBody: DatadogMonitorResourceListResponse;
1086
- };
1087
- };
774
+ /** Optional parameters. */
775
+ export interface MonitorsDeleteOptionalParams
776
+ extends coreClient.OperationOptions {
777
+ /** Delay to wait until next poll, in milliseconds. */
778
+ updateIntervalInMs?: number;
779
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
780
+ resumeFrom?: string;
781
+ }
1088
782
 
1089
- /**
1090
- * Contains response data for the listByResourceGroup operation.
1091
- */
1092
- export type MonitorsListByResourceGroupResponse = DatadogMonitorResourceListResponse & {
1093
- /**
1094
- * The underlying HTTP response.
1095
- */
1096
- _response: msRest.HttpResponse & {
1097
- /**
1098
- * The response body as text (string format)
1099
- */
1100
- bodyAsText: string;
1101
-
1102
- /**
1103
- * The response body as parsed JSON or XML
1104
- */
1105
- parsedBody: DatadogMonitorResourceListResponse;
1106
- };
1107
- };
783
+ /** Optional parameters. */
784
+ export interface MonitorsRefreshSetPasswordLinkOptionalParams
785
+ extends coreClient.OperationOptions {}
1108
786
 
1109
- /**
1110
- * Contains response data for the get operation.
1111
- */
1112
- export type MonitorsGetResponse = DatadogMonitorResource & {
1113
- /**
1114
- * The underlying HTTP response.
1115
- */
1116
- _response: msRest.HttpResponse & {
1117
- /**
1118
- * The response body as text (string format)
1119
- */
1120
- bodyAsText: string;
1121
-
1122
- /**
1123
- * The response body as parsed JSON or XML
1124
- */
1125
- parsedBody: DatadogMonitorResource;
1126
- };
1127
- };
787
+ /** Contains response data for the refreshSetPasswordLink operation. */
788
+ export type MonitorsRefreshSetPasswordLinkResponse = DatadogSetPasswordLink;
1128
789
 
1129
- /**
1130
- * Contains response data for the create operation.
1131
- */
1132
- export type MonitorsCreateResponse = DatadogMonitorResource & {
1133
- /**
1134
- * The underlying HTTP response.
1135
- */
1136
- _response: msRest.HttpResponse & {
1137
- /**
1138
- * The response body as text (string format)
1139
- */
1140
- bodyAsText: string;
1141
-
1142
- /**
1143
- * The response body as parsed JSON or XML
1144
- */
1145
- parsedBody: DatadogMonitorResource;
1146
- };
1147
- };
790
+ /** Optional parameters. */
791
+ export interface MonitorsListApiKeysNextOptionalParams
792
+ extends coreClient.OperationOptions {}
1148
793
 
1149
- /**
1150
- * Contains response data for the update operation.
1151
- */
1152
- export type MonitorsUpdateResponse = DatadogMonitorResource & {
1153
- /**
1154
- * The underlying HTTP response.
1155
- */
1156
- _response: msRest.HttpResponse & {
1157
- /**
1158
- * The response body as text (string format)
1159
- */
1160
- bodyAsText: string;
1161
-
1162
- /**
1163
- * The response body as parsed JSON or XML
1164
- */
1165
- parsedBody: DatadogMonitorResource;
1166
- };
1167
- };
794
+ /** Contains response data for the listApiKeysNext operation. */
795
+ export type MonitorsListApiKeysNextResponse = DatadogApiKeyListResponse;
1168
796
 
1169
- /**
1170
- * Contains response data for the refreshSetPasswordLink operation.
1171
- */
1172
- export type MonitorsRefreshSetPasswordLinkResponse = DatadogSetPasswordLink & {
1173
- /**
1174
- * The underlying HTTP response.
1175
- */
1176
- _response: msRest.HttpResponse & {
1177
- /**
1178
- * The response body as text (string format)
1179
- */
1180
- bodyAsText: string;
1181
-
1182
- /**
1183
- * The response body as parsed JSON or XML
1184
- */
1185
- parsedBody: DatadogSetPasswordLink;
1186
- };
1187
- };
797
+ /** Optional parameters. */
798
+ export interface MonitorsListHostsNextOptionalParams
799
+ extends coreClient.OperationOptions {}
1188
800
 
1189
- /**
1190
- * Contains response data for the beginCreate operation.
1191
- */
1192
- export type MonitorsBeginCreateResponse = DatadogMonitorResource & {
1193
- /**
1194
- * The underlying HTTP response.
1195
- */
1196
- _response: msRest.HttpResponse & {
1197
- /**
1198
- * The response body as text (string format)
1199
- */
1200
- bodyAsText: string;
1201
-
1202
- /**
1203
- * The response body as parsed JSON or XML
1204
- */
1205
- parsedBody: DatadogMonitorResource;
1206
- };
1207
- };
801
+ /** Contains response data for the listHostsNext operation. */
802
+ export type MonitorsListHostsNextResponse = DatadogHostListResponse;
1208
803
 
1209
- /**
1210
- * Contains response data for the beginUpdate operation.
1211
- */
1212
- export type MonitorsBeginUpdateResponse = DatadogMonitorResource & {
1213
- /**
1214
- * The underlying HTTP response.
1215
- */
1216
- _response: msRest.HttpResponse & {
1217
- /**
1218
- * The response body as text (string format)
1219
- */
1220
- bodyAsText: string;
1221
-
1222
- /**
1223
- * The response body as parsed JSON or XML
1224
- */
1225
- parsedBody: DatadogMonitorResource;
1226
- };
1227
- };
804
+ /** Optional parameters. */
805
+ export interface MonitorsListLinkedResourcesNextOptionalParams
806
+ extends coreClient.OperationOptions {}
1228
807
 
1229
- /**
1230
- * Contains response data for the listApiKeysNext operation.
1231
- */
1232
- export type MonitorsListApiKeysNextResponse = DatadogApiKeyListResponse & {
1233
- /**
1234
- * The underlying HTTP response.
1235
- */
1236
- _response: msRest.HttpResponse & {
1237
- /**
1238
- * The response body as text (string format)
1239
- */
1240
- bodyAsText: string;
1241
-
1242
- /**
1243
- * The response body as parsed JSON or XML
1244
- */
1245
- parsedBody: DatadogApiKeyListResponse;
1246
- };
1247
- };
808
+ /** Contains response data for the listLinkedResourcesNext operation. */
809
+ export type MonitorsListLinkedResourcesNextResponse = LinkedResourceListResponse;
1248
810
 
1249
- /**
1250
- * Contains response data for the listHostsNext operation.
1251
- */
1252
- export type MonitorsListHostsNextResponse = DatadogHostListResponse & {
1253
- /**
1254
- * The underlying HTTP response.
1255
- */
1256
- _response: msRest.HttpResponse & {
1257
- /**
1258
- * The response body as text (string format)
1259
- */
1260
- bodyAsText: string;
1261
-
1262
- /**
1263
- * The response body as parsed JSON or XML
1264
- */
1265
- parsedBody: DatadogHostListResponse;
1266
- };
1267
- };
811
+ /** Optional parameters. */
812
+ export interface MonitorsListMonitoredResourcesNextOptionalParams
813
+ extends coreClient.OperationOptions {}
1268
814
 
1269
- /**
1270
- * Contains response data for the listLinkedResourcesNext operation.
1271
- */
1272
- export type MonitorsListLinkedResourcesNextResponse = LinkedResourceListResponse & {
1273
- /**
1274
- * The underlying HTTP response.
1275
- */
1276
- _response: msRest.HttpResponse & {
1277
- /**
1278
- * The response body as text (string format)
1279
- */
1280
- bodyAsText: string;
1281
-
1282
- /**
1283
- * The response body as parsed JSON or XML
1284
- */
1285
- parsedBody: LinkedResourceListResponse;
1286
- };
1287
- };
815
+ /** Contains response data for the listMonitoredResourcesNext operation. */
816
+ export type MonitorsListMonitoredResourcesNextResponse = MonitoredResourceListResponse;
1288
817
 
1289
- /**
1290
- * Contains response data for the listMonitoredResourcesNext operation.
1291
- */
1292
- export type MonitorsListMonitoredResourcesNextResponse = MonitoredResourceListResponse & {
1293
- /**
1294
- * The underlying HTTP response.
1295
- */
1296
- _response: msRest.HttpResponse & {
1297
- /**
1298
- * The response body as text (string format)
1299
- */
1300
- bodyAsText: string;
1301
-
1302
- /**
1303
- * The response body as parsed JSON or XML
1304
- */
1305
- parsedBody: MonitoredResourceListResponse;
1306
- };
1307
- };
818
+ /** Optional parameters. */
819
+ export interface MonitorsListNextOptionalParams
820
+ extends coreClient.OperationOptions {}
1308
821
 
1309
- /**
1310
- * Contains response data for the listNext operation.
1311
- */
1312
- export type MonitorsListNextResponse = DatadogMonitorResourceListResponse & {
1313
- /**
1314
- * The underlying HTTP response.
1315
- */
1316
- _response: msRest.HttpResponse & {
1317
- /**
1318
- * The response body as text (string format)
1319
- */
1320
- bodyAsText: string;
1321
-
1322
- /**
1323
- * The response body as parsed JSON or XML
1324
- */
1325
- parsedBody: DatadogMonitorResourceListResponse;
1326
- };
1327
- };
822
+ /** Contains response data for the listNext operation. */
823
+ export type MonitorsListNextResponse = DatadogMonitorResourceListResponse;
1328
824
 
1329
- /**
1330
- * Contains response data for the listByResourceGroupNext operation.
1331
- */
1332
- export type MonitorsListByResourceGroupNextResponse = DatadogMonitorResourceListResponse & {
1333
- /**
1334
- * The underlying HTTP response.
1335
- */
1336
- _response: msRest.HttpResponse & {
1337
- /**
1338
- * The response body as text (string format)
1339
- */
1340
- bodyAsText: string;
1341
-
1342
- /**
1343
- * The response body as parsed JSON or XML
1344
- */
1345
- parsedBody: DatadogMonitorResourceListResponse;
1346
- };
1347
- };
825
+ /** Optional parameters. */
826
+ export interface MonitorsListByResourceGroupNextOptionalParams
827
+ extends coreClient.OperationOptions {}
1348
828
 
1349
- /**
1350
- * Contains response data for the list operation.
1351
- */
1352
- export type OperationsListResponse = OperationListResult & {
1353
- /**
1354
- * The underlying HTTP response.
1355
- */
1356
- _response: msRest.HttpResponse & {
1357
- /**
1358
- * The response body as text (string format)
1359
- */
1360
- bodyAsText: string;
1361
-
1362
- /**
1363
- * The response body as parsed JSON or XML
1364
- */
1365
- parsedBody: OperationListResult;
1366
- };
1367
- };
829
+ /** Contains response data for the listByResourceGroupNext operation. */
830
+ export type MonitorsListByResourceGroupNextResponse = DatadogMonitorResourceListResponse;
1368
831
 
1369
- /**
1370
- * Contains response data for the listNext operation.
1371
- */
1372
- export type OperationsListNextResponse = OperationListResult & {
1373
- /**
1374
- * The underlying HTTP response.
1375
- */
1376
- _response: msRest.HttpResponse & {
1377
- /**
1378
- * The response body as text (string format)
1379
- */
1380
- bodyAsText: string;
1381
-
1382
- /**
1383
- * The response body as parsed JSON or XML
1384
- */
1385
- parsedBody: OperationListResult;
1386
- };
1387
- };
832
+ /** Optional parameters. */
833
+ export interface OperationsListOptionalParams
834
+ extends coreClient.OperationOptions {}
1388
835
 
1389
- /**
1390
- * Contains response data for the list operation.
1391
- */
1392
- export type TagRulesListResponse = MonitoringTagRulesListResponse & {
1393
- /**
1394
- * The underlying HTTP response.
1395
- */
1396
- _response: msRest.HttpResponse & {
1397
- /**
1398
- * The response body as text (string format)
1399
- */
1400
- bodyAsText: string;
1401
-
1402
- /**
1403
- * The response body as parsed JSON or XML
1404
- */
1405
- parsedBody: MonitoringTagRulesListResponse;
1406
- };
1407
- };
836
+ /** Contains response data for the list operation. */
837
+ export type OperationsListResponse = OperationListResult;
1408
838
 
1409
- /**
1410
- * Contains response data for the createOrUpdate operation.
1411
- */
1412
- export type TagRulesCreateOrUpdateResponse = MonitoringTagRules & {
1413
- /**
1414
- * The underlying HTTP response.
1415
- */
1416
- _response: msRest.HttpResponse & {
1417
- /**
1418
- * The response body as text (string format)
1419
- */
1420
- bodyAsText: string;
1421
-
1422
- /**
1423
- * The response body as parsed JSON or XML
1424
- */
1425
- parsedBody: MonitoringTagRules;
1426
- };
1427
- };
839
+ /** Optional parameters. */
840
+ export interface OperationsListNextOptionalParams
841
+ extends coreClient.OperationOptions {}
1428
842
 
1429
- /**
1430
- * Contains response data for the get operation.
1431
- */
1432
- export type TagRulesGetResponse = MonitoringTagRules & {
1433
- /**
1434
- * The underlying HTTP response.
1435
- */
1436
- _response: msRest.HttpResponse & {
1437
- /**
1438
- * The response body as text (string format)
1439
- */
1440
- bodyAsText: string;
1441
-
1442
- /**
1443
- * The response body as parsed JSON or XML
1444
- */
1445
- parsedBody: MonitoringTagRules;
1446
- };
1447
- };
843
+ /** Contains response data for the listNext operation. */
844
+ export type OperationsListNextResponse = OperationListResult;
1448
845
 
1449
- /**
1450
- * Contains response data for the listNext operation.
1451
- */
1452
- export type TagRulesListNextResponse = MonitoringTagRulesListResponse & {
1453
- /**
1454
- * The underlying HTTP response.
1455
- */
1456
- _response: msRest.HttpResponse & {
1457
- /**
1458
- * The response body as text (string format)
1459
- */
1460
- bodyAsText: string;
1461
-
1462
- /**
1463
- * The response body as parsed JSON or XML
1464
- */
1465
- parsedBody: MonitoringTagRulesListResponse;
1466
- };
1467
- };
846
+ /** Optional parameters. */
847
+ export interface TagRulesListOptionalParams
848
+ extends coreClient.OperationOptions {}
1468
849
 
1469
- /**
1470
- * Contains response data for the list operation.
1471
- */
1472
- export type SingleSignOnConfigurationsListResponse = DatadogSingleSignOnResourceListResponse & {
1473
- /**
1474
- * The underlying HTTP response.
1475
- */
1476
- _response: msRest.HttpResponse & {
1477
- /**
1478
- * The response body as text (string format)
1479
- */
1480
- bodyAsText: string;
1481
-
1482
- /**
1483
- * The response body as parsed JSON or XML
1484
- */
1485
- parsedBody: DatadogSingleSignOnResourceListResponse;
1486
- };
1487
- };
850
+ /** Contains response data for the list operation. */
851
+ export type TagRulesListResponse = MonitoringTagRulesListResponse;
1488
852
 
1489
- /**
1490
- * Contains response data for the createOrUpdate operation.
1491
- */
1492
- export type SingleSignOnConfigurationsCreateOrUpdateResponse = DatadogSingleSignOnResource & {
1493
- /**
1494
- * The underlying HTTP response.
1495
- */
1496
- _response: msRest.HttpResponse & {
1497
- /**
1498
- * The response body as text (string format)
1499
- */
1500
- bodyAsText: string;
1501
-
1502
- /**
1503
- * The response body as parsed JSON or XML
1504
- */
1505
- parsedBody: DatadogSingleSignOnResource;
1506
- };
1507
- };
853
+ /** Optional parameters. */
854
+ export interface TagRulesCreateOrUpdateOptionalParams
855
+ extends coreClient.OperationOptions {
856
+ /** Capture logs and metrics of Azure resources based on ARM tags. */
857
+ body?: MonitoringTagRules;
858
+ }
1508
859
 
1509
- /**
1510
- * Contains response data for the get operation.
1511
- */
1512
- export type SingleSignOnConfigurationsGetResponse = DatadogSingleSignOnResource & {
1513
- /**
1514
- * The underlying HTTP response.
1515
- */
1516
- _response: msRest.HttpResponse & {
1517
- /**
1518
- * The response body as text (string format)
1519
- */
1520
- bodyAsText: string;
1521
-
1522
- /**
1523
- * The response body as parsed JSON or XML
1524
- */
1525
- parsedBody: DatadogSingleSignOnResource;
1526
- };
1527
- };
860
+ /** Contains response data for the createOrUpdate operation. */
861
+ export type TagRulesCreateOrUpdateResponse = MonitoringTagRules;
1528
862
 
1529
- /**
1530
- * Contains response data for the beginCreateOrUpdate operation.
1531
- */
1532
- export type SingleSignOnConfigurationsBeginCreateOrUpdateResponse = DatadogSingleSignOnResource & {
1533
- /**
1534
- * The underlying HTTP response.
1535
- */
1536
- _response: msRest.HttpResponse & {
1537
- /**
1538
- * The response body as text (string format)
1539
- */
1540
- bodyAsText: string;
1541
-
1542
- /**
1543
- * The response body as parsed JSON or XML
1544
- */
1545
- parsedBody: DatadogSingleSignOnResource;
1546
- };
1547
- };
863
+ /** Optional parameters. */
864
+ export interface TagRulesGetOptionalParams
865
+ extends coreClient.OperationOptions {}
1548
866
 
1549
- /**
1550
- * Contains response data for the listNext operation.
1551
- */
1552
- export type SingleSignOnConfigurationsListNextResponse = DatadogSingleSignOnResourceListResponse & {
1553
- /**
1554
- * The underlying HTTP response.
1555
- */
1556
- _response: msRest.HttpResponse & {
1557
- /**
1558
- * The response body as text (string format)
1559
- */
1560
- bodyAsText: string;
1561
-
1562
- /**
1563
- * The response body as parsed JSON or XML
1564
- */
1565
- parsedBody: DatadogSingleSignOnResourceListResponse;
1566
- };
1567
- };
867
+ /** Contains response data for the get operation. */
868
+ export type TagRulesGetResponse = MonitoringTagRules;
869
+
870
+ /** Optional parameters. */
871
+ export interface TagRulesListNextOptionalParams
872
+ extends coreClient.OperationOptions {}
873
+
874
+ /** Contains response data for the listNext operation. */
875
+ export type TagRulesListNextResponse = MonitoringTagRulesListResponse;
876
+
877
+ /** Optional parameters. */
878
+ export interface SingleSignOnConfigurationsListOptionalParams
879
+ extends coreClient.OperationOptions {}
880
+
881
+ /** Contains response data for the list operation. */
882
+ export type SingleSignOnConfigurationsListResponse = DatadogSingleSignOnResourceListResponse;
883
+
884
+ /** Optional parameters. */
885
+ export interface SingleSignOnConfigurationsCreateOrUpdateOptionalParams
886
+ extends coreClient.OperationOptions {
887
+ body?: DatadogSingleSignOnResource;
888
+ /** Delay to wait until next poll, in milliseconds. */
889
+ updateIntervalInMs?: number;
890
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
891
+ resumeFrom?: string;
892
+ }
893
+
894
+ /** Contains response data for the createOrUpdate operation. */
895
+ export type SingleSignOnConfigurationsCreateOrUpdateResponse = DatadogSingleSignOnResource;
896
+
897
+ /** Optional parameters. */
898
+ export interface SingleSignOnConfigurationsGetOptionalParams
899
+ extends coreClient.OperationOptions {}
900
+
901
+ /** Contains response data for the get operation. */
902
+ export type SingleSignOnConfigurationsGetResponse = DatadogSingleSignOnResource;
903
+
904
+ /** Optional parameters. */
905
+ export interface SingleSignOnConfigurationsListNextOptionalParams
906
+ extends coreClient.OperationOptions {}
907
+
908
+ /** Contains response data for the listNext operation. */
909
+ export type SingleSignOnConfigurationsListNextResponse = DatadogSingleSignOnResourceListResponse;
910
+
911
+ /** Optional parameters. */
912
+ export interface MicrosoftDatadogClientOptionalParams
913
+ extends coreClient.ServiceClientOptions {
914
+ /** server parameter */
915
+ $host?: string;
916
+ /** Api Version */
917
+ apiVersion?: string;
918
+ /** Overrides client endpoint. */
919
+ endpoint?: string;
920
+ }