@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
@@ -4,6 +4,36 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
4
  import { PollerLike } from '@azure/core-lro';
5
5
  import { PollOperationState } from '@azure/core-lro';
6
6
 
7
+ /**
8
+ * Defines values for AccessMode. \
9
+ * {@link KnownAccessMode} can be used interchangeably with AccessMode,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **Open** \
13
+ * **PrivateOnly**
14
+ */
15
+ export declare type AccessMode = string;
16
+
17
+ /** Properties that define the scope private link mode settings. */
18
+ export declare interface AccessModeSettings {
19
+ /** 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. */
20
+ queryAccessMode: AccessMode;
21
+ /** 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. */
22
+ ingestionAccessMode: AccessMode;
23
+ /** List of exclusions that override the default access mode settings for specific private endpoint connections. */
24
+ exclusions?: AccessModeSettingsExclusion[];
25
+ }
26
+
27
+ /** 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. */
28
+ export declare interface AccessModeSettingsExclusion {
29
+ /** The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings. */
30
+ privateEndpointConnectionName?: string;
31
+ /** Specifies the access mode of queries through the specified private endpoint connection in the exclusion. */
32
+ queryAccessMode?: AccessMode;
33
+ /** Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion. */
34
+ ingestionAccessMode?: AccessMode;
35
+ }
36
+
7
37
  /** Action descriptor. */
8
38
  export declare interface Action {
9
39
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -55,7 +85,7 @@ export declare interface ActionGroupPatchBody {
55
85
  }
56
86
 
57
87
  /** An action group resource. */
58
- export declare type ActionGroupResource = AzureResource & {
88
+ export declare interface ActionGroupResource extends AzureResource {
59
89
  /** The short name of the action group. This will be used in SMS messages. */
60
90
  groupShortName?: string;
61
91
  /** Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */
@@ -82,7 +112,7 @@ export declare type ActionGroupResource = AzureResource & {
82
112
  armRoleReceivers?: ArmRoleReceiver[];
83
113
  /** The list of event hub receivers that are part of this action group. */
84
114
  eventHubReceivers?: EventHubReceiver[];
85
- };
115
+ }
86
116
 
87
117
  /** Interface representing a ActionGroups. */
88
118
  export declare interface ActionGroups {
@@ -216,7 +246,7 @@ export declare interface ActionGroupsCreateNotificationsAtActionGroupResourceLev
216
246
  }
217
247
 
218
248
  /** Contains response data for the createNotificationsAtActionGroupResourceLevel operation. */
219
- export declare type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders;
249
+ export declare type ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse = TestNotificationDetailsResponse;
220
250
 
221
251
  /** Defines headers for ActionGroups_createNotificationsAtResourceGroupLevel operation. */
222
252
  export declare interface ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders {
@@ -233,7 +263,7 @@ export declare interface ActionGroupsCreateNotificationsAtResourceGroupLevelOpti
233
263
  }
234
264
 
235
265
  /** Contains response data for the createNotificationsAtResourceGroupLevel operation. */
236
- export declare type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders;
266
+ export declare type ActionGroupsCreateNotificationsAtResourceGroupLevelResponse = TestNotificationDetailsResponse;
237
267
 
238
268
  /** Optional parameters. */
239
269
  export declare interface ActionGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
@@ -307,7 +337,7 @@ export declare interface ActionGroupsPostTestNotificationsOptionalParams extends
307
337
  }
308
338
 
309
339
  /** Contains response data for the postTestNotifications operation. */
310
- export declare type ActionGroupsPostTestNotificationsResponse = ActionGroupsPostTestNotificationsHeaders;
340
+ export declare type ActionGroupsPostTestNotificationsResponse = TestNotificationDetailsResponse;
311
341
 
312
342
  /** Optional parameters. */
313
343
  export declare interface ActionGroupsUpdateOptionalParams extends coreClient.OperationOptions {
@@ -325,7 +355,7 @@ export declare interface ActionList {
325
355
  export declare type ActionUnion = Action | AlertingAction | LogToMetricAction;
326
356
 
327
357
  /** An Activity Log Alert rule resource. */
328
- export declare type ActivityLogAlertResource = AzureResourceAutoGenerated & {
358
+ export declare interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
329
359
  /** 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. */
330
360
  scopes?: string[];
331
361
  /** The condition that will cause this alert to activate. */
@@ -336,7 +366,7 @@ export declare type ActivityLogAlertResource = AzureResourceAutoGenerated & {
336
366
  enabled?: boolean;
337
367
  /** A description of this Activity Log Alert rule. */
338
368
  description?: string;
339
- };
369
+ }
340
370
 
341
371
  /** Interface representing a ActivityLogAlerts. */
342
372
  export declare interface ActivityLogAlerts {
@@ -495,7 +525,7 @@ export declare type AggregationType = "None" | "Average" | "Count" | "Minimum" |
495
525
  export declare type AggregationTypeEnum = string;
496
526
 
497
527
  /** Specify action need to be taken when rule type is Alert */
498
- export declare type AlertingAction = Action & {
528
+ export declare interface AlertingAction extends Action {
499
529
  /** Polymorphic discriminator, which specifies the different types this object can be */
500
530
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
501
531
  /** Severity of the alert */
@@ -506,7 +536,7 @@ export declare type AlertingAction = Action & {
506
536
  throttlingInMin?: number;
507
537
  /** The trigger condition that results in the alert rule being. */
508
538
  trigger: TriggerCondition;
509
- };
539
+ }
510
540
 
511
541
  /** An Activity Log Alert rule condition that is met when all its member conditions are met. */
512
542
  export declare interface AlertRuleAllOfCondition {
@@ -524,10 +554,10 @@ export declare interface AlertRuleAllOfCondition {
524
554
  * _Please note, 'field', 'equals' and 'containsAny' should __not__ be set in an AnyOf Condition._
525
555
  *
526
556
  */
527
- export declare type AlertRuleAnyOfOrLeafCondition = AlertRuleLeafCondition & {
557
+ export declare interface AlertRuleAnyOfOrLeafCondition extends AlertRuleLeafCondition {
528
558
  /** An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met. */
529
559
  anyOf?: AlertRuleLeafCondition[];
530
- };
560
+ }
531
561
 
532
562
  /** Interface representing a AlertRuleIncidents. */
533
563
  export declare interface AlertRuleIncidents {
@@ -597,7 +627,7 @@ export declare interface AlertRulePatchObject {
597
627
  }
598
628
 
599
629
  /** The alert rule resource. */
600
- export declare type AlertRuleResource = Resource & {
630
+ export declare interface AlertRuleResource extends ResourceAutoGenerated {
601
631
  /** the name of the alert rule. */
602
632
  namePropertiesName: string;
603
633
  /** the description of the alert rule that will be included in the alert email. */
@@ -617,7 +647,7 @@ export declare type AlertRuleResource = Resource & {
617
647
  * NOTE: This property will not be serialized. It can only be populated by the server.
618
648
  */
619
649
  readonly lastUpdatedTime?: Date;
620
- };
650
+ }
621
651
 
622
652
  /** Represents a collection of alert rule resources. */
623
653
  export declare interface AlertRuleResourceCollection {
@@ -778,6 +808,29 @@ export declare interface AutomationRunbookReceiver {
778
808
  useCommonAlertSchema?: boolean;
779
809
  }
780
810
 
811
+ /** Describes the format of Error response. */
812
+ export declare interface AutoscaleErrorResponse {
813
+ /** The error object. */
814
+ error?: AutoscaleErrorResponseError;
815
+ /**
816
+ * The system metadata related to the response.
817
+ * NOTE: This property will not be serialized. It can only be populated by the server.
818
+ */
819
+ readonly systemData?: SystemData;
820
+ }
821
+
822
+ /** The error object. */
823
+ export declare interface AutoscaleErrorResponseError {
824
+ /** One of a server-defined set of error codes. */
825
+ code?: string;
826
+ /** A human-readable representation of the error. */
827
+ message?: string;
828
+ /** The target of the particular error. */
829
+ target?: string;
830
+ /** A human-readable representation of the error's details. */
831
+ details?: string;
832
+ }
833
+
781
834
  /** Autoscale notification. */
782
835
  export declare interface AutoscaleNotification {
783
836
  /** the operation associated with the notification and its value must be "scale" */
@@ -803,20 +856,22 @@ export declare interface AutoscaleProfile {
803
856
  }
804
857
 
805
858
  /** The autoscale setting resource. */
806
- export declare type AutoscaleSettingResource = Resource & {
859
+ export declare interface AutoscaleSettingResource extends Resource {
807
860
  /** the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. */
808
861
  profiles: AutoscaleProfile[];
809
862
  /** the collection of notifications. */
810
863
  notifications?: AutoscaleNotification[];
811
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
864
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
812
865
  enabled?: boolean;
866
+ /** the predictive autoscale policy mode. */
867
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
813
868
  /** the name of the autoscale setting. */
814
869
  namePropertiesName?: string;
815
870
  /** the resource identifier of the resource that the autoscale setting should be added to. */
816
871
  targetResourceUri?: string;
817
872
  /** the location of the resource that the autoscale setting should be added to. */
818
873
  targetResourceLocation?: string;
819
- };
874
+ }
820
875
 
821
876
  /** Represents a collection of autoscale setting resources. */
822
877
  export declare interface AutoscaleSettingResourceCollection {
@@ -836,8 +891,10 @@ export declare interface AutoscaleSettingResourcePatch {
836
891
  profiles?: AutoscaleProfile[];
837
892
  /** the collection of notifications. */
838
893
  notifications?: AutoscaleNotification[];
839
- /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'. */
894
+ /** the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. */
840
895
  enabled?: boolean;
896
+ /** the predictive autoscale policy mode. */
897
+ predictiveAutoscalePolicy?: PredictiveAutoscalePolicy;
841
898
  /** the name of the autoscale setting. */
842
899
  name?: string;
843
900
  /** the resource identifier of the resource that the autoscale setting should be added to. */
@@ -986,7 +1043,12 @@ export declare interface AzureMonitorMetricsDestination {
986
1043
  }
987
1044
 
988
1045
  /** An Azure Monitor PrivateLinkScope definition. */
989
- export declare type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
1046
+ export declare interface AzureMonitorPrivateLinkScope extends TrackedResource {
1047
+ /**
1048
+ * System data
1049
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1050
+ */
1051
+ readonly systemData?: SystemData;
990
1052
  /**
991
1053
  * 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.
992
1054
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -997,7 +1059,9 @@ export declare type AzureMonitorPrivateLinkScope = PrivateLinkScopesResource & {
997
1059
  * NOTE: This property will not be serialized. It can only be populated by the server.
998
1060
  */
999
1061
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
1000
- };
1062
+ /** Access mode settings */
1063
+ accessModeSettings: AccessModeSettings;
1064
+ }
1001
1065
 
1002
1066
  /** Describes the list of Azure Monitor PrivateLinkScope resources. */
1003
1067
  export declare interface AzureMonitorPrivateLinkScopeListResult {
@@ -1024,16 +1088,6 @@ export declare interface AzureResource {
1024
1088
  * NOTE: This property will not be serialized. It can only be populated by the server.
1025
1089
  */
1026
1090
  readonly type?: string;
1027
- /**
1028
- * Azure resource kind
1029
- * NOTE: This property will not be serialized. It can only be populated by the server.
1030
- */
1031
- readonly kind?: string;
1032
- /**
1033
- * Azure resource identity
1034
- * NOTE: This property will not be serialized. It can only be populated by the server.
1035
- */
1036
- readonly identity?: string;
1037
1091
  /** Resource location */
1038
1092
  location: string;
1039
1093
  /** Resource tags */
@@ -1119,8 +1173,15 @@ export declare interface BaselinesListOptionalParams extends coreClient.Operatio
1119
1173
  /** Contains response data for the list operation. */
1120
1174
  export declare type BaselinesListResponse = MetricBaselinesResponse;
1121
1175
 
1122
- /** Defines values for CategoryType. */
1123
- export declare type CategoryType = "Metrics" | "Logs";
1176
+ /**
1177
+ * Defines values for CategoryType. \
1178
+ * {@link KnownCategoryType} can be used interchangeably with CategoryType,
1179
+ * this enum contains the known values that the service supports.
1180
+ * ### Known values supported by the service
1181
+ * **Metrics** \
1182
+ * **Logs**
1183
+ */
1184
+ export declare type CategoryType = string;
1124
1185
 
1125
1186
  /** Definition of custom data column. */
1126
1187
  export declare interface ColumnDefinition {
@@ -1216,13 +1277,16 @@ export declare interface DataCollectionEndpoint {
1216
1277
  }
1217
1278
 
1218
1279
  /** The endpoint used by clients to access their configuration. */
1219
- export declare type DataCollectionEndpointConfigurationAccess = ConfigurationAccessEndpointSpec;
1280
+ export declare interface DataCollectionEndpointConfigurationAccess extends ConfigurationAccessEndpointSpec {
1281
+ }
1220
1282
 
1221
1283
  /** The endpoint used by clients to ingest logs. */
1222
- export declare type DataCollectionEndpointLogsIngestion = LogsIngestionEndpointSpec;
1284
+ export declare interface DataCollectionEndpointLogsIngestion extends LogsIngestionEndpointSpec {
1285
+ }
1223
1286
 
1224
1287
  /** Network access control rules for the endpoints. */
1225
- export declare type DataCollectionEndpointNetworkAcls = NetworkRuleSet;
1288
+ export declare interface DataCollectionEndpointNetworkAcls extends NetworkRuleSet {
1289
+ }
1226
1290
 
1227
1291
  /** Definition of ARM tracked top level resource. */
1228
1292
  export declare interface DataCollectionEndpointResource {
@@ -1285,10 +1349,12 @@ export declare interface DataCollectionEndpointResourceListResult {
1285
1349
  }
1286
1350
 
1287
1351
  /** Resource properties. */
1288
- export declare type DataCollectionEndpointResourceProperties = DataCollectionEndpoint;
1352
+ export declare interface DataCollectionEndpointResourceProperties extends DataCollectionEndpoint {
1353
+ }
1289
1354
 
1290
1355
  /** Metadata pertaining to creation and last modification of the resource. */
1291
- export declare type DataCollectionEndpointResourceSystemData = SystemData;
1356
+ export declare interface DataCollectionEndpointResourceSystemData extends SystemData {
1357
+ }
1292
1358
 
1293
1359
  /** Interface representing a DataCollectionEndpoints. */
1294
1360
  export declare interface DataCollectionEndpoints {
@@ -1451,7 +1517,8 @@ export declare interface DataCollectionRuleAssociation {
1451
1517
  }
1452
1518
 
1453
1519
  /** Metadata about the resource */
1454
- export declare type DataCollectionRuleAssociationMetadata = Metadata;
1520
+ export declare interface DataCollectionRuleAssociationMetadata extends Metadata {
1521
+ }
1455
1522
 
1456
1523
  /** Definition of generic ARM proxy resource. */
1457
1524
  export declare interface DataCollectionRuleAssociationProxyOnlyResource {
@@ -1507,10 +1574,12 @@ export declare interface DataCollectionRuleAssociationProxyOnlyResourceListResul
1507
1574
  }
1508
1575
 
1509
1576
  /** Resource properties. */
1510
- export declare type DataCollectionRuleAssociationProxyOnlyResourceProperties = DataCollectionRuleAssociation;
1577
+ export declare interface DataCollectionRuleAssociationProxyOnlyResourceProperties extends DataCollectionRuleAssociation {
1578
+ }
1511
1579
 
1512
1580
  /** Metadata pertaining to creation and last modification of the resource. */
1513
- export declare type DataCollectionRuleAssociationProxyOnlyResourceSystemData = SystemData;
1581
+ export declare interface DataCollectionRuleAssociationProxyOnlyResourceSystemData extends SystemData {
1582
+ }
1514
1583
 
1515
1584
  /** Interface representing a DataCollectionRuleAssociations. */
1516
1585
  export declare interface DataCollectionRuleAssociations {
@@ -1624,13 +1693,16 @@ export declare type DataCollectionRuleAssociationsListByRuleResponse = DataColle
1624
1693
  * The specification of data sources.
1625
1694
  * This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
1626
1695
  */
1627
- export declare type DataCollectionRuleDataSources = DataSourcesSpec;
1696
+ export declare interface DataCollectionRuleDataSources extends DataSourcesSpec {
1697
+ }
1628
1698
 
1629
1699
  /** The specification of destinations. */
1630
- export declare type DataCollectionRuleDestinations = DestinationsSpec;
1700
+ export declare interface DataCollectionRuleDestinations extends DestinationsSpec {
1701
+ }
1631
1702
 
1632
1703
  /** Metadata about the resource */
1633
- export declare type DataCollectionRuleMetadata = Metadata;
1704
+ export declare interface DataCollectionRuleMetadata extends Metadata {
1705
+ }
1634
1706
 
1635
1707
  /** Definition of ARM tracked top level resource. */
1636
1708
  export declare interface DataCollectionRuleResource {
@@ -1710,10 +1782,12 @@ export declare interface DataCollectionRuleResourceListResult {
1710
1782
  }
1711
1783
 
1712
1784
  /** Resource properties. */
1713
- export declare type DataCollectionRuleResourceProperties = DataCollectionRule;
1785
+ export declare interface DataCollectionRuleResourceProperties extends DataCollectionRule {
1786
+ }
1714
1787
 
1715
1788
  /** Metadata pertaining to creation and last modification of the resource. */
1716
- export declare type DataCollectionRuleResourceSystemData = SystemData;
1789
+ export declare interface DataCollectionRuleResourceSystemData extends SystemData {
1790
+ }
1717
1791
 
1718
1792
  /** Interface representing a DataCollectionRules. */
1719
1793
  export declare interface DataCollectionRules {
@@ -1859,6 +1933,12 @@ export declare interface DataSourcesSpec {
1859
1933
  */
1860
1934
  export declare type DataStatus = string;
1861
1935
 
1936
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
1937
+ export declare interface DefaultErrorResponse {
1938
+ /** The error object. */
1939
+ error?: ErrorDetail;
1940
+ }
1941
+
1862
1942
  /** Specification of destinations that can be used in data flows. */
1863
1943
  export declare interface DestinationsSpec {
1864
1944
  /** List of Log Analytics destinations. */
@@ -1868,10 +1948,17 @@ export declare interface DestinationsSpec {
1868
1948
  }
1869
1949
 
1870
1950
  /** Azure Monitor Metrics destination. */
1871
- export declare type DestinationsSpecAzureMonitorMetrics = AzureMonitorMetricsDestination;
1951
+ export declare interface DestinationsSpecAzureMonitorMetrics extends AzureMonitorMetricsDestination {
1952
+ }
1872
1953
 
1873
1954
  /** Interface representing a DiagnosticSettings. */
1874
1955
  export declare interface DiagnosticSettings {
1956
+ /**
1957
+ * Gets the active diagnostic settings list for the specified resource.
1958
+ * @param resourceUri The identifier of the resource.
1959
+ * @param options The options parameters.
1960
+ */
1961
+ list(resourceUri: string, options?: DiagnosticSettingsListOptionalParams): PagedAsyncIterableIterator<DiagnosticSettingsResource>;
1875
1962
  /**
1876
1963
  * Gets the active diagnostic settings for the specified resource.
1877
1964
  * @param resourceUri The identifier of the resource.
@@ -1894,29 +1981,23 @@ export declare interface DiagnosticSettings {
1894
1981
  * @param options The options parameters.
1895
1982
  */
1896
1983
  delete(resourceUri: string, name: string, options?: DiagnosticSettingsDeleteOptionalParams): Promise<void>;
1897
- /**
1898
- * Gets the active diagnostic settings list for the specified resource.
1899
- * @param resourceUri The identifier of the resource.
1900
- * @param options The options parameters.
1901
- */
1902
- list(resourceUri: string, options?: DiagnosticSettingsListOptionalParams): Promise<DiagnosticSettingsListResponse>;
1903
1984
  }
1904
1985
 
1905
1986
  /** Interface representing a DiagnosticSettingsCategory. */
1906
1987
  export declare interface DiagnosticSettingsCategory {
1907
1988
  /**
1908
- * Gets the diagnostic settings category for the specified resource.
1989
+ * Lists the diagnostic settings categories for the specified resource.
1909
1990
  * @param resourceUri The identifier of the resource.
1910
- * @param name The name of the diagnostic setting.
1911
1991
  * @param options The options parameters.
1912
1992
  */
1913
- get(resourceUri: string, name: string, options?: DiagnosticSettingsCategoryGetOptionalParams): Promise<DiagnosticSettingsCategoryGetResponse>;
1993
+ list(resourceUri: string, options?: DiagnosticSettingsCategoryListOptionalParams): PagedAsyncIterableIterator<DiagnosticSettingsCategoryResource>;
1914
1994
  /**
1915
- * Lists the diagnostic settings categories for the specified resource.
1995
+ * Gets the diagnostic settings category for the specified resource.
1916
1996
  * @param resourceUri The identifier of the resource.
1997
+ * @param name The name of the diagnostic setting.
1917
1998
  * @param options The options parameters.
1918
1999
  */
1919
- list(resourceUri: string, options?: DiagnosticSettingsCategoryListOptionalParams): Promise<DiagnosticSettingsCategoryListResponse>;
2000
+ get(resourceUri: string, name: string, options?: DiagnosticSettingsCategoryGetOptionalParams): Promise<DiagnosticSettingsCategoryGetResponse>;
1920
2001
  }
1921
2002
 
1922
2003
  /** Optional parameters. */
@@ -1934,10 +2015,17 @@ export declare interface DiagnosticSettingsCategoryListOptionalParams extends co
1934
2015
  export declare type DiagnosticSettingsCategoryListResponse = DiagnosticSettingsCategoryResourceCollection;
1935
2016
 
1936
2017
  /** The diagnostic settings category resource. */
1937
- export declare type DiagnosticSettingsCategoryResource = ProxyOnlyResource & {
2018
+ export declare interface DiagnosticSettingsCategoryResource extends ResourceAutoGenerated3 {
2019
+ /**
2020
+ * The system metadata related to this resource.
2021
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2022
+ */
2023
+ readonly systemData?: SystemData;
1938
2024
  /** The type of the diagnostic settings category. */
1939
2025
  categoryType?: CategoryType;
1940
- };
2026
+ /** the collection of what category groups are supported. */
2027
+ categoryGroups?: string[];
2028
+ }
1941
2029
 
1942
2030
  /** Represents a collection of diagnostic setting category resources. */
1943
2031
  export declare interface DiagnosticSettingsCategoryResourceCollection {
@@ -1971,7 +2059,12 @@ export declare interface DiagnosticSettingsListOptionalParams extends coreClient
1971
2059
  export declare type DiagnosticSettingsListResponse = DiagnosticSettingsResourceCollection;
1972
2060
 
1973
2061
  /** The diagnostic setting resource. */
1974
- export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
2062
+ export declare interface DiagnosticSettingsResource extends ResourceAutoGenerated3 {
2063
+ /**
2064
+ * The system metadata related to this resource.
2065
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2066
+ */
2067
+ readonly systemData?: SystemData;
1975
2068
  /** The resource ID of the storage account to which you would like to send Diagnostic Logs. */
1976
2069
  storageAccountId?: string;
1977
2070
  /** The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility. */
@@ -1986,9 +2079,11 @@ export declare type DiagnosticSettingsResource = ProxyOnlyResource & {
1986
2079
  logs?: LogSettings[];
1987
2080
  /** 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 */
1988
2081
  workspaceId?: string;
2082
+ /** The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. */
2083
+ marketplacePartnerId?: string;
1989
2084
  /** 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.) */
1990
2085
  logAnalyticsDestinationType?: string;
1991
- };
2086
+ }
1992
2087
 
1993
2088
  /** Represents a collection of alert rule resources. */
1994
2089
  export declare interface DiagnosticSettingsResourceCollection {
@@ -2007,7 +2102,7 @@ export declare interface Dimension {
2007
2102
  }
2008
2103
 
2009
2104
  /** Criterion for dynamic threshold. */
2010
- export declare type DynamicMetricCriteria = MultiMetricCriteria & {
2105
+ export declare interface DynamicMetricCriteria extends MultiMetricCriteria {
2011
2106
  /** Polymorphic discriminator, which specifies the different types this object can be */
2012
2107
  criterionType: "DynamicThresholdCriterion";
2013
2108
  /** The operator used to compare the metric value against the threshold. */
@@ -2018,7 +2113,7 @@ export declare type DynamicMetricCriteria = MultiMetricCriteria & {
2018
2113
  failingPeriods: DynamicThresholdFailingPeriods;
2019
2114
  /** Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) */
2020
2115
  ignoreDataBefore?: Date;
2021
- };
2116
+ }
2022
2117
 
2023
2118
  /** The minimum number of violations required within the selected lookback time window required to raise an alert. */
2024
2119
  export declare interface DynamicThresholdFailingPeriods {
@@ -2170,20 +2265,6 @@ export declare interface ErrorResponseAutoGenerated {
2170
2265
  readonly message?: string;
2171
2266
  }
2172
2267
 
2173
- /** The resource management error response. */
2174
- export declare type ErrorResponseCommon = ErrorResponse & {
2175
- /**
2176
- * The error details.
2177
- * NOTE: This property will not be serialized. It can only be populated by the server.
2178
- */
2179
- readonly details?: ErrorResponseCommon[];
2180
- /**
2181
- * The error additional info.
2182
- * NOTE: This property will not be serialized. It can only be populated by the server.
2183
- */
2184
- readonly additionalInfo?: ErrorAdditionalInfo[];
2185
- };
2186
-
2187
2268
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
2188
2269
  export declare interface ErrorResponseCommonV2 {
2189
2270
  /** The error object. */
@@ -2465,31 +2546,60 @@ export declare interface ItsmReceiver {
2465
2546
  region: string;
2466
2547
  }
2467
2548
 
2549
+ /** Known values of {@link AccessMode} that the service accepts. */
2550
+ export declare enum KnownAccessMode {
2551
+ /** Open */
2552
+ Open = "Open",
2553
+ /** PrivateOnly */
2554
+ PrivateOnly = "PrivateOnly"
2555
+ }
2556
+
2468
2557
  /** Known values of {@link AggregationTypeEnum} that the service accepts. */
2469
2558
  export declare enum KnownAggregationTypeEnum {
2559
+ /** Average */
2470
2560
  Average = "Average",
2561
+ /** Count */
2471
2562
  Count = "Count",
2563
+ /** Minimum */
2472
2564
  Minimum = "Minimum",
2565
+ /** Maximum */
2473
2566
  Maximum = "Maximum",
2567
+ /** Total */
2474
2568
  Total = "Total"
2475
2569
  }
2476
2570
 
2477
2571
  /** Known values of {@link AlertSeverity} that the service accepts. */
2478
2572
  export declare enum KnownAlertSeverity {
2573
+ /** Zero */
2479
2574
  Zero = "0",
2575
+ /** One */
2480
2576
  One = "1",
2577
+ /** Two */
2481
2578
  Two = "2",
2579
+ /** Three */
2482
2580
  Three = "3",
2581
+ /** Four */
2483
2582
  Four = "4"
2484
2583
  }
2485
2584
 
2486
2585
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
2487
2586
  export declare enum KnownBaselineSensitivity {
2587
+ /** Low */
2488
2588
  Low = "Low",
2589
+ /** Medium */
2489
2590
  Medium = "Medium",
2591
+ /** High */
2490
2592
  High = "High"
2491
2593
  }
2492
2594
 
2595
+ /** Known values of {@link CategoryType} that the service accepts. */
2596
+ export declare enum KnownCategoryType {
2597
+ /** Metrics */
2598
+ Metrics = "Metrics",
2599
+ /** Logs */
2600
+ Logs = "Logs"
2601
+ }
2602
+
2493
2603
  /**
2494
2604
  * Defines values for KnownColumnDefinitionType. \
2495
2605
  * {@link KnownKnownColumnDefinitionType} can be used interchangeably with KnownColumnDefinitionType,
@@ -2507,24 +2617,35 @@ export declare type KnownColumnDefinitionType = string;
2507
2617
 
2508
2618
  /** Known values of {@link ConditionalOperator} that the service accepts. */
2509
2619
  export declare enum KnownConditionalOperator {
2620
+ /** GreaterThanOrEqual */
2510
2621
  GreaterThanOrEqual = "GreaterThanOrEqual",
2622
+ /** LessThanOrEqual */
2511
2623
  LessThanOrEqual = "LessThanOrEqual",
2624
+ /** GreaterThan */
2512
2625
  GreaterThan = "GreaterThan",
2626
+ /** LessThan */
2513
2627
  LessThan = "LessThan",
2628
+ /** Equal */
2514
2629
  Equal = "Equal"
2515
2630
  }
2516
2631
 
2517
2632
  /** Known values of {@link CreatedByType} that the service accepts. */
2518
2633
  export declare enum KnownCreatedByType {
2634
+ /** User */
2519
2635
  User = "User",
2636
+ /** Application */
2520
2637
  Application = "Application",
2638
+ /** ManagedIdentity */
2521
2639
  ManagedIdentity = "ManagedIdentity",
2640
+ /** Key */
2522
2641
  Key = "Key"
2523
2642
  }
2524
2643
 
2525
2644
  /** Known values of {@link CriterionType} that the service accepts. */
2526
2645
  export declare enum KnownCriterionType {
2646
+ /** StaticThresholdCriterion */
2527
2647
  StaticThresholdCriterion = "StaticThresholdCriterion",
2648
+ /** DynamicThresholdCriterion */
2528
2649
  DynamicThresholdCriterion = "DynamicThresholdCriterion"
2529
2650
  }
2530
2651
 
@@ -2602,27 +2723,37 @@ export declare type KnownDataFlowStreams = string;
2602
2723
 
2603
2724
  /** Known values of {@link DataStatus} that the service accepts. */
2604
2725
  export declare enum KnownDataStatus {
2726
+ /** Present */
2605
2727
  Present = "present",
2728
+ /** NotPresent */
2606
2729
  NotPresent = "notPresent"
2607
2730
  }
2608
2731
 
2609
2732
  /** Known values of {@link DynamicThresholdOperator} that the service accepts. */
2610
2733
  export declare enum KnownDynamicThresholdOperator {
2734
+ /** GreaterThan */
2611
2735
  GreaterThan = "GreaterThan",
2736
+ /** LessThan */
2612
2737
  LessThan = "LessThan",
2738
+ /** GreaterOrLessThan */
2613
2739
  GreaterOrLessThan = "GreaterOrLessThan"
2614
2740
  }
2615
2741
 
2616
2742
  /** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
2617
2743
  export declare enum KnownDynamicThresholdSensitivity {
2744
+ /** Low */
2618
2745
  Low = "Low",
2746
+ /** Medium */
2619
2747
  Medium = "Medium",
2748
+ /** High */
2620
2749
  High = "High"
2621
2750
  }
2622
2751
 
2623
2752
  /** Known values of {@link Enabled} that the service accepts. */
2624
2753
  export declare enum KnownEnabled {
2754
+ /** True */
2625
2755
  True = "true",
2756
+ /** False */
2626
2757
  False = "false"
2627
2758
  }
2628
2759
 
@@ -2641,148 +2772,231 @@ export declare type KnownExtensionDataSourceStreams = string;
2641
2772
 
2642
2773
  /** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
2643
2774
  export declare enum KnownKnownColumnDefinitionType {
2775
+ /** String */
2644
2776
  String = "string",
2777
+ /** Int */
2645
2778
  Int = "int",
2779
+ /** Long */
2646
2780
  Long = "long",
2781
+ /** Real */
2647
2782
  Real = "real",
2783
+ /** Boolean */
2648
2784
  Boolean = "boolean",
2785
+ /** Datetime */
2649
2786
  Datetime = "datetime",
2787
+ /** Dynamic */
2650
2788
  Dynamic = "dynamic"
2651
2789
  }
2652
2790
 
2653
2791
  /** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
2654
2792
  export declare enum KnownKnownDataCollectionEndpointProvisioningState {
2793
+ /** Creating */
2655
2794
  Creating = "Creating",
2795
+ /** Updating */
2656
2796
  Updating = "Updating",
2797
+ /** Deleting */
2657
2798
  Deleting = "Deleting",
2799
+ /** Succeeded */
2658
2800
  Succeeded = "Succeeded",
2801
+ /** Failed */
2659
2802
  Failed = "Failed"
2660
2803
  }
2661
2804
 
2662
2805
  /** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
2663
2806
  export declare enum KnownKnownDataCollectionEndpointResourceKind {
2807
+ /** Linux */
2664
2808
  Linux = "Linux",
2809
+ /** Windows */
2665
2810
  Windows = "Windows"
2666
2811
  }
2667
2812
 
2668
2813
  /** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
2669
2814
  export declare enum KnownKnownDataCollectionRuleAssociationProvisioningState {
2815
+ /** Creating */
2670
2816
  Creating = "Creating",
2817
+ /** Updating */
2671
2818
  Updating = "Updating",
2819
+ /** Deleting */
2672
2820
  Deleting = "Deleting",
2821
+ /** Succeeded */
2673
2822
  Succeeded = "Succeeded",
2823
+ /** Failed */
2674
2824
  Failed = "Failed"
2675
2825
  }
2676
2826
 
2677
2827
  /** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
2678
2828
  export declare enum KnownKnownDataCollectionRuleProvisioningState {
2829
+ /** Creating */
2679
2830
  Creating = "Creating",
2831
+ /** Updating */
2680
2832
  Updating = "Updating",
2833
+ /** Deleting */
2681
2834
  Deleting = "Deleting",
2835
+ /** Succeeded */
2682
2836
  Succeeded = "Succeeded",
2837
+ /** Failed */
2683
2838
  Failed = "Failed"
2684
2839
  }
2685
2840
 
2686
2841
  /** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
2687
2842
  export declare enum KnownKnownDataCollectionRuleResourceKind {
2843
+ /** Linux */
2688
2844
  Linux = "Linux",
2845
+ /** Windows */
2689
2846
  Windows = "Windows"
2690
2847
  }
2691
2848
 
2692
2849
  /** Known values of {@link KnownDataFlowStreams} that the service accepts. */
2693
2850
  export declare enum KnownKnownDataFlowStreams {
2851
+ /** MicrosoftEvent */
2694
2852
  MicrosoftEvent = "Microsoft-Event",
2853
+ /** MicrosoftInsightsMetrics */
2695
2854
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
2855
+ /** MicrosoftPerf */
2696
2856
  MicrosoftPerf = "Microsoft-Perf",
2857
+ /** MicrosoftSyslog */
2697
2858
  MicrosoftSyslog = "Microsoft-Syslog",
2859
+ /** MicrosoftWindowsEvent */
2698
2860
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2699
2861
  }
2700
2862
 
2701
2863
  /** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
2702
2864
  export declare enum KnownKnownExtensionDataSourceStreams {
2865
+ /** MicrosoftEvent */
2703
2866
  MicrosoftEvent = "Microsoft-Event",
2867
+ /** MicrosoftInsightsMetrics */
2704
2868
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics",
2869
+ /** MicrosoftPerf */
2705
2870
  MicrosoftPerf = "Microsoft-Perf",
2871
+ /** MicrosoftSyslog */
2706
2872
  MicrosoftSyslog = "Microsoft-Syslog",
2873
+ /** MicrosoftWindowsEvent */
2707
2874
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent"
2708
2875
  }
2709
2876
 
2710
2877
  /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
2711
2878
  export declare enum KnownKnownLogFilesDataSourceFormat {
2879
+ /** Text */
2712
2880
  Text = "text"
2713
2881
  }
2714
2882
 
2715
2883
  /** Known values of {@link KnownLogFileTextSettingsRecordStartTimestampFormat} that the service accepts. */
2716
2884
  export declare enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat {
2885
+ /** ISO8601 */
2717
2886
  ISO8601 = "ISO 8601",
2887
+ /** YyyyMMDDHHMMSS */
2718
2888
  YyyyMMDDHHMMSS = "YYYY-MM-DD HH:MM:SS",
2889
+ /** MDYyyyHHMMSSAMPM */
2719
2890
  MDYyyyHHMMSSAMPM = "M/D/YYYY HH:MM:SS AM/PM",
2891
+ /** MonDDYyyyHHMMSS */
2720
2892
  MonDDYyyyHHMMSS = "Mon DD, YYYY HH:MM:SS",
2893
+ /** YyMMddHHMmSs */
2721
2894
  YyMMddHHMmSs = "yyMMdd HH:mm:ss",
2895
+ /** DdMMyyHHMmSs */
2722
2896
  DdMMyyHHMmSs = "ddMMyy HH:mm:ss",
2897
+ /** MMMDHhMmSs */
2723
2898
  MMMDHhMmSs = "MMM d hh:mm:ss",
2899
+ /** DdMMMYyyyHHMmSsZzz */
2724
2900
  DdMMMYyyyHHMmSsZzz = "dd/MMM/yyyy:HH:mm:ss zzz",
2901
+ /** YyyyMMDdTHHMmSsK */
2725
2902
  YyyyMMDdTHHMmSsK = "yyyy-MM-ddTHH:mm:ssK"
2726
2903
  }
2727
2904
 
2728
2905
  /** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
2729
2906
  export declare enum KnownKnownPerfCounterDataSourceStreams {
2907
+ /** MicrosoftPerf */
2730
2908
  MicrosoftPerf = "Microsoft-Perf",
2909
+ /** MicrosoftInsightsMetrics */
2731
2910
  MicrosoftInsightsMetrics = "Microsoft-InsightsMetrics"
2732
2911
  }
2733
2912
 
2734
2913
  /** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
2735
2914
  export declare enum KnownKnownPublicNetworkAccessOptions {
2915
+ /** Enabled */
2736
2916
  Enabled = "Enabled",
2917
+ /** Disabled */
2737
2918
  Disabled = "Disabled"
2738
2919
  }
2739
2920
 
2740
2921
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
2741
2922
  export declare enum KnownKnownSyslogDataSourceFacilityNames {
2923
+ /** Auth */
2742
2924
  Auth = "auth",
2925
+ /** Authpriv */
2743
2926
  Authpriv = "authpriv",
2927
+ /** Cron */
2744
2928
  Cron = "cron",
2929
+ /** Daemon */
2745
2930
  Daemon = "daemon",
2931
+ /** Kern */
2746
2932
  Kern = "kern",
2933
+ /** Lpr */
2747
2934
  Lpr = "lpr",
2935
+ /** Mail */
2748
2936
  Mail = "mail",
2937
+ /** Mark */
2749
2938
  Mark = "mark",
2939
+ /** News */
2750
2940
  News = "news",
2941
+ /** Syslog */
2751
2942
  Syslog = "syslog",
2943
+ /** User */
2752
2944
  User = "user",
2945
+ /** Uucp */
2753
2946
  Uucp = "uucp",
2947
+ /** Local0 */
2754
2948
  Local0 = "local0",
2949
+ /** Local1 */
2755
2950
  Local1 = "local1",
2951
+ /** Local2 */
2756
2952
  Local2 = "local2",
2953
+ /** Local3 */
2757
2954
  Local3 = "local3",
2955
+ /** Local4 */
2758
2956
  Local4 = "local4",
2957
+ /** Local5 */
2759
2958
  Local5 = "local5",
2959
+ /** Local6 */
2760
2960
  Local6 = "local6",
2961
+ /** Local7 */
2761
2962
  Local7 = "local7",
2963
+ /** Asterisk */
2762
2964
  Asterisk = "*"
2763
2965
  }
2764
2966
 
2765
2967
  /** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
2766
2968
  export declare enum KnownKnownSyslogDataSourceLogLevels {
2969
+ /** Debug */
2767
2970
  Debug = "Debug",
2971
+ /** Info */
2768
2972
  Info = "Info",
2973
+ /** Notice */
2769
2974
  Notice = "Notice",
2975
+ /** Warning */
2770
2976
  Warning = "Warning",
2977
+ /** Error */
2771
2978
  Error = "Error",
2979
+ /** Critical */
2772
2980
  Critical = "Critical",
2981
+ /** Alert */
2773
2982
  Alert = "Alert",
2983
+ /** Emergency */
2774
2984
  Emergency = "Emergency",
2985
+ /** Asterisk */
2775
2986
  Asterisk = "*"
2776
2987
  }
2777
2988
 
2778
2989
  /** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
2779
2990
  export declare enum KnownKnownSyslogDataSourceStreams {
2991
+ /** MicrosoftSyslog */
2780
2992
  MicrosoftSyslog = "Microsoft-Syslog"
2781
2993
  }
2782
2994
 
2783
2995
  /** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
2784
2996
  export declare enum KnownKnownWindowsEventLogDataSourceStreams {
2997
+ /** MicrosoftWindowsEvent */
2785
2998
  MicrosoftWindowsEvent = "Microsoft-WindowsEvent",
2999
+ /** MicrosoftEvent */
2786
3000
  MicrosoftEvent = "Microsoft-Event"
2787
3001
  }
2788
3002
 
@@ -2814,64 +3028,99 @@ export declare type KnownLogFileTextSettingsRecordStartTimestampFormat = string;
2814
3028
 
2815
3029
  /** Known values of {@link MetricClass} that the service accepts. */
2816
3030
  export declare enum KnownMetricClass {
3031
+ /** Availability */
2817
3032
  Availability = "Availability",
3033
+ /** Transactions */
2818
3034
  Transactions = "Transactions",
3035
+ /** Errors */
2819
3036
  Errors = "Errors",
3037
+ /** Latency */
2820
3038
  Latency = "Latency",
3039
+ /** Saturation */
2821
3040
  Saturation = "Saturation"
2822
3041
  }
2823
3042
 
2824
3043
  /** Known values of {@link MetricTriggerType} that the service accepts. */
2825
3044
  export declare enum KnownMetricTriggerType {
3045
+ /** Consecutive */
2826
3046
  Consecutive = "Consecutive",
3047
+ /** Total */
2827
3048
  Total = "Total"
2828
3049
  }
2829
3050
 
2830
3051
  /** Known values of {@link MetricUnit} that the service accepts. */
2831
3052
  export declare enum KnownMetricUnit {
3053
+ /** Count */
2832
3054
  Count = "Count",
3055
+ /** Bytes */
2833
3056
  Bytes = "Bytes",
3057
+ /** Seconds */
2834
3058
  Seconds = "Seconds",
3059
+ /** CountPerSecond */
2835
3060
  CountPerSecond = "CountPerSecond",
3061
+ /** BytesPerSecond */
2836
3062
  BytesPerSecond = "BytesPerSecond",
3063
+ /** Percent */
2837
3064
  Percent = "Percent",
3065
+ /** MilliSeconds */
2838
3066
  MilliSeconds = "MilliSeconds",
3067
+ /** ByteSeconds */
2839
3068
  ByteSeconds = "ByteSeconds",
3069
+ /** Unspecified */
2840
3070
  Unspecified = "Unspecified",
3071
+ /** Cores */
2841
3072
  Cores = "Cores",
3073
+ /** MilliCores */
2842
3074
  MilliCores = "MilliCores",
3075
+ /** NanoCores */
2843
3076
  NanoCores = "NanoCores",
3077
+ /** BitsPerSecond */
2844
3078
  BitsPerSecond = "BitsPerSecond"
2845
3079
  }
2846
3080
 
2847
3081
  /** Known values of {@link NamespaceClassification} that the service accepts. */
2848
3082
  export declare enum KnownNamespaceClassification {
3083
+ /** Platform */
2849
3084
  Platform = "Platform",
3085
+ /** Custom */
2850
3086
  Custom = "Custom",
3087
+ /** Qos */
2851
3088
  Qos = "Qos"
2852
3089
  }
2853
3090
 
2854
3091
  /** Known values of {@link Odatatype} that the service accepts. */
2855
3092
  export declare enum KnownOdatatype {
3093
+ /** MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria */
2856
3094
  MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
3095
+ /** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
2857
3096
  MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
3097
+ /** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
2858
3098
  MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria"
2859
3099
  }
2860
3100
 
2861
3101
  /** Known values of {@link OnboardingStatus} that the service accepts. */
2862
3102
  export declare enum KnownOnboardingStatus {
3103
+ /** Onboarded */
2863
3104
  Onboarded = "onboarded",
3105
+ /** NotOnboarded */
2864
3106
  NotOnboarded = "notOnboarded",
3107
+ /** Unknown */
2865
3108
  Unknown = "unknown"
2866
3109
  }
2867
3110
 
2868
3111
  /** Known values of {@link Operator} that the service accepts. */
2869
3112
  export declare enum KnownOperator {
3113
+ /** Equals */
2870
3114
  Equals = "Equals",
3115
+ /** GreaterThan */
2871
3116
  GreaterThan = "GreaterThan",
3117
+ /** GreaterThanOrEqual */
2872
3118
  GreaterThanOrEqual = "GreaterThanOrEqual",
3119
+ /** LessThan */
2873
3120
  LessThan = "LessThan",
3121
+ /** LessThanOrEqual */
2874
3122
  LessThanOrEqual = "LessThanOrEqual",
3123
+ /** Include */
2875
3124
  Include = "Include"
2876
3125
  }
2877
3126
 
@@ -2885,11 +3134,37 @@ export declare enum KnownOperator {
2885
3134
  */
2886
3135
  export declare type KnownPerfCounterDataSourceStreams = string;
2887
3136
 
3137
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
3138
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
3139
+ /** Succeeded */
3140
+ Succeeded = "Succeeded",
3141
+ /** Creating */
3142
+ Creating = "Creating",
3143
+ /** Deleting */
3144
+ Deleting = "Deleting",
3145
+ /** Failed */
3146
+ Failed = "Failed"
3147
+ }
3148
+
3149
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
3150
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
3151
+ /** Pending */
3152
+ Pending = "Pending",
3153
+ /** Approved */
3154
+ Approved = "Approved",
3155
+ /** Rejected */
3156
+ Rejected = "Rejected"
3157
+ }
3158
+
2888
3159
  /** Known values of {@link ProvisioningState} that the service accepts. */
2889
3160
  export declare enum KnownProvisioningState {
3161
+ /** Succeeded */
2890
3162
  Succeeded = "Succeeded",
3163
+ /** Deploying */
2891
3164
  Deploying = "Deploying",
3165
+ /** Canceled */
2892
3166
  Canceled = "Canceled",
3167
+ /** Failed */
2893
3168
  Failed = "Failed"
2894
3169
  }
2895
3170
 
@@ -2905,12 +3180,15 @@ export declare type KnownPublicNetworkAccessOptions = string;
2905
3180
 
2906
3181
  /** Known values of {@link QueryType} that the service accepts. */
2907
3182
  export declare enum KnownQueryType {
3183
+ /** ResultCount */
2908
3184
  ResultCount = "ResultCount"
2909
3185
  }
2910
3186
 
2911
3187
  /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
2912
3188
  export declare enum KnownScaleRuleMetricDimensionOperationType {
3189
+ /** Equals */
2913
3190
  Equals = "Equals",
3191
+ /** NotEquals */
2914
3192
  NotEquals = "NotEquals"
2915
3193
  }
2916
3194
 
@@ -2988,14 +3266,14 @@ export declare interface LocalizableString {
2988
3266
  }
2989
3267
 
2990
3268
  /** A rule condition based on a certain number of locations failing. */
2991
- export declare type LocationThresholdRuleCondition = RuleCondition & {
3269
+ export declare interface LocationThresholdRuleCondition extends RuleCondition {
2992
3270
  /** Polymorphic discriminator, which specifies the different types this object can be */
2993
3271
  odataType: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition";
2994
3272
  /** 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. */
2995
3273
  windowSize?: string;
2996
3274
  /** the number of locations that must fail to activate the alert. */
2997
3275
  failedLocationCount: number;
2998
- };
3276
+ }
2999
3277
 
3000
3278
  /** Log Analytics destination. */
3001
3279
  export declare interface LogAnalyticsDestination {
@@ -3034,7 +3312,8 @@ export declare interface LogFilesDataSource {
3034
3312
  }
3035
3313
 
3036
3314
  /** The log files specific settings. */
3037
- export declare type LogFilesDataSourceSettings = LogFileSettings;
3315
+ export declare interface LogFilesDataSourceSettings extends LogFileSettings {
3316
+ }
3038
3317
 
3039
3318
  /** Settings for different log file formats */
3040
3319
  export declare interface LogFileSettings {
@@ -3043,7 +3322,8 @@ export declare interface LogFileSettings {
3043
3322
  }
3044
3323
 
3045
3324
  /** Text settings */
3046
- export declare type LogFileSettingsText = LogFileTextSettings;
3325
+ export declare interface LogFileSettingsText extends LogFileTextSettings {
3326
+ }
3047
3327
 
3048
3328
  /** Settings for text log files */
3049
3329
  export declare interface LogFileTextSettings {
@@ -3082,7 +3362,7 @@ export declare interface LogProfileCollection {
3082
3362
  }
3083
3363
 
3084
3364
  /** The log profile resource. */
3085
- export declare type LogProfileResource = Resource & {
3365
+ export declare interface LogProfileResource extends ResourceAutoGenerated2 {
3086
3366
  /** the resource id of the storage account to which you would like to send the Activity Log. */
3087
3367
  storageAccountId?: string;
3088
3368
  /** 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}'. */
@@ -3093,7 +3373,7 @@ export declare type LogProfileResource = Resource & {
3093
3373
  categories: string[];
3094
3374
  /** the retention policy for the events in the log. */
3095
3375
  retentionPolicy: RetentionPolicy;
3096
- };
3376
+ }
3097
3377
 
3098
3378
  /** The log profile resource for patch operations. */
3099
3379
  export declare interface LogProfileResourcePatch {
@@ -3181,7 +3461,7 @@ export declare interface LogProfilesUpdateOptionalParams extends coreClient.Oper
3181
3461
  export declare type LogProfilesUpdateResponse = LogProfileResource;
3182
3462
 
3183
3463
  /** The Log Search Rule resource. */
3184
- export declare type LogSearchRuleResource = ResourceAutoGenerated & {
3464
+ export declare interface LogSearchRuleResource extends ResourceAutoGenerated5 {
3185
3465
  /**
3186
3466
  * The api-version used when creating this alert rule
3187
3467
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -3216,7 +3496,7 @@ export declare type LogSearchRuleResource = ResourceAutoGenerated & {
3216
3496
  schedule?: Schedule;
3217
3497
  /** Action needs to be taken on rule execution. */
3218
3498
  action: ActionUnion;
3219
- };
3499
+ }
3220
3500
 
3221
3501
  /** Represents a collection of Log Search rule resources. */
3222
3502
  export declare interface LogSearchRuleResourceCollection {
@@ -3238,6 +3518,8 @@ export declare interface LogSearchRuleResourcePatch {
3238
3518
  export declare interface LogSettings {
3239
3519
  /** 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. */
3240
3520
  category?: string;
3521
+ /** 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. */
3522
+ categoryGroup?: string;
3241
3523
  /** a value indicating whether this log is enabled. */
3242
3524
  enabled: boolean;
3243
3525
  /** the retention policy for this log. */
@@ -3254,12 +3536,12 @@ export declare interface LogsIngestionEndpointSpec {
3254
3536
  }
3255
3537
 
3256
3538
  /** Specify action need to be taken when rule type is converting log to metric */
3257
- export declare type LogToMetricAction = Action & {
3539
+ export declare interface LogToMetricAction extends Action {
3258
3540
  /** Polymorphic discriminator, which specifies the different types this object can be */
3259
3541
  odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
3260
3542
  /** Criteria of Metric */
3261
3543
  criteria: Criteria[];
3262
- };
3544
+ }
3263
3545
 
3264
3546
  /** How the data that is collected should be combined over time. */
3265
3547
  export declare interface ManagementEventAggregationCondition {
@@ -3272,12 +3554,12 @@ export declare interface ManagementEventAggregationCondition {
3272
3554
  }
3273
3555
 
3274
3556
  /** A management event rule condition. */
3275
- export declare type ManagementEventRuleCondition = RuleCondition & {
3557
+ export declare interface ManagementEventRuleCondition extends RuleCondition {
3276
3558
  /** Polymorphic discriminator, which specifies the different types this object can be */
3277
3559
  odataType: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition";
3278
3560
  /** 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. */
3279
3561
  aggregation?: ManagementEventAggregationCondition;
3280
- };
3562
+ }
3281
3563
 
3282
3564
  /** Metadata about the resource */
3283
3565
  export declare interface Metadata {
@@ -3337,15 +3619,15 @@ export declare interface MetricAlertCriteria {
3337
3619
  export declare type MetricAlertCriteriaUnion = MetricAlertCriteria | MetricAlertSingleResourceMultipleMetricCriteria | WebtestLocationAvailabilityCriteria | MetricAlertMultipleResourceMultipleMetricCriteria;
3338
3620
 
3339
3621
  /** Specifies the metric alert criteria for multiple resource that has multiple metric criteria. */
3340
- export declare type MetricAlertMultipleResourceMultipleMetricCriteria = MetricAlertCriteria & {
3622
+ export declare interface MetricAlertMultipleResourceMultipleMetricCriteria extends MetricAlertCriteria {
3341
3623
  /** Polymorphic discriminator, which specifies the different types this object can be */
3342
3624
  odataType: "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
3343
3625
  /** the list of multiple metric criteria for this 'all of' operation. */
3344
3626
  allOf?: MultiMetricCriteriaUnion[];
3345
- };
3627
+ }
3346
3628
 
3347
3629
  /** The metric alert resource. */
3348
- export declare type MetricAlertResource = Resource & {
3630
+ export declare interface MetricAlertResource extends ResourceAutoGenerated4 {
3349
3631
  /** the description of the metric alert that will be included in the alert email. */
3350
3632
  description?: string;
3351
3633
  /** Alert severity {0, 1, 2, 3, 4} */
@@ -3378,7 +3660,7 @@ export declare type MetricAlertResource = Resource & {
3378
3660
  * NOTE: This property will not be serialized. It can only be populated by the server.
3379
3661
  */
3380
3662
  readonly isMigrated?: boolean;
3381
- };
3663
+ }
3382
3664
 
3383
3665
  /** Represents a collection of alert rule resources. */
3384
3666
  export declare interface MetricAlertResourceCollection {
@@ -3490,12 +3772,12 @@ export declare interface MetricAlertsGetOptionalParams extends coreClient.Operat
3490
3772
  export declare type MetricAlertsGetResponse = MetricAlertResource;
3491
3773
 
3492
3774
  /** Specifies the metric alert criteria for a single resource that has multiple metric criteria. */
3493
- export declare type MetricAlertSingleResourceMultipleMetricCriteria = MetricAlertCriteria & {
3775
+ export declare interface MetricAlertSingleResourceMultipleMetricCriteria extends MetricAlertCriteria {
3494
3776
  /** Polymorphic discriminator, which specifies the different types this object can be */
3495
3777
  odataType: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
3496
3778
  /** The list of metric criteria for this 'all of' operation. */
3497
3779
  allOf?: MetricCriteria[];
3498
- };
3780
+ }
3499
3781
 
3500
3782
  /** Optional parameters. */
3501
3783
  export declare interface MetricAlertsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
@@ -3609,14 +3891,14 @@ export declare interface MetricBaselinesResponse {
3609
3891
  export declare type MetricClass = string;
3610
3892
 
3611
3893
  /** Criterion to filter metrics. */
3612
- export declare type MetricCriteria = MultiMetricCriteria & {
3894
+ export declare interface MetricCriteria extends MultiMetricCriteria {
3613
3895
  /** Polymorphic discriminator, which specifies the different types this object can be */
3614
3896
  criterionType: "StaticThresholdCriterion";
3615
3897
  /** the criteria operator. */
3616
3898
  operator: Operator;
3617
3899
  /** the criteria threshold value that activates the alert. */
3618
3900
  threshold: number;
3619
- };
3901
+ }
3620
3902
 
3621
3903
  /** Metric definition class specifies the metadata for a metric. */
3622
3904
  export declare interface MetricDefinition {
@@ -3880,6 +4162,7 @@ export declare class MonitorClient extends coreClient.ServiceClient {
3880
4162
  */
3881
4163
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MonitorClientOptionalParams);
3882
4164
  autoscaleSettings: AutoscaleSettings;
4165
+ predictiveMetric: PredictiveMetric;
3883
4166
  operations: Operations;
3884
4167
  alertRuleIncidents: AlertRuleIncidents;
3885
4168
  alertRules: AlertRules;
@@ -4061,7 +4344,7 @@ export declare interface OperationStatus {
4061
4344
  /** The status of the operation. */
4062
4345
  status?: string;
4063
4346
  /** The error detail of the operation if any. */
4064
- error?: ErrorResponseCommon;
4347
+ error?: ErrorDetail;
4065
4348
  }
4066
4349
 
4067
4350
  /**
@@ -4103,42 +4386,107 @@ export declare interface PerfCounterDataSource {
4103
4386
  name?: string;
4104
4387
  }
4105
4388
 
4106
- /** A private endpoint connection */
4107
- export declare type PrivateEndpointConnection = ProxyResource & {
4108
- /** Private endpoint which the connection belongs to. */
4109
- privateEndpoint?: PrivateEndpointProperty;
4110
- /** Connection state of the private endpoint connection. */
4111
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
4389
+ /** The parameters for enabling predictive autoscale. */
4390
+ export declare interface PredictiveAutoscalePolicy {
4391
+ /** the predictive autoscale mode */
4392
+ scaleMode: PredictiveAutoscalePolicyScaleMode;
4393
+ /** 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. */
4394
+ scaleLookAheadTime?: string;
4395
+ }
4396
+
4397
+ /** Defines values for PredictiveAutoscalePolicyScaleMode. */
4398
+ export declare type PredictiveAutoscalePolicyScaleMode = "Disabled" | "ForecastOnly" | "Enabled";
4399
+
4400
+ /** Interface representing a PredictiveMetric. */
4401
+ export declare interface PredictiveMetric {
4112
4402
  /**
4113
- * State of the private endpoint connection.
4114
- * NOTE: This property will not be serialized. It can only be populated by the server.
4403
+ * get predictive autoscale metric future data
4404
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4405
+ * @param autoscaleSettingName The autoscale setting name.
4406
+ * @param timespan The timespan of the query. It is a string with the following format
4407
+ * 'startDateTime_ISO/endDateTime_ISO'.
4408
+ * @param interval The interval (i.e. timegrain) of the query.
4409
+ * @param metricNamespace Metric namespace to query metric definitions for.
4410
+ * @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a
4411
+ * metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be
4412
+ * **'Metric%2Name1'**
4413
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
4414
+ * @param options The options parameters.
4115
4415
  */
4116
- readonly provisioningState?: string;
4117
- };
4416
+ get(resourceGroupName: string, autoscaleSettingName: string, timespan: string, interval: string, metricNamespace: string, metricName: string, aggregation: string, options?: PredictiveMetricGetOptionalParams): Promise<PredictiveMetricGetResponse>;
4417
+ }
4118
4418
 
4119
- /** A list of private endpoint connections. */
4120
- export declare interface PrivateEndpointConnectionListResult {
4419
+ /** Optional parameters. */
4420
+ export declare interface PredictiveMetricGetOptionalParams extends coreClient.OperationOptions {
4421
+ }
4422
+
4423
+ /** Contains response data for the get operation. */
4424
+ export declare type PredictiveMetricGetResponse = PredictiveResponse;
4425
+
4426
+ /** The response to a metrics query. */
4427
+ export declare interface PredictiveResponse {
4428
+ /** 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. */
4429
+ timespan?: string;
4430
+ /** 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. */
4431
+ interval?: string;
4432
+ /** The metrics being queried */
4433
+ metricName?: string;
4434
+ /** resource of the predictive metric. */
4435
+ targetResourceId?: string;
4436
+ /** the value of the collection. */
4437
+ data?: PredictiveValue[];
4438
+ }
4439
+
4440
+ /** Represents a predictive metric value in the given bucket. */
4441
+ export declare interface PredictiveValue {
4442
+ /** the timestamp for the metric value in ISO 8601 format. */
4443
+ timeStamp: Date;
4444
+ /** Predictive value in this time bucket. */
4445
+ value: number;
4446
+ }
4447
+
4448
+ /** The Private Endpoint resource. */
4449
+ export declare interface PrivateEndpoint {
4121
4450
  /**
4122
- * Array of results.
4451
+ * The ARM identifier for Private Endpoint
4123
4452
  * NOTE: This property will not be serialized. It can only be populated by the server.
4124
4453
  */
4125
- readonly value?: PrivateEndpointConnection[];
4454
+ readonly id?: string;
4455
+ }
4456
+
4457
+ /** The Private Endpoint Connection resource. */
4458
+ export declare interface PrivateEndpointConnection extends ResourceAutoGenerated3 {
4459
+ /** The resource of private end point. */
4460
+ privateEndpoint?: PrivateEndpoint;
4461
+ /** A collection of information about the state of the connection between service consumer and provider. */
4462
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
4126
4463
  /**
4127
- * Link to retrieve next page of results.
4464
+ * The provisioning state of the private endpoint connection resource.
4128
4465
  * NOTE: This property will not be serialized. It can only be populated by the server.
4129
4466
  */
4130
- readonly nextLink?: string;
4467
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
4131
4468
  }
4132
4469
 
4470
+ /** List of private endpoint connection associated with the specified storage account */
4471
+ export declare interface PrivateEndpointConnectionListResult {
4472
+ /** Array of private endpoint connections */
4473
+ value?: PrivateEndpointConnection[];
4474
+ }
4475
+
4476
+ /**
4477
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
4478
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
4479
+ * this enum contains the known values that the service supports.
4480
+ * ### Known values supported by the service
4481
+ * **Succeeded** \
4482
+ * **Creating** \
4483
+ * **Deleting** \
4484
+ * **Failed**
4485
+ */
4486
+ export declare type PrivateEndpointConnectionProvisioningState = string;
4487
+
4133
4488
  /** Interface representing a PrivateEndpointConnections. */
4134
4489
  export declare interface PrivateEndpointConnections {
4135
- /**
4136
- * Gets all private endpoint connections on a private link scope.
4137
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
4138
- * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
4139
- * @param options The options parameters.
4140
- */
4141
- listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
4142
4490
  /**
4143
4491
  * Gets a private endpoint connection.
4144
4492
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4152,7 +4500,7 @@ export declare interface PrivateEndpointConnections {
4152
4500
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
4153
4501
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
4154
4502
  * @param privateEndpointConnectionName The name of the private endpoint connection.
4155
- * @param parameters A private endpoint connection
4503
+ * @param parameters The Private Endpoint Connection resource.
4156
4504
  * @param options The options parameters.
4157
4505
  */
4158
4506
  beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
@@ -4161,7 +4509,7 @@ export declare interface PrivateEndpointConnections {
4161
4509
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
4162
4510
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
4163
4511
  * @param privateEndpointConnectionName The name of the private endpoint connection.
4164
- * @param parameters A private endpoint connection
4512
+ * @param parameters The Private Endpoint Connection resource.
4165
4513
  * @param options The options parameters.
4166
4514
  */
4167
4515
  beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
@@ -4181,6 +4529,13 @@ export declare interface PrivateEndpointConnections {
4181
4529
  * @param options The options parameters.
4182
4530
  */
4183
4531
  beginDeleteAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
4532
+ /**
4533
+ * Gets all private endpoint connections on a private link scope.
4534
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4535
+ * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
4536
+ * @param options The options parameters.
4537
+ */
4538
+ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse>;
4184
4539
  }
4185
4540
 
4186
4541
  /** Optional parameters. */
@@ -4209,13 +4564,6 @@ export declare interface PrivateEndpointConnectionsGetOptionalParams extends cor
4209
4564
  /** Contains response data for the get operation. */
4210
4565
  export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
4211
4566
 
4212
- /** Optional parameters. */
4213
- export declare interface PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
4214
- }
4215
-
4216
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
4217
- export declare type PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse = PrivateEndpointConnectionListResult;
4218
-
4219
4567
  /** Optional parameters. */
4220
4568
  export declare interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams extends coreClient.OperationOptions {
4221
4569
  }
@@ -4223,14 +4571,19 @@ export declare interface PrivateEndpointConnectionsListByPrivateLinkScopeOptiona
4223
4571
  /** Contains response data for the listByPrivateLinkScope operation. */
4224
4572
  export declare type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
4225
4573
 
4226
- /** Private endpoint which the connection belongs to. */
4227
- export declare interface PrivateEndpointProperty {
4228
- /** Resource id of the private endpoint. */
4229
- id?: string;
4230
- }
4574
+ /**
4575
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
4576
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
4577
+ * this enum contains the known values that the service supports.
4578
+ * ### Known values supported by the service
4579
+ * **Pending** \
4580
+ * **Approved** \
4581
+ * **Rejected**
4582
+ */
4583
+ export declare type PrivateEndpointServiceConnectionStatus = string;
4231
4584
 
4232
4585
  /** A private link resource */
4233
- export declare type PrivateLinkResource = ProxyResource & {
4586
+ export declare interface PrivateLinkResource extends ResourceAutoGenerated3 {
4234
4587
  /**
4235
4588
  * The private link resource group id.
4236
4589
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4241,20 +4594,14 @@ export declare type PrivateLinkResource = ProxyResource & {
4241
4594
  * NOTE: This property will not be serialized. It can only be populated by the server.
4242
4595
  */
4243
4596
  readonly requiredMembers?: string[];
4244
- };
4597
+ /** The private link resource Private link DNS zone name. */
4598
+ requiredZoneNames?: string[];
4599
+ }
4245
4600
 
4246
4601
  /** A list of private link resources */
4247
4602
  export declare interface PrivateLinkResourceListResult {
4248
- /**
4249
- * Array of results.
4250
- * NOTE: This property will not be serialized. It can only be populated by the server.
4251
- */
4252
- readonly value?: PrivateLinkResource[];
4253
- /**
4254
- * Link to retrieve next page of results.
4255
- * NOTE: This property will not be serialized. It can only be populated by the server.
4256
- */
4257
- readonly nextLink?: string;
4603
+ /** Array of private link resources */
4604
+ value?: PrivateLinkResource[];
4258
4605
  }
4259
4606
 
4260
4607
  /** Interface representing a PrivateLinkResources. */
@@ -4265,7 +4612,7 @@ export declare interface PrivateLinkResources {
4265
4612
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
4266
4613
  * @param options The options parameters.
4267
4614
  */
4268
- listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
4615
+ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams): Promise<PrivateLinkResourcesListByPrivateLinkScopeResponse>;
4269
4616
  /**
4270
4617
  * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
4271
4618
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -4283,13 +4630,6 @@ export declare interface PrivateLinkResourcesGetOptionalParams extends coreClien
4283
4630
  /** Contains response data for the get operation. */
4284
4631
  export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
4285
4632
 
4286
- /** Optional parameters. */
4287
- export declare interface PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams extends coreClient.OperationOptions {
4288
- }
4289
-
4290
- /** Contains response data for the listByPrivateLinkScopeNext operation. */
4291
- export declare type PrivateLinkResourcesListByPrivateLinkScopeNextResponse = PrivateLinkResourceListResult;
4292
-
4293
4633
  /** Optional parameters. */
4294
4634
  export declare interface PrivateLinkResourcesListByPrivateLinkScopeOptionalParams extends coreClient.OperationOptions {
4295
4635
  }
@@ -4512,31 +4852,6 @@ export declare interface PrivateLinkScopesListOptionalParams extends coreClient.
4512
4852
  /** Contains response data for the list operation. */
4513
4853
  export declare type PrivateLinkScopesListResponse = AzureMonitorPrivateLinkScopeListResult;
4514
4854
 
4515
- /** An azure resource object */
4516
- export declare interface PrivateLinkScopesResource {
4517
- /**
4518
- * Azure resource Id
4519
- * NOTE: This property will not be serialized. It can only be populated by the server.
4520
- */
4521
- readonly id?: string;
4522
- /**
4523
- * Azure resource name
4524
- * NOTE: This property will not be serialized. It can only be populated by the server.
4525
- */
4526
- readonly name?: string;
4527
- /**
4528
- * Azure resource type
4529
- * NOTE: This property will not be serialized. It can only be populated by the server.
4530
- */
4531
- readonly type?: string;
4532
- /** Resource location */
4533
- location: string;
4534
- /** Resource tags */
4535
- tags?: {
4536
- [propertyName: string]: string;
4537
- };
4538
- }
4539
-
4540
4855
  /** Optional parameters. */
4541
4856
  export declare interface PrivateLinkScopesUpdateTagsOptionalParams extends coreClient.OperationOptions {
4542
4857
  }
@@ -4544,17 +4859,14 @@ export declare interface PrivateLinkScopesUpdateTagsOptionalParams extends coreC
4544
4859
  /** Contains response data for the updateTags operation. */
4545
4860
  export declare type PrivateLinkScopesUpdateTagsResponse = AzureMonitorPrivateLinkScope;
4546
4861
 
4547
- /** State of the private endpoint connection. */
4548
- export declare interface PrivateLinkServiceConnectionStateProperty {
4549
- /** The private link service connection status. */
4550
- status: string;
4551
- /** The private link service connection description. */
4552
- description: string;
4553
- /**
4554
- * The actions required for private link service connection.
4555
- * NOTE: This property will not be serialized. It can only be populated by the server.
4556
- */
4557
- readonly actionsRequired?: string;
4862
+ /** A collection of information about the state of the connection between service consumer and provider. */
4863
+ export declare interface PrivateLinkServiceConnectionState {
4864
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
4865
+ status?: PrivateEndpointServiceConnectionStatus;
4866
+ /** The reason for approval/rejection of the connection. */
4867
+ description?: string;
4868
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
4869
+ actionsRequired?: string;
4558
4870
  }
4559
4871
 
4560
4872
  /**
@@ -4569,25 +4881,6 @@ export declare interface PrivateLinkServiceConnectionStateProperty {
4569
4881
  */
4570
4882
  export declare type ProvisioningState = string;
4571
4883
 
4572
- /** A proxy only azure resource object */
4573
- export declare interface ProxyOnlyResource {
4574
- /**
4575
- * Azure resource Id
4576
- * NOTE: This property will not be serialized. It can only be populated by the server.
4577
- */
4578
- readonly id?: string;
4579
- /**
4580
- * Azure resource name
4581
- * NOTE: This property will not be serialized. It can only be populated by the server.
4582
- */
4583
- readonly name?: string;
4584
- /**
4585
- * Azure resource type
4586
- * NOTE: This property will not be serialized. It can only be populated by the server.
4587
- */
4588
- readonly type?: string;
4589
- }
4590
-
4591
4884
  /** An azure resource object */
4592
4885
  export declare interface ProxyResource {
4593
4886
  /**
@@ -4607,6 +4900,10 @@ export declare interface ProxyResource {
4607
4900
  readonly type?: string;
4608
4901
  }
4609
4902
 
4903
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
4904
+ export declare interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {
4905
+ }
4906
+
4610
4907
  /**
4611
4908
  * Defines values for QueryType. \
4612
4909
  * {@link KnownQueryType} can be used interchangeably with QueryType,
@@ -4642,7 +4939,7 @@ export declare interface RecurrentSchedule {
4642
4939
  minutes: number[];
4643
4940
  }
4644
4941
 
4645
- /** An azure resource object */
4942
+ /** The autoscale setting resource. */
4646
4943
  export declare interface Resource {
4647
4944
  /**
4648
4945
  * Azure resource Id
@@ -4661,10 +4958,15 @@ export declare interface Resource {
4661
4958
  readonly type?: string;
4662
4959
  /** Resource location */
4663
4960
  location: string;
4664
- /** Resource tags */
4961
+ /** 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. */
4665
4962
  tags?: {
4666
4963
  [propertyName: string]: string;
4667
4964
  };
4965
+ /**
4966
+ * The system metadata related to the response.
4967
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4968
+ */
4969
+ readonly systemData?: SystemData;
4668
4970
  }
4669
4971
 
4670
4972
  /** An azure resource object */
@@ -4690,6 +4992,100 @@ export declare interface ResourceAutoGenerated {
4690
4992
  tags?: {
4691
4993
  [propertyName: string]: string;
4692
4994
  };
4995
+ }
4996
+
4997
+ /** An azure resource object */
4998
+ export declare interface ResourceAutoGenerated2 {
4999
+ /**
5000
+ * Azure resource Id
5001
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5002
+ */
5003
+ readonly id?: string;
5004
+ /**
5005
+ * Azure resource name
5006
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5007
+ */
5008
+ readonly name?: string;
5009
+ /**
5010
+ * Azure resource type
5011
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5012
+ */
5013
+ readonly type?: string;
5014
+ /** Resource location */
5015
+ location: string;
5016
+ /** Resource tags */
5017
+ tags?: {
5018
+ [propertyName: string]: string;
5019
+ };
5020
+ }
5021
+
5022
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
5023
+ export declare interface ResourceAutoGenerated3 {
5024
+ /**
5025
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
5026
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5027
+ */
5028
+ readonly id?: string;
5029
+ /**
5030
+ * The name of the resource
5031
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5032
+ */
5033
+ readonly name?: string;
5034
+ /**
5035
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
5036
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5037
+ */
5038
+ readonly type?: string;
5039
+ }
5040
+
5041
+ /** An azure resource object */
5042
+ export declare interface ResourceAutoGenerated4 {
5043
+ /**
5044
+ * Azure resource Id
5045
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5046
+ */
5047
+ readonly id?: string;
5048
+ /**
5049
+ * Azure resource name
5050
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5051
+ */
5052
+ readonly name?: string;
5053
+ /**
5054
+ * Azure resource type
5055
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5056
+ */
5057
+ readonly type?: string;
5058
+ /** Resource location */
5059
+ location: string;
5060
+ /** Resource tags */
5061
+ tags?: {
5062
+ [propertyName: string]: string;
5063
+ };
5064
+ }
5065
+
5066
+ /** An azure resource object */
5067
+ export declare interface ResourceAutoGenerated5 {
5068
+ /**
5069
+ * Azure resource Id
5070
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5071
+ */
5072
+ readonly id?: string;
5073
+ /**
5074
+ * Azure resource name
5075
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5076
+ */
5077
+ readonly name?: string;
5078
+ /**
5079
+ * Azure resource type
5080
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5081
+ */
5082
+ readonly type?: string;
5083
+ /** Resource location */
5084
+ location: string;
5085
+ /** Resource tags */
5086
+ tags?: {
5087
+ [propertyName: string]: string;
5088
+ };
4693
5089
  /**
4694
5090
  * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
4695
5091
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -4779,14 +5175,14 @@ export declare interface RuleDataSource {
4779
5175
  export declare type RuleDataSourceUnion = RuleDataSource | RuleMetricDataSource | RuleManagementEventDataSource;
4780
5176
 
4781
5177
  /** Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case. */
4782
- export declare type RuleEmailAction = RuleAction & {
5178
+ export declare interface RuleEmailAction extends RuleAction {
4783
5179
  /** Polymorphic discriminator, which specifies the different types this object can be */
4784
5180
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction";
4785
5181
  /** Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated. */
4786
5182
  sendToServiceOwners?: boolean;
4787
5183
  /** the list of administrator's custom email addresses to notify of the activation of the alert. */
4788
5184
  customEmails?: string[];
4789
- };
5185
+ }
4790
5186
 
4791
5187
  /** The claims for a rule management event data source. */
4792
5188
  export declare interface RuleManagementEventClaimsDataSource {
@@ -4795,7 +5191,7 @@ export declare interface RuleManagementEventClaimsDataSource {
4795
5191
  }
4796
5192
 
4797
5193
  /** A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case. */
4798
- export declare type RuleManagementEventDataSource = RuleDataSource & {
5194
+ export declare interface RuleManagementEventDataSource extends RuleDataSource {
4799
5195
  /** Polymorphic discriminator, which specifies the different types this object can be */
4800
5196
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource";
4801
5197
  /** the event name. */
@@ -4816,18 +5212,18 @@ export declare type RuleManagementEventDataSource = RuleDataSource & {
4816
5212
  subStatus?: string;
4817
5213
  /** the claims. */
4818
5214
  claims?: RuleManagementEventClaimsDataSource;
4819
- };
5215
+ }
4820
5216
 
4821
5217
  /** A rule metric data source. The discriminator value is always RuleMetricDataSource in this case. */
4822
- export declare type RuleMetricDataSource = RuleDataSource & {
5218
+ export declare interface RuleMetricDataSource extends RuleDataSource {
4823
5219
  /** Polymorphic discriminator, which specifies the different types this object can be */
4824
5220
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource";
4825
5221
  /** the name of the metric that defines what the rule monitors. */
4826
5222
  metricName?: string;
4827
- };
5223
+ }
4828
5224
 
4829
5225
  /** Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case. */
4830
- export declare type RuleWebhookAction = RuleAction & {
5226
+ export declare interface RuleWebhookAction extends RuleAction {
4831
5227
  /** Polymorphic discriminator, which specifies the different types this object can be */
4832
5228
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
4833
5229
  /** the service uri to Post the notification when the alert activates or resolves. */
@@ -4836,7 +5232,7 @@ export declare type RuleWebhookAction = RuleAction & {
4836
5232
  properties?: {
4837
5233
  [propertyName: string]: string;
4838
5234
  };
4839
- };
5235
+ }
4840
5236
 
4841
5237
  /** The parameters for the scaling action. */
4842
5238
  export declare interface ScaleAction {
@@ -4991,7 +5387,12 @@ export declare interface ScheduledQueryRulesUpdateOptionalParams extends coreCli
4991
5387
  export declare type ScheduledQueryRulesUpdateResponse = LogSearchRuleResource;
4992
5388
 
4993
5389
  /** A private link scoped resource */
4994
- export declare type ScopedResource = ProxyResource & {
5390
+ export declare interface ScopedResource extends ProxyResourceAutoGenerated {
5391
+ /**
5392
+ * System data
5393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
5394
+ */
5395
+ readonly systemData?: SystemData;
4995
5396
  /** The resource id of the scoped Azure monitor resource. */
4996
5397
  linkedResourceId?: string;
4997
5398
  /**
@@ -4999,7 +5400,7 @@ export declare type ScopedResource = ProxyResource & {
4999
5400
  * NOTE: This property will not be serialized. It can only be populated by the server.
5000
5401
  */
5001
5402
  readonly provisioningState?: string;
5002
- };
5403
+ }
5003
5404
 
5004
5405
  /** A list of scoped resources in a private link scope. */
5005
5406
  export declare interface ScopedResourceListResult {
@@ -5180,7 +5581,7 @@ export declare interface TestNotificationDetailsResponse {
5180
5581
  }
5181
5582
 
5182
5583
  /** A rule condition based on a metric crossing a threshold. */
5183
- export declare type ThresholdRuleCondition = RuleCondition & {
5584
+ export declare interface ThresholdRuleCondition extends RuleCondition {
5184
5585
  /** Polymorphic discriminator, which specifies the different types this object can be */
5185
5586
  odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition";
5186
5587
  /** the operator used to compare the data and the threshold. */
@@ -5191,7 +5592,7 @@ export declare type ThresholdRuleCondition = RuleCondition & {
5191
5592
  windowSize?: string;
5192
5593
  /** the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric. */
5193
5594
  timeAggregation?: TimeAggregationOperator;
5194
- };
5595
+ }
5195
5596
 
5196
5597
  /** Defines values for TimeAggregationOperator. */
5197
5598
  export declare type TimeAggregationOperator = "Average" | "Minimum" | "Maximum" | "Total" | "Last";
@@ -5231,6 +5632,16 @@ export declare interface TimeWindow {
5231
5632
  end: Date;
5232
5633
  }
5233
5634
 
5635
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
5636
+ export declare interface TrackedResource extends ResourceAutoGenerated3 {
5637
+ /** Resource tags. */
5638
+ tags?: {
5639
+ [propertyName: string]: string;
5640
+ };
5641
+ /** The geo-location where the resource lives */
5642
+ location: string;
5643
+ }
5644
+
5234
5645
  /** The condition that results in the Log Search rule. */
5235
5646
  export declare interface TriggerCondition {
5236
5647
  /** Evaluation operation for rule - 'GreaterThan' or 'LessThan. */
@@ -5260,7 +5671,7 @@ export declare interface VMInsightsGetOnboardingStatusOptionalParams extends cor
5260
5671
  export declare type VMInsightsGetOnboardingStatusResponse = VMInsightsOnboardingStatus;
5261
5672
 
5262
5673
  /** VM Insights onboarding status for a resource. */
5263
- export declare type VMInsightsOnboardingStatus = ProxyResource & {
5674
+ export declare interface VMInsightsOnboardingStatus extends ProxyResource {
5264
5675
  /** Azure Resource Manager identifier of the resource whose onboarding status is being represented. */
5265
5676
  resourceId?: string;
5266
5677
  /** 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. */
@@ -5269,7 +5680,7 @@ export declare type VMInsightsOnboardingStatus = ProxyResource & {
5269
5680
  dataStatus?: DataStatus;
5270
5681
  /** Containers that currently store VM Insights data for the specified resource. */
5271
5682
  data?: DataContainer[];
5272
- };
5683
+ }
5273
5684
 
5274
5685
  /** A voice receiver. */
5275
5686
  export declare interface VoiceReceiver {
@@ -5310,7 +5721,7 @@ export declare interface WebhookReceiver {
5310
5721
  }
5311
5722
 
5312
5723
  /** Specifies the metric alert rule criteria for a web test resource. */
5313
- export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria & {
5724
+ export declare interface WebtestLocationAvailabilityCriteria extends MetricAlertCriteria {
5314
5725
  /** Polymorphic discriminator, which specifies the different types this object can be */
5315
5726
  odataType: "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
5316
5727
  /** The Application Insights web test Id. */
@@ -5319,7 +5730,7 @@ export declare type WebtestLocationAvailabilityCriteria = MetricAlertCriteria &
5319
5730
  componentId: string;
5320
5731
  /** The number of failed locations. */
5321
5732
  failedLocationCount: number;
5322
- };
5733
+ }
5323
5734
 
5324
5735
  /**
5325
5736
  * Definition of which Windows Event Log events will be collected and how they will be collected.