@azure/arm-monitor 8.0.0-beta.1 → 8.0.0-beta.2

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 (184) hide show
  1. package/CHANGELOG.md +83 -8
  2. package/dist/index.js +1712 -1011
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +3 -2
  7. package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
  8. package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +1 -1
  11. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +3 -3
  12. package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
  13. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +3 -4
  14. package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
  15. package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +1 -1
  16. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +18 -4
  17. package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
  18. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +44 -3
  19. package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +1 -1
  21. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +19 -1
  22. package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
  23. package/dist-esm/samples-dev/diagnosticSettingsListSample.js +49 -4
  24. package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
  25. package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/predictiveMetricGetSample.js +36 -0
  28. package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -0
  29. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  30. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  31. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  32. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +4 -18
  33. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
  34. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  35. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +4 -18
  36. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
  37. package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +1 -1
  38. package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +1 -1
  39. package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +1 -1
  40. package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +1 -1
  41. package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +1 -1
  42. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +12 -2
  43. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
  44. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +1 -1
  45. package/dist-esm/samples-dev/privateLinkScopesGetSample.js +1 -1
  46. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
  47. package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
  48. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
  49. package/dist-esm/src/models/index.d.ts +728 -354
  50. package/dist-esm/src/models/index.d.ts.map +1 -1
  51. package/dist-esm/src/models/index.js +205 -8
  52. package/dist-esm/src/models/index.js.map +1 -1
  53. package/dist-esm/src/models/mappers.d.ts +31 -20
  54. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  55. package/dist-esm/src/models/mappers.js +969 -623
  56. package/dist-esm/src/models/mappers.js.map +1 -1
  57. package/dist-esm/src/models/parameters.d.ts +19 -13
  58. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  59. package/dist-esm/src/models/parameters.js +79 -18
  60. package/dist-esm/src/models/parameters.js.map +1 -1
  61. package/dist-esm/src/monitorClient.d.ts +2 -1
  62. package/dist-esm/src/monitorClient.d.ts.map +1 -1
  63. package/dist-esm/src/monitorClient.js +20 -14
  64. package/dist-esm/src/monitorClient.js.map +1 -1
  65. package/dist-esm/src/operations/actionGroups.js +25 -25
  66. package/dist-esm/src/operations/actionGroups.js.map +1 -1
  67. package/dist-esm/src/operations/activityLogAlerts.js +8 -8
  68. package/dist-esm/src/operations/activityLogs.js +2 -2
  69. package/dist-esm/src/operations/activityLogs.js.map +1 -1
  70. package/dist-esm/src/operations/alertRuleIncidents.js +2 -2
  71. package/dist-esm/src/operations/alertRules.js +6 -6
  72. package/dist-esm/src/operations/autoscaleSettings.js +8 -8
  73. package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
  74. package/dist-esm/src/operations/baselines.js +4 -4
  75. package/dist-esm/src/operations/baselines.js.map +1 -1
  76. package/dist-esm/src/operations/dataCollectionEndpoints.js +8 -8
  77. package/dist-esm/src/operations/dataCollectionRuleAssociations.js +9 -9
  78. package/dist-esm/src/operations/dataCollectionRules.js +8 -8
  79. package/dist-esm/src/operations/diagnosticSettings.d.ts +11 -2
  80. package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
  81. package/dist-esm/src/operations/diagnosticSettings.js +50 -5
  82. package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
  83. package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts +11 -2
  84. package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
  85. package/dist-esm/src/operations/diagnosticSettingsCategory.js +48 -3
  86. package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
  87. package/dist-esm/src/operations/eventCategories.js +1 -1
  88. package/dist-esm/src/operations/eventCategories.js.map +1 -1
  89. package/dist-esm/src/operations/index.d.ts +1 -0
  90. package/dist-esm/src/operations/index.d.ts.map +1 -1
  91. package/dist-esm/src/operations/index.js +1 -0
  92. package/dist-esm/src/operations/index.js.map +1 -1
  93. package/dist-esm/src/operations/logProfiles.js +5 -5
  94. package/dist-esm/src/operations/metricAlerts.js +6 -6
  95. package/dist-esm/src/operations/metricAlertsStatus.js +2 -2
  96. package/dist-esm/src/operations/metricDefinitions.js +1 -1
  97. package/dist-esm/src/operations/metricNamespaces.js +1 -1
  98. package/dist-esm/src/operations/metrics.js +4 -4
  99. package/dist-esm/src/operations/metrics.js.map +1 -1
  100. package/dist-esm/src/operations/operations.js +1 -1
  101. package/dist-esm/src/operations/operations.js.map +1 -1
  102. package/dist-esm/src/operations/predictiveMetric.d.ts +28 -0
  103. package/dist-esm/src/operations/predictiveMetric.d.ts.map +1 -0
  104. package/dist-esm/src/operations/predictiveMetric.js +77 -0
  105. package/dist-esm/src/operations/predictiveMetric.js.map +1 -0
  106. package/dist-esm/src/operations/privateEndpointConnections.d.ts +4 -22
  107. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  108. package/dist-esm/src/operations/privateEndpointConnections.js +27 -89
  109. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  110. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -20
  111. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  112. package/dist-esm/src/operations/privateLinkResources.js +8 -83
  113. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  114. package/dist-esm/src/operations/privateLinkScopeOperationStatus.js +4 -1
  115. package/dist-esm/src/operations/privateLinkScopeOperationStatus.js.map +1 -1
  116. package/dist-esm/src/operations/privateLinkScopedResources.js +27 -6
  117. package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
  118. package/dist-esm/src/operations/privateLinkScopes.js +39 -9
  119. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
  120. package/dist-esm/src/operations/scheduledQueryRules.js +6 -6
  121. package/dist-esm/src/operations/tenantActivityLogs.js +2 -2
  122. package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
  123. package/dist-esm/src/operations/vMInsights.js +1 -1
  124. package/dist-esm/src/operations/vMInsights.js.map +1 -1
  125. package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts +8 -7
  126. package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts.map +1 -1
  127. package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts +7 -6
  128. package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -1
  129. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  130. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  131. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  132. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  133. package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts +20 -0
  134. package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts.map +1 -0
  135. package/dist-esm/src/operationsInterfaces/predictiveMetric.js +9 -0
  136. package/dist-esm/src/operationsInterfaces/predictiveMetric.js.map +1 -0
  137. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +10 -11
  138. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  139. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -3
  140. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  141. package/dist-esm/test/monitor_examples.js +1 -1
  142. package/package.json +3 -4
  143. package/review/arm-monitor.api.md +341 -355
  144. package/src/models/index.ts +752 -370
  145. package/src/models/mappers.ts +1090 -722
  146. package/src/models/parameters.ts +85 -18
  147. package/src/monitorClient.ts +27 -16
  148. package/src/operations/actionGroups.ts +25 -33
  149. package/src/operations/activityLogAlerts.ts +8 -8
  150. package/src/operations/activityLogs.ts +2 -2
  151. package/src/operations/alertRuleIncidents.ts +2 -2
  152. package/src/operations/alertRules.ts +6 -6
  153. package/src/operations/autoscaleSettings.ts +8 -8
  154. package/src/operations/baselines.ts +4 -4
  155. package/src/operations/dataCollectionEndpoints.ts +8 -8
  156. package/src/operations/dataCollectionRuleAssociations.ts +9 -9
  157. package/src/operations/dataCollectionRules.ts +8 -8
  158. package/src/operations/diagnosticSettings.ts +49 -7
  159. package/src/operations/diagnosticSettingsCategory.ts +47 -4
  160. package/src/operations/eventCategories.ts +1 -1
  161. package/src/operations/index.ts +1 -0
  162. package/src/operations/logProfiles.ts +5 -5
  163. package/src/operations/metricAlerts.ts +6 -6
  164. package/src/operations/metricAlertsStatus.ts +2 -2
  165. package/src/operations/metricDefinitions.ts +1 -1
  166. package/src/operations/metricNamespaces.ts +1 -1
  167. package/src/operations/metrics.ts +4 -4
  168. package/src/operations/operations.ts +1 -1
  169. package/src/operations/predictiveMetric.ts +101 -0
  170. package/src/operations/privateEndpointConnections.ts +29 -124
  171. package/src/operations/privateLinkResources.ts +10 -118
  172. package/src/operations/privateLinkScopeOperationStatus.ts +4 -1
  173. package/src/operations/privateLinkScopedResources.ts +27 -6
  174. package/src/operations/privateLinkScopes.ts +39 -9
  175. package/src/operations/scheduledQueryRules.ts +6 -6
  176. package/src/operations/tenantActivityLogs.ts +2 -2
  177. package/src/operations/vMInsights.ts +1 -1
  178. package/src/operationsInterfaces/diagnosticSettings.ts +14 -13
  179. package/src/operationsInterfaces/diagnosticSettingsCategory.ts +14 -12
  180. package/src/operationsInterfaces/index.ts +1 -0
  181. package/src/operationsInterfaces/predictiveMetric.ts +40 -0
  182. package/src/operationsInterfaces/privateEndpointConnections.ts +17 -18
  183. package/src/operationsInterfaces/privateLinkResources.ts +2 -4
  184. package/types/arm-monitor.d.ts +638 -227
@@ -142,7 +142,14 @@ export interface WebhookNotification {
142
142
  [propertyName: string]: string;
143
143
  };
144
144
  }
145
- /** An azure resource object */
145
+ /** The parameters for enabling predictive autoscale. */
146
+ export interface PredictiveAutoscalePolicy {
147
+ /** the predictive autoscale mode */
148
+ scaleMode: PredictiveAutoscalePolicyScaleMode;
149
+ /** the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format. */
150
+ scaleLookAheadTime?: string;
151
+ }
152
+ /** The autoscale setting resource. */
146
153
  export interface Resource {
147
154
  /**
148
155
  * Azure resource Id
@@ -161,17 +168,51 @@ export interface Resource {
161
168
  readonly type?: string;
162
169
  /** Resource location */
163
170
  location: string;
164
- /** Resource tags */
171
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
165
172
  tags?: {
166
173
  [propertyName: string]: string;
167
174
  };
175
+ /**
176
+ * The system metadata related to the response.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly systemData?: SystemData;
180
+ }
181
+ /** Metadata pertaining to creation and last modification of the resource. */
182
+ export interface SystemData {
183
+ /** The identity that created the resource. */
184
+ createdBy?: string;
185
+ /** The type of identity that created the resource. */
186
+ createdByType?: CreatedByType;
187
+ /** The timestamp of resource creation (UTC). */
188
+ createdAt?: Date;
189
+ /** The identity that last modified the resource. */
190
+ lastModifiedBy?: string;
191
+ /** The type of identity that last modified the resource. */
192
+ lastModifiedByType?: CreatedByType;
193
+ /** The timestamp of resource last modification (UTC) */
194
+ lastModifiedAt?: Date;
168
195
  }
169
196
  /** Describes the format of Error response. */
170
- export interface ErrorResponse {
171
- /** Error code */
197
+ export interface AutoscaleErrorResponse {
198
+ /** The error object. */
199
+ error?: AutoscaleErrorResponseError;
200
+ /**
201
+ * The system metadata related to the response.
202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
+ */
204
+ readonly systemData?: SystemData;
205
+ }
206
+ /** The error object. */
207
+ export interface AutoscaleErrorResponseError {
208
+ /** One of a server-defined set of error codes. */
172
209
  code?: string;
173
- /** Error message indicating why the operation failed. */
210
+ /** A human-readable representation of the error. */
174
211
  message?: string;
212
+ /** The target of the particular error. */
213
+ target?: string;
214
+ /** A human-readable representation of the error's details. */
215
+ details?: string;
175
216
  }
176
217
  /** The autoscale setting object for patch operations. */
177
218
  export interface AutoscaleSettingResourcePatch {
@@ -183,8 +224,10 @@ export interface AutoscaleSettingResourcePatch {
183
224
  profiles?: AutoscaleProfile[];
184
225
  /** the collection of notifications. */
185
226
  notifications?: AutoscaleNotification[];
186
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
227
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
187
228
  enabled?: boolean;
229
+ /** the predictive autoscale policy mode. */
230
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
188
231
  /** the name of the autoscale setting. */
189
232
  name?: string;
190
233
  /** the resource identifier of the resource that the autoscale setting should be added to. */
@@ -192,6 +235,26 @@ export interface AutoscaleSettingResourcePatch {
192
235
  /** the location of the resource that the autoscale setting should be added to. */
193
236
  targetResourceLocation?: string;
194
237
  }
238
+ /** The response to a metrics query. */
239
+ export interface PredictiveResponse {
240
+ /** The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. */
241
+ timespan?: string;
242
+ /** The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. */
243
+ interval?: string;
244
+ /** The metrics being queried */
245
+ metricName?: string;
246
+ /** resource of the predictive metric. */
247
+ targetResourceId?: string;
248
+ /** the value of the collection. */
249
+ data?: PredictiveValue[];
250
+ }
251
+ /** Represents a predictive metric value in the given bucket. */
252
+ export interface PredictiveValue {
253
+ /** the timestamp for the metric value in ISO 8601 format. */
254
+ timeStamp: Date;
255
+ /** Predictive value in this time bucket. */
256
+ value: number;
257
+ }
195
258
  /** Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results. */
196
259
  export interface OperationListResult {
197
260
  /** List of operations supported by the Microsoft.Insights provider. */
@@ -243,6 +306,13 @@ export interface Incident {
243
306
  */
244
307
  readonly resolvedTime?: Date;
245
308
  }
309
+ /** Describes the format of Error response. */
310
+ export interface ErrorResponse {
311
+ /** Error code */
312
+ code?: string;
313
+ /** Error message indicating why the operation failed. */
314
+ message?: string;
315
+ }
246
316
  /** The List incidents operation response. */
247
317
  export interface IncidentListResult {
248
318
  /** the incident collection. */
@@ -273,6 +343,30 @@ export interface RuleAction {
273
343
  /** Polymorphic discriminator, which specifies the different types this object can be */
274
344
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction" | "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
275
345
  }
346
+ /** An azure resource object */
347
+ export interface ResourceAutoGenerated {
348
+ /**
349
+ * Azure resource Id
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly id?: string;
353
+ /**
354
+ * Azure resource name
355
+ * NOTE: This property will not be serialized. It can only be populated by the server.
356
+ */
357
+ readonly name?: string;
358
+ /**
359
+ * Azure resource type
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
361
+ */
362
+ readonly type?: string;
363
+ /** Resource location */
364
+ location: string;
365
+ /** Resource tags */
366
+ tags?: {
367
+ [propertyName: string]: string;
368
+ };
369
+ }
276
370
  /** The alert rule object for patch operations. */
277
371
  export interface AlertRuleResourcePatch {
278
372
  /** Resource tags */
@@ -311,6 +405,30 @@ export interface RetentionPolicy {
311
405
  /** the number of days for the retention in days. A value of 0 will retain the events indefinitely. */
312
406
  days: number;
313
407
  }
408
+ /** An azure resource object */
409
+ export interface ResourceAutoGenerated2 {
410
+ /**
411
+ * Azure resource Id
412
+ * NOTE: This property will not be serialized. It can only be populated by the server.
413
+ */
414
+ readonly id?: string;
415
+ /**
416
+ * Azure resource name
417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
418
+ */
419
+ readonly name?: string;
420
+ /**
421
+ * Azure resource type
422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
423
+ */
424
+ readonly type?: string;
425
+ /** Resource location */
426
+ location: string;
427
+ /** Resource tags */
428
+ tags?: {
429
+ [propertyName: string]: string;
430
+ };
431
+ }
314
432
  /** The log profile resource for patch operations. */
315
433
  export interface LogProfileResourcePatch {
316
434
  /** Resource tags */
@@ -348,25 +466,27 @@ export interface MetricSettings {
348
466
  export interface LogSettings {
349
467
  /** Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
350
468
  category?: string;
469
+ /** Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation. */
470
+ categoryGroup?: string;
351
471
  /** a value indicating whether this log is enabled. */
352
472
  enabled: boolean;
353
473
  /** the retention policy for this log. */
354
474
  retentionPolicy?: RetentionPolicy;
355
475
  }
356
- /** A proxy only azure resource object */
357
- export interface ProxyOnlyResource {
476
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
477
+ export interface ResourceAutoGenerated3 {
358
478
  /**
359
- * Azure resource Id
479
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
360
480
  * NOTE: This property will not be serialized. It can only be populated by the server.
361
481
  */
362
482
  readonly id?: string;
363
483
  /**
364
- * Azure resource name
484
+ * The name of the resource
365
485
  * NOTE: This property will not be serialized. It can only be populated by the server.
366
486
  */
367
487
  readonly name?: string;
368
488
  /**
369
- * Azure resource type
489
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
370
490
  * NOTE: This property will not be serialized. It can only be populated by the server.
371
491
  */
372
492
  readonly type?: string;
@@ -537,16 +657,6 @@ export interface AzureResource {
537
657
  * NOTE: This property will not be serialized. It can only be populated by the server.
538
658
  */
539
659
  readonly type?: string;
540
- /**
541
- * Azure resource kind
542
- * NOTE: This property will not be serialized. It can only be populated by the server.
543
- */
544
- readonly kind?: string;
545
- /**
546
- * Azure resource identity
547
- * NOTE: This property will not be serialized. It can only be populated by the server.
548
- */
549
- readonly identity?: string;
550
660
  /** Resource location */
551
661
  location: string;
552
662
  /** Resource tags */
@@ -986,6 +1096,30 @@ export interface MetricAlertAction {
986
1096
  [propertyName: string]: string;
987
1097
  };
988
1098
  }
1099
+ /** An azure resource object */
1100
+ export interface ResourceAutoGenerated4 {
1101
+ /**
1102
+ * Azure resource Id
1103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1104
+ */
1105
+ readonly id?: string;
1106
+ /**
1107
+ * Azure resource name
1108
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1109
+ */
1110
+ readonly name?: string;
1111
+ /**
1112
+ * Azure resource type
1113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1114
+ */
1115
+ readonly type?: string;
1116
+ /** Resource location */
1117
+ location: string;
1118
+ /** Resource tags */
1119
+ tags?: {
1120
+ [propertyName: string]: string;
1121
+ };
1122
+ }
989
1123
  /** The metric alert resource for patch operations. */
990
1124
  export interface MetricAlertResourcePatch {
991
1125
  /** Resource tags */
@@ -1076,7 +1210,7 @@ export interface Action {
1076
1210
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction" | "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
1077
1211
  }
1078
1212
  /** An azure resource object */
1079
- export interface ResourceAutoGenerated {
1213
+ export interface ResourceAutoGenerated5 {
1080
1214
  /**
1081
1215
  * Azure resource Id
1082
1216
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1202,46 +1336,86 @@ export interface AzureMonitorPrivateLinkScopeListResult {
1202
1336
  /** The URI to get the next set of Azure Monitor PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set. */
1203
1337
  nextLink?: string;
1204
1338
  }
1205
- /** Private endpoint which the connection belongs to. */
1206
- export interface PrivateEndpointProperty {
1207
- /** Resource id of the private endpoint. */
1208
- id?: string;
1209
- }
1210
- /** State of the private endpoint connection. */
1211
- export interface PrivateLinkServiceConnectionStateProperty {
1212
- /** The private link service connection status. */
1213
- status: string;
1214
- /** The private link service connection description. */
1215
- description: string;
1339
+ /** The Private Endpoint resource. */
1340
+ export interface PrivateEndpoint {
1216
1341
  /**
1217
- * The actions required for private link service connection.
1342
+ * The ARM identifier for Private Endpoint
1218
1343
  * NOTE: This property will not be serialized. It can only be populated by the server.
1219
1344
  */
1220
- readonly actionsRequired?: string;
1345
+ readonly id?: string;
1221
1346
  }
1222
- /** An azure resource object */
1223
- export interface PrivateLinkScopesResource {
1347
+ /** A collection of information about the state of the connection between service consumer and provider. */
1348
+ export interface PrivateLinkServiceConnectionState {
1349
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1350
+ status?: PrivateEndpointServiceConnectionStatus;
1351
+ /** The reason for approval/rejection of the connection. */
1352
+ description?: string;
1353
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
1354
+ actionsRequired?: string;
1355
+ }
1356
+ /** Properties that define the scope private link mode settings. */
1357
+ export interface AccessModeSettings {
1358
+ /** Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array. */
1359
+ queryAccessMode: AccessMode;
1360
+ /** Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array. */
1361
+ ingestionAccessMode: AccessMode;
1362
+ /** List of exclusions that override the default access mode settings for specific private endpoint connections. */
1363
+ exclusions?: AccessModeSettingsExclusion[];
1364
+ }
1365
+ /** Properties that define the scope private link mode settings exclusion item. This setting applies to a specific private endpoint connection and overrides the default settings for that private endpoint connection. */
1366
+ export interface AccessModeSettingsExclusion {
1367
+ /** The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings. */
1368
+ privateEndpointConnectionName?: string;
1369
+ /** Specifies the access mode of queries through the specified private endpoint connection in the exclusion. */
1370
+ queryAccessMode?: AccessMode;
1371
+ /** Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion. */
1372
+ ingestionAccessMode?: AccessMode;
1373
+ }
1374
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1375
+ export interface DefaultErrorResponse {
1376
+ /** The error object. */
1377
+ error?: ErrorDetail;
1378
+ }
1379
+ /** The error detail. */
1380
+ export interface ErrorDetail {
1224
1381
  /**
1225
- * Azure resource Id
1382
+ * The error code.
1226
1383
  * NOTE: This property will not be serialized. It can only be populated by the server.
1227
1384
  */
1228
- readonly id?: string;
1385
+ readonly code?: string;
1229
1386
  /**
1230
- * Azure resource name
1387
+ * The error message.
1231
1388
  * NOTE: This property will not be serialized. It can only be populated by the server.
1232
1389
  */
1233
- readonly name?: string;
1390
+ readonly message?: string;
1234
1391
  /**
1235
- * Azure resource type
1392
+ * The error target.
1393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1394
+ */
1395
+ readonly target?: string;
1396
+ /**
1397
+ * The error details.
1398
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1399
+ */
1400
+ readonly details?: ErrorDetail[];
1401
+ /**
1402
+ * The error additional info.
1403
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1404
+ */
1405
+ readonly additionalInfo?: ErrorAdditionalInfo[];
1406
+ }
1407
+ /** The resource management error additional info. */
1408
+ export interface ErrorAdditionalInfo {
1409
+ /**
1410
+ * The additional info type.
1236
1411
  * NOTE: This property will not be serialized. It can only be populated by the server.
1237
1412
  */
1238
1413
  readonly type?: string;
1239
- /** Resource location */
1240
- location: string;
1241
- /** Resource tags */
1242
- tags?: {
1243
- [propertyName: string]: string;
1244
- };
1414
+ /**
1415
+ * The additional info.
1416
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1417
+ */
1418
+ readonly info?: Record<string, unknown>;
1245
1419
  }
1246
1420
  /** A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance. */
1247
1421
  export interface TagsResource {
@@ -1263,46 +1437,17 @@ export interface OperationStatus {
1263
1437
  /** The status of the operation. */
1264
1438
  status?: string;
1265
1439
  /** The error detail of the operation if any. */
1266
- error?: ErrorResponseCommon;
1267
- }
1268
- /** The resource management error additional info. */
1269
- export interface ErrorAdditionalInfo {
1270
- /**
1271
- * The additional info type.
1272
- * NOTE: This property will not be serialized. It can only be populated by the server.
1273
- */
1274
- readonly type?: string;
1275
- /**
1276
- * The additional info.
1277
- * NOTE: This property will not be serialized. It can only be populated by the server.
1278
- */
1279
- readonly info?: Record<string, unknown>;
1440
+ error?: ErrorDetail;
1280
1441
  }
1281
1442
  /** A list of private link resources */
1282
1443
  export interface PrivateLinkResourceListResult {
1283
- /**
1284
- * Array of results.
1285
- * NOTE: This property will not be serialized. It can only be populated by the server.
1286
- */
1287
- readonly value?: PrivateLinkResource[];
1288
- /**
1289
- * Link to retrieve next page of results.
1290
- * NOTE: This property will not be serialized. It can only be populated by the server.
1291
- */
1292
- readonly nextLink?: string;
1444
+ /** Array of private link resources */
1445
+ value?: PrivateLinkResource[];
1293
1446
  }
1294
- /** A list of private endpoint connections. */
1447
+ /** List of private endpoint connection associated with the specified storage account */
1295
1448
  export interface PrivateEndpointConnectionListResult {
1296
- /**
1297
- * Array of results.
1298
- * NOTE: This property will not be serialized. It can only be populated by the server.
1299
- */
1300
- readonly value?: PrivateEndpointConnection[];
1301
- /**
1302
- * Link to retrieve next page of results.
1303
- * NOTE: This property will not be serialized. It can only be populated by the server.
1304
- */
1305
- readonly nextLink?: string;
1449
+ /** Array of private endpoint connections */
1450
+ value?: PrivateEndpointConnection[];
1306
1451
  }
1307
1452
  /** A list of scoped resources in a private link scope. */
1308
1453
  export interface ScopedResourceListResult {
@@ -1501,54 +1646,11 @@ export interface NetworkRuleSet {
1501
1646
  /** The configuration to set whether network access from public internet to the endpoints are allowed. */
1502
1647
  publicNetworkAccess?: KnownPublicNetworkAccessOptions;
1503
1648
  }
1504
- /** Metadata pertaining to creation and last modification of the resource. */
1505
- export interface SystemData {
1506
- /** The identity that created the resource. */
1507
- createdBy?: string;
1508
- /** The type of identity that created the resource. */
1509
- createdByType?: CreatedByType;
1510
- /** The timestamp of resource creation (UTC). */
1511
- createdAt?: Date;
1512
- /** The identity that last modified the resource. */
1513
- lastModifiedBy?: string;
1514
- /** The type of identity that last modified the resource. */
1515
- lastModifiedByType?: CreatedByType;
1516
- /** The timestamp of resource last modification (UTC) */
1517
- lastModifiedAt?: Date;
1518
- }
1519
1649
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1520
1650
  export interface ErrorResponseCommonV2 {
1521
1651
  /** The error object. */
1522
1652
  error?: ErrorDetail;
1523
1653
  }
1524
- /** The error detail. */
1525
- export interface ErrorDetail {
1526
- /**
1527
- * The error code.
1528
- * NOTE: This property will not be serialized. It can only be populated by the server.
1529
- */
1530
- readonly code?: string;
1531
- /**
1532
- * The error message.
1533
- * NOTE: This property will not be serialized. It can only be populated by the server.
1534
- */
1535
- readonly message?: string;
1536
- /**
1537
- * The error target.
1538
- * NOTE: This property will not be serialized. It can only be populated by the server.
1539
- */
1540
- readonly target?: string;
1541
- /**
1542
- * The error details.
1543
- * NOTE: This property will not be serialized. It can only be populated by the server.
1544
- */
1545
- readonly details?: ErrorDetail[];
1546
- /**
1547
- * The error additional info.
1548
- * NOTE: This property will not be serialized. It can only be populated by the server.
1549
- */
1550
- readonly additionalInfo?: ErrorAdditionalInfo[];
1551
- }
1552
1654
  /** Definition of ARM tracked top level resource properties for update operation. */
1553
1655
  export interface ResourceForUpdate {
1554
1656
  /** Resource tags. */
@@ -2032,105 +2134,33 @@ export interface Criteria {
2032
2134
  dimensions?: Dimension[];
2033
2135
  }
2034
2136
  /** The autoscale setting resource. */
2035
- export declare type AutoscaleSettingResource = Resource & {
2137
+ export interface AutoscaleSettingResource extends Resource {
2036
2138
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
2037
2139
  profiles: AutoscaleProfile[];
2038
2140
  /** the collection of notifications. */
2039
2141
  notifications?: AutoscaleNotification[];
2040
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
2142
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
2041
2143
  enabled?: boolean;
2144
+ /** the predictive autoscale policy mode. */
2145
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
2042
2146
  /** the name of the autoscale setting. */
2043
2147
  namePropertiesName?: string;
2044
2148
  /** the resource identifier of the resource that the autoscale setting should be added to. */
2045
2149
  targetResourceUri?: string;
2046
2150
  /** the location of the resource that the autoscale setting should be added to. */
2047
2151
  targetResourceLocation?: string;
2048
- };
2049
- /** The alert rule resource. */
2050
- export declare type AlertRuleResource = Resource & {
2051
- /** the name of the alert rule. */
2052
- namePropertiesName: string;
2053
- /** the description of the alert rule that will be included in the alert email. */
2054
- description?: string;
2055
- /** the provisioning state. */
2056
- provisioningState?: string;
2057
- /** the flag that indicates whether the alert rule is enabled. */
2058
- isEnabled: boolean;
2059
- /** the condition that results in the alert rule being activated. */
2060
- condition: RuleConditionUnion;
2061
- /** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
2062
- action?: RuleActionUnion;
2063
- /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2064
- actions?: RuleActionUnion[];
2065
- /**
2066
- * Last time the rule was updated in ISO8601 format.
2067
- * NOTE: This property will not be serialized. It can only be populated by the server.
2068
- */
2069
- readonly lastUpdatedTime?: Date;
2070
- };
2071
- /** The log profile resource. */
2072
- export declare type LogProfileResource = Resource & {
2073
- /** the resource id of the storage account to which you would like to send the Activity Log. */
2074
- storageAccountId?: string;
2075
- /** The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. */
2076
- serviceBusRuleId?: string;
2077
- /** List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. */
2078
- locations: string[];
2079
- /** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
2080
- categories: string[];
2081
- /** the retention policy for the events in the log. */
2082
- retentionPolicy: RetentionPolicy;
2083
- };
2084
- /** The metric alert resource. */
2085
- export declare type MetricAlertResource = Resource & {
2086
- /** the description of the metric alert that will be included in the alert email. */
2087
- description?: string;
2088
- /** Alert severity {0, 1, 2, 3, 4} */
2089
- severity: number;
2090
- /** the flag that indicates whether the metric alert is enabled. */
2091
- enabled: boolean;
2092
- /** the list of resource id's that this metric alert is scoped to. */
2093
- scopes: string[];
2094
- /** how often the metric alert is evaluated represented in ISO 8601 duration format. */
2095
- evaluationFrequency: string;
2096
- /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
2097
- windowSize: string;
2098
- /** the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
2099
- targetResourceType?: string;
2100
- /** the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
2101
- targetResourceRegion?: string;
2102
- /** defines the specific alert criteria information. */
2103
- criteria: MetricAlertCriteriaUnion;
2104
- /** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
2105
- autoMitigate?: boolean;
2106
- /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2107
- actions?: MetricAlertAction[];
2108
- /**
2109
- * Last time the rule was updated in ISO8601 format.
2110
- * NOTE: This property will not be serialized. It can only be populated by the server.
2111
- */
2112
- readonly lastUpdatedTime?: Date;
2113
- /**
2114
- * the value indicating whether this alert rule is migrated.
2115
- * NOTE: This property will not be serialized. It can only be populated by the server.
2116
- */
2117
- readonly isMigrated?: boolean;
2118
- };
2119
- /** The resource management error response. */
2120
- export declare type ErrorResponseCommon = ErrorResponse & {
2121
- /**
2122
- * The error details.
2123
- * NOTE: This property will not be serialized. It can only be populated by the server.
2124
- */
2125
- readonly details?: ErrorResponseCommon[];
2126
- /**
2127
- * The error additional info.
2128
- * NOTE: This property will not be serialized. It can only be populated by the server.
2129
- */
2130
- readonly additionalInfo?: ErrorAdditionalInfo[];
2131
- };
2152
+ }
2153
+ /** Metadata pertaining to creation and last modification of the resource. */
2154
+ export interface DataCollectionEndpointResourceSystemData extends SystemData {
2155
+ }
2156
+ /** Metadata pertaining to creation and last modification of the resource. */
2157
+ export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData extends SystemData {
2158
+ }
2159
+ /** Metadata pertaining to creation and last modification of the resource. */
2160
+ export interface DataCollectionRuleResourceSystemData extends SystemData {
2161
+ }
2132
2162
  /** A rule condition based on a metric crossing a threshold. */
2133
- export declare type ThresholdRuleCondition = RuleCondition & {
2163
+ export interface ThresholdRuleCondition extends RuleCondition {
2134
2164
  /** Polymorphic discriminator, which specifies the different types this object can be */
2135
2165
  odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition";
2136
2166
  /** the operator used to compare the data and the threshold. */
@@ -2141,32 +2171,32 @@ export declare type ThresholdRuleCondition = RuleCondition & {
2141
2171
  windowSize?: string;
2142
2172
  /** the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. */
2143
2173
  timeAggregation?: TimeAggregationOperator;
2144
- };
2174
+ }
2145
2175
  /** A rule condition based on a certain number of locations failing. */
2146
- export declare type LocationThresholdRuleCondition = RuleCondition & {
2176
+ export interface LocationThresholdRuleCondition extends RuleCondition {
2147
2177
  /** Polymorphic discriminator, which specifies the different types this object can be */
2148
2178
  odataType: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition";
2149
2179
  /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day. */
2150
2180
  windowSize?: string;
2151
2181
  /** the number of locations that must fail to activate the alert. */
2152
2182
  failedLocationCount: number;
2153
- };
2183
+ }
2154
2184
  /** A management event rule condition. */
2155
- export declare type ManagementEventRuleCondition = RuleCondition & {
2185
+ export interface ManagementEventRuleCondition extends RuleCondition {
2156
2186
  /** Polymorphic discriminator, which specifies the different types this object can be */
2157
2187
  odataType: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition";
2158
2188
  /** How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate. */
2159
2189
  aggregation?: ManagementEventAggregationCondition;
2160
- };
2190
+ }
2161
2191
  /** A rule metric data source. The discriminator value is always RuleMetricDataSource in this case. */
2162
- export declare type RuleMetricDataSource = RuleDataSource & {
2192
+ export interface RuleMetricDataSource extends RuleDataSource {
2163
2193
  /** Polymorphic discriminator, which specifies the different types this object can be */
2164
2194
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource";
2165
2195
  /** the name of the metric that defines what the rule monitors. */
2166
2196
  metricName?: string;
2167
- };
2197
+ }
2168
2198
  /** A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case. */
2169
- export declare type RuleManagementEventDataSource = RuleDataSource & {
2199
+ export interface RuleManagementEventDataSource extends RuleDataSource {
2170
2200
  /** Polymorphic discriminator, which specifies the different types this object can be */
2171
2201
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource";
2172
2202
  /** the event name. */
@@ -2187,18 +2217,18 @@ export declare type RuleManagementEventDataSource = RuleDataSource & {
2187
2217
  subStatus?: string;
2188
2218
  /** the claims. */
2189
2219
  claims?: RuleManagementEventClaimsDataSource;
2190
- };
2220
+ }
2191
2221
  /** Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case. */
2192
- export declare type RuleEmailAction = RuleAction & {
2222
+ export interface RuleEmailAction extends RuleAction {
2193
2223
  /** Polymorphic discriminator, which specifies the different types this object can be */
2194
2224
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction";
2195
2225
  /** Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. */
2196
2226
  sendToServiceOwners?: boolean;
2197
2227
  /** the list of administrator's custom email addresses to notify of the activation of the alert. */
2198
2228
  customEmails?: string[];
2199
- };
2229
+ }
2200
2230
  /** Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case. */
2201
- export declare type RuleWebhookAction = RuleAction & {
2231
+ export interface RuleWebhookAction extends RuleAction {
2202
2232
  /** Polymorphic discriminator, which specifies the different types this object can be */
2203
2233
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
2204
2234
  /** the service uri to Post the notification when the alert activates or resolves. */
@@ -2207,9 +2237,49 @@ export declare type RuleWebhookAction = RuleAction & {
2207
2237
  properties?: {
2208
2238
  [propertyName: string]: string;
2209
2239
  };
2210
- };
2240
+ }
2241
+ /** The alert rule resource. */
2242
+ export interface AlertRuleResource extends ResourceAutoGenerated {
2243
+ /** the name of the alert rule. */
2244
+ namePropertiesName: string;
2245
+ /** the description of the alert rule that will be included in the alert email. */
2246
+ description?: string;
2247
+ /** the provisioning state. */
2248
+ provisioningState?: string;
2249
+ /** the flag that indicates whether the alert rule is enabled. */
2250
+ isEnabled: boolean;
2251
+ /** the condition that results in the alert rule being activated. */
2252
+ condition: RuleConditionUnion;
2253
+ /** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
2254
+ action?: RuleActionUnion;
2255
+ /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2256
+ actions?: RuleActionUnion[];
2257
+ /**
2258
+ * Last time the rule was updated in ISO8601 format.
2259
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2260
+ */
2261
+ readonly lastUpdatedTime?: Date;
2262
+ }
2263
+ /** The log profile resource. */
2264
+ export interface LogProfileResource extends ResourceAutoGenerated2 {
2265
+ /** the resource id of the storage account to which you would like to send the Activity Log. */
2266
+ storageAccountId?: string;
2267
+ /** The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'. */
2268
+ serviceBusRuleId?: string;
2269
+ /** List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location. */
2270
+ locations: string[];
2271
+ /** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
2272
+ categories: string[];
2273
+ /** the retention policy for the events in the log. */
2274
+ retentionPolicy: RetentionPolicy;
2275
+ }
2211
2276
  /** The diagnostic setting resource. */
2212
- export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
2277
+ export interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
2278
+ /**
2279
+ * The system metadata related to this resource.
2280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2281
+ */
2282
+ readonly systemData?: SystemData;
2213
2283
  /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
2214
2284
  storageAccountId?: string;
2215
2285
  /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
@@ -2224,16 +2294,64 @@ export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
2224
2294
  logs?: LogSettings[];
2225
2295
  /** The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2 */
2226
2296
  workspaceId?: string;
2297
+ /** The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */
2298
+ marketplacePartnerId?: string;
2227
2299
  /** A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.) */
2228
2300
  logAnalyticsDestinationType?: string;
2229
- };
2301
+ }
2230
2302
  /** The diagnostic settings category resource. */
2231
- export declare type DiagnosticSettingsCategoryResource = ProxyOnlyResource & {
2303
+ export interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerated3 {
2304
+ /**
2305
+ * The system metadata related to this resource.
2306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2307
+ */
2308
+ readonly systemData?: SystemData;
2232
2309
  /** The type of the diagnostic settings category. */
2233
2310
  categoryType?: CategoryType;
2234
- };
2311
+ /** the collection of what category groups are supported. */
2312
+ categoryGroups?: string[];
2313
+ }
2314
+ /** The Private Endpoint Connection resource. */
2315
+ export interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
2316
+ /** The resource of private end point. */
2317
+ privateEndpoint?: PrivateEndpoint;
2318
+ /** A collection of information about the state of the connection between service consumer and provider. */
2319
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
2320
+ /**
2321
+ * The provisioning state of the private endpoint connection resource.
2322
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2323
+ */
2324
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
2325
+ }
2326
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2327
+ export interface TrackedResource extends ResourceAutoGenerated3 {
2328
+ /** Resource tags. */
2329
+ tags?: {
2330
+ [propertyName: string]: string;
2331
+ };
2332
+ /** The geo-location where the resource lives */
2333
+ location: string;
2334
+ }
2335
+ /** A private link resource */
2336
+ export interface PrivateLinkResource extends ResourceAutoGenerated3 {
2337
+ /**
2338
+ * The private link resource group id.
2339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2340
+ */
2341
+ readonly groupId?: string;
2342
+ /**
2343
+ * The private link resource required member names.
2344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2345
+ */
2346
+ readonly requiredMembers?: string[];
2347
+ /** The private link resource Private link DNS zone name. */
2348
+ requiredZoneNames?: string[];
2349
+ }
2350
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
2351
+ export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {
2352
+ }
2235
2353
  /** An action group resource. */
2236
- export declare type ActionGroupResource = AzureResource & {
2354
+ export interface ActionGroupResource extends AzureResource {
2237
2355
  /** The short name of the action group. This will be used in SMS messages. */
2238
2356
  groupShortName?: string;
2239
2357
  /** Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */
@@ -2260,16 +2378,16 @@ export declare type ActionGroupResource = AzureResource & {
2260
2378
  armRoleReceivers?: ArmRoleReceiver[];
2261
2379
  /** The list of event hub receivers that are part of this action group. */
2262
2380
  eventHubReceivers?: EventHubReceiver[];
2263
- };
2381
+ }
2264
2382
  /** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
2265
- export declare type MetricAlertSingleResourceMultipleMetricCriteria = MetricAlertCriteria & {
2383
+ export interface MetricAlertSingleResourceMultipleMetricCriteria extends MetricAlertCriteria {
2266
2384
  /** Polymorphic discriminator, which specifies the different types this object can be */
2267
2385
  odataType: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
2268
2386
  /** The list of metric criteria for this 'all of' operation. */
2269
2387
  allOf?: MetricCriteria[];
2270
- };
2388
+ }
2271
2389
  /** Specifies the metric alert rule criteria for a web test resource. */
2272
- export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria & {
2390
+ export interface WebtestLocationAvailabilityCriteria extends MetricAlertCriteria {
2273
2391
  /** Polymorphic discriminator, which specifies the different types this object can be */
2274
2392
  odataType: "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
2275
2393
  /** The Application Insights web test Id. */
@@ -2278,16 +2396,51 @@ export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria &
2278
2396
  componentId: string;
2279
2397
  /** The number of failed locations. */
2280
2398
  failedLocationCount: number;
2281
- };
2399
+ }
2282
2400
  /** Specifies the metric alert criteria for multiple resource that has multiple metric criteria. */
2283
- export declare type MetricAlertMultipleResourceMultipleMetricCriteria = MetricAlertCriteria & {
2401
+ export interface MetricAlertMultipleResourceMultipleMetricCriteria extends MetricAlertCriteria {
2284
2402
  /** Polymorphic discriminator, which specifies the different types this object can be */
2285
2403
  odataType: "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
2286
2404
  /** the list of multiple metric criteria for this 'all of' operation. */
2287
2405
  allOf?: MultiMetricCriteriaUnion[];
2288
- };
2406
+ }
2407
+ /** The metric alert resource. */
2408
+ export interface MetricAlertResource extends ResourceAutoGenerated4 {
2409
+ /** the description of the metric alert that will be included in the alert email. */
2410
+ description?: string;
2411
+ /** Alert severity {0, 1, 2, 3, 4} */
2412
+ severity: number;
2413
+ /** the flag that indicates whether the metric alert is enabled. */
2414
+ enabled: boolean;
2415
+ /** the list of resource id's that this metric alert is scoped to. */
2416
+ scopes: string[];
2417
+ /** how often the metric alert is evaluated represented in ISO 8601 duration format. */
2418
+ evaluationFrequency: string;
2419
+ /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
2420
+ windowSize: string;
2421
+ /** the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
2422
+ targetResourceType?: string;
2423
+ /** the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource. */
2424
+ targetResourceRegion?: string;
2425
+ /** defines the specific alert criteria information. */
2426
+ criteria: MetricAlertCriteriaUnion;
2427
+ /** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
2428
+ autoMitigate?: boolean;
2429
+ /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2430
+ actions?: MetricAlertAction[];
2431
+ /**
2432
+ * Last time the rule was updated in ISO8601 format.
2433
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2434
+ */
2435
+ readonly lastUpdatedTime?: Date;
2436
+ /**
2437
+ * the value indicating whether this alert rule is migrated.
2438
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2439
+ */
2440
+ readonly isMigrated?: boolean;
2441
+ }
2289
2442
  /** Specify action need to be taken when rule type is Alert */
2290
- export declare type AlertingAction = Action & {
2443
+ export interface AlertingAction extends Action {
2291
2444
  /** Polymorphic discriminator, which specifies the different types this object can be */
2292
2445
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
2293
2446
  /** Severity of the alert */
@@ -2298,16 +2451,16 @@ export declare type AlertingAction = Action & {
2298
2451
  throttlingInMin?: number;
2299
2452
  /** The trigger condition that results in the alert rule being. */
2300
2453
  trigger: TriggerCondition;
2301
- };
2454
+ }
2302
2455
  /** Specify action need to be taken when rule type is converting log to metric */
2303
- export declare type LogToMetricAction = Action & {
2456
+ export interface LogToMetricAction extends Action {
2304
2457
  /** Polymorphic discriminator, which specifies the different types this object can be */
2305
2458
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
2306
2459
  /** Criteria of Metric */
2307
2460
  criteria: Criteria[];
2308
- };
2461
+ }
2309
2462
  /** The Log Search Rule resource. */
2310
- export declare type LogSearchRuleResource = ResourceAutoGenerated & {
2463
+ export interface LogSearchRuleResource extends ResourceAutoGenerated5 {
2311
2464
  /**
2312
2465
  * The api-version used when creating this alert rule
2313
2466
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2342,9 +2495,9 @@ export declare type LogSearchRuleResource = ResourceAutoGenerated & {
2342
2495
  schedule?: Schedule;
2343
2496
  /** Action needs to be taken on rule execution. */
2344
2497
  action: ActionUnion;
2345
- };
2498
+ }
2346
2499
  /** VM Insights onboarding status for a resource. */
2347
- export declare type VMInsightsOnboardingStatus = ProxyResource & {
2500
+ export interface VMInsightsOnboardingStatus extends ProxyResource {
2348
2501
  /** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
2349
2502
  resourceId?: string;
2350
2503
  /** The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded. */
@@ -2353,55 +2506,7 @@ export declare type VMInsightsOnboardingStatus = ProxyResource & {
2353
2506
  dataStatus?: DataStatus;
2354
2507
  /** Containers that currently store VM Insights data for the specified resource. */
2355
2508
  data?: DataContainer[];
2356
- };
2357
- /** A private endpoint connection */
2358
- export declare type PrivateEndpointConnection = ProxyResource & {
2359
- /** Private endpoint which the connection belongs to. */
2360
- privateEndpoint?: PrivateEndpointProperty;
2361
- /** Connection state of the private endpoint connection. */
2362
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
2363
- /**
2364
- * State of the private endpoint connection.
2365
- * NOTE: This property will not be serialized. It can only be populated by the server.
2366
- */
2367
- readonly provisioningState?: string;
2368
- };
2369
- /** A private link resource */
2370
- export declare type PrivateLinkResource = ProxyResource & {
2371
- /**
2372
- * The private link resource group id.
2373
- * NOTE: This property will not be serialized. It can only be populated by the server.
2374
- */
2375
- readonly groupId?: string;
2376
- /**
2377
- * The private link resource required member names.
2378
- * NOTE: This property will not be serialized. It can only be populated by the server.
2379
- */
2380
- readonly requiredMembers?: string[];
2381
- };
2382
- /** A private link scoped resource */
2383
- export declare type ScopedResource = ProxyResource & {
2384
- /** The resource id of the scoped Azure monitor resource. */
2385
- linkedResourceId?: string;
2386
- /**
2387
- * State of the private endpoint connection.
2388
- * NOTE: This property will not be serialized. It can only be populated by the server.
2389
- */
2390
- readonly provisioningState?: string;
2391
- };
2392
- /** An Azure Monitor PrivateLinkScope definition. */
2393
- export declare type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
2394
- /**
2395
- * Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
2396
- * NOTE: This property will not be serialized. It can only be populated by the server.
2397
- */
2398
- readonly provisioningState?: string;
2399
- /**
2400
- * List of private endpoint connections.
2401
- * NOTE: This property will not be serialized. It can only be populated by the server.
2402
- */
2403
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
2404
- };
2509
+ }
2405
2510
  /**
2406
2511
  * An Activity Log Alert rule condition that is met when all its member conditions are met.
2407
2512
  * Each condition can be of one of the following types:
@@ -2412,12 +2517,12 @@ export declare type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
2412
2517
  * _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._
2413
2518
  *
2414
2519
  */
2415
- export declare type AlertRuleAnyOfOrLeafCondition = AlertRuleLeafCondition & {
2520
+ export interface AlertRuleAnyOfOrLeafCondition extends AlertRuleLeafCondition {
2416
2521
  /** An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met. */
2417
2522
  anyOf?: AlertRuleLeafCondition[];
2418
- };
2523
+ }
2419
2524
  /** An Activity Log Alert rule resource. */
2420
- export declare type ActivityLogAlertResource = AzureResourceAutoGenerated & {
2525
+ export interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
2421
2526
  /** A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item. */
2422
2527
  scopes?: string[];
2423
2528
  /** The condition that will cause this alert to activate. */
@@ -2428,53 +2533,60 @@ export declare type ActivityLogAlertResource = AzureResourceAutoGenerated & {
2428
2533
  enabled?: boolean;
2429
2534
  /** A description of this Activity Log Alert rule. */
2430
2535
  description?: string;
2431
- };
2536
+ }
2432
2537
  /** Resource properties. */
2433
- export declare type DataCollectionEndpointResourceProperties = DataCollectionEndpoint;
2538
+ export interface DataCollectionEndpointResourceProperties extends DataCollectionEndpoint {
2539
+ }
2434
2540
  /** The endpoint used by clients to access their configuration. */
2435
- export declare type DataCollectionEndpointConfigurationAccess = ConfigurationAccessEndpointSpec;
2541
+ export interface DataCollectionEndpointConfigurationAccess extends ConfigurationAccessEndpointSpec {
2542
+ }
2436
2543
  /** The endpoint used by clients to ingest logs. */
2437
- export declare type DataCollectionEndpointLogsIngestion = LogsIngestionEndpointSpec;
2544
+ export interface DataCollectionEndpointLogsIngestion extends LogsIngestionEndpointSpec {
2545
+ }
2438
2546
  /** Network access control rules for the endpoints. */
2439
- export declare type DataCollectionEndpointNetworkAcls = NetworkRuleSet;
2440
- /** Metadata pertaining to creation and last modification of the resource. */
2441
- export declare type DataCollectionEndpointResourceSystemData = SystemData;
2442
- /** Metadata pertaining to creation and last modification of the resource. */
2443
- export declare type DataCollectionRuleAssociationProxyOnlyResourceSystemData = SystemData;
2444
- /** Metadata pertaining to creation and last modification of the resource. */
2445
- export declare type DataCollectionRuleResourceSystemData = SystemData;
2547
+ export interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {
2548
+ }
2446
2549
  /** Resource properties. */
2447
- export declare type DataCollectionRuleAssociationProxyOnlyResourceProperties = DataCollectionRuleAssociation;
2550
+ export interface DataCollectionRuleAssociationProxyOnlyResourceProperties extends DataCollectionRuleAssociation {
2551
+ }
2448
2552
  /** Metadata about the resource */
2449
- export declare type DataCollectionRuleAssociationMetadata = Metadata;
2553
+ export interface DataCollectionRuleAssociationMetadata extends Metadata {
2554
+ }
2450
2555
  /** Metadata about the resource */
2451
- export declare type DataCollectionRuleMetadata = Metadata;
2556
+ export interface DataCollectionRuleMetadata extends Metadata {
2557
+ }
2452
2558
  /** Resource properties. */
2453
- export declare type DataCollectionRuleResourceProperties = DataCollectionRule;
2559
+ export interface DataCollectionRuleResourceProperties extends DataCollectionRule {
2560
+ }
2454
2561
  /**
2455
2562
  * The specification of data sources.
2456
2563
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
2457
2564
  */
2458
- export declare type DataCollectionRuleDataSources = DataSourcesSpec;
2565
+ export interface DataCollectionRuleDataSources extends DataSourcesSpec {
2566
+ }
2459
2567
  /** The log files specific settings. */
2460
- export declare type LogFilesDataSourceSettings = LogFileSettings;
2568
+ export interface LogFilesDataSourceSettings extends LogFileSettings {
2569
+ }
2461
2570
  /** Text settings */
2462
- export declare type LogFileSettingsText = LogFileTextSettings;
2571
+ export interface LogFileSettingsText extends LogFileTextSettings {
2572
+ }
2463
2573
  /** The specification of destinations. */
2464
- export declare type DataCollectionRuleDestinations = DestinationsSpec;
2574
+ export interface DataCollectionRuleDestinations extends DestinationsSpec {
2575
+ }
2465
2576
  /** Azure Monitor Metrics destination. */
2466
- export declare type DestinationsSpecAzureMonitorMetrics = AzureMonitorMetricsDestination;
2577
+ export interface DestinationsSpecAzureMonitorMetrics extends AzureMonitorMetricsDestination {
2578
+ }
2467
2579
  /** Criterion to filter metrics. */
2468
- export declare type MetricCriteria = MultiMetricCriteria & {
2580
+ export interface MetricCriteria extends MultiMetricCriteria {
2469
2581
  /** Polymorphic discriminator, which specifies the different types this object can be */
2470
2582
  criterionType: "StaticThresholdCriterion";
2471
2583
  /** the criteria operator. */
2472
2584
  operator: Operator;
2473
2585
  /** the criteria threshold value that activates the alert. */
2474
2586
  threshold: number;
2475
- };
2587
+ }
2476
2588
  /** Criterion for dynamic threshold. */
2477
- export declare type DynamicMetricCriteria = MultiMetricCriteria & {
2589
+ export interface DynamicMetricCriteria extends MultiMetricCriteria {
2478
2590
  /** Polymorphic discriminator, which specifies the different types this object can be */
2479
2591
  criterionType: "DynamicThresholdCriterion";
2480
2592
  /** The operator used to compare the metric value against the threshold. */
@@ -2485,7 +2597,42 @@ export declare type DynamicMetricCriteria = MultiMetricCriteria & {
2485
2597
  failingPeriods: DynamicThresholdFailingPeriods;
2486
2598
  /** Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) */
2487
2599
  ignoreDataBefore?: Date;
2488
- };
2600
+ }
2601
+ /** An Azure Monitor PrivateLinkScope definition. */
2602
+ export interface AzureMonitorPrivateLinkScope extends TrackedResource {
2603
+ /**
2604
+ * System data
2605
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2606
+ */
2607
+ readonly systemData?: SystemData;
2608
+ /**
2609
+ * Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
2610
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2611
+ */
2612
+ readonly provisioningState?: string;
2613
+ /**
2614
+ * List of private endpoint connections.
2615
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2616
+ */
2617
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
2618
+ /** Access mode settings */
2619
+ accessModeSettings: AccessModeSettings;
2620
+ }
2621
+ /** A private link scoped resource */
2622
+ export interface ScopedResource extends ProxyResourceAutoGenerated {
2623
+ /**
2624
+ * System data
2625
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2626
+ */
2627
+ readonly systemData?: SystemData;
2628
+ /** The resource id of the scoped Azure monitor resource. */
2629
+ linkedResourceId?: string;
2630
+ /**
2631
+ * State of the private endpoint connection.
2632
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2633
+ */
2634
+ readonly provisioningState?: string;
2635
+ }
2489
2636
  /** Defines headers for ActionGroups_postTestNotifications operation. */
2490
2637
  export interface ActionGroupsPostTestNotificationsHeaders {
2491
2638
  /** The location header that has the polling uri. */
@@ -2503,7 +2650,9 @@ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeader
2503
2650
  }
2504
2651
  /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
2505
2652
  export declare enum KnownScaleRuleMetricDimensionOperationType {
2653
+ /** Equals */
2506
2654
  Equals = "Equals",
2655
+ /** NotEquals */
2507
2656
  NotEquals = "NotEquals"
2508
2657
  }
2509
2658
  /**
@@ -2515,12 +2664,55 @@ export declare enum KnownScaleRuleMetricDimensionOperationType {
2515
2664
  * **NotEquals**
2516
2665
  */
2517
2666
  export declare type ScaleRuleMetricDimensionOperationType = string;
2667
+ /** Known values of {@link CreatedByType} that the service accepts. */
2668
+ export declare enum KnownCreatedByType {
2669
+ /** User */
2670
+ User = "User",
2671
+ /** Application */
2672
+ Application = "Application",
2673
+ /** ManagedIdentity */
2674
+ ManagedIdentity = "ManagedIdentity",
2675
+ /** Key */
2676
+ Key = "Key"
2677
+ }
2678
+ /**
2679
+ * Defines values for CreatedByType. \
2680
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2681
+ * this enum contains the known values that the service supports.
2682
+ * ### Known values supported by the service
2683
+ * **User** \
2684
+ * **Application** \
2685
+ * **ManagedIdentity** \
2686
+ * **Key**
2687
+ */
2688
+ export declare type CreatedByType = string;
2689
+ /** Known values of {@link CategoryType} that the service accepts. */
2690
+ export declare enum KnownCategoryType {
2691
+ /** Metrics */
2692
+ Metrics = "Metrics",
2693
+ /** Logs */
2694
+ Logs = "Logs"
2695
+ }
2696
+ /**
2697
+ * Defines values for CategoryType. \
2698
+ * {@link KnownCategoryType} can be used interchangeably with CategoryType,
2699
+ * this enum contains the known values that the service supports.
2700
+ * ### Known values supported by the service
2701
+ * **Metrics** \
2702
+ * **Logs**
2703
+ */
2704
+ export declare type CategoryType = string;
2518
2705
  /** Known values of {@link MetricClass} that the service accepts. */
2519
2706
  export declare enum KnownMetricClass {
2707
+ /** Availability */
2520
2708
  Availability = "Availability",
2709
+ /** Transactions */
2521
2710
  Transactions = "Transactions",
2711
+ /** Errors */
2522
2712
  Errors = "Errors",
2713
+ /** Latency */
2523
2714
  Latency = "Latency",
2715
+ /** Saturation */
2524
2716
  Saturation = "Saturation"
2525
2717
  }
2526
2718
  /**
@@ -2537,18 +2729,31 @@ export declare enum KnownMetricClass {
2537
2729
  export declare type MetricClass = string;
2538
2730
  /** Known values of {@link MetricUnit} that the service accepts. */
2539
2731
  export declare enum KnownMetricUnit {
2732
+ /** Count */
2540
2733
  Count = "Count",
2734
+ /** Bytes */
2541
2735
  Bytes = "Bytes",
2736
+ /** Seconds */
2542
2737
  Seconds = "Seconds",
2738
+ /** CountPerSecond */
2543
2739
  CountPerSecond = "CountPerSecond",
2740
+ /** BytesPerSecond */
2544
2741
  BytesPerSecond = "BytesPerSecond",
2742
+ /** Percent */
2545
2743
  Percent = "Percent",
2744
+ /** MilliSeconds */
2546
2745
  MilliSeconds = "MilliSeconds",
2746
+ /** ByteSeconds */
2547
2747
  ByteSeconds = "ByteSeconds",
2748
+ /** Unspecified */
2548
2749
  Unspecified = "Unspecified",
2750
+ /** Cores */
2549
2751
  Cores = "Cores",
2752
+ /** MilliCores */
2550
2753
  MilliCores = "MilliCores",
2754
+ /** NanoCores */
2551
2755
  NanoCores = "NanoCores",
2756
+ /** BitsPerSecond */
2552
2757
  BitsPerSecond = "BitsPerSecond"
2553
2758
  }
2554
2759
  /**
@@ -2573,8 +2778,11 @@ export declare enum KnownMetricUnit {
2573
2778
  export declare type MetricUnit = string;
2574
2779
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
2575
2780
  export declare enum KnownBaselineSensitivity {
2781
+ /** Low */
2576
2782
  Low = "Low",
2783
+ /** Medium */
2577
2784
  Medium = "Medium",
2785
+ /** High */
2578
2786
  High = "High"
2579
2787
  }
2580
2788
  /**
@@ -2589,8 +2797,11 @@ export declare enum KnownBaselineSensitivity {
2589
2797
  export declare type BaselineSensitivity = string;
2590
2798
  /** Known values of {@link Odatatype} that the service accepts. */
2591
2799
  export declare enum KnownOdatatype {
2800
+ /** MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria */
2592
2801
  MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
2802
+ /** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
2593
2803
  MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
2804
+ /** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
2594
2805
  MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
2595
2806
  }
2596
2807
  /**
@@ -2605,7 +2816,9 @@ export declare enum KnownOdatatype {
2605
2816
  export declare type Odatatype = string;
2606
2817
  /** Known values of {@link Enabled} that the service accepts. */
2607
2818
  export declare enum KnownEnabled {
2819
+ /** True */
2608
2820
  True = "true",
2821
+ /** False */
2609
2822
  False = "false"
2610
2823
  }
2611
2824
  /**
@@ -2619,9 +2832,13 @@ export declare enum KnownEnabled {
2619
2832
  export declare type Enabled = string;
2620
2833
  /** Known values of {@link ProvisioningState} that the service accepts. */
2621
2834
  export declare enum KnownProvisioningState {
2835
+ /** Succeeded */
2622
2836
  Succeeded = "Succeeded",
2837
+ /** Deploying */
2623
2838
  Deploying = "Deploying",
2839
+ /** Canceled */
2624
2840
  Canceled = "Canceled",
2841
+ /** Failed */
2625
2842
  Failed = "Failed"
2626
2843
  }
2627
2844
  /**
@@ -2637,6 +2854,7 @@ export declare enum KnownProvisioningState {
2637
2854
  export declare type ProvisioningState = string;
2638
2855
  /** Known values of {@link QueryType} that the service accepts. */
2639
2856
  export declare enum KnownQueryType {
2857
+ /** ResultCount */
2640
2858
  ResultCount = "ResultCount"
2641
2859
  }
2642
2860
  /**
@@ -2649,8 +2867,11 @@ export declare enum KnownQueryType {
2649
2867
  export declare type QueryType = string;
2650
2868
  /** Known values of {@link NamespaceClassification} that the service accepts. */
2651
2869
  export declare enum KnownNamespaceClassification {
2870
+ /** Platform */
2652
2871
  Platform = "Platform",
2872
+ /** Custom */
2653
2873
  Custom = "Custom",
2874
+ /** Qos */
2654
2875
  Qos = "Qos"
2655
2876
  }
2656
2877
  /**
@@ -2665,8 +2886,11 @@ export declare enum KnownNamespaceClassification {
2665
2886
  export declare type NamespaceClassification = string;
2666
2887
  /** Known values of {@link OnboardingStatus} that the service accepts. */
2667
2888
  export declare enum KnownOnboardingStatus {
2889
+ /** Onboarded */
2668
2890
  Onboarded = "onboarded",
2891
+ /** NotOnboarded */
2669
2892
  NotOnboarded = "notOnboarded",
2893
+ /** Unknown */
2670
2894
  Unknown = "unknown"
2671
2895
  }
2672
2896
  /**
@@ -2681,7 +2905,9 @@ export declare enum KnownOnboardingStatus {
2681
2905
  export declare type OnboardingStatus = string;
2682
2906
  /** Known values of {@link DataStatus} that the service accepts. */
2683
2907
  export declare enum KnownDataStatus {
2908
+ /** Present */
2684
2909
  Present = "present",
2910
+ /** NotPresent */
2685
2911
  NotPresent = "notPresent"
2686
2912
  }
2687
2913
  /**
@@ -2693,9 +2919,68 @@ export declare enum KnownDataStatus {
2693
2919
  * **notPresent**
2694
2920
  */
2695
2921
  export declare type DataStatus = string;
2922
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
2923
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
2924
+ /** Pending */
2925
+ Pending = "Pending",
2926
+ /** Approved */
2927
+ Approved = "Approved",
2928
+ /** Rejected */
2929
+ Rejected = "Rejected"
2930
+ }
2931
+ /**
2932
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
2933
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
2934
+ * this enum contains the known values that the service supports.
2935
+ * ### Known values supported by the service
2936
+ * **Pending** \
2937
+ * **Approved** \
2938
+ * **Rejected**
2939
+ */
2940
+ export declare type PrivateEndpointServiceConnectionStatus = string;
2941
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
2942
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
2943
+ /** Succeeded */
2944
+ Succeeded = "Succeeded",
2945
+ /** Creating */
2946
+ Creating = "Creating",
2947
+ /** Deleting */
2948
+ Deleting = "Deleting",
2949
+ /** Failed */
2950
+ Failed = "Failed"
2951
+ }
2952
+ /**
2953
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
2954
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
2955
+ * this enum contains the known values that the service supports.
2956
+ * ### Known values supported by the service
2957
+ * **Succeeded** \
2958
+ * **Creating** \
2959
+ * **Deleting** \
2960
+ * **Failed**
2961
+ */
2962
+ export declare type PrivateEndpointConnectionProvisioningState = string;
2963
+ /** Known values of {@link AccessMode} that the service accepts. */
2964
+ export declare enum KnownAccessMode {
2965
+ /** Open */
2966
+ Open = "Open",
2967
+ /** PrivateOnly */
2968
+ PrivateOnly = "PrivateOnly"
2969
+ }
2970
+ /**
2971
+ * Defines values for AccessMode. \
2972
+ * {@link KnownAccessMode} can be used interchangeably with AccessMode,
2973
+ * this enum contains the known values that the service supports.
2974
+ * ### Known values supported by the service
2975
+ * **Open** \
2976
+ * **PrivateOnly**
2977
+ */
2978
+ export declare type AccessMode = string;
2696
2979
  /** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
2697
2980
  export declare enum KnownKnownPublicNetworkAccessOptions {
2981
+ /** Enabled */
2698
2982
  Enabled = "Enabled",
2983
+ /** Disabled */
2699
2984
  Disabled = "Disabled"
2700
2985
  }
2701
2986
  /**
@@ -2709,10 +2994,15 @@ export declare enum KnownKnownPublicNetworkAccessOptions {
2709
2994
  export declare type KnownPublicNetworkAccessOptions = string;
2710
2995
  /** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
2711
2996
  export declare enum KnownKnownDataCollectionEndpointProvisioningState {
2997
+ /** Creating */
2712
2998
  Creating = "Creating",
2999
+ /** Updating */
2713
3000
  Updating = "Updating",
3001
+ /** Deleting */
2714
3002
  Deleting = "Deleting",
3003
+ /** Succeeded */
2715
3004
  Succeeded = "Succeeded",
3005
+ /** Failed */
2716
3006
  Failed = "Failed"
2717
3007
  }
2718
3008
  /**
@@ -2729,7 +3019,9 @@ export declare enum KnownKnownDataCollectionEndpointProvisioningState {
2729
3019
  export declare type KnownDataCollectionEndpointProvisioningState = string;
2730
3020
  /** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
2731
3021
  export declare enum KnownKnownDataCollectionEndpointResourceKind {
3022
+ /** Linux */
2732
3023
  Linux = "Linux",
3024
+ /** Windows */
2733
3025
  Windows = "Windows"
2734
3026
  }
2735
3027
  /**
@@ -2741,30 +3033,17 @@ export declare enum KnownKnownDataCollectionEndpointResourceKind {
2741
3033
  * **Windows**
2742
3034
  */
2743
3035
  export declare type KnownDataCollectionEndpointResourceKind = string;
2744
- /** Known values of {@link CreatedByType} that the service accepts. */
2745
- export declare enum KnownCreatedByType {
2746
- User = "User",
2747
- Application = "Application",
2748
- ManagedIdentity = "ManagedIdentity",
2749
- Key = "Key"
2750
- }
2751
- /**
2752
- * Defines values for CreatedByType. \
2753
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2754
- * this enum contains the known values that the service supports.
2755
- * ### Known values supported by the service
2756
- * **User** \
2757
- * **Application** \
2758
- * **ManagedIdentity** \
2759
- * **Key**
2760
- */
2761
- export declare type CreatedByType = string;
2762
3036
  /** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
2763
3037
  export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
3038
+ /** Creating */
2764
3039
  Creating = "Creating",
3040
+ /** Updating */
2765
3041
  Updating = "Updating",
3042
+ /** Deleting */
2766
3043
  Deleting = "Deleting",
3044
+ /** Succeeded */
2767
3045
  Succeeded = "Succeeded",
3046
+ /** Failed */
2768
3047
  Failed = "Failed"
2769
3048
  }
2770
3049
  /**
@@ -2781,12 +3060,19 @@ export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
2781
3060
  export declare type KnownDataCollectionRuleAssociationProvisioningState = string;
2782
3061
  /** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
2783
3062
  export declare enum KnownKnownColumnDefinitionType {
3063
+ /** String */
2784
3064
  String = "string",
3065
+ /** Int */
2785
3066
  Int = "int",
3067
+ /** Long */
2786
3068
  Long = "long",
3069
+ /** Real */
2787
3070
  Real = "real",
3071
+ /** Boolean */
2788
3072
  Boolean = "boolean",
3073
+ /** Datetime */
2789
3074
  Datetime = "datetime",
3075
+ /** Dynamic */
2790
3076
  Dynamic = "dynamic"
2791
3077
  }
2792
3078
  /**
@@ -2805,7 +3091,9 @@ export declare enum KnownKnownColumnDefinitionType {
2805
3091
  export declare type KnownColumnDefinitionType = string;
2806
3092
  /** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
2807
3093
  export declare enum KnownKnownPerfCounterDataSourceStreams {
3094
+ /** MicrosoftPerf */
2808
3095
  MicrosoftPerf = "Microsoft-Perf",
3096
+ /** MicrosoftInsightsMetrics */
2809
3097
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
2810
3098
  }
2811
3099
  /**
@@ -2819,7 +3107,9 @@ export declare enum KnownKnownPerfCounterDataSourceStreams {
2819
3107
  export declare type KnownPerfCounterDataSourceStreams = string;
2820
3108
  /** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
2821
3109
  export declare enum KnownKnownWindowsEventLogDataSourceStreams {
3110
+ /** MicrosoftWindowsEvent */
2822
3111
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
3112
+ /** MicrosoftEvent */
2823
3113
  MicrosoftEvent = "Microsoft-Event"
2824
3114
  }
2825
3115
  /**
@@ -2833,6 +3123,7 @@ export declare enum KnownKnownWindowsEventLogDataSourceStreams {
2833
3123
  export declare type KnownWindowsEventLogDataSourceStreams = string;
2834
3124
  /** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
2835
3125
  export declare enum KnownKnownSyslogDataSourceStreams {
3126
+ /** MicrosoftSyslog */
2836
3127
  MicrosoftSyslog = "Microsoft-Syslog"
2837
3128
  }
2838
3129
  /**
@@ -2845,26 +3136,47 @@ export declare enum KnownKnownSyslogDataSourceStreams {
2845
3136
  export declare type KnownSyslogDataSourceStreams = string;
2846
3137
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
2847
3138
  export declare enum KnownKnownSyslogDataSourceFacilityNames {
3139
+ /** Auth */
2848
3140
  Auth = "auth",
3141
+ /** Authpriv */
2849
3142
  Authpriv = "authpriv",
3143
+ /** Cron */
2850
3144
  Cron = "cron",
3145
+ /** Daemon */
2851
3146
  Daemon = "daemon",
3147
+ /** Kern */
2852
3148
  Kern = "kern",
3149
+ /** Lpr */
2853
3150
  Lpr = "lpr",
3151
+ /** Mail */
2854
3152
  Mail = "mail",
3153
+ /** Mark */
2855
3154
  Mark = "mark",
3155
+ /** News */
2856
3156
  News = "news",
3157
+ /** Syslog */
2857
3158
  Syslog = "syslog",
3159
+ /** User */
2858
3160
  User = "user",
3161
+ /** Uucp */
2859
3162
  Uucp = "uucp",
3163
+ /** Local0 */
2860
3164
  Local0 = "local0",
3165
+ /** Local1 */
2861
3166
  Local1 = "local1",
3167
+ /** Local2 */
2862
3168
  Local2 = "local2",
3169
+ /** Local3 */
2863
3170
  Local3 = "local3",
3171
+ /** Local4 */
2864
3172
  Local4 = "local4",
3173
+ /** Local5 */
2865
3174
  Local5 = "local5",
3175
+ /** Local6 */
2866
3176
  Local6 = "local6",
3177
+ /** Local7 */
2867
3178
  Local7 = "local7",
3179
+ /** Asterisk */
2868
3180
  Asterisk = "*"
2869
3181
  }
2870
3182
  /**
@@ -2897,14 +3209,23 @@ export declare enum KnownKnownSyslogDataSourceFacilityNames {
2897
3209
  export declare type KnownSyslogDataSourceFacilityNames = string;
2898
3210
  /** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
2899
3211
  export declare enum KnownKnownSyslogDataSourceLogLevels {
3212
+ /** Debug */
2900
3213
  Debug = "Debug",
3214
+ /** Info */
2901
3215
  Info = "Info",
3216
+ /** Notice */
2902
3217
  Notice = "Notice",
3218
+ /** Warning */
2903
3219
  Warning = "Warning",
3220
+ /** Error */
2904
3221
  Error = "Error",
3222
+ /** Critical */
2905
3223
  Critical = "Critical",
3224
+ /** Alert */
2906
3225
  Alert = "Alert",
3226
+ /** Emergency */
2907
3227
  Emergency = "Emergency",
3228
+ /** Asterisk */
2908
3229
  Asterisk = "*"
2909
3230
  }
2910
3231
  /**
@@ -2925,10 +3246,15 @@ export declare enum KnownKnownSyslogDataSourceLogLevels {
2925
3246
  export declare type KnownSyslogDataSourceLogLevels = string;
2926
3247
  /** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
2927
3248
  export declare enum KnownKnownExtensionDataSourceStreams {
3249
+ /** MicrosoftEvent */
2928
3250
  MicrosoftEvent = "Microsoft-Event",
3251
+ /** MicrosoftInsightsMetrics */
2929
3252
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
3253
+ /** MicrosoftPerf */
2930
3254
  MicrosoftPerf = "Microsoft-Perf",
3255
+ /** MicrosoftSyslog */
2931
3256
  MicrosoftSyslog = "Microsoft-Syslog",
3257
+ /** MicrosoftWindowsEvent */
2932
3258
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2933
3259
  }
2934
3260
  /**
@@ -2945,6 +3271,7 @@ export declare enum KnownKnownExtensionDataSourceStreams {
2945
3271
  export declare type KnownExtensionDataSourceStreams = string;
2946
3272
  /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
2947
3273
  export declare enum KnownKnownLogFilesDataSourceFormat {
3274
+ /** Text */
2948
3275
  Text = "text"
2949
3276
  }
2950
3277
  /**
@@ -2957,14 +3284,23 @@ export declare enum KnownKnownLogFilesDataSourceFormat {
2957
3284
  export declare type KnownLogFilesDataSourceFormat = string;
2958
3285
  /** Known values of {@link KnownLogFileTextSettingsRecordStartTimestampFormat} that the service accepts. */
2959
3286
  export declare enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
3287
+ /** ISO8601 */
2960
3288
  ISO8601 = "ISO 8601",
3289
+ /** YyyyMMDDHHMMSS */
2961
3290
  YyyyMMDDHHMMSS = "YYYY-MM-DD HH:MM:SS",
3291
+ /** MDYyyyHHMMSSAMPM */
2962
3292
  MDYyyyHHMMSSAMPM = "M/D/YYYY HH:MM:SS AM/PM",
3293
+ /** MonDDYyyyHHMMSS */
2963
3294
  MonDDYyyyHHMMSS = "Mon DD, YYYY HH:MM:SS",
3295
+ /** YyMMddHHMmSs */
2964
3296
  YyMMddHHMmSs = "yyMMdd HH:mm:ss",
3297
+ /** DdMMyyHHMmSs */
2965
3298
  DdMMyyHHMmSs = "ddMMyy HH:mm:ss",
3299
+ /** MMMDHhMmSs */
2966
3300
  MMMDHhMmSs = "MMM d hh:mm:ss",
3301
+ /** DdMMMYyyyHHMmSsZzz */
2967
3302
  DdMMMYyyyHHMmSsZzz = "dd/MMM/yyyy:HH:mm:ss zzz",
3303
+ /** YyyyMMDdTHHMmSsK */
2968
3304
  YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK"
2969
3305
  }
2970
3306
  /**
@@ -2985,10 +3321,15 @@ export declare enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
2985
3321
  export declare type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
2986
3322
  /** Known values of {@link KnownDataFlowStreams} that the service accepts. */
2987
3323
  export declare enum KnownKnownDataFlowStreams {
3324
+ /** MicrosoftEvent */
2988
3325
  MicrosoftEvent = "Microsoft-Event",
3326
+ /** MicrosoftInsightsMetrics */
2989
3327
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
3328
+ /** MicrosoftPerf */
2990
3329
  MicrosoftPerf = "Microsoft-Perf",
3330
+ /** MicrosoftSyslog */
2991
3331
  MicrosoftSyslog = "Microsoft-Syslog",
3332
+ /** MicrosoftWindowsEvent */
2992
3333
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2993
3334
  }
2994
3335
  /**
@@ -3005,10 +3346,15 @@ export declare enum KnownKnownDataFlowStreams {
3005
3346
  export declare type KnownDataFlowStreams = string;
3006
3347
  /** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
3007
3348
  export declare enum KnownKnownDataCollectionRuleProvisioningState {
3349
+ /** Creating */
3008
3350
  Creating = "Creating",
3351
+ /** Updating */
3009
3352
  Updating = "Updating",
3353
+ /** Deleting */
3010
3354
  Deleting = "Deleting",
3355
+ /** Succeeded */
3011
3356
  Succeeded = "Succeeded",
3357
+ /** Failed */
3012
3358
  Failed = "Failed"
3013
3359
  }
3014
3360
  /**
@@ -3025,7 +3371,9 @@ export declare enum KnownKnownDataCollectionRuleProvisioningState {
3025
3371
  export declare type KnownDataCollectionRuleProvisioningState = string;
3026
3372
  /** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
3027
3373
  export declare enum KnownKnownDataCollectionRuleResourceKind {
3374
+ /** Linux */
3028
3375
  Linux = "Linux",
3376
+ /** Windows */
3029
3377
  Windows = "Windows"
3030
3378
  }
3031
3379
  /**
@@ -3039,11 +3387,17 @@ export declare enum KnownKnownDataCollectionRuleResourceKind {
3039
3387
  export declare type KnownDataCollectionRuleResourceKind = string;
3040
3388
  /** Known values of {@link Operator} that the service accepts. */
3041
3389
  export declare enum KnownOperator {
3390
+ /** Equals */
3042
3391
  Equals = "Equals",
3392
+ /** GreaterThan */
3043
3393
  GreaterThan = "GreaterThan",
3394
+ /** GreaterThanOrEqual */
3044
3395
  GreaterThanOrEqual = "GreaterThanOrEqual",
3396
+ /** LessThan */
3045
3397
  LessThan = "LessThan",
3398
+ /** LessThanOrEqual */
3046
3399
  LessThanOrEqual = "LessThanOrEqual",
3400
+ /** Include */
3047
3401
  Include = "Include"
3048
3402
  }
3049
3403
  /**
@@ -3061,7 +3415,9 @@ export declare enum KnownOperator {
3061
3415
  export declare type Operator = string;
3062
3416
  /** Known values of {@link CriterionType} that the service accepts. */
3063
3417
  export declare enum KnownCriterionType {
3418
+ /** StaticThresholdCriterion */
3064
3419
  StaticThresholdCriterion = "StaticThresholdCriterion",
3420
+ /** DynamicThresholdCriterion */
3065
3421
  DynamicThresholdCriterion = "DynamicThresholdCriterion"
3066
3422
  }
3067
3423
  /**
@@ -3075,10 +3431,15 @@ export declare enum KnownCriterionType {
3075
3431
  export declare type CriterionType = string;
3076
3432
  /** Known values of {@link AggregationTypeEnum} that the service accepts. */
3077
3433
  export declare enum KnownAggregationTypeEnum {
3434
+ /** Average */
3078
3435
  Average = "Average",
3436
+ /** Count */
3079
3437
  Count = "Count",
3438
+ /** Minimum */
3080
3439
  Minimum = "Minimum",
3440
+ /** Maximum */
3081
3441
  Maximum = "Maximum",
3442
+ /** Total */
3082
3443
  Total = "Total"
3083
3444
  }
3084
3445
  /**
@@ -3095,8 +3456,11 @@ export declare enum KnownAggregationTypeEnum {
3095
3456
  export declare type AggregationTypeEnum = string;
3096
3457
  /** Known values of {@link DynamicThresholdOperator} that the service accepts. */
3097
3458
  export declare enum KnownDynamicThresholdOperator {
3459
+ /** GreaterThan */
3098
3460
  GreaterThan = "GreaterThan",
3461
+ /** LessThan */
3099
3462
  LessThan = "LessThan",
3463
+ /** GreaterOrLessThan */
3100
3464
  GreaterOrLessThan = "GreaterOrLessThan"
3101
3465
  }
3102
3466
  /**
@@ -3111,8 +3475,11 @@ export declare enum KnownDynamicThresholdOperator {
3111
3475
  export declare type DynamicThresholdOperator = string;
3112
3476
  /** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
3113
3477
  export declare enum KnownDynamicThresholdSensitivity {
3478
+ /** Low */
3114
3479
  Low = "Low",
3480
+ /** Medium */
3115
3481
  Medium = "Medium",
3482
+ /** High */
3116
3483
  High = "High"
3117
3484
  }
3118
3485
  /**
@@ -3127,10 +3494,15 @@ export declare enum KnownDynamicThresholdSensitivity {
3127
3494
  export declare type DynamicThresholdSensitivity = string;
3128
3495
  /** Known values of {@link ConditionalOperator} that the service accepts. */
3129
3496
  export declare enum KnownConditionalOperator {
3497
+ /** GreaterThanOrEqual */
3130
3498
  GreaterThanOrEqual = "GreaterThanOrEqual",
3499
+ /** LessThanOrEqual */
3131
3500
  LessThanOrEqual = "LessThanOrEqual",
3501
+ /** GreaterThan */
3132
3502
  GreaterThan = "GreaterThan",
3503
+ /** LessThan */
3133
3504
  LessThan = "LessThan",
3505
+ /** Equal */
3134
3506
  Equal = "Equal"
3135
3507
  }
3136
3508
  /**
@@ -3147,7 +3519,9 @@ export declare enum KnownConditionalOperator {
3147
3519
  export declare type ConditionalOperator = string;
3148
3520
  /** Known values of {@link MetricTriggerType} that the service accepts. */
3149
3521
  export declare enum KnownMetricTriggerType {
3522
+ /** Consecutive */
3150
3523
  Consecutive = "Consecutive",
3524
+ /** Total */
3151
3525
  Total = "Total"
3152
3526
  }
3153
3527
  /**
@@ -3161,10 +3535,15 @@ export declare enum KnownMetricTriggerType {
3161
3535
  export declare type MetricTriggerType = string;
3162
3536
  /** Known values of {@link AlertSeverity} that the service accepts. */
3163
3537
  export declare enum KnownAlertSeverity {
3538
+ /** Zero */
3164
3539
  Zero = "0",
3540
+ /** One */
3165
3541
  One = "1",
3542
+ /** Two */
3166
3543
  Two = "2",
3544
+ /** Three */
3167
3545
  Three = "3",
3546
+ /** Four */
3168
3547
  Four = "4"
3169
3548
  }
3170
3549
  /**
@@ -3191,8 +3570,8 @@ export declare type ScaleDirection = "None" | "Increase" | "Decrease";
3191
3570
  export declare type ScaleType = "ChangeCount" | "PercentChangeCount" | "ExactCount" | "ServiceAllowedNextValue";
3192
3571
  /** Defines values for RecurrenceFrequency. */
3193
3572
  export declare type RecurrenceFrequency = "None" | "Second" | "Minute" | "Hour" | "Day" | "Week" | "Month" | "Year";
3194
- /** Defines values for CategoryType. */
3195
- export declare type CategoryType = "Metrics" | "Logs";
3573
+ /** Defines values for PredictiveAutoscalePolicyScaleMode. */
3574
+ export declare type PredictiveAutoscalePolicyScaleMode = "Disabled" | "ForecastOnly" | "Enabled";
3196
3575
  /** Defines values for ReceiverStatus. */
3197
3576
  export declare type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
3198
3577
  /** Defines values for EventLevel. */
@@ -3244,6 +3623,11 @@ export interface AutoscaleSettingsListBySubscriptionNextOptionalParams extends c
3244
3623
  /** Contains response data for the listBySubscriptionNext operation. */
3245
3624
  export declare type AutoscaleSettingsListBySubscriptionNextResponse = AutoscaleSettingResourceCollection;
3246
3625
  /** Optional parameters. */
3626
+ export interface PredictiveMetricGetOptionalParams extends coreClient.OperationOptions {
3627
+ }
3628
+ /** Contains response data for the get operation. */
3629
+ export declare type PredictiveMetricGetResponse = PredictiveResponse;
3630
+ /** Optional parameters. */
3247
3631
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
3248
3632
  }
3249
3633
  /** Contains response data for the list operation. */
@@ -3363,7 +3747,7 @@ export interface ActionGroupsPostTestNotificationsOptionalParams extends coreCli
3363
3747
  resumeFrom?: string;
3364
3748
  }
3365
3749
  /** Contains response data for the postTestNotifications operation. */
3366
- export declare type ActionGroupsPostTestNotificationsResponse = ActionGroupsPostTestNotificationsHeaders;
3750
+ export declare type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
3367
3751
  /** Optional parameters. */
3368
3752
  export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams extends coreClient.OperationOptions {
3369
3753
  /** Delay to wait until next poll, in milliseconds. */
@@ -3372,7 +3756,7 @@ export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalPara
3372
3756
  resumeFrom?: string;
3373
3757
  }
3374
3758
  /** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
3375
- export declare type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders;
3759
+ export declare type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
3376
3760
  /** Optional parameters. */
3377
3761
  export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams extends coreClient.OperationOptions {
3378
3762
  /** Delay to wait until next poll, in milliseconds. */
@@ -3381,7 +3765,7 @@ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOption
3381
3765
  resumeFrom?: string;
3382
3766
  }
3383
3767
  /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
3384
- export declare type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders;
3768
+ export declare type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
3385
3769
  /** Optional parameters. */
3386
3770
  export interface ActionGroupsGetTestNotificationsOptionalParams extends coreClient.OperationOptions {
3387
3771
  }
@@ -3646,11 +4030,6 @@ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.Operat
3646
4030
  /** Contains response data for the get operation. */
3647
4031
  export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3648
4032
  /** Optional parameters. */
3649
- export interface PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
3650
- }
3651
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
3652
- export declare type PrivateLinkResourcesListByPrivateLinkScopeNextResponse = PrivateLinkResourceListResult;
3653
- /** Optional parameters. */
3654
4033
  export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
3655
4034
  }
3656
4035
  /** Contains response data for the get operation. */
@@ -3677,11 +4056,6 @@ export interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
3677
4056
  /** Contains response data for the listByPrivateLinkScope operation. */
3678
4057
  export declare type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
3679
4058
  /** Optional parameters. */
3680
- export interface PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
3681
- }
3682
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
3683
- export declare type PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse = PrivateEndpointConnectionListResult;
3684
- /** Optional parameters. */
3685
4059
  export interface PrivateLinkScopedResourcesGetOptionalParams extends coreClient.OperationOptions {
3686
4060
  }
3687
4061
  /** Contains response data for the get operation. */