@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
@@ -177,7 +177,15 @@ export interface WebhookNotification {
177
177
  properties?: { [propertyName: string]: string };
178
178
  }
179
179
 
180
- /** An azure resource object */
180
+ /** The parameters for enabling predictive autoscale. */
181
+ export interface PredictiveAutoscalePolicy {
182
+ /** the predictive autoscale mode */
183
+ scaleMode: PredictiveAutoscalePolicyScaleMode;
184
+ /** 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. */
185
+ scaleLookAheadTime?: string;
186
+ }
187
+
188
+ /** The autoscale setting resource. */
181
189
  export interface Resource {
182
190
  /**
183
191
  * Azure resource Id
@@ -196,16 +204,52 @@ export interface Resource {
196
204
  readonly type?: string;
197
205
  /** Resource location */
198
206
  location: string;
199
- /** Resource tags */
207
+ /** 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. */
200
208
  tags?: { [propertyName: string]: string };
209
+ /**
210
+ * The system metadata related to the response.
211
+ * NOTE: This property will not be serialized. It can only be populated by the server.
212
+ */
213
+ readonly systemData?: SystemData;
214
+ }
215
+
216
+ /** Metadata pertaining to creation and last modification of the resource. */
217
+ export interface SystemData {
218
+ /** The identity that created the resource. */
219
+ createdBy?: string;
220
+ /** The type of identity that created the resource. */
221
+ createdByType?: CreatedByType;
222
+ /** The timestamp of resource creation (UTC). */
223
+ createdAt?: Date;
224
+ /** The identity that last modified the resource. */
225
+ lastModifiedBy?: string;
226
+ /** The type of identity that last modified the resource. */
227
+ lastModifiedByType?: CreatedByType;
228
+ /** The timestamp of resource last modification (UTC) */
229
+ lastModifiedAt?: Date;
201
230
  }
202
231
 
203
232
  /** Describes the format of Error response. */
204
- export interface ErrorResponse {
205
- /** Error code */
233
+ export interface AutoscaleErrorResponse {
234
+ /** The error object. */
235
+ error?: AutoscaleErrorResponseError;
236
+ /**
237
+ * The system metadata related to the response.
238
+ * NOTE: This property will not be serialized. It can only be populated by the server.
239
+ */
240
+ readonly systemData?: SystemData;
241
+ }
242
+
243
+ /** The error object. */
244
+ export interface AutoscaleErrorResponseError {
245
+ /** One of a server-defined set of error codes. */
206
246
  code?: string;
207
- /** Error message indicating why the operation failed. */
247
+ /** A human-readable representation of the error. */
208
248
  message?: string;
249
+ /** The target of the particular error. */
250
+ target?: string;
251
+ /** A human-readable representation of the error's details. */
252
+ details?: string;
209
253
  }
210
254
 
211
255
  /** The autoscale setting object for patch operations. */
@@ -216,8 +260,10 @@ export interface AutoscaleSettingResourcePatch {
216
260
  profiles?: AutoscaleProfile[];
217
261
  /** the collection of notifications. */
218
262
  notifications?: AutoscaleNotification[];
219
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
263
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
220
264
  enabled?: boolean;
265
+ /** the predictive autoscale policy mode. */
266
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
221
267
  /** the name of the autoscale setting. */
222
268
  name?: string;
223
269
  /** the resource identifier of the resource that the autoscale setting should be added to. */
@@ -226,6 +272,28 @@ export interface AutoscaleSettingResourcePatch {
226
272
  targetResourceLocation?: string;
227
273
  }
228
274
 
275
+ /** The response to a metrics query. */
276
+ export interface PredictiveResponse {
277
+ /** 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. */
278
+ timespan?: string;
279
+ /** 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. */
280
+ interval?: string;
281
+ /** The metrics being queried */
282
+ metricName?: string;
283
+ /** resource of the predictive metric. */
284
+ targetResourceId?: string;
285
+ /** the value of the collection. */
286
+ data?: PredictiveValue[];
287
+ }
288
+
289
+ /** Represents a predictive metric value in the given bucket. */
290
+ export interface PredictiveValue {
291
+ /** the timestamp for the metric value in ISO 8601 format. */
292
+ timeStamp: Date;
293
+ /** Predictive value in this time bucket. */
294
+ value: number;
295
+ }
296
+
229
297
  /** 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. */
230
298
  export interface OperationListResult {
231
299
  /** List of operations supported by the Microsoft.Insights provider. */
@@ -281,6 +349,14 @@ export interface Incident {
281
349
  readonly resolvedTime?: Date;
282
350
  }
283
351
 
352
+ /** Describes the format of Error response. */
353
+ export interface ErrorResponse {
354
+ /** Error code */
355
+ code?: string;
356
+ /** Error message indicating why the operation failed. */
357
+ message?: string;
358
+ }
359
+
284
360
  /** The List incidents operation response. */
285
361
  export interface IncidentListResult {
286
362
  /** the incident collection. */
@@ -322,6 +398,29 @@ export interface RuleAction {
322
398
  | "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
323
399
  }
324
400
 
401
+ /** An azure resource object */
402
+ export interface ResourceAutoGenerated {
403
+ /**
404
+ * Azure resource Id
405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
406
+ */
407
+ readonly id?: string;
408
+ /**
409
+ * Azure resource name
410
+ * NOTE: This property will not be serialized. It can only be populated by the server.
411
+ */
412
+ readonly name?: string;
413
+ /**
414
+ * Azure resource type
415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
+ */
417
+ readonly type?: string;
418
+ /** Resource location */
419
+ location: string;
420
+ /** Resource tags */
421
+ tags?: { [propertyName: string]: string };
422
+ }
423
+
325
424
  /** The alert rule object for patch operations. */
326
425
  export interface AlertRuleResourcePatch {
327
426
  /** Resource tags */
@@ -361,6 +460,29 @@ export interface RetentionPolicy {
361
460
  days: number;
362
461
  }
363
462
 
463
+ /** An azure resource object */
464
+ export interface ResourceAutoGenerated2 {
465
+ /**
466
+ * Azure resource Id
467
+ * NOTE: This property will not be serialized. It can only be populated by the server.
468
+ */
469
+ readonly id?: string;
470
+ /**
471
+ * Azure resource name
472
+ * NOTE: This property will not be serialized. It can only be populated by the server.
473
+ */
474
+ readonly name?: string;
475
+ /**
476
+ * Azure resource type
477
+ * NOTE: This property will not be serialized. It can only be populated by the server.
478
+ */
479
+ readonly type?: string;
480
+ /** Resource location */
481
+ location: string;
482
+ /** Resource tags */
483
+ tags?: { [propertyName: string]: string };
484
+ }
485
+
364
486
  /** The log profile resource for patch operations. */
365
487
  export interface LogProfileResourcePatch {
366
488
  /** Resource tags */
@@ -399,26 +521,28 @@ export interface MetricSettings {
399
521
  export interface LogSettings {
400
522
  /** 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. */
401
523
  category?: string;
524
+ /** 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. */
525
+ categoryGroup?: string;
402
526
  /** a value indicating whether this log is enabled. */
403
527
  enabled: boolean;
404
528
  /** the retention policy for this log. */
405
529
  retentionPolicy?: RetentionPolicy;
406
530
  }
407
531
 
408
- /** A proxy only azure resource object */
409
- export interface ProxyOnlyResource {
532
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
533
+ export interface ResourceAutoGenerated3 {
410
534
  /**
411
- * Azure resource Id
535
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
412
536
  * NOTE: This property will not be serialized. It can only be populated by the server.
413
537
  */
414
538
  readonly id?: string;
415
539
  /**
416
- * Azure resource name
540
+ * The name of the resource
417
541
  * NOTE: This property will not be serialized. It can only be populated by the server.
418
542
  */
419
543
  readonly name?: string;
420
544
  /**
421
- * Azure resource type
545
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
422
546
  * NOTE: This property will not be serialized. It can only be populated by the server.
423
547
  */
424
548
  readonly type?: string;
@@ -603,16 +727,6 @@ export interface AzureResource {
603
727
  * NOTE: This property will not be serialized. It can only be populated by the server.
604
728
  */
605
729
  readonly type?: string;
606
- /**
607
- * Azure resource kind
608
- * NOTE: This property will not be serialized. It can only be populated by the server.
609
- */
610
- readonly kind?: string;
611
- /**
612
- * Azure resource identity
613
- * NOTE: This property will not be serialized. It can only be populated by the server.
614
- */
615
- readonly identity?: string;
616
730
  /** Resource location */
617
731
  location: string;
618
732
  /** Resource tags */
@@ -1076,6 +1190,29 @@ export interface MetricAlertAction {
1076
1190
  webHookProperties?: { [propertyName: string]: string };
1077
1191
  }
1078
1192
 
1193
+ /** An azure resource object */
1194
+ export interface ResourceAutoGenerated4 {
1195
+ /**
1196
+ * Azure resource Id
1197
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1198
+ */
1199
+ readonly id?: string;
1200
+ /**
1201
+ * Azure resource name
1202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1203
+ */
1204
+ readonly name?: string;
1205
+ /**
1206
+ * Azure resource type
1207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1208
+ */
1209
+ readonly type?: string;
1210
+ /** Resource location */
1211
+ location: string;
1212
+ /** Resource tags */
1213
+ tags?: { [propertyName: string]: string };
1214
+ }
1215
+
1079
1216
  /** The metric alert resource for patch operations. */
1080
1217
  export interface MetricAlertResourcePatch {
1081
1218
  /** Resource tags */
@@ -1171,7 +1308,7 @@ export interface Action {
1171
1308
  }
1172
1309
 
1173
1310
  /** An azure resource object */
1174
- export interface ResourceAutoGenerated {
1311
+ export interface ResourceAutoGenerated5 {
1175
1312
  /**
1176
1313
  * Azure resource Id
1177
1314
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1306,46 +1443,92 @@ export interface AzureMonitorPrivateLinkScopeListResult {
1306
1443
  nextLink?: string;
1307
1444
  }
1308
1445
 
1309
- /** Private endpoint which the connection belongs to. */
1310
- export interface PrivateEndpointProperty {
1311
- /** Resource id of the private endpoint. */
1312
- id?: string;
1313
- }
1314
-
1315
- /** State of the private endpoint connection. */
1316
- export interface PrivateLinkServiceConnectionStateProperty {
1317
- /** The private link service connection status. */
1318
- status: string;
1319
- /** The private link service connection description. */
1320
- description: string;
1446
+ /** The Private Endpoint resource. */
1447
+ export interface PrivateEndpoint {
1321
1448
  /**
1322
- * The actions required for private link service connection.
1449
+ * The ARM identifier for Private Endpoint
1323
1450
  * NOTE: This property will not be serialized. It can only be populated by the server.
1324
1451
  */
1325
- readonly actionsRequired?: string;
1452
+ readonly id?: string;
1326
1453
  }
1327
1454
 
1328
- /** An azure resource object */
1329
- export interface PrivateLinkScopesResource {
1455
+ /** A collection of information about the state of the connection between service consumer and provider. */
1456
+ export interface PrivateLinkServiceConnectionState {
1457
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1458
+ status?: PrivateEndpointServiceConnectionStatus;
1459
+ /** The reason for approval/rejection of the connection. */
1460
+ description?: string;
1461
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
1462
+ actionsRequired?: string;
1463
+ }
1464
+
1465
+ /** Properties that define the scope private link mode settings. */
1466
+ export interface AccessModeSettings {
1467
+ /** 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. */
1468
+ queryAccessMode: AccessMode;
1469
+ /** 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. */
1470
+ ingestionAccessMode: AccessMode;
1471
+ /** List of exclusions that override the default access mode settings for specific private endpoint connections. */
1472
+ exclusions?: AccessModeSettingsExclusion[];
1473
+ }
1474
+
1475
+ /** 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. */
1476
+ export interface AccessModeSettingsExclusion {
1477
+ /** The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings. */
1478
+ privateEndpointConnectionName?: string;
1479
+ /** Specifies the access mode of queries through the specified private endpoint connection in the exclusion. */
1480
+ queryAccessMode?: AccessMode;
1481
+ /** Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion. */
1482
+ ingestionAccessMode?: AccessMode;
1483
+ }
1484
+
1485
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1486
+ export interface DefaultErrorResponse {
1487
+ /** The error object. */
1488
+ error?: ErrorDetail;
1489
+ }
1490
+
1491
+ /** The error detail. */
1492
+ export interface ErrorDetail {
1330
1493
  /**
1331
- * Azure resource Id
1494
+ * The error code.
1332
1495
  * NOTE: This property will not be serialized. It can only be populated by the server.
1333
1496
  */
1334
- readonly id?: string;
1497
+ readonly code?: string;
1335
1498
  /**
1336
- * Azure resource name
1499
+ * The error message.
1337
1500
  * NOTE: This property will not be serialized. It can only be populated by the server.
1338
1501
  */
1339
- readonly name?: string;
1502
+ readonly message?: string;
1340
1503
  /**
1341
- * Azure resource type
1504
+ * The error target.
1505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1506
+ */
1507
+ readonly target?: string;
1508
+ /**
1509
+ * The error details.
1510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1511
+ */
1512
+ readonly details?: ErrorDetail[];
1513
+ /**
1514
+ * The error additional info.
1515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1516
+ */
1517
+ readonly additionalInfo?: ErrorAdditionalInfo[];
1518
+ }
1519
+
1520
+ /** The resource management error additional info. */
1521
+ export interface ErrorAdditionalInfo {
1522
+ /**
1523
+ * The additional info type.
1342
1524
  * NOTE: This property will not be serialized. It can only be populated by the server.
1343
1525
  */
1344
1526
  readonly type?: string;
1345
- /** Resource location */
1346
- location: string;
1347
- /** Resource tags */
1348
- tags?: { [propertyName: string]: string };
1527
+ /**
1528
+ * The additional info.
1529
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1530
+ */
1531
+ readonly info?: Record<string, unknown>;
1349
1532
  }
1350
1533
 
1351
1534
  /** A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance. */
@@ -1367,49 +1550,19 @@ export interface OperationStatus {
1367
1550
  /** The status of the operation. */
1368
1551
  status?: string;
1369
1552
  /** The error detail of the operation if any. */
1370
- error?: ErrorResponseCommon;
1371
- }
1372
-
1373
- /** The resource management error additional info. */
1374
- export interface ErrorAdditionalInfo {
1375
- /**
1376
- * The additional info type.
1377
- * NOTE: This property will not be serialized. It can only be populated by the server.
1378
- */
1379
- readonly type?: string;
1380
- /**
1381
- * The additional info.
1382
- * NOTE: This property will not be serialized. It can only be populated by the server.
1383
- */
1384
- readonly info?: Record<string, unknown>;
1553
+ error?: ErrorDetail;
1385
1554
  }
1386
1555
 
1387
1556
  /** A list of private link resources */
1388
1557
  export interface PrivateLinkResourceListResult {
1389
- /**
1390
- * Array of results.
1391
- * NOTE: This property will not be serialized. It can only be populated by the server.
1392
- */
1393
- readonly value?: PrivateLinkResource[];
1394
- /**
1395
- * Link to retrieve next page of results.
1396
- * NOTE: This property will not be serialized. It can only be populated by the server.
1397
- */
1398
- readonly nextLink?: string;
1558
+ /** Array of private link resources */
1559
+ value?: PrivateLinkResource[];
1399
1560
  }
1400
1561
 
1401
- /** A list of private endpoint connections. */
1562
+ /** List of private endpoint connection associated with the specified storage account */
1402
1563
  export interface PrivateEndpointConnectionListResult {
1403
- /**
1404
- * Array of results.
1405
- * NOTE: This property will not be serialized. It can only be populated by the server.
1406
- */
1407
- readonly value?: PrivateEndpointConnection[];
1408
- /**
1409
- * Link to retrieve next page of results.
1410
- * NOTE: This property will not be serialized. It can only be populated by the server.
1411
- */
1412
- readonly nextLink?: string;
1564
+ /** Array of private endpoint connections */
1565
+ value?: PrivateEndpointConnection[];
1413
1566
  }
1414
1567
 
1415
1568
  /** A list of scoped resources in a private link scope. */
@@ -1616,57 +1769,12 @@ export interface NetworkRuleSet {
1616
1769
  publicNetworkAccess?: KnownPublicNetworkAccessOptions;
1617
1770
  }
1618
1771
 
1619
- /** Metadata pertaining to creation and last modification of the resource. */
1620
- export interface SystemData {
1621
- /** The identity that created the resource. */
1622
- createdBy?: string;
1623
- /** The type of identity that created the resource. */
1624
- createdByType?: CreatedByType;
1625
- /** The timestamp of resource creation (UTC). */
1626
- createdAt?: Date;
1627
- /** The identity that last modified the resource. */
1628
- lastModifiedBy?: string;
1629
- /** The type of identity that last modified the resource. */
1630
- lastModifiedByType?: CreatedByType;
1631
- /** The timestamp of resource last modification (UTC) */
1632
- lastModifiedAt?: Date;
1633
- }
1634
-
1635
1772
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1636
1773
  export interface ErrorResponseCommonV2 {
1637
1774
  /** The error object. */
1638
1775
  error?: ErrorDetail;
1639
1776
  }
1640
1777
 
1641
- /** The error detail. */
1642
- export interface ErrorDetail {
1643
- /**
1644
- * The error code.
1645
- * NOTE: This property will not be serialized. It can only be populated by the server.
1646
- */
1647
- readonly code?: string;
1648
- /**
1649
- * The error message.
1650
- * NOTE: This property will not be serialized. It can only be populated by the server.
1651
- */
1652
- readonly message?: string;
1653
- /**
1654
- * The error target.
1655
- * NOTE: This property will not be serialized. It can only be populated by the server.
1656
- */
1657
- readonly target?: string;
1658
- /**
1659
- * The error details.
1660
- * NOTE: This property will not be serialized. It can only be populated by the server.
1661
- */
1662
- readonly details?: ErrorDetail[];
1663
- /**
1664
- * The error additional info.
1665
- * NOTE: This property will not be serialized. It can only be populated by the server.
1666
- */
1667
- readonly additionalInfo?: ErrorAdditionalInfo[];
1668
- }
1669
-
1670
1778
  /** Definition of ARM tracked top level resource properties for update operation. */
1671
1779
  export interface ResourceForUpdate {
1672
1780
  /** Resource tags. */
@@ -2175,110 +2283,35 @@ export interface Criteria {
2175
2283
  }
2176
2284
 
2177
2285
  /** The autoscale setting resource. */
2178
- export type AutoscaleSettingResource = Resource & {
2286
+ export interface AutoscaleSettingResource extends Resource {
2179
2287
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
2180
2288
  profiles: AutoscaleProfile[];
2181
2289
  /** the collection of notifications. */
2182
2290
  notifications?: AutoscaleNotification[];
2183
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
2291
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
2184
2292
  enabled?: boolean;
2293
+ /** the predictive autoscale policy mode. */
2294
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
2185
2295
  /** the name of the autoscale setting. */
2186
2296
  namePropertiesName?: string;
2187
2297
  /** the resource identifier of the resource that the autoscale setting should be added to. */
2188
2298
  targetResourceUri?: string;
2189
2299
  /** the location of the resource that the autoscale setting should be added to. */
2190
2300
  targetResourceLocation?: string;
2191
- };
2192
-
2193
- /** The alert rule resource. */
2194
- export type AlertRuleResource = Resource & {
2195
- /** the name of the alert rule. */
2196
- namePropertiesName: string;
2197
- /** the description of the alert rule that will be included in the alert email. */
2198
- description?: string;
2199
- /** the provisioning state. */
2200
- provisioningState?: string;
2201
- /** the flag that indicates whether the alert rule is enabled. */
2202
- isEnabled: boolean;
2203
- /** the condition that results in the alert rule being activated. */
2204
- condition: RuleConditionUnion;
2205
- /** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
2206
- action?: RuleActionUnion;
2207
- /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2208
- actions?: RuleActionUnion[];
2209
- /**
2210
- * Last time the rule was updated in ISO8601 format.
2211
- * NOTE: This property will not be serialized. It can only be populated by the server.
2212
- */
2213
- readonly lastUpdatedTime?: Date;
2214
- };
2301
+ }
2215
2302
 
2216
- /** The log profile resource. */
2217
- export type LogProfileResource = Resource & {
2218
- /** the resource id of the storage account to which you would like to send the Activity Log. */
2219
- storageAccountId?: string;
2220
- /** 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}'. */
2221
- serviceBusRuleId?: string;
2222
- /** 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. */
2223
- locations: string[];
2224
- /** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
2225
- categories: string[];
2226
- /** the retention policy for the events in the log. */
2227
- retentionPolicy: RetentionPolicy;
2228
- };
2303
+ /** Metadata pertaining to creation and last modification of the resource. */
2304
+ export interface DataCollectionEndpointResourceSystemData extends SystemData {}
2229
2305
 
2230
- /** The metric alert resource. */
2231
- export type MetricAlertResource = Resource & {
2232
- /** the description of the metric alert that will be included in the alert email. */
2233
- description?: string;
2234
- /** Alert severity {0, 1, 2, 3, 4} */
2235
- severity: number;
2236
- /** the flag that indicates whether the metric alert is enabled. */
2237
- enabled: boolean;
2238
- /** the list of resource id's that this metric alert is scoped to. */
2239
- scopes: string[];
2240
- /** how often the metric alert is evaluated represented in ISO 8601 duration format. */
2241
- evaluationFrequency: string;
2242
- /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
2243
- windowSize: string;
2244
- /** 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. */
2245
- targetResourceType?: string;
2246
- /** 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. */
2247
- targetResourceRegion?: string;
2248
- /** defines the specific alert criteria information. */
2249
- criteria: MetricAlertCriteriaUnion;
2250
- /** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
2251
- autoMitigate?: boolean;
2252
- /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2253
- actions?: MetricAlertAction[];
2254
- /**
2255
- * Last time the rule was updated in ISO8601 format.
2256
- * NOTE: This property will not be serialized. It can only be populated by the server.
2257
- */
2258
- readonly lastUpdatedTime?: Date;
2259
- /**
2260
- * the value indicating whether this alert rule is migrated.
2261
- * NOTE: This property will not be serialized. It can only be populated by the server.
2262
- */
2263
- readonly isMigrated?: boolean;
2264
- };
2306
+ /** Metadata pertaining to creation and last modification of the resource. */
2307
+ export interface DataCollectionRuleAssociationProxyOnlyResourceSystemData
2308
+ extends SystemData {}
2265
2309
 
2266
- /** The resource management error response. */
2267
- export type ErrorResponseCommon = ErrorResponse & {
2268
- /**
2269
- * The error details.
2270
- * NOTE: This property will not be serialized. It can only be populated by the server.
2271
- */
2272
- readonly details?: ErrorResponseCommon[];
2273
- /**
2274
- * The error additional info.
2275
- * NOTE: This property will not be serialized. It can only be populated by the server.
2276
- */
2277
- readonly additionalInfo?: ErrorAdditionalInfo[];
2278
- };
2310
+ /** Metadata pertaining to creation and last modification of the resource. */
2311
+ export interface DataCollectionRuleResourceSystemData extends SystemData {}
2279
2312
 
2280
2313
  /** A rule condition based on a metric crossing a threshold. */
2281
- export type ThresholdRuleCondition = RuleCondition & {
2314
+ export interface ThresholdRuleCondition extends RuleCondition {
2282
2315
  /** Polymorphic discriminator, which specifies the different types this object can be */
2283
2316
  odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition";
2284
2317
  /** the operator used to compare the data and the threshold. */
@@ -2289,36 +2322,36 @@ export type ThresholdRuleCondition = RuleCondition & {
2289
2322
  windowSize?: string;
2290
2323
  /** the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. */
2291
2324
  timeAggregation?: TimeAggregationOperator;
2292
- };
2325
+ }
2293
2326
 
2294
2327
  /** A rule condition based on a certain number of locations failing. */
2295
- export type LocationThresholdRuleCondition = RuleCondition & {
2328
+ export interface LocationThresholdRuleCondition extends RuleCondition {
2296
2329
  /** Polymorphic discriminator, which specifies the different types this object can be */
2297
2330
  odataType: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition";
2298
2331
  /** 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. */
2299
2332
  windowSize?: string;
2300
2333
  /** the number of locations that must fail to activate the alert. */
2301
2334
  failedLocationCount: number;
2302
- };
2335
+ }
2303
2336
 
2304
2337
  /** A management event rule condition. */
2305
- export type ManagementEventRuleCondition = RuleCondition & {
2338
+ export interface ManagementEventRuleCondition extends RuleCondition {
2306
2339
  /** Polymorphic discriminator, which specifies the different types this object can be */
2307
2340
  odataType: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition";
2308
2341
  /** 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. */
2309
2342
  aggregation?: ManagementEventAggregationCondition;
2310
- };
2343
+ }
2311
2344
 
2312
2345
  /** A rule metric data source. The discriminator value is always RuleMetricDataSource in this case. */
2313
- export type RuleMetricDataSource = RuleDataSource & {
2346
+ export interface RuleMetricDataSource extends RuleDataSource {
2314
2347
  /** Polymorphic discriminator, which specifies the different types this object can be */
2315
2348
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource";
2316
2349
  /** the name of the metric that defines what the rule monitors. */
2317
2350
  metricName?: string;
2318
- };
2351
+ }
2319
2352
 
2320
2353
  /** A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case. */
2321
- export type RuleManagementEventDataSource = RuleDataSource & {
2354
+ export interface RuleManagementEventDataSource extends RuleDataSource {
2322
2355
  /** Polymorphic discriminator, which specifies the different types this object can be */
2323
2356
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource";
2324
2357
  /** the event name. */
@@ -2339,30 +2372,72 @@ export type RuleManagementEventDataSource = RuleDataSource & {
2339
2372
  subStatus?: string;
2340
2373
  /** the claims. */
2341
2374
  claims?: RuleManagementEventClaimsDataSource;
2342
- };
2375
+ }
2343
2376
 
2344
2377
  /** Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case. */
2345
- export type RuleEmailAction = RuleAction & {
2378
+ export interface RuleEmailAction extends RuleAction {
2346
2379
  /** Polymorphic discriminator, which specifies the different types this object can be */
2347
2380
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction";
2348
2381
  /** Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. */
2349
2382
  sendToServiceOwners?: boolean;
2350
2383
  /** the list of administrator's custom email addresses to notify of the activation of the alert. */
2351
2384
  customEmails?: string[];
2352
- };
2385
+ }
2353
2386
 
2354
2387
  /** Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case. */
2355
- export type RuleWebhookAction = RuleAction & {
2388
+ export interface RuleWebhookAction extends RuleAction {
2356
2389
  /** Polymorphic discriminator, which specifies the different types this object can be */
2357
2390
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
2358
2391
  /** the service uri to Post the notification when the alert activates or resolves. */
2359
2392
  serviceUri?: string;
2360
2393
  /** the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload. */
2361
2394
  properties?: { [propertyName: string]: string };
2362
- };
2395
+ }
2396
+
2397
+ /** The alert rule resource. */
2398
+ export interface AlertRuleResource extends ResourceAutoGenerated {
2399
+ /** the name of the alert rule. */
2400
+ namePropertiesName: string;
2401
+ /** the description of the alert rule that will be included in the alert email. */
2402
+ description?: string;
2403
+ /** the provisioning state. */
2404
+ provisioningState?: string;
2405
+ /** the flag that indicates whether the alert rule is enabled. */
2406
+ isEnabled: boolean;
2407
+ /** the condition that results in the alert rule being activated. */
2408
+ condition: RuleConditionUnion;
2409
+ /** action that is performed when the alert rule becomes active, and when an alert condition is resolved. */
2410
+ action?: RuleActionUnion;
2411
+ /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2412
+ actions?: RuleActionUnion[];
2413
+ /**
2414
+ * Last time the rule was updated in ISO8601 format.
2415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2416
+ */
2417
+ readonly lastUpdatedTime?: Date;
2418
+ }
2419
+
2420
+ /** The log profile resource. */
2421
+ export interface LogProfileResource extends ResourceAutoGenerated2 {
2422
+ /** the resource id of the storage account to which you would like to send the Activity Log. */
2423
+ storageAccountId?: string;
2424
+ /** 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}'. */
2425
+ serviceBusRuleId?: string;
2426
+ /** 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. */
2427
+ locations: string[];
2428
+ /** the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.' */
2429
+ categories: string[];
2430
+ /** the retention policy for the events in the log. */
2431
+ retentionPolicy: RetentionPolicy;
2432
+ }
2363
2433
 
2364
2434
  /** The diagnostic setting resource. */
2365
- export type DiagnosticSettingsResource = ProxyOnlyResource & {
2435
+ export interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
2436
+ /**
2437
+ * The system metadata related to this resource.
2438
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2439
+ */
2440
+ readonly systemData?: SystemData;
2366
2441
  /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
2367
2442
  storageAccountId?: string;
2368
2443
  /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
@@ -2377,18 +2452,68 @@ export type DiagnosticSettingsResource = ProxyOnlyResource & {
2377
2452
  logs?: LogSettings[];
2378
2453
  /** 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 */
2379
2454
  workspaceId?: string;
2455
+ /** The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */
2456
+ marketplacePartnerId?: string;
2380
2457
  /** 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.) */
2381
2458
  logAnalyticsDestinationType?: string;
2382
- };
2459
+ }
2383
2460
 
2384
2461
  /** The diagnostic settings category resource. */
2385
- export type DiagnosticSettingsCategoryResource = ProxyOnlyResource & {
2462
+ export interface DiagnosticSettingsCategoryResource
2463
+ extends ResourceAutoGenerated3 {
2464
+ /**
2465
+ * The system metadata related to this resource.
2466
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2467
+ */
2468
+ readonly systemData?: SystemData;
2386
2469
  /** The type of the diagnostic settings category. */
2387
2470
  categoryType?: CategoryType;
2388
- };
2471
+ /** the collection of what category groups are supported. */
2472
+ categoryGroups?: string[];
2473
+ }
2474
+
2475
+ /** The Private Endpoint Connection resource. */
2476
+ export interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
2477
+ /** The resource of private end point. */
2478
+ privateEndpoint?: PrivateEndpoint;
2479
+ /** A collection of information about the state of the connection between service consumer and provider. */
2480
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
2481
+ /**
2482
+ * The provisioning state of the private endpoint connection resource.
2483
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2484
+ */
2485
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
2486
+ }
2487
+
2488
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2489
+ export interface TrackedResource extends ResourceAutoGenerated3 {
2490
+ /** Resource tags. */
2491
+ tags?: { [propertyName: string]: string };
2492
+ /** The geo-location where the resource lives */
2493
+ location: string;
2494
+ }
2495
+
2496
+ /** A private link resource */
2497
+ export interface PrivateLinkResource extends ResourceAutoGenerated3 {
2498
+ /**
2499
+ * The private link resource group id.
2500
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2501
+ */
2502
+ readonly groupId?: string;
2503
+ /**
2504
+ * The private link resource required member names.
2505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2506
+ */
2507
+ readonly requiredMembers?: string[];
2508
+ /** The private link resource Private link DNS zone name. */
2509
+ requiredZoneNames?: string[];
2510
+ }
2511
+
2512
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
2513
+ export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {}
2389
2514
 
2390
2515
  /** An action group resource. */
2391
- export type ActionGroupResource = AzureResource & {
2516
+ export interface ActionGroupResource extends AzureResource {
2392
2517
  /** The short name of the action group. This will be used in SMS messages. */
2393
2518
  groupShortName?: string;
2394
2519
  /** Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */
@@ -2415,18 +2540,20 @@ export type ActionGroupResource = AzureResource & {
2415
2540
  armRoleReceivers?: ArmRoleReceiver[];
2416
2541
  /** The list of event hub receivers that are part of this action group. */
2417
2542
  eventHubReceivers?: EventHubReceiver[];
2418
- };
2543
+ }
2419
2544
 
2420
2545
  /** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
2421
- export type MetricAlertSingleResourceMultipleMetricCriteria = MetricAlertCriteria & {
2546
+ export interface MetricAlertSingleResourceMultipleMetricCriteria
2547
+ extends MetricAlertCriteria {
2422
2548
  /** Polymorphic discriminator, which specifies the different types this object can be */
2423
2549
  odataType: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
2424
2550
  /** The list of metric criteria for this 'all of' operation. */
2425
2551
  allOf?: MetricCriteria[];
2426
- };
2552
+ }
2427
2553
 
2428
2554
  /** Specifies the metric alert rule criteria for a web test resource. */
2429
- export type WebtestLocationAvailabilityCriteria = MetricAlertCriteria & {
2555
+ export interface WebtestLocationAvailabilityCriteria
2556
+ extends MetricAlertCriteria {
2430
2557
  /** Polymorphic discriminator, which specifies the different types this object can be */
2431
2558
  odataType: "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
2432
2559
  /** The Application Insights web test Id. */
@@ -2435,18 +2562,55 @@ export type WebtestLocationAvailabilityCriteria = MetricAlertCriteria & {
2435
2562
  componentId: string;
2436
2563
  /** The number of failed locations. */
2437
2564
  failedLocationCount: number;
2438
- };
2565
+ }
2439
2566
 
2440
2567
  /** Specifies the metric alert criteria for multiple resource that has multiple metric criteria. */
2441
- export type MetricAlertMultipleResourceMultipleMetricCriteria = MetricAlertCriteria & {
2568
+ export interface MetricAlertMultipleResourceMultipleMetricCriteria
2569
+ extends MetricAlertCriteria {
2442
2570
  /** Polymorphic discriminator, which specifies the different types this object can be */
2443
2571
  odataType: "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
2444
2572
  /** the list of multiple metric criteria for this 'all of' operation. */
2445
2573
  allOf?: MultiMetricCriteriaUnion[];
2446
- };
2574
+ }
2575
+
2576
+ /** The metric alert resource. */
2577
+ export interface MetricAlertResource extends ResourceAutoGenerated4 {
2578
+ /** the description of the metric alert that will be included in the alert email. */
2579
+ description?: string;
2580
+ /** Alert severity {0, 1, 2, 3, 4} */
2581
+ severity: number;
2582
+ /** the flag that indicates whether the metric alert is enabled. */
2583
+ enabled: boolean;
2584
+ /** the list of resource id's that this metric alert is scoped to. */
2585
+ scopes: string[];
2586
+ /** how often the metric alert is evaluated represented in ISO 8601 duration format. */
2587
+ evaluationFrequency: string;
2588
+ /** the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. */
2589
+ windowSize: string;
2590
+ /** 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. */
2591
+ targetResourceType?: string;
2592
+ /** 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. */
2593
+ targetResourceRegion?: string;
2594
+ /** defines the specific alert criteria information. */
2595
+ criteria: MetricAlertCriteriaUnion;
2596
+ /** the flag that indicates whether the alert should be auto resolved or not. The default is true. */
2597
+ autoMitigate?: boolean;
2598
+ /** the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. */
2599
+ actions?: MetricAlertAction[];
2600
+ /**
2601
+ * Last time the rule was updated in ISO8601 format.
2602
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2603
+ */
2604
+ readonly lastUpdatedTime?: Date;
2605
+ /**
2606
+ * the value indicating whether this alert rule is migrated.
2607
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2608
+ */
2609
+ readonly isMigrated?: boolean;
2610
+ }
2447
2611
 
2448
2612
  /** Specify action need to be taken when rule type is Alert */
2449
- export type AlertingAction = Action & {
2613
+ export interface AlertingAction extends Action {
2450
2614
  /** Polymorphic discriminator, which specifies the different types this object can be */
2451
2615
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
2452
2616
  /** Severity of the alert */
@@ -2457,18 +2621,18 @@ export type AlertingAction = Action & {
2457
2621
  throttlingInMin?: number;
2458
2622
  /** The trigger condition that results in the alert rule being. */
2459
2623
  trigger: TriggerCondition;
2460
- };
2624
+ }
2461
2625
 
2462
2626
  /** Specify action need to be taken when rule type is converting log to metric */
2463
- export type LogToMetricAction = Action & {
2627
+ export interface LogToMetricAction extends Action {
2464
2628
  /** Polymorphic discriminator, which specifies the different types this object can be */
2465
2629
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
2466
2630
  /** Criteria of Metric */
2467
2631
  criteria: Criteria[];
2468
- };
2632
+ }
2469
2633
 
2470
2634
  /** The Log Search Rule resource. */
2471
- export type LogSearchRuleResource = ResourceAutoGenerated & {
2635
+ export interface LogSearchRuleResource extends ResourceAutoGenerated5 {
2472
2636
  /**
2473
2637
  * The api-version used when creating this alert rule
2474
2638
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -2503,10 +2667,10 @@ export type LogSearchRuleResource = ResourceAutoGenerated & {
2503
2667
  schedule?: Schedule;
2504
2668
  /** Action needs to be taken on rule execution. */
2505
2669
  action: ActionUnion;
2506
- };
2670
+ }
2507
2671
 
2508
2672
  /** VM Insights onboarding status for a resource. */
2509
- export type VMInsightsOnboardingStatus = ProxyResource & {
2673
+ export interface VMInsightsOnboardingStatus extends ProxyResource {
2510
2674
  /** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
2511
2675
  resourceId?: string;
2512
2676
  /** 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. */
@@ -2515,59 +2679,7 @@ export type VMInsightsOnboardingStatus = ProxyResource & {
2515
2679
  dataStatus?: DataStatus;
2516
2680
  /** Containers that currently store VM Insights data for the specified resource. */
2517
2681
  data?: DataContainer[];
2518
- };
2519
-
2520
- /** A private endpoint connection */
2521
- export type PrivateEndpointConnection = ProxyResource & {
2522
- /** Private endpoint which the connection belongs to. */
2523
- privateEndpoint?: PrivateEndpointProperty;
2524
- /** Connection state of the private endpoint connection. */
2525
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
2526
- /**
2527
- * State of the private endpoint connection.
2528
- * NOTE: This property will not be serialized. It can only be populated by the server.
2529
- */
2530
- readonly provisioningState?: string;
2531
- };
2532
-
2533
- /** A private link resource */
2534
- export type PrivateLinkResource = ProxyResource & {
2535
- /**
2536
- * The private link resource group id.
2537
- * NOTE: This property will not be serialized. It can only be populated by the server.
2538
- */
2539
- readonly groupId?: string;
2540
- /**
2541
- * The private link resource required member names.
2542
- * NOTE: This property will not be serialized. It can only be populated by the server.
2543
- */
2544
- readonly requiredMembers?: string[];
2545
- };
2546
-
2547
- /** A private link scoped resource */
2548
- export type ScopedResource = ProxyResource & {
2549
- /** The resource id of the scoped Azure monitor resource. */
2550
- linkedResourceId?: string;
2551
- /**
2552
- * State of the private endpoint connection.
2553
- * NOTE: This property will not be serialized. It can only be populated by the server.
2554
- */
2555
- readonly provisioningState?: string;
2556
- };
2557
-
2558
- /** An Azure Monitor PrivateLinkScope definition. */
2559
- export type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
2560
- /**
2561
- * 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.
2562
- * NOTE: This property will not be serialized. It can only be populated by the server.
2563
- */
2564
- readonly provisioningState?: string;
2565
- /**
2566
- * List of private endpoint connections.
2567
- * NOTE: This property will not be serialized. It can only be populated by the server.
2568
- */
2569
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
2570
- };
2682
+ }
2571
2683
 
2572
2684
  /**
2573
2685
  * An Activity Log Alert rule condition that is met when all its member conditions are met.
@@ -2579,13 +2691,13 @@ export type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
2579
2691
  * _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._
2580
2692
  *
2581
2693
  */
2582
- export type AlertRuleAnyOfOrLeafCondition = AlertRuleLeafCondition & {
2694
+ export interface AlertRuleAnyOfOrLeafCondition extends AlertRuleLeafCondition {
2583
2695
  /** An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met. */
2584
2696
  anyOf?: AlertRuleLeafCondition[];
2585
- };
2697
+ }
2586
2698
 
2587
2699
  /** An Activity Log Alert rule resource. */
2588
- export type ActivityLogAlertResource = AzureResourceAutoGenerated & {
2700
+ export interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
2589
2701
  /** 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. */
2590
2702
  scopes?: string[];
2591
2703
  /** The condition that will cause this alert to activate. */
@@ -2596,71 +2708,68 @@ export type ActivityLogAlertResource = AzureResourceAutoGenerated & {
2596
2708
  enabled?: boolean;
2597
2709
  /** A description of this Activity Log Alert rule. */
2598
2710
  description?: string;
2599
- };
2711
+ }
2600
2712
 
2601
2713
  /** Resource properties. */
2602
- export type DataCollectionEndpointResourceProperties = DataCollectionEndpoint;
2714
+ export interface DataCollectionEndpointResourceProperties
2715
+ extends DataCollectionEndpoint {}
2603
2716
 
2604
2717
  /** The endpoint used by clients to access their configuration. */
2605
- export type DataCollectionEndpointConfigurationAccess = ConfigurationAccessEndpointSpec;
2718
+ export interface DataCollectionEndpointConfigurationAccess
2719
+ extends ConfigurationAccessEndpointSpec {}
2606
2720
 
2607
2721
  /** The endpoint used by clients to ingest logs. */
2608
- export type DataCollectionEndpointLogsIngestion = LogsIngestionEndpointSpec;
2722
+ export interface DataCollectionEndpointLogsIngestion
2723
+ extends LogsIngestionEndpointSpec {}
2609
2724
 
2610
2725
  /** Network access control rules for the endpoints. */
2611
- export type DataCollectionEndpointNetworkAcls = NetworkRuleSet;
2612
-
2613
- /** Metadata pertaining to creation and last modification of the resource. */
2614
- export type DataCollectionEndpointResourceSystemData = SystemData;
2615
-
2616
- /** Metadata pertaining to creation and last modification of the resource. */
2617
- export type DataCollectionRuleAssociationProxyOnlyResourceSystemData = SystemData;
2618
-
2619
- /** Metadata pertaining to creation and last modification of the resource. */
2620
- export type DataCollectionRuleResourceSystemData = SystemData;
2726
+ export interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {}
2621
2727
 
2622
2728
  /** Resource properties. */
2623
- export type DataCollectionRuleAssociationProxyOnlyResourceProperties = DataCollectionRuleAssociation;
2729
+ export interface DataCollectionRuleAssociationProxyOnlyResourceProperties
2730
+ extends DataCollectionRuleAssociation {}
2624
2731
 
2625
2732
  /** Metadata about the resource */
2626
- export type DataCollectionRuleAssociationMetadata = Metadata;
2733
+ export interface DataCollectionRuleAssociationMetadata extends Metadata {}
2627
2734
 
2628
2735
  /** Metadata about the resource */
2629
- export type DataCollectionRuleMetadata = Metadata;
2736
+ export interface DataCollectionRuleMetadata extends Metadata {}
2630
2737
 
2631
2738
  /** Resource properties. */
2632
- export type DataCollectionRuleResourceProperties = DataCollectionRule;
2739
+ export interface DataCollectionRuleResourceProperties
2740
+ extends DataCollectionRule {}
2633
2741
 
2634
2742
  /**
2635
2743
  * The specification of data sources.
2636
2744
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
2637
2745
  */
2638
- export type DataCollectionRuleDataSources = DataSourcesSpec;
2746
+ export interface DataCollectionRuleDataSources extends DataSourcesSpec {}
2639
2747
 
2640
2748
  /** The log files specific settings. */
2641
- export type LogFilesDataSourceSettings = LogFileSettings;
2749
+ export interface LogFilesDataSourceSettings extends LogFileSettings {}
2642
2750
 
2643
2751
  /** Text settings */
2644
- export type LogFileSettingsText = LogFileTextSettings;
2752
+ export interface LogFileSettingsText extends LogFileTextSettings {}
2645
2753
 
2646
2754
  /** The specification of destinations. */
2647
- export type DataCollectionRuleDestinations = DestinationsSpec;
2755
+ export interface DataCollectionRuleDestinations extends DestinationsSpec {}
2648
2756
 
2649
2757
  /** Azure Monitor Metrics destination. */
2650
- export type DestinationsSpecAzureMonitorMetrics = AzureMonitorMetricsDestination;
2758
+ export interface DestinationsSpecAzureMonitorMetrics
2759
+ extends AzureMonitorMetricsDestination {}
2651
2760
 
2652
2761
  /** Criterion to filter metrics. */
2653
- export type MetricCriteria = MultiMetricCriteria & {
2762
+ export interface MetricCriteria extends MultiMetricCriteria {
2654
2763
  /** Polymorphic discriminator, which specifies the different types this object can be */
2655
2764
  criterionType: "StaticThresholdCriterion";
2656
2765
  /** the criteria operator. */
2657
2766
  operator: Operator;
2658
2767
  /** the criteria threshold value that activates the alert. */
2659
2768
  threshold: number;
2660
- };
2769
+ }
2661
2770
 
2662
2771
  /** Criterion for dynamic threshold. */
2663
- export type DynamicMetricCriteria = MultiMetricCriteria & {
2772
+ export interface DynamicMetricCriteria extends MultiMetricCriteria {
2664
2773
  /** Polymorphic discriminator, which specifies the different types this object can be */
2665
2774
  criterionType: "DynamicThresholdCriterion";
2666
2775
  /** The operator used to compare the metric value against the threshold. */
@@ -2671,7 +2780,44 @@ export type DynamicMetricCriteria = MultiMetricCriteria & {
2671
2780
  failingPeriods: DynamicThresholdFailingPeriods;
2672
2781
  /** Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) */
2673
2782
  ignoreDataBefore?: Date;
2674
- };
2783
+ }
2784
+
2785
+ /** An Azure Monitor PrivateLinkScope definition. */
2786
+ export interface AzureMonitorPrivateLinkScope extends TrackedResource {
2787
+ /**
2788
+ * System data
2789
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2790
+ */
2791
+ readonly systemData?: SystemData;
2792
+ /**
2793
+ * 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.
2794
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2795
+ */
2796
+ readonly provisioningState?: string;
2797
+ /**
2798
+ * List of private endpoint connections.
2799
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2800
+ */
2801
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
2802
+ /** Access mode settings */
2803
+ accessModeSettings: AccessModeSettings;
2804
+ }
2805
+
2806
+ /** A private link scoped resource */
2807
+ export interface ScopedResource extends ProxyResourceAutoGenerated {
2808
+ /**
2809
+ * System data
2810
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2811
+ */
2812
+ readonly systemData?: SystemData;
2813
+ /** The resource id of the scoped Azure monitor resource. */
2814
+ linkedResourceId?: string;
2815
+ /**
2816
+ * State of the private endpoint connection.
2817
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2818
+ */
2819
+ readonly provisioningState?: string;
2820
+ }
2675
2821
 
2676
2822
  /** Defines headers for ActionGroups_postTestNotifications operation. */
2677
2823
  export interface ActionGroupsPostTestNotificationsHeaders {
@@ -2693,7 +2839,9 @@ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeader
2693
2839
 
2694
2840
  /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
2695
2841
  export enum KnownScaleRuleMetricDimensionOperationType {
2842
+ /** Equals */
2696
2843
  Equals = "Equals",
2844
+ /** NotEquals */
2697
2845
  NotEquals = "NotEquals"
2698
2846
  }
2699
2847
 
@@ -2707,12 +2855,59 @@ export enum KnownScaleRuleMetricDimensionOperationType {
2707
2855
  */
2708
2856
  export type ScaleRuleMetricDimensionOperationType = string;
2709
2857
 
2858
+ /** Known values of {@link CreatedByType} that the service accepts. */
2859
+ export enum KnownCreatedByType {
2860
+ /** User */
2861
+ User = "User",
2862
+ /** Application */
2863
+ Application = "Application",
2864
+ /** ManagedIdentity */
2865
+ ManagedIdentity = "ManagedIdentity",
2866
+ /** Key */
2867
+ Key = "Key"
2868
+ }
2869
+
2870
+ /**
2871
+ * Defines values for CreatedByType. \
2872
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2873
+ * this enum contains the known values that the service supports.
2874
+ * ### Known values supported by the service
2875
+ * **User** \
2876
+ * **Application** \
2877
+ * **ManagedIdentity** \
2878
+ * **Key**
2879
+ */
2880
+ export type CreatedByType = string;
2881
+
2882
+ /** Known values of {@link CategoryType} that the service accepts. */
2883
+ export enum KnownCategoryType {
2884
+ /** Metrics */
2885
+ Metrics = "Metrics",
2886
+ /** Logs */
2887
+ Logs = "Logs"
2888
+ }
2889
+
2890
+ /**
2891
+ * Defines values for CategoryType. \
2892
+ * {@link KnownCategoryType} can be used interchangeably with CategoryType,
2893
+ * this enum contains the known values that the service supports.
2894
+ * ### Known values supported by the service
2895
+ * **Metrics** \
2896
+ * **Logs**
2897
+ */
2898
+ export type CategoryType = string;
2899
+
2710
2900
  /** Known values of {@link MetricClass} that the service accepts. */
2711
2901
  export enum KnownMetricClass {
2902
+ /** Availability */
2712
2903
  Availability = "Availability",
2904
+ /** Transactions */
2713
2905
  Transactions = "Transactions",
2906
+ /** Errors */
2714
2907
  Errors = "Errors",
2908
+ /** Latency */
2715
2909
  Latency = "Latency",
2910
+ /** Saturation */
2716
2911
  Saturation = "Saturation"
2717
2912
  }
2718
2913
 
@@ -2731,18 +2926,31 @@ export type MetricClass = string;
2731
2926
 
2732
2927
  /** Known values of {@link MetricUnit} that the service accepts. */
2733
2928
  export enum KnownMetricUnit {
2929
+ /** Count */
2734
2930
  Count = "Count",
2931
+ /** Bytes */
2735
2932
  Bytes = "Bytes",
2933
+ /** Seconds */
2736
2934
  Seconds = "Seconds",
2935
+ /** CountPerSecond */
2737
2936
  CountPerSecond = "CountPerSecond",
2937
+ /** BytesPerSecond */
2738
2938
  BytesPerSecond = "BytesPerSecond",
2939
+ /** Percent */
2739
2940
  Percent = "Percent",
2941
+ /** MilliSeconds */
2740
2942
  MilliSeconds = "MilliSeconds",
2943
+ /** ByteSeconds */
2741
2944
  ByteSeconds = "ByteSeconds",
2945
+ /** Unspecified */
2742
2946
  Unspecified = "Unspecified",
2947
+ /** Cores */
2743
2948
  Cores = "Cores",
2949
+ /** MilliCores */
2744
2950
  MilliCores = "MilliCores",
2951
+ /** NanoCores */
2745
2952
  NanoCores = "NanoCores",
2953
+ /** BitsPerSecond */
2746
2954
  BitsPerSecond = "BitsPerSecond"
2747
2955
  }
2748
2956
 
@@ -2769,8 +2977,11 @@ export type MetricUnit = string;
2769
2977
 
2770
2978
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
2771
2979
  export enum KnownBaselineSensitivity {
2980
+ /** Low */
2772
2981
  Low = "Low",
2982
+ /** Medium */
2773
2983
  Medium = "Medium",
2984
+ /** High */
2774
2985
  High = "High"
2775
2986
  }
2776
2987
 
@@ -2787,8 +2998,11 @@ export type BaselineSensitivity = string;
2787
2998
 
2788
2999
  /** Known values of {@link Odatatype} that the service accepts. */
2789
3000
  export enum KnownOdatatype {
3001
+ /** MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria */
2790
3002
  MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
3003
+ /** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
2791
3004
  MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
3005
+ /** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
2792
3006
  MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
2793
3007
  }
2794
3008
 
@@ -2805,7 +3019,9 @@ export type Odatatype = string;
2805
3019
 
2806
3020
  /** Known values of {@link Enabled} that the service accepts. */
2807
3021
  export enum KnownEnabled {
3022
+ /** True */
2808
3023
  True = "true",
3024
+ /** False */
2809
3025
  False = "false"
2810
3026
  }
2811
3027
 
@@ -2821,9 +3037,13 @@ export type Enabled = string;
2821
3037
 
2822
3038
  /** Known values of {@link ProvisioningState} that the service accepts. */
2823
3039
  export enum KnownProvisioningState {
3040
+ /** Succeeded */
2824
3041
  Succeeded = "Succeeded",
3042
+ /** Deploying */
2825
3043
  Deploying = "Deploying",
3044
+ /** Canceled */
2826
3045
  Canceled = "Canceled",
3046
+ /** Failed */
2827
3047
  Failed = "Failed"
2828
3048
  }
2829
3049
 
@@ -2841,6 +3061,7 @@ export type ProvisioningState = string;
2841
3061
 
2842
3062
  /** Known values of {@link QueryType} that the service accepts. */
2843
3063
  export enum KnownQueryType {
3064
+ /** ResultCount */
2844
3065
  ResultCount = "ResultCount"
2845
3066
  }
2846
3067
 
@@ -2855,8 +3076,11 @@ export type QueryType = string;
2855
3076
 
2856
3077
  /** Known values of {@link NamespaceClassification} that the service accepts. */
2857
3078
  export enum KnownNamespaceClassification {
3079
+ /** Platform */
2858
3080
  Platform = "Platform",
3081
+ /** Custom */
2859
3082
  Custom = "Custom",
3083
+ /** Qos */
2860
3084
  Qos = "Qos"
2861
3085
  }
2862
3086
 
@@ -2873,8 +3097,11 @@ export type NamespaceClassification = string;
2873
3097
 
2874
3098
  /** Known values of {@link OnboardingStatus} that the service accepts. */
2875
3099
  export enum KnownOnboardingStatus {
3100
+ /** Onboarded */
2876
3101
  Onboarded = "onboarded",
3102
+ /** NotOnboarded */
2877
3103
  NotOnboarded = "notOnboarded",
3104
+ /** Unknown */
2878
3105
  Unknown = "unknown"
2879
3106
  }
2880
3107
 
@@ -2891,7 +3118,9 @@ export type OnboardingStatus = string;
2891
3118
 
2892
3119
  /** Known values of {@link DataStatus} that the service accepts. */
2893
3120
  export enum KnownDataStatus {
3121
+ /** Present */
2894
3122
  Present = "present",
3123
+ /** NotPresent */
2895
3124
  NotPresent = "notPresent"
2896
3125
  }
2897
3126
 
@@ -2905,9 +3134,74 @@ export enum KnownDataStatus {
2905
3134
  */
2906
3135
  export type DataStatus = string;
2907
3136
 
3137
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
3138
+ export enum KnownPrivateEndpointServiceConnectionStatus {
3139
+ /** Pending */
3140
+ Pending = "Pending",
3141
+ /** Approved */
3142
+ Approved = "Approved",
3143
+ /** Rejected */
3144
+ Rejected = "Rejected"
3145
+ }
3146
+
3147
+ /**
3148
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
3149
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
3150
+ * this enum contains the known values that the service supports.
3151
+ * ### Known values supported by the service
3152
+ * **Pending** \
3153
+ * **Approved** \
3154
+ * **Rejected**
3155
+ */
3156
+ export type PrivateEndpointServiceConnectionStatus = string;
3157
+
3158
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
3159
+ export enum KnownPrivateEndpointConnectionProvisioningState {
3160
+ /** Succeeded */
3161
+ Succeeded = "Succeeded",
3162
+ /** Creating */
3163
+ Creating = "Creating",
3164
+ /** Deleting */
3165
+ Deleting = "Deleting",
3166
+ /** Failed */
3167
+ Failed = "Failed"
3168
+ }
3169
+
3170
+ /**
3171
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
3172
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
3173
+ * this enum contains the known values that the service supports.
3174
+ * ### Known values supported by the service
3175
+ * **Succeeded** \
3176
+ * **Creating** \
3177
+ * **Deleting** \
3178
+ * **Failed**
3179
+ */
3180
+ export type PrivateEndpointConnectionProvisioningState = string;
3181
+
3182
+ /** Known values of {@link AccessMode} that the service accepts. */
3183
+ export enum KnownAccessMode {
3184
+ /** Open */
3185
+ Open = "Open",
3186
+ /** PrivateOnly */
3187
+ PrivateOnly = "PrivateOnly"
3188
+ }
3189
+
3190
+ /**
3191
+ * Defines values for AccessMode. \
3192
+ * {@link KnownAccessMode} can be used interchangeably with AccessMode,
3193
+ * this enum contains the known values that the service supports.
3194
+ * ### Known values supported by the service
3195
+ * **Open** \
3196
+ * **PrivateOnly**
3197
+ */
3198
+ export type AccessMode = string;
3199
+
2908
3200
  /** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
2909
3201
  export enum KnownKnownPublicNetworkAccessOptions {
3202
+ /** Enabled */
2910
3203
  Enabled = "Enabled",
3204
+ /** Disabled */
2911
3205
  Disabled = "Disabled"
2912
3206
  }
2913
3207
 
@@ -2923,10 +3217,15 @@ export type KnownPublicNetworkAccessOptions = string;
2923
3217
 
2924
3218
  /** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
2925
3219
  export enum KnownKnownDataCollectionEndpointProvisioningState {
3220
+ /** Creating */
2926
3221
  Creating = "Creating",
3222
+ /** Updating */
2927
3223
  Updating = "Updating",
3224
+ /** Deleting */
2928
3225
  Deleting = "Deleting",
3226
+ /** Succeeded */
2929
3227
  Succeeded = "Succeeded",
3228
+ /** Failed */
2930
3229
  Failed = "Failed"
2931
3230
  }
2932
3231
 
@@ -2945,7 +3244,9 @@ export type KnownDataCollectionEndpointProvisioningState = string;
2945
3244
 
2946
3245
  /** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
2947
3246
  export enum KnownKnownDataCollectionEndpointResourceKind {
3247
+ /** Linux */
2948
3248
  Linux = "Linux",
3249
+ /** Windows */
2949
3250
  Windows = "Windows"
2950
3251
  }
2951
3252
 
@@ -2959,32 +3260,17 @@ export enum KnownKnownDataCollectionEndpointResourceKind {
2959
3260
  */
2960
3261
  export type KnownDataCollectionEndpointResourceKind = string;
2961
3262
 
2962
- /** Known values of {@link CreatedByType} that the service accepts. */
2963
- export enum KnownCreatedByType {
2964
- User = "User",
2965
- Application = "Application",
2966
- ManagedIdentity = "ManagedIdentity",
2967
- Key = "Key"
2968
- }
2969
-
2970
- /**
2971
- * Defines values for CreatedByType. \
2972
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
2973
- * this enum contains the known values that the service supports.
2974
- * ### Known values supported by the service
2975
- * **User** \
2976
- * **Application** \
2977
- * **ManagedIdentity** \
2978
- * **Key**
2979
- */
2980
- export type CreatedByType = string;
2981
-
2982
3263
  /** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
2983
3264
  export enum KnownKnownDataCollectionRuleAssociationProvisioningState {
3265
+ /** Creating */
2984
3266
  Creating = "Creating",
3267
+ /** Updating */
2985
3268
  Updating = "Updating",
3269
+ /** Deleting */
2986
3270
  Deleting = "Deleting",
3271
+ /** Succeeded */
2987
3272
  Succeeded = "Succeeded",
3273
+ /** Failed */
2988
3274
  Failed = "Failed"
2989
3275
  }
2990
3276
 
@@ -3003,12 +3289,19 @@ export type KnownDataCollectionRuleAssociationProvisioningState = string;
3003
3289
 
3004
3290
  /** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
3005
3291
  export enum KnownKnownColumnDefinitionType {
3292
+ /** String */
3006
3293
  String = "string",
3294
+ /** Int */
3007
3295
  Int = "int",
3296
+ /** Long */
3008
3297
  Long = "long",
3298
+ /** Real */
3009
3299
  Real = "real",
3300
+ /** Boolean */
3010
3301
  Boolean = "boolean",
3302
+ /** Datetime */
3011
3303
  Datetime = "datetime",
3304
+ /** Dynamic */
3012
3305
  Dynamic = "dynamic"
3013
3306
  }
3014
3307
 
@@ -3029,7 +3322,9 @@ export type KnownColumnDefinitionType = string;
3029
3322
 
3030
3323
  /** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
3031
3324
  export enum KnownKnownPerfCounterDataSourceStreams {
3325
+ /** MicrosoftPerf */
3032
3326
  MicrosoftPerf = "Microsoft-Perf",
3327
+ /** MicrosoftInsightsMetrics */
3033
3328
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
3034
3329
  }
3035
3330
 
@@ -3045,7 +3340,9 @@ export type KnownPerfCounterDataSourceStreams = string;
3045
3340
 
3046
3341
  /** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
3047
3342
  export enum KnownKnownWindowsEventLogDataSourceStreams {
3343
+ /** MicrosoftWindowsEvent */
3048
3344
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
3345
+ /** MicrosoftEvent */
3049
3346
  MicrosoftEvent = "Microsoft-Event"
3050
3347
  }
3051
3348
 
@@ -3061,6 +3358,7 @@ export type KnownWindowsEventLogDataSourceStreams = string;
3061
3358
 
3062
3359
  /** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
3063
3360
  export enum KnownKnownSyslogDataSourceStreams {
3361
+ /** MicrosoftSyslog */
3064
3362
  MicrosoftSyslog = "Microsoft-Syslog"
3065
3363
  }
3066
3364
 
@@ -3075,26 +3373,47 @@ export type KnownSyslogDataSourceStreams = string;
3075
3373
 
3076
3374
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
3077
3375
  export enum KnownKnownSyslogDataSourceFacilityNames {
3376
+ /** Auth */
3078
3377
  Auth = "auth",
3378
+ /** Authpriv */
3079
3379
  Authpriv = "authpriv",
3380
+ /** Cron */
3080
3381
  Cron = "cron",
3382
+ /** Daemon */
3081
3383
  Daemon = "daemon",
3384
+ /** Kern */
3082
3385
  Kern = "kern",
3386
+ /** Lpr */
3083
3387
  Lpr = "lpr",
3388
+ /** Mail */
3084
3389
  Mail = "mail",
3390
+ /** Mark */
3085
3391
  Mark = "mark",
3392
+ /** News */
3086
3393
  News = "news",
3394
+ /** Syslog */
3087
3395
  Syslog = "syslog",
3396
+ /** User */
3088
3397
  User = "user",
3398
+ /** Uucp */
3089
3399
  Uucp = "uucp",
3400
+ /** Local0 */
3090
3401
  Local0 = "local0",
3402
+ /** Local1 */
3091
3403
  Local1 = "local1",
3404
+ /** Local2 */
3092
3405
  Local2 = "local2",
3406
+ /** Local3 */
3093
3407
  Local3 = "local3",
3408
+ /** Local4 */
3094
3409
  Local4 = "local4",
3410
+ /** Local5 */
3095
3411
  Local5 = "local5",
3412
+ /** Local6 */
3096
3413
  Local6 = "local6",
3414
+ /** Local7 */
3097
3415
  Local7 = "local7",
3416
+ /** Asterisk */
3098
3417
  Asterisk = "*"
3099
3418
  }
3100
3419
 
@@ -3129,14 +3448,23 @@ export type KnownSyslogDataSourceFacilityNames = string;
3129
3448
 
3130
3449
  /** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
3131
3450
  export enum KnownKnownSyslogDataSourceLogLevels {
3451
+ /** Debug */
3132
3452
  Debug = "Debug",
3453
+ /** Info */
3133
3454
  Info = "Info",
3455
+ /** Notice */
3134
3456
  Notice = "Notice",
3457
+ /** Warning */
3135
3458
  Warning = "Warning",
3459
+ /** Error */
3136
3460
  Error = "Error",
3461
+ /** Critical */
3137
3462
  Critical = "Critical",
3463
+ /** Alert */
3138
3464
  Alert = "Alert",
3465
+ /** Emergency */
3139
3466
  Emergency = "Emergency",
3467
+ /** Asterisk */
3140
3468
  Asterisk = "*"
3141
3469
  }
3142
3470
 
@@ -3159,10 +3487,15 @@ export type KnownSyslogDataSourceLogLevels = string;
3159
3487
 
3160
3488
  /** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
3161
3489
  export enum KnownKnownExtensionDataSourceStreams {
3490
+ /** MicrosoftEvent */
3162
3491
  MicrosoftEvent = "Microsoft-Event",
3492
+ /** MicrosoftInsightsMetrics */
3163
3493
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
3494
+ /** MicrosoftPerf */
3164
3495
  MicrosoftPerf = "Microsoft-Perf",
3496
+ /** MicrosoftSyslog */
3165
3497
  MicrosoftSyslog = "Microsoft-Syslog",
3498
+ /** MicrosoftWindowsEvent */
3166
3499
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
3167
3500
  }
3168
3501
 
@@ -3181,6 +3514,7 @@ export type KnownExtensionDataSourceStreams = string;
3181
3514
 
3182
3515
  /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
3183
3516
  export enum KnownKnownLogFilesDataSourceFormat {
3517
+ /** Text */
3184
3518
  Text = "text"
3185
3519
  }
3186
3520
 
@@ -3195,14 +3529,23 @@ export type KnownLogFilesDataSourceFormat = string;
3195
3529
 
3196
3530
  /** Known values of {@link KnownLogFileTextSettingsRecordStartTimestampFormat} that the service accepts. */
3197
3531
  export enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
3532
+ /** ISO8601 */
3198
3533
  ISO8601 = "ISO 8601",
3534
+ /** YyyyMMDDHHMMSS */
3199
3535
  YyyyMMDDHHMMSS = "YYYY-MM-DD HH:MM:SS",
3536
+ /** MDYyyyHHMMSSAMPM */
3200
3537
  MDYyyyHHMMSSAMPM = "M/D/YYYY HH:MM:SS AM/PM",
3538
+ /** MonDDYyyyHHMMSS */
3201
3539
  MonDDYyyyHHMMSS = "Mon DD, YYYY HH:MM:SS",
3540
+ /** YyMMddHHMmSs */
3202
3541
  YyMMddHHMmSs = "yyMMdd HH:mm:ss",
3542
+ /** DdMMyyHHMmSs */
3203
3543
  DdMMyyHHMmSs = "ddMMyy HH:mm:ss",
3544
+ /** MMMDHhMmSs */
3204
3545
  MMMDHhMmSs = "MMM d hh:mm:ss",
3546
+ /** DdMMMYyyyHHMmSsZzz */
3205
3547
  DdMMMYyyyHHMmSsZzz = "dd/MMM/yyyy:HH:mm:ss zzz",
3548
+ /** YyyyMMDdTHHMmSsK */
3206
3549
  YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK"
3207
3550
  }
3208
3551
 
@@ -3225,10 +3568,15 @@ export type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
3225
3568
 
3226
3569
  /** Known values of {@link KnownDataFlowStreams} that the service accepts. */
3227
3570
  export enum KnownKnownDataFlowStreams {
3571
+ /** MicrosoftEvent */
3228
3572
  MicrosoftEvent = "Microsoft-Event",
3573
+ /** MicrosoftInsightsMetrics */
3229
3574
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
3575
+ /** MicrosoftPerf */
3230
3576
  MicrosoftPerf = "Microsoft-Perf",
3577
+ /** MicrosoftSyslog */
3231
3578
  MicrosoftSyslog = "Microsoft-Syslog",
3579
+ /** MicrosoftWindowsEvent */
3232
3580
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
3233
3581
  }
3234
3582
 
@@ -3247,10 +3595,15 @@ export type KnownDataFlowStreams = string;
3247
3595
 
3248
3596
  /** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
3249
3597
  export enum KnownKnownDataCollectionRuleProvisioningState {
3598
+ /** Creating */
3250
3599
  Creating = "Creating",
3600
+ /** Updating */
3251
3601
  Updating = "Updating",
3602
+ /** Deleting */
3252
3603
  Deleting = "Deleting",
3604
+ /** Succeeded */
3253
3605
  Succeeded = "Succeeded",
3606
+ /** Failed */
3254
3607
  Failed = "Failed"
3255
3608
  }
3256
3609
 
@@ -3269,7 +3622,9 @@ export type KnownDataCollectionRuleProvisioningState = string;
3269
3622
 
3270
3623
  /** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
3271
3624
  export enum KnownKnownDataCollectionRuleResourceKind {
3625
+ /** Linux */
3272
3626
  Linux = "Linux",
3627
+ /** Windows */
3273
3628
  Windows = "Windows"
3274
3629
  }
3275
3630
 
@@ -3285,11 +3640,17 @@ export type KnownDataCollectionRuleResourceKind = string;
3285
3640
 
3286
3641
  /** Known values of {@link Operator} that the service accepts. */
3287
3642
  export enum KnownOperator {
3643
+ /** Equals */
3288
3644
  Equals = "Equals",
3645
+ /** GreaterThan */
3289
3646
  GreaterThan = "GreaterThan",
3647
+ /** GreaterThanOrEqual */
3290
3648
  GreaterThanOrEqual = "GreaterThanOrEqual",
3649
+ /** LessThan */
3291
3650
  LessThan = "LessThan",
3651
+ /** LessThanOrEqual */
3292
3652
  LessThanOrEqual = "LessThanOrEqual",
3653
+ /** Include */
3293
3654
  Include = "Include"
3294
3655
  }
3295
3656
 
@@ -3309,7 +3670,9 @@ export type Operator = string;
3309
3670
 
3310
3671
  /** Known values of {@link CriterionType} that the service accepts. */
3311
3672
  export enum KnownCriterionType {
3673
+ /** StaticThresholdCriterion */
3312
3674
  StaticThresholdCriterion = "StaticThresholdCriterion",
3675
+ /** DynamicThresholdCriterion */
3313
3676
  DynamicThresholdCriterion = "DynamicThresholdCriterion"
3314
3677
  }
3315
3678
 
@@ -3325,10 +3688,15 @@ export type CriterionType = string;
3325
3688
 
3326
3689
  /** Known values of {@link AggregationTypeEnum} that the service accepts. */
3327
3690
  export enum KnownAggregationTypeEnum {
3691
+ /** Average */
3328
3692
  Average = "Average",
3693
+ /** Count */
3329
3694
  Count = "Count",
3695
+ /** Minimum */
3330
3696
  Minimum = "Minimum",
3697
+ /** Maximum */
3331
3698
  Maximum = "Maximum",
3699
+ /** Total */
3332
3700
  Total = "Total"
3333
3701
  }
3334
3702
 
@@ -3347,8 +3715,11 @@ export type AggregationTypeEnum = string;
3347
3715
 
3348
3716
  /** Known values of {@link DynamicThresholdOperator} that the service accepts. */
3349
3717
  export enum KnownDynamicThresholdOperator {
3718
+ /** GreaterThan */
3350
3719
  GreaterThan = "GreaterThan",
3720
+ /** LessThan */
3351
3721
  LessThan = "LessThan",
3722
+ /** GreaterOrLessThan */
3352
3723
  GreaterOrLessThan = "GreaterOrLessThan"
3353
3724
  }
3354
3725
 
@@ -3365,8 +3736,11 @@ export type DynamicThresholdOperator = string;
3365
3736
 
3366
3737
  /** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
3367
3738
  export enum KnownDynamicThresholdSensitivity {
3739
+ /** Low */
3368
3740
  Low = "Low",
3741
+ /** Medium */
3369
3742
  Medium = "Medium",
3743
+ /** High */
3370
3744
  High = "High"
3371
3745
  }
3372
3746
 
@@ -3383,10 +3757,15 @@ export type DynamicThresholdSensitivity = string;
3383
3757
 
3384
3758
  /** Known values of {@link ConditionalOperator} that the service accepts. */
3385
3759
  export enum KnownConditionalOperator {
3760
+ /** GreaterThanOrEqual */
3386
3761
  GreaterThanOrEqual = "GreaterThanOrEqual",
3762
+ /** LessThanOrEqual */
3387
3763
  LessThanOrEqual = "LessThanOrEqual",
3764
+ /** GreaterThan */
3388
3765
  GreaterThan = "GreaterThan",
3766
+ /** LessThan */
3389
3767
  LessThan = "LessThan",
3768
+ /** Equal */
3390
3769
  Equal = "Equal"
3391
3770
  }
3392
3771
 
@@ -3405,7 +3784,9 @@ export type ConditionalOperator = string;
3405
3784
 
3406
3785
  /** Known values of {@link MetricTriggerType} that the service accepts. */
3407
3786
  export enum KnownMetricTriggerType {
3787
+ /** Consecutive */
3408
3788
  Consecutive = "Consecutive",
3789
+ /** Total */
3409
3790
  Total = "Total"
3410
3791
  }
3411
3792
 
@@ -3421,10 +3802,15 @@ export type MetricTriggerType = string;
3421
3802
 
3422
3803
  /** Known values of {@link AlertSeverity} that the service accepts. */
3423
3804
  export enum KnownAlertSeverity {
3805
+ /** Zero */
3424
3806
  Zero = "0",
3807
+ /** One */
3425
3808
  One = "1",
3809
+ /** Two */
3426
3810
  Two = "2",
3811
+ /** Three */
3427
3812
  Three = "3",
3813
+ /** Four */
3428
3814
  Four = "4"
3429
3815
  }
3430
3816
 
@@ -3476,8 +3862,11 @@ export type RecurrenceFrequency =
3476
3862
  | "Week"
3477
3863
  | "Month"
3478
3864
  | "Year";
3479
- /** Defines values for CategoryType. */
3480
- export type CategoryType = "Metrics" | "Logs";
3865
+ /** Defines values for PredictiveAutoscalePolicyScaleMode. */
3866
+ export type PredictiveAutoscalePolicyScaleMode =
3867
+ | "Disabled"
3868
+ | "ForecastOnly"
3869
+ | "Enabled";
3481
3870
  /** Defines values for ReceiverStatus. */
3482
3871
  export type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
3483
3872
  /** Defines values for EventLevel. */
@@ -3564,6 +3953,13 @@ export interface AutoscaleSettingsListBySubscriptionNextOptionalParams
3564
3953
  /** Contains response data for the listBySubscriptionNext operation. */
3565
3954
  export type AutoscaleSettingsListBySubscriptionNextResponse = AutoscaleSettingResourceCollection;
3566
3955
 
3956
+ /** Optional parameters. */
3957
+ export interface PredictiveMetricGetOptionalParams
3958
+ extends coreClient.OperationOptions {}
3959
+
3960
+ /** Contains response data for the get operation. */
3961
+ export type PredictiveMetricGetResponse = PredictiveResponse;
3962
+
3567
3963
  /** Optional parameters. */
3568
3964
  export interface OperationsListOptionalParams
3569
3965
  extends coreClient.OperationOptions {}
@@ -3730,7 +4126,7 @@ export interface ActionGroupsPostTestNotificationsOptionalParams
3730
4126
  }
3731
4127
 
3732
4128
  /** Contains response data for the postTestNotifications operation. */
3733
- export type ActionGroupsPostTestNotificationsResponse = ActionGroupsPostTestNotificationsHeaders;
4129
+ export type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
3734
4130
 
3735
4131
  /** Optional parameters. */
3736
4132
  export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams
@@ -3742,7 +4138,7 @@ export interface ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalPara
3742
4138
  }
3743
4139
 
3744
4140
  /** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
3745
- export type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders;
4141
+ export type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
3746
4142
 
3747
4143
  /** Optional parameters. */
3748
4144
  export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams
@@ -3754,7 +4150,7 @@ export interface ActionGroupsCreateNotificationsAtActionGroupResourceLevelOption
3754
4150
  }
3755
4151
 
3756
4152
  /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
3757
- export type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders;
4153
+ export type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
3758
4154
 
3759
4155
  /** Optional parameters. */
3760
4156
  export interface ActionGroupsGetTestNotificationsOptionalParams
@@ -4107,13 +4503,6 @@ export interface PrivateLinkResourcesGetOptionalParams
4107
4503
  /** Contains response data for the get operation. */
4108
4504
  export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
4109
4505
 
4110
- /** Optional parameters. */
4111
- export interface PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams
4112
- extends coreClient.OperationOptions {}
4113
-
4114
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
4115
- export type PrivateLinkResourcesListByPrivateLinkScopeNextResponse = PrivateLinkResourceListResult;
4116
-
4117
4506
  /** Optional parameters. */
4118
4507
  export interface PrivateEndpointConnectionsGetOptionalParams
4119
4508
  extends coreClient.OperationOptions {}
@@ -4149,13 +4538,6 @@ export interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
4149
4538
  /** Contains response data for the listByPrivateLinkScope operation. */
4150
4539
  export type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
4151
4540
 
4152
- /** Optional parameters. */
4153
- export interface PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams
4154
- extends coreClient.OperationOptions {}
4155
-
4156
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
4157
- export type PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse = PrivateEndpointConnectionListResult;
4158
-
4159
4541
  /** Optional parameters. */
4160
4542
  export interface PrivateLinkScopedResourcesGetOptionalParams
4161
4543
  extends coreClient.OperationOptions {}