@azure/arm-monitor 8.0.0-beta.3 → 8.0.0-beta.4

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 (162) hide show
  1. package/CHANGELOG.md +83 -4
  2. package/dist/index.js +3354 -1977
  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/azureMonitorWorkspacesCreateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js +42 -0
  9. package/dist-esm/samples-dev/azureMonitorWorkspacesCreateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js +39 -0
  13. package/dist-esm/samples-dev/azureMonitorWorkspacesDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js +39 -0
  17. package/dist-esm/samples-dev/azureMonitorWorkspacesGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js +52 -0
  21. package/dist-esm/samples-dev/azureMonitorWorkspacesListByResourceGroupSample.js.map +1 -0
  22. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js +51 -0
  25. package/dist-esm/samples-dev/azureMonitorWorkspacesListBySubscriptionSample.js.map +1 -0
  26. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js +45 -0
  29. package/dist-esm/samples-dev/azureMonitorWorkspacesUpdateSample.js.map +1 -0
  30. package/dist-esm/samples-dev/metricsListSample.js +3 -3
  31. package/dist-esm/samples-dev/metricsListSample.js.map +1 -1
  32. package/dist-esm/samples-dev/monitorOperationsListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/monitorOperationsListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/monitorOperationsListSample.js +51 -0
  35. package/dist-esm/samples-dev/monitorOperationsListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js +138 -83
  37. package/dist-esm/samples-dev/scheduledQueryRulesCreateOrUpdateSample.js.map +1 -1
  38. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js +8 -8
  39. package/dist-esm/samples-dev/scheduledQueryRulesDeleteSample.js.map +1 -1
  40. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js +8 -8
  41. package/dist-esm/samples-dev/scheduledQueryRulesGetSample.js.map +1 -1
  42. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js +7 -7
  43. package/dist-esm/samples-dev/scheduledQueryRulesListByResourceGroupSample.js.map +1 -1
  44. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js +6 -6
  45. package/dist-esm/samples-dev/scheduledQueryRulesListBySubscriptionSample.js.map +1 -1
  46. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js +10 -9
  47. package/dist-esm/samples-dev/scheduledQueryRulesUpdateSample.js.map +1 -1
  48. package/dist-esm/src/lroImpl.d.ts +6 -11
  49. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  50. package/dist-esm/src/lroImpl.js +12 -20
  51. package/dist-esm/src/lroImpl.js.map +1 -1
  52. package/dist-esm/src/models/index.d.ts +705 -271
  53. package/dist-esm/src/models/index.d.ts.map +1 -1
  54. package/dist-esm/src/models/index.js +84 -64
  55. package/dist-esm/src/models/index.js.map +1 -1
  56. package/dist-esm/src/models/mappers.d.ts +29 -17
  57. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  58. package/dist-esm/src/models/mappers.js +1127 -445
  59. package/dist-esm/src/models/mappers.js.map +1 -1
  60. package/dist-esm/src/models/parameters.d.ts +5 -1
  61. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  62. package/dist-esm/src/models/parameters.js +39 -7
  63. package/dist-esm/src/models/parameters.js.map +1 -1
  64. package/dist-esm/src/monitorClient.d.ts +4 -2
  65. package/dist-esm/src/monitorClient.d.ts.map +1 -1
  66. package/dist-esm/src/monitorClient.js +5 -3
  67. package/dist-esm/src/monitorClient.js.map +1 -1
  68. package/dist-esm/src/operations/actionGroups.d.ts +4 -4
  69. package/dist-esm/src/operations/actionGroups.d.ts.map +1 -1
  70. package/dist-esm/src/operations/actionGroups.js +34 -17
  71. package/dist-esm/src/operations/actionGroups.js.map +1 -1
  72. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts +87 -0
  73. package/dist-esm/src/operations/azureMonitorWorkspaces.d.ts.map +1 -0
  74. package/dist-esm/src/operations/azureMonitorWorkspaces.js +389 -0
  75. package/dist-esm/src/operations/azureMonitorWorkspaces.js.map +1 -0
  76. package/dist-esm/src/operations/index.d.ts +3 -1
  77. package/dist-esm/src/operations/index.d.ts.map +1 -1
  78. package/dist-esm/src/operations/index.js +3 -1
  79. package/dist-esm/src/operations/index.js.map +1 -1
  80. package/dist-esm/src/operations/{metrics.d.ts → metricsOperations.d.ts} +5 -5
  81. package/dist-esm/src/operations/metricsOperations.d.ts.map +1 -0
  82. package/dist-esm/src/operations/{metrics.js → metricsOperations.js} +4 -4
  83. package/dist-esm/src/operations/metricsOperations.js.map +1 -0
  84. package/dist-esm/src/operations/monitorOperations.d.ts +32 -0
  85. package/dist-esm/src/operations/monitorOperations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/monitorOperations.js +131 -0
  87. package/dist-esm/src/operations/monitorOperations.js.map +1 -0
  88. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  89. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  90. package/dist-esm/src/operations/privateEndpointConnections.js +29 -16
  91. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  92. package/dist-esm/src/operations/privateLinkScopedResources.d.ts +3 -3
  93. package/dist-esm/src/operations/privateLinkScopedResources.d.ts.map +1 -1
  94. package/dist-esm/src/operations/privateLinkScopedResources.js +18 -10
  95. package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
  96. package/dist-esm/src/operations/privateLinkScopes.d.ts +2 -2
  97. package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -1
  98. package/dist-esm/src/operations/privateLinkScopes.js +10 -6
  99. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
  100. package/dist-esm/src/operations/scheduledQueryRules.d.ts +30 -17
  101. package/dist-esm/src/operations/scheduledQueryRules.d.ts.map +1 -1
  102. package/dist-esm/src/operations/scheduledQueryRules.js +131 -48
  103. package/dist-esm/src/operations/scheduledQueryRules.js.map +1 -1
  104. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts +4 -4
  105. package/dist-esm/src/operationsInterfaces/actionGroups.d.ts.map +1 -1
  106. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts +51 -0
  107. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.d.ts.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js +9 -0
  109. package/dist-esm/src/operationsInterfaces/azureMonitorWorkspaces.js.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
  111. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  112. package/dist-esm/src/operationsInterfaces/index.js +3 -1
  113. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  114. package/dist-esm/src/operationsInterfaces/{metrics.d.ts → metricsOperations.d.ts} +3 -3
  115. package/dist-esm/src/operationsInterfaces/metricsOperations.d.ts.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/{metrics.js → metricsOperations.js} +1 -1
  117. package/dist-esm/src/operationsInterfaces/metricsOperations.js.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts +11 -0
  119. package/dist-esm/src/operationsInterfaces/monitorOperations.d.ts.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/monitorOperations.js +9 -0
  121. package/dist-esm/src/operationsInterfaces/monitorOperations.js.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  123. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  124. package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts +3 -3
  125. package/dist-esm/src/operationsInterfaces/privateLinkScopedResources.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +2 -2
  127. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts +13 -13
  129. package/dist-esm/src/operationsInterfaces/scheduledQueryRules.d.ts.map +1 -1
  130. package/dist-esm/test/monitor_examples.js +60 -3
  131. package/dist-esm/test/monitor_examples.js.map +1 -1
  132. package/package.json +6 -6
  133. package/review/arm-monitor.api.md +419 -158
  134. package/src/lroImpl.ts +31 -23
  135. package/src/models/index.ts +760 -294
  136. package/src/models/mappers.ts +1990 -1300
  137. package/src/models/parameters.ts +48 -10
  138. package/src/monitorClient.ts +15 -7
  139. package/src/operations/actionGroups.ts +57 -35
  140. package/src/operations/azureMonitorWorkspaces.ts +483 -0
  141. package/src/operations/index.ts +3 -1
  142. package/src/operations/{metrics.ts → metricsOperations.ts} +4 -4
  143. package/src/operations/monitorOperations.ts +149 -0
  144. package/src/operations/privateEndpointConnections.ts +33 -21
  145. package/src/operations/privateLinkScopedResources.ts +28 -21
  146. package/src/operations/privateLinkScopes.ts +15 -11
  147. package/src/operations/scheduledQueryRules.ts +179 -73
  148. package/src/operationsInterfaces/actionGroups.ts +7 -7
  149. package/src/operationsInterfaces/azureMonitorWorkspaces.ts +93 -0
  150. package/src/operationsInterfaces/index.ts +3 -1
  151. package/src/operationsInterfaces/{metrics.ts → metricsOperations.ts} +2 -2
  152. package/src/operationsInterfaces/monitorOperations.ts +25 -0
  153. package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
  154. package/src/operationsInterfaces/privateLinkScopedResources.ts +4 -4
  155. package/src/operationsInterfaces/privateLinkScopes.ts +2 -2
  156. package/src/operationsInterfaces/scheduledQueryRules.ts +21 -21
  157. package/types/arm-monitor.d.ts +825 -289
  158. package/types/tsdoc-metadata.json +1 -1
  159. package/dist-esm/src/operations/metrics.d.ts.map +0 -1
  160. package/dist-esm/src/operations/metrics.js.map +0 -1
  161. package/dist-esm/src/operationsInterfaces/metrics.d.ts.map +0 -1
  162. package/dist-esm/src/operationsInterfaces/metrics.js.map +0 -1
@@ -6,9 +6,9 @@
6
6
 
7
7
  import * as coreAuth from '@azure/core-auth';
8
8
  import * as coreClient from '@azure/core-client';
9
+ import { OperationState } from '@azure/core-lro';
9
10
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PollerLike } from '@azure/core-lro';
11
- import { PollOperationState } from '@azure/core-lro';
11
+ import { SimplePollerLike } from '@azure/core-lro';
12
12
 
13
13
  // @public
14
14
  export type AccessMode = string;
@@ -27,11 +27,6 @@ export interface AccessModeSettingsExclusion {
27
27
  queryAccessMode?: AccessMode;
28
28
  }
29
29
 
30
- // @public
31
- export interface Action {
32
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction" | "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
33
- }
34
-
35
30
  // @public
36
31
  export interface ActionDetail {
37
32
  detail?: string;
@@ -83,11 +78,11 @@ export interface ActionGroupResource extends AzureResource {
83
78
 
84
79
  // @public
85
80
  export interface ActionGroups {
86
- beginCreateNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>, ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>>;
81
+ beginCreateNotificationsAtActionGroupResourceLevel(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>, ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>>;
87
82
  beginCreateNotificationsAtActionGroupResourceLevelAndWait(resourceGroupName: string, actionGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtActionGroupResourceLevelOptionalParams): Promise<ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse>;
88
- beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>>;
83
+ beginCreateNotificationsAtResourceGroupLevel(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>, ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>>;
89
84
  beginCreateNotificationsAtResourceGroupLevelAndWait(resourceGroupName: string, notificationRequest: NotificationRequestBody, options?: ActionGroupsCreateNotificationsAtResourceGroupLevelOptionalParams): Promise<ActionGroupsCreateNotificationsAtResourceGroupLevelResponse>;
90
- beginPostTestNotifications(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<PollerLike<PollOperationState<ActionGroupsPostTestNotificationsResponse>, ActionGroupsPostTestNotificationsResponse>>;
85
+ beginPostTestNotifications(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<SimplePollerLike<OperationState<ActionGroupsPostTestNotificationsResponse>, ActionGroupsPostTestNotificationsResponse>>;
91
86
  beginPostTestNotificationsAndWait(notificationRequest: NotificationRequestBody, options?: ActionGroupsPostTestNotificationsOptionalParams): Promise<ActionGroupsPostTestNotificationsResponse>;
92
87
  createOrUpdate(resourceGroupName: string, actionGroupName: string, actionGroup: ActionGroupResource, options?: ActionGroupsCreateOrUpdateOptionalParams): Promise<ActionGroupsCreateOrUpdateResponse>;
93
88
  delete(resourceGroupName: string, actionGroupName: string, options?: ActionGroupsDeleteOptionalParams): Promise<void>;
@@ -212,8 +207,16 @@ export interface ActionList {
212
207
  actionGroups?: ActionGroup[];
213
208
  }
214
209
 
215
- // @public (undocumented)
216
- export type ActionUnion = Action | AlertingAction | LogToMetricAction;
210
+ // @public
211
+ export interface Actions {
212
+ actionGroups?: string[];
213
+ customProperties?: {
214
+ [propertyName: string]: string;
215
+ };
216
+ }
217
+
218
+ // @public
219
+ export type ActionType = string;
217
220
 
218
221
  // @public
219
222
  export interface ActivityLogAlertResource extends AzureResourceAutoGenerated {
@@ -313,15 +316,6 @@ export type AggregationType = "None" | "Average" | "Count" | "Minimum" | "Maximu
313
316
  // @public
314
317
  export type AggregationTypeEnum = string;
315
318
 
316
- // @public
317
- export interface AlertingAction extends Action {
318
- aznsAction?: AzNsActionGroup;
319
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction";
320
- severity: AlertSeverity;
321
- throttlingInMin?: number;
322
- trigger: TriggerCondition;
323
- }
324
-
325
319
  // @public
326
320
  export interface AlertRuleAllOfCondition {
327
321
  allOf: AlertRuleAnyOfOrLeafCondition[];
@@ -455,7 +449,7 @@ export interface AlertRulesUpdateOptionalParams extends coreClient.OperationOpti
455
449
  export type AlertRulesUpdateResponse = AlertRuleResource;
456
450
 
457
451
  // @public
458
- export type AlertSeverity = string;
452
+ export type AlertSeverity = number;
459
453
 
460
454
  // @public
461
455
  export interface ArmRoleReceiver {
@@ -599,13 +593,6 @@ export interface AutoscaleSettingsUpdateOptionalParams extends coreClient.Operat
599
593
  // @public
600
594
  export type AutoscaleSettingsUpdateResponse = AutoscaleSettingResource;
601
595
 
602
- // @public
603
- export interface AzNsActionGroup {
604
- actionGroup?: string[];
605
- customWebhookPayload?: string;
606
- emailSubject?: string;
607
- }
608
-
609
596
  // @public
610
597
  export interface AzureAppPushReceiver {
611
598
  emailAddress: string;
@@ -640,6 +627,112 @@ export interface AzureMonitorPrivateLinkScopeListResult {
640
627
  value: AzureMonitorPrivateLinkScope[];
641
628
  }
642
629
 
630
+ // @public
631
+ export interface AzureMonitorWorkspace {
632
+ readonly accountId?: string;
633
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
634
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
635
+ readonly provisioningState?: ProvisioningState;
636
+ }
637
+
638
+ // @public
639
+ export interface AzureMonitorWorkspaceDefaultIngestionSettings extends IngestionSettings {
640
+ }
641
+
642
+ // @public
643
+ export interface AzureMonitorWorkspaceMetrics extends Metrics {
644
+ }
645
+
646
+ // @public
647
+ export interface AzureMonitorWorkspaceResource extends TrackedResourceAutoGenerated {
648
+ readonly accountId?: string;
649
+ readonly defaultIngestionSettings?: AzureMonitorWorkspaceDefaultIngestionSettings;
650
+ readonly etag?: string;
651
+ readonly metrics?: AzureMonitorWorkspaceMetrics;
652
+ readonly provisioningState?: ProvisioningState;
653
+ }
654
+
655
+ // @public
656
+ export interface AzureMonitorWorkspaceResourceForUpdate {
657
+ tags?: {
658
+ [propertyName: string]: string;
659
+ };
660
+ }
661
+
662
+ // @public
663
+ export interface AzureMonitorWorkspaceResourceListResult {
664
+ nextLink?: string;
665
+ value: AzureMonitorWorkspaceResource[];
666
+ }
667
+
668
+ // @public
669
+ export interface AzureMonitorWorkspaceResourceProperties extends AzureMonitorWorkspace {
670
+ }
671
+
672
+ // @public
673
+ export interface AzureMonitorWorkspaces {
674
+ create(resourceGroupName: string, azureMonitorWorkspaceName: string, azureMonitorWorkspaceProperties: AzureMonitorWorkspaceResource, options?: AzureMonitorWorkspacesCreateOptionalParams): Promise<AzureMonitorWorkspacesCreateResponse>;
675
+ delete(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesDeleteOptionalParams): Promise<void>;
676
+ get(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesGetOptionalParams): Promise<AzureMonitorWorkspacesGetResponse>;
677
+ listByResourceGroup(resourceGroupName: string, options?: AzureMonitorWorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
678
+ listBySubscription(options?: AzureMonitorWorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureMonitorWorkspaceResource>;
679
+ update(resourceGroupName: string, azureMonitorWorkspaceName: string, options?: AzureMonitorWorkspacesUpdateOptionalParams): Promise<AzureMonitorWorkspacesUpdateResponse>;
680
+ }
681
+
682
+ // @public
683
+ export interface AzureMonitorWorkspacesCreateOptionalParams extends coreClient.OperationOptions {
684
+ }
685
+
686
+ // @public
687
+ export type AzureMonitorWorkspacesCreateResponse = AzureMonitorWorkspaceResource;
688
+
689
+ // @public
690
+ export interface AzureMonitorWorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
691
+ }
692
+
693
+ // @public
694
+ export interface AzureMonitorWorkspacesGetOptionalParams extends coreClient.OperationOptions {
695
+ }
696
+
697
+ // @public
698
+ export type AzureMonitorWorkspacesGetResponse = AzureMonitorWorkspaceResource;
699
+
700
+ // @public
701
+ export interface AzureMonitorWorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
702
+ }
703
+
704
+ // @public
705
+ export type AzureMonitorWorkspacesListByResourceGroupNextResponse = AzureMonitorWorkspaceResourceListResult;
706
+
707
+ // @public
708
+ export interface AzureMonitorWorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
709
+ }
710
+
711
+ // @public
712
+ export type AzureMonitorWorkspacesListByResourceGroupResponse = AzureMonitorWorkspaceResourceListResult;
713
+
714
+ // @public
715
+ export interface AzureMonitorWorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
716
+ }
717
+
718
+ // @public
719
+ export type AzureMonitorWorkspacesListBySubscriptionNextResponse = AzureMonitorWorkspaceResourceListResult;
720
+
721
+ // @public
722
+ export interface AzureMonitorWorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
723
+ }
724
+
725
+ // @public
726
+ export type AzureMonitorWorkspacesListBySubscriptionResponse = AzureMonitorWorkspaceResourceListResult;
727
+
728
+ // @public
729
+ export interface AzureMonitorWorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
730
+ azureMonitorWorkspaceProperties?: AzureMonitorWorkspaceResourceForUpdate;
731
+ }
732
+
733
+ // @public
734
+ export type AzureMonitorWorkspacesUpdateResponse = AzureMonitorWorkspaceResource;
735
+
643
736
  // @public
644
737
  export interface AzureResource {
645
738
  readonly id?: string;
@@ -704,10 +797,26 @@ export interface ColumnDefinition {
704
797
  export type ComparisonOperationType = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
705
798
 
706
799
  // @public
707
- export type ConditionalOperator = string;
800
+ export interface Condition {
801
+ dimensions?: Dimension[];
802
+ failingPeriods?: ConditionFailingPeriods;
803
+ metricMeasureColumn?: string;
804
+ metricName?: string;
805
+ operator?: ConditionOperator;
806
+ query?: string;
807
+ resourceIdColumn?: string;
808
+ threshold?: number;
809
+ timeAggregation?: TimeAggregation;
810
+ }
811
+
812
+ // @public
813
+ export interface ConditionFailingPeriods {
814
+ minFailingPeriodsToAlert?: number;
815
+ numberOfEvaluationPeriods?: number;
816
+ }
708
817
 
709
818
  // @public
710
- export type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual";
819
+ export type ConditionOperator = "GreaterThan" | "GreaterThanOrEqual" | "LessThan" | "LessThanOrEqual" | "Equals";
711
820
 
712
821
  // @public
713
822
  export interface ConfigurationAccessEndpointSpec {
@@ -723,12 +832,6 @@ export interface Context {
723
832
  // @public
724
833
  export type CreatedByType = string;
725
834
 
726
- // @public
727
- export interface Criteria {
728
- dimensions?: Dimension[];
729
- metricName: string;
730
- }
731
-
732
835
  // @public
733
836
  export type CriterionType = string;
734
837
 
@@ -1224,10 +1327,13 @@ export interface DiagnosticSettingsResourceCollection {
1224
1327
  // @public
1225
1328
  export interface Dimension {
1226
1329
  name: string;
1227
- operator: Operator;
1330
+ operator: DimensionOperator;
1228
1331
  values: string[];
1229
1332
  }
1230
1333
 
1334
+ // @public
1335
+ export type DimensionOperator = string;
1336
+
1231
1337
  // @public
1232
1338
  export interface DynamicMetricCriteria extends MultiMetricCriteria {
1233
1339
  alertSensitivity: DynamicThresholdSensitivity;
@@ -1264,9 +1370,6 @@ export interface EmailReceiver {
1264
1370
  useCommonAlertSchema?: boolean;
1265
1371
  }
1266
1372
 
1267
- // @public
1268
- export type Enabled = string;
1269
-
1270
1373
  // @public
1271
1374
  export interface EnableRequest {
1272
1375
  receiverName: string;
@@ -1280,7 +1383,7 @@ export interface ErrorAdditionalInfo {
1280
1383
 
1281
1384
  // @public
1282
1385
  export interface ErrorContract {
1283
- error?: ErrorResponse;
1386
+ error?: ErrorResponseDetails;
1284
1387
  }
1285
1388
 
1286
1389
  // @public
@@ -1292,6 +1395,15 @@ export interface ErrorDetail {
1292
1395
  readonly target?: string;
1293
1396
  }
1294
1397
 
1398
+ // @public
1399
+ export interface ErrorDetailAutoGenerated {
1400
+ readonly additionalInfo?: ErrorAdditionalInfo[];
1401
+ readonly code?: string;
1402
+ readonly details?: ErrorDetailAutoGenerated[];
1403
+ readonly message?: string;
1404
+ readonly target?: string;
1405
+ }
1406
+
1295
1407
  // @public
1296
1408
  export interface ErrorModel {
1297
1409
  code: string;
@@ -1304,17 +1416,37 @@ export interface ErrorResponse {
1304
1416
  message?: string;
1305
1417
  }
1306
1418
 
1419
+ // @public
1420
+ export interface ErrorResponseAdditionalInfo {
1421
+ readonly info?: Record<string, unknown>;
1422
+ readonly type?: string;
1423
+ }
1424
+
1307
1425
  // @public
1308
1426
  export interface ErrorResponseAutoGenerated {
1309
1427
  readonly code?: string;
1310
1428
  readonly message?: string;
1311
1429
  }
1312
1430
 
1431
+ // @public
1432
+ export interface ErrorResponseAutoGenerated2 {
1433
+ error?: ErrorDetailAutoGenerated;
1434
+ }
1435
+
1313
1436
  // @public
1314
1437
  export interface ErrorResponseCommonV2 {
1315
1438
  error?: ErrorDetail;
1316
1439
  }
1317
1440
 
1441
+ // @public
1442
+ export interface ErrorResponseDetails {
1443
+ readonly additionalInfo?: ErrorResponseAdditionalInfo[];
1444
+ readonly code?: string;
1445
+ readonly details?: ErrorResponseDetails[];
1446
+ readonly message?: string;
1447
+ readonly target?: string;
1448
+ }
1449
+
1318
1450
  // @public
1319
1451
  export interface EventCategories {
1320
1452
  list(options?: EventCategoriesListOptionalParams): PagedAsyncIterableIterator<LocalizableString>;
@@ -1403,6 +1535,19 @@ export interface HttpRequestInfo {
1403
1535
  uri?: string;
1404
1536
  }
1405
1537
 
1538
+ // @public
1539
+ export interface Identity {
1540
+ readonly principalId?: string;
1541
+ readonly tenantId?: string;
1542
+ type: IdentityType;
1543
+ userAssignedIdentities?: {
1544
+ [propertyName: string]: UserIdentityProperties;
1545
+ };
1546
+ }
1547
+
1548
+ // @public
1549
+ export type IdentityType = "SystemAssigned" | "UserAssigned" | "None";
1550
+
1406
1551
  // @public
1407
1552
  export interface IisLogsDataSource {
1408
1553
  logDirectories?: string[];
@@ -1424,6 +1569,12 @@ export interface IncidentListResult {
1424
1569
  value?: Incident[];
1425
1570
  }
1426
1571
 
1572
+ // @public
1573
+ export interface IngestionSettings {
1574
+ readonly dataCollectionEndpointResourceId?: string;
1575
+ readonly dataCollectionRuleResourceId?: string;
1576
+ }
1577
+
1427
1578
  // @public
1428
1579
  export interface ItsmReceiver {
1429
1580
  connectionId: string;
@@ -1433,12 +1584,20 @@ export interface ItsmReceiver {
1433
1584
  workspaceId: string;
1434
1585
  }
1435
1586
 
1587
+ // @public
1588
+ export type Kind = string;
1589
+
1436
1590
  // @public
1437
1591
  export enum KnownAccessMode {
1438
1592
  Open = "Open",
1439
1593
  PrivateOnly = "PrivateOnly"
1440
1594
  }
1441
1595
 
1596
+ // @public
1597
+ export enum KnownActionType {
1598
+ Internal = "Internal"
1599
+ }
1600
+
1442
1601
  // @public
1443
1602
  export enum KnownAggregationTypeEnum {
1444
1603
  Average = "Average",
@@ -1450,11 +1609,11 @@ export enum KnownAggregationTypeEnum {
1450
1609
 
1451
1610
  // @public
1452
1611
  export enum KnownAlertSeverity {
1453
- Four = "4",
1454
- One = "1",
1455
- Three = "3",
1456
- Two = "2",
1457
- Zero = "0"
1612
+ Four = 4,
1613
+ One = 1,
1614
+ Three = 3,
1615
+ Two = 2,
1616
+ Zero = 0
1458
1617
  }
1459
1618
 
1460
1619
  // @public
@@ -1473,15 +1632,6 @@ export enum KnownCategoryType {
1473
1632
  // @public
1474
1633
  export type KnownColumnDefinitionType = string;
1475
1634
 
1476
- // @public
1477
- export enum KnownConditionalOperator {
1478
- Equal = "Equal",
1479
- GreaterThan = "GreaterThan",
1480
- GreaterThanOrEqual = "GreaterThanOrEqual",
1481
- LessThan = "LessThan",
1482
- LessThanOrEqual = "LessThanOrEqual"
1483
- }
1484
-
1485
1635
  // @public
1486
1636
  export enum KnownCreatedByType {
1487
1637
  Application = "Application",
@@ -1520,6 +1670,12 @@ export enum KnownDataStatus {
1520
1670
  Present = "present"
1521
1671
  }
1522
1672
 
1673
+ // @public
1674
+ export enum KnownDimensionOperator {
1675
+ Exclude = "Exclude",
1676
+ Include = "Include"
1677
+ }
1678
+
1523
1679
  // @public
1524
1680
  export enum KnownDynamicThresholdOperator {
1525
1681
  GreaterOrLessThan = "GreaterOrLessThan",
@@ -1535,13 +1691,13 @@ export enum KnownDynamicThresholdSensitivity {
1535
1691
  }
1536
1692
 
1537
1693
  // @public
1538
- export enum KnownEnabled {
1539
- False = "false",
1540
- True = "true"
1541
- }
1694
+ export type KnownExtensionDataSourceStreams = string;
1542
1695
 
1543
1696
  // @public
1544
- export type KnownExtensionDataSourceStreams = string;
1697
+ export enum KnownKind {
1698
+ LogAlert = "LogAlert",
1699
+ LogToMetric = "LogToMetric"
1700
+ }
1545
1701
 
1546
1702
  // @public
1547
1703
  export enum KnownKnownColumnDefinitionType {
@@ -1705,12 +1861,6 @@ export enum KnownMetricClass {
1705
1861
  Transactions = "Transactions"
1706
1862
  }
1707
1863
 
1708
- // @public
1709
- export enum KnownMetricTriggerType {
1710
- Consecutive = "Consecutive",
1711
- Total = "Total"
1712
- }
1713
-
1714
1864
  // @public
1715
1865
  export enum KnownMetricUnit {
1716
1866
  BitsPerSecond = "BitsPerSecond",
@@ -1754,11 +1904,17 @@ export enum KnownOperator {
1754
1904
  Equals = "Equals",
1755
1905
  GreaterThan = "GreaterThan",
1756
1906
  GreaterThanOrEqual = "GreaterThanOrEqual",
1757
- Include = "Include",
1758
1907
  LessThan = "LessThan",
1759
1908
  LessThanOrEqual = "LessThanOrEqual"
1760
1909
  }
1761
1910
 
1911
+ // @public
1912
+ export enum KnownOrigin {
1913
+ System = "system",
1914
+ User = "user",
1915
+ UserSystem = "user,system"
1916
+ }
1917
+
1762
1918
  // @public
1763
1919
  export type KnownPerfCounterDataSourceStreams = string;
1764
1920
 
@@ -1780,18 +1936,21 @@ export enum KnownPrivateEndpointServiceConnectionStatus {
1780
1936
  // @public
1781
1937
  export enum KnownProvisioningState {
1782
1938
  Canceled = "Canceled",
1783
- Deploying = "Deploying",
1939
+ Creating = "Creating",
1940
+ Deleting = "Deleting",
1784
1941
  Failed = "Failed",
1785
1942
  Succeeded = "Succeeded"
1786
1943
  }
1787
1944
 
1788
1945
  // @public
1789
- export type KnownPublicNetworkAccessOptions = string;
1946
+ export enum KnownPublicNetworkAccess {
1947
+ Disabled = "Disabled",
1948
+ Enabled = "Enabled",
1949
+ SecuredByPerimeter = "SecuredByPerimeter"
1950
+ }
1790
1951
 
1791
1952
  // @public
1792
- export enum KnownQueryType {
1793
- ResultCount = "ResultCount"
1794
- }
1953
+ export type KnownPublicNetworkAccessOptions = string;
1795
1954
 
1796
1955
  // @public
1797
1956
  export enum KnownScaleRuleMetricDimensionOperationType {
@@ -1808,6 +1967,15 @@ export type KnownSyslogDataSourceLogLevels = string;
1808
1967
  // @public
1809
1968
  export type KnownSyslogDataSourceStreams = string;
1810
1969
 
1970
+ // @public
1971
+ export enum KnownTimeAggregation {
1972
+ Average = "Average",
1973
+ Count = "Count",
1974
+ Maximum = "Maximum",
1975
+ Minimum = "Minimum",
1976
+ Total = "Total"
1977
+ }
1978
+
1811
1979
  // @public
1812
1980
  export type KnownWindowsEventLogDataSourceStreams = string;
1813
1981
 
@@ -1866,14 +2034,6 @@ export interface LogicAppReceiver {
1866
2034
  useCommonAlertSchema?: boolean;
1867
2035
  }
1868
2036
 
1869
- // @public
1870
- export interface LogMetricTrigger {
1871
- metricColumn?: string;
1872
- metricTriggerType?: MetricTriggerType;
1873
- threshold?: number;
1874
- thresholdOperator?: ConditionalOperator;
1875
- }
1876
-
1877
2037
  // @public
1878
2038
  export interface LogProfileCollection {
1879
2039
  value: LogProfileResource[];
@@ -1941,34 +2101,6 @@ export interface LogProfilesUpdateOptionalParams extends coreClient.OperationOpt
1941
2101
  // @public
1942
2102
  export type LogProfilesUpdateResponse = LogProfileResource;
1943
2103
 
1944
- // @public
1945
- export interface LogSearchRuleResource extends ResourceAutoGenerated5 {
1946
- action: ActionUnion;
1947
- autoMitigate?: boolean;
1948
- readonly createdWithApiVersion?: string;
1949
- description?: string;
1950
- displayName?: string;
1951
- enabled?: Enabled;
1952
- readonly isLegacyLogAnalyticsRule?: boolean;
1953
- readonly lastUpdatedTime?: Date;
1954
- readonly provisioningState?: ProvisioningState;
1955
- schedule?: Schedule;
1956
- source: Source;
1957
- }
1958
-
1959
- // @public
1960
- export interface LogSearchRuleResourceCollection {
1961
- value?: LogSearchRuleResource[];
1962
- }
1963
-
1964
- // @public
1965
- export interface LogSearchRuleResourcePatch {
1966
- enabled?: Enabled;
1967
- tags?: {
1968
- [propertyName: string]: string;
1969
- };
1970
- }
1971
-
1972
2104
  // @public
1973
2105
  export interface LogSettings {
1974
2106
  category?: string;
@@ -1982,12 +2114,6 @@ export interface LogsIngestionEndpointSpec {
1982
2114
  readonly endpoint?: string;
1983
2115
  }
1984
2116
 
1985
- // @public
1986
- export interface LogToMetricAction extends Action {
1987
- criteria: Criteria[];
1988
- odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction";
1989
- }
1990
-
1991
2117
  // @public
1992
2118
  export interface ManagementEventAggregationCondition {
1993
2119
  operator?: ConditionOperator;
@@ -2283,7 +2409,8 @@ export type MetricNamespacesListResponse = MetricNamespaceCollection;
2283
2409
 
2284
2410
  // @public
2285
2411
  export interface Metrics {
2286
- list(resourceUri: string, options?: MetricsListOptionalParams): Promise<MetricsListResponse>;
2412
+ readonly internalId?: string;
2413
+ readonly prometheusQueryEndpoint?: string;
2287
2414
  }
2288
2415
 
2289
2416
  // @public
@@ -2316,6 +2443,11 @@ export interface MetricsListOptionalParams extends coreClient.OperationOptions {
2316
2443
  // @public
2317
2444
  export type MetricsListResponse = Response_2;
2318
2445
 
2446
+ // @public
2447
+ export interface MetricsOperations {
2448
+ list(resourceUri: string, options?: MetricsListOptionalParams): Promise<MetricsListResponse>;
2449
+ }
2450
+
2319
2451
  // @public
2320
2452
  export type MetricStatisticType = "Average" | "Min" | "Max" | "Sum" | "Count";
2321
2453
 
@@ -2335,9 +2467,6 @@ export interface MetricTrigger {
2335
2467
  timeWindow: string;
2336
2468
  }
2337
2469
 
2338
- // @public
2339
- export type MetricTriggerType = string;
2340
-
2341
2470
  // @public
2342
2471
  export type MetricUnit = string;
2343
2472
 
@@ -2369,6 +2498,8 @@ export class MonitorClient extends coreClient.ServiceClient {
2369
2498
  // (undocumented)
2370
2499
  autoscaleSettings: AutoscaleSettings;
2371
2500
  // (undocumented)
2501
+ azureMonitorWorkspaces: AzureMonitorWorkspaces;
2502
+ // (undocumented)
2372
2503
  baselines: Baselines;
2373
2504
  // (undocumented)
2374
2505
  dataCollectionEndpoints: DataCollectionEndpoints;
@@ -2393,7 +2524,9 @@ export class MonitorClient extends coreClient.ServiceClient {
2393
2524
  // (undocumented)
2394
2525
  metricNamespaces: MetricNamespaces;
2395
2526
  // (undocumented)
2396
- metrics: Metrics;
2527
+ metricsOperations: MetricsOperations;
2528
+ // (undocumented)
2529
+ monitorOperations: MonitorOperations;
2397
2530
  // (undocumented)
2398
2531
  operations: Operations;
2399
2532
  // (undocumented)
@@ -2424,6 +2557,25 @@ export interface MonitorClientOptionalParams extends coreClient.ServiceClientOpt
2424
2557
  endpoint?: string;
2425
2558
  }
2426
2559
 
2560
+ // @public
2561
+ export interface MonitorOperations {
2562
+ list(options?: MonitorOperationsListOptionalParams): PagedAsyncIterableIterator<OperationAutoGenerated>;
2563
+ }
2564
+
2565
+ // @public
2566
+ export interface MonitorOperationsListNextOptionalParams extends coreClient.OperationOptions {
2567
+ }
2568
+
2569
+ // @public
2570
+ export type MonitorOperationsListNextResponse = OperationListResultAutoGenerated;
2571
+
2572
+ // @public
2573
+ export interface MonitorOperationsListOptionalParams extends coreClient.OperationOptions {
2574
+ }
2575
+
2576
+ // @public
2577
+ export type MonitorOperationsListResponse = OperationListResultAutoGenerated;
2578
+
2427
2579
  // @public
2428
2580
  export interface MultiMetricCriteria {
2429
2581
  [property: string]: any;
@@ -2475,6 +2627,15 @@ export interface Operation {
2475
2627
  name?: string;
2476
2628
  }
2477
2629
 
2630
+ // @public
2631
+ export interface OperationAutoGenerated {
2632
+ readonly actionType?: ActionType;
2633
+ display?: OperationDisplayAutoGenerated;
2634
+ readonly isDataAction?: boolean;
2635
+ readonly name?: string;
2636
+ readonly origin?: Origin;
2637
+ }
2638
+
2478
2639
  // @public
2479
2640
  export interface OperationDisplay {
2480
2641
  operation?: string;
@@ -2482,12 +2643,26 @@ export interface OperationDisplay {
2482
2643
  resource?: string;
2483
2644
  }
2484
2645
 
2646
+ // @public
2647
+ export interface OperationDisplayAutoGenerated {
2648
+ readonly description?: string;
2649
+ readonly operation?: string;
2650
+ readonly provider?: string;
2651
+ readonly resource?: string;
2652
+ }
2653
+
2485
2654
  // @public
2486
2655
  export interface OperationListResult {
2487
2656
  nextLink?: string;
2488
2657
  value?: Operation[];
2489
2658
  }
2490
2659
 
2660
+ // @public
2661
+ export interface OperationListResultAutoGenerated {
2662
+ readonly nextLink?: string;
2663
+ readonly value?: OperationAutoGenerated[];
2664
+ }
2665
+
2491
2666
  // @public
2492
2667
  export interface Operations {
2493
2668
  list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
@@ -2513,6 +2688,9 @@ export interface OperationStatus {
2513
2688
  // @public
2514
2689
  export type Operator = string;
2515
2690
 
2691
+ // @public
2692
+ export type Origin = string;
2693
+
2516
2694
  // @public
2517
2695
  export interface PerfCounterDataSource {
2518
2696
  counterSpecifiers?: string[];
@@ -2579,9 +2757,9 @@ export type PrivateEndpointConnectionProvisioningState = string;
2579
2757
 
2580
2758
  // @public
2581
2759
  export interface PrivateEndpointConnections {
2582
- beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
2760
+ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
2583
2761
  beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
2584
- beginDelete(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2762
+ beginDelete(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2585
2763
  beginDeleteAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
2586
2764
  get(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
2587
2765
  listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeResponse>;
@@ -2653,9 +2831,9 @@ export type PrivateLinkResourcesListByPrivateLinkScopeResponse = PrivateLinkReso
2653
2831
 
2654
2832
  // @public
2655
2833
  export interface PrivateLinkScopedResources {
2656
- beginCreateOrUpdate(resourceGroupName: string, scopeName: string, name: string, parameters: ScopedResource, options?: PrivateLinkScopedResourcesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateLinkScopedResourcesCreateOrUpdateResponse>, PrivateLinkScopedResourcesCreateOrUpdateResponse>>;
2834
+ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, name: string, parameters: ScopedResource, options?: PrivateLinkScopedResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateLinkScopedResourcesCreateOrUpdateResponse>, PrivateLinkScopedResourcesCreateOrUpdateResponse>>;
2657
2835
  beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, name: string, parameters: ScopedResource, options?: PrivateLinkScopedResourcesCreateOrUpdateOptionalParams): Promise<PrivateLinkScopedResourcesCreateOrUpdateResponse>;
2658
- beginDelete(resourceGroupName: string, scopeName: string, name: string, options?: PrivateLinkScopedResourcesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2836
+ beginDelete(resourceGroupName: string, scopeName: string, name: string, options?: PrivateLinkScopedResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2659
2837
  beginDeleteAndWait(resourceGroupName: string, scopeName: string, name: string, options?: PrivateLinkScopedResourcesDeleteOptionalParams): Promise<void>;
2660
2838
  get(resourceGroupName: string, scopeName: string, name: string, options?: PrivateLinkScopedResourcesGetOptionalParams): Promise<PrivateLinkScopedResourcesGetResponse>;
2661
2839
  listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopedResourcesListByPrivateLinkScopeOptionalParams): PagedAsyncIterableIterator<ScopedResource>;
@@ -2711,7 +2889,7 @@ export type PrivateLinkScopeOperationStatusGetResponse = OperationStatus;
2711
2889
 
2712
2890
  // @public
2713
2891
  export interface PrivateLinkScopes {
2714
- beginDelete(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2892
+ beginDelete(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2715
2893
  beginDeleteAndWait(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesDeleteOptionalParams): Promise<void>;
2716
2894
  createOrUpdate(resourceGroupName: string, scopeName: string, azureMonitorPrivateLinkScopePayload: AzureMonitorPrivateLinkScope, options?: PrivateLinkScopesCreateOrUpdateOptionalParams): Promise<PrivateLinkScopesCreateOrUpdateResponse>;
2717
2895
  get(resourceGroupName: string, scopeName: string, options?: PrivateLinkScopesGetOptionalParams): Promise<PrivateLinkScopesGetResponse>;
@@ -2797,7 +2975,7 @@ export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated3 {
2797
2975
  }
2798
2976
 
2799
2977
  // @public
2800
- export type QueryType = string;
2978
+ export type PublicNetworkAccess = string;
2801
2979
 
2802
2980
  // @public
2803
2981
  export type ReceiverStatus = "NotSpecified" | "Enabled" | "Disabled";
@@ -2873,14 +3051,9 @@ export interface ResourceAutoGenerated4 {
2873
3051
 
2874
3052
  // @public
2875
3053
  export interface ResourceAutoGenerated5 {
2876
- readonly etag?: string;
2877
3054
  readonly id?: string;
2878
- readonly kind?: string;
2879
- location: string;
2880
3055
  readonly name?: string;
2881
- tags?: {
2882
- [propertyName: string]: string;
2883
- };
3056
+ readonly systemData?: SystemData;
2884
3057
  readonly type?: string;
2885
3058
  }
2886
3059
 
@@ -2977,6 +3150,12 @@ export interface RuleMetricDataSource extends RuleDataSource {
2977
3150
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource";
2978
3151
  }
2979
3152
 
3153
+ // @public
3154
+ export interface RuleResolveConfiguration {
3155
+ autoResolved?: boolean;
3156
+ timeToResolve?: string;
3157
+ }
3158
+
2980
3159
  // @public
2981
3160
  export interface RuleWebhookAction extends RuleAction {
2982
3161
  odataType: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction";
@@ -3024,19 +3203,87 @@ export type ScaleRuleMetricDimensionOperationType = string;
3024
3203
  export type ScaleType = "ChangeCount" | "PercentChangeCount" | "ExactCount" | "ServiceAllowedNextValue";
3025
3204
 
3026
3205
  // @public
3027
- export interface Schedule {
3028
- frequencyInMinutes: number;
3029
- timeWindowInMinutes: number;
3206
+ export interface ScheduledQueryRuleCriteria {
3207
+ allOf?: Condition[];
3208
+ }
3209
+
3210
+ // @public
3211
+ export interface ScheduledQueryRuleResource {
3212
+ actions?: Actions;
3213
+ autoMitigate?: boolean;
3214
+ checkWorkspaceAlertsStorageConfigured?: boolean;
3215
+ readonly createdWithApiVersion?: string;
3216
+ criteria?: ScheduledQueryRuleCriteria;
3217
+ description?: string;
3218
+ displayName?: string;
3219
+ enabled?: boolean;
3220
+ readonly etag?: string;
3221
+ evaluationFrequency?: string;
3222
+ readonly id?: string;
3223
+ identity?: Identity;
3224
+ readonly isLegacyLogAnalyticsRule?: boolean;
3225
+ readonly isWorkspaceAlertsStorageConfigured?: boolean;
3226
+ kind?: Kind;
3227
+ location: string;
3228
+ muteActionsDuration?: string;
3229
+ readonly name?: string;
3230
+ overrideQueryTimeRange?: string;
3231
+ publicNetworkAccess?: PublicNetworkAccess;
3232
+ ruleResolveConfiguration?: RuleResolveConfiguration;
3233
+ scopes?: string[];
3234
+ severity?: AlertSeverity;
3235
+ skipQueryValidation?: boolean;
3236
+ readonly systemData?: SystemData;
3237
+ tags?: {
3238
+ [propertyName: string]: string;
3239
+ };
3240
+ targetResourceTypes?: string[];
3241
+ readonly type?: string;
3242
+ windowSize?: string;
3243
+ }
3244
+
3245
+ // @public
3246
+ export interface ScheduledQueryRuleResourceCollection {
3247
+ readonly nextLink?: string;
3248
+ value?: ScheduledQueryRuleResource[];
3249
+ }
3250
+
3251
+ // @public
3252
+ export interface ScheduledQueryRuleResourcePatch {
3253
+ actions?: Actions;
3254
+ autoMitigate?: boolean;
3255
+ checkWorkspaceAlertsStorageConfigured?: boolean;
3256
+ readonly createdWithApiVersion?: string;
3257
+ criteria?: ScheduledQueryRuleCriteria;
3258
+ description?: string;
3259
+ displayName?: string;
3260
+ enabled?: boolean;
3261
+ evaluationFrequency?: string;
3262
+ identity?: Identity;
3263
+ readonly isLegacyLogAnalyticsRule?: boolean;
3264
+ readonly isWorkspaceAlertsStorageConfigured?: boolean;
3265
+ muteActionsDuration?: string;
3266
+ overrideQueryTimeRange?: string;
3267
+ publicNetworkAccess?: PublicNetworkAccess;
3268
+ ruleResolveConfiguration?: RuleResolveConfiguration;
3269
+ scopes?: string[];
3270
+ severity?: AlertSeverity;
3271
+ skipQueryValidation?: boolean;
3272
+ tags?: {
3273
+ [propertyName: string]: string;
3274
+ };
3275
+ targetResourceTypes?: string[];
3276
+ windowSize?: string;
3030
3277
  }
3031
3278
 
3032
3279
  // @public
3033
3280
  export interface ScheduledQueryRules {
3034
- createOrUpdate(resourceGroupName: string, ruleName: string, parameters: LogSearchRuleResource, options?: ScheduledQueryRulesCreateOrUpdateOptionalParams): Promise<ScheduledQueryRulesCreateOrUpdateResponse>;
3281
+ createOrUpdate(resourceGroupName: string, ruleName: string, parameters: ScheduledQueryRuleResource, options?: ScheduledQueryRulesCreateOrUpdateOptionalParams): Promise<ScheduledQueryRulesCreateOrUpdateResponse>;
3035
3282
  delete(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesDeleteOptionalParams): Promise<void>;
3036
3283
  get(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesGetOptionalParams): Promise<ScheduledQueryRulesGetResponse>;
3037
- listByResourceGroup(resourceGroupName: string, options?: ScheduledQueryRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LogSearchRuleResource>;
3038
- listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LogSearchRuleResource>;
3039
- update(resourceGroupName: string, ruleName: string, parameters: LogSearchRuleResourcePatch, options?: ScheduledQueryRulesUpdateOptionalParams): Promise<ScheduledQueryRulesUpdateResponse>;
3284
+ listByResourceGroup(resourceGroupName: string, options?: ScheduledQueryRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ScheduledQueryRuleResource>;
3285
+ listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ScheduledQueryRuleResource>;
3286
+ update(resourceGroupName: string, ruleName: string, parameters: ScheduledQueryRuleResourcePatch, options?: ScheduledQueryRulesUpdateOptionalParams): Promise<ScheduledQueryRulesUpdateResponse>;
3040
3287
  }
3041
3288
 
3042
3289
  // @public
@@ -3044,7 +3291,7 @@ export interface ScheduledQueryRulesCreateOrUpdateOptionalParams extends coreCli
3044
3291
  }
3045
3292
 
3046
3293
  // @public
3047
- export type ScheduledQueryRulesCreateOrUpdateResponse = LogSearchRuleResource;
3294
+ export type ScheduledQueryRulesCreateOrUpdateResponse = ScheduledQueryRuleResource;
3048
3295
 
3049
3296
  // @public
3050
3297
  export interface ScheduledQueryRulesDeleteOptionalParams extends coreClient.OperationOptions {
@@ -3055,30 +3302,42 @@ export interface ScheduledQueryRulesGetOptionalParams extends coreClient.Operati
3055
3302
  }
3056
3303
 
3057
3304
  // @public
3058
- export type ScheduledQueryRulesGetResponse = LogSearchRuleResource;
3305
+ export type ScheduledQueryRulesGetResponse = ScheduledQueryRuleResource;
3306
+
3307
+ // @public
3308
+ export interface ScheduledQueryRulesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
3309
+ }
3310
+
3311
+ // @public
3312
+ export type ScheduledQueryRulesListByResourceGroupNextResponse = ScheduledQueryRuleResourceCollection;
3059
3313
 
3060
3314
  // @public
3061
3315
  export interface ScheduledQueryRulesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
3062
- filter?: string;
3063
3316
  }
3064
3317
 
3065
3318
  // @public
3066
- export type ScheduledQueryRulesListByResourceGroupResponse = LogSearchRuleResourceCollection;
3319
+ export type ScheduledQueryRulesListByResourceGroupResponse = ScheduledQueryRuleResourceCollection;
3320
+
3321
+ // @public
3322
+ export interface ScheduledQueryRulesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
3323
+ }
3324
+
3325
+ // @public
3326
+ export type ScheduledQueryRulesListBySubscriptionNextResponse = ScheduledQueryRuleResourceCollection;
3067
3327
 
3068
3328
  // @public
3069
3329
  export interface ScheduledQueryRulesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
3070
- filter?: string;
3071
3330
  }
3072
3331
 
3073
3332
  // @public
3074
- export type ScheduledQueryRulesListBySubscriptionResponse = LogSearchRuleResourceCollection;
3333
+ export type ScheduledQueryRulesListBySubscriptionResponse = ScheduledQueryRuleResourceCollection;
3075
3334
 
3076
3335
  // @public
3077
3336
  export interface ScheduledQueryRulesUpdateOptionalParams extends coreClient.OperationOptions {
3078
3337
  }
3079
3338
 
3080
3339
  // @public
3081
- export type ScheduledQueryRulesUpdateResponse = LogSearchRuleResource;
3340
+ export type ScheduledQueryRulesUpdateResponse = ScheduledQueryRuleResource;
3082
3341
 
3083
3342
  // @public
3084
3343
  export interface ScopedResource extends ProxyResourceAutoGenerated {
@@ -3126,14 +3385,6 @@ export interface SmsReceiver {
3126
3385
  readonly status?: ReceiverStatus;
3127
3386
  }
3128
3387
 
3129
- // @public
3130
- export interface Source {
3131
- authorizedResources?: string[];
3132
- dataSourceId: string;
3133
- query?: string;
3134
- queryType?: QueryType;
3135
- }
3136
-
3137
3388
  // @public
3138
3389
  export interface StreamDeclaration {
3139
3390
  columns?: ColumnDefinition[];
@@ -3203,6 +3454,9 @@ export interface ThresholdRuleCondition extends RuleCondition {
3203
3454
  windowSize?: string;
3204
3455
  }
3205
3456
 
3457
+ // @public
3458
+ export type TimeAggregation = string;
3459
+
3206
3460
  // @public
3207
3461
  export type TimeAggregationOperator = "Average" | "Minimum" | "Maximum" | "Total" | "Last";
3208
3462
 
@@ -3240,10 +3494,17 @@ export interface TrackedResource extends ResourceAutoGenerated3 {
3240
3494
  }
3241
3495
 
3242
3496
  // @public
3243
- export interface TriggerCondition {
3244
- metricTrigger?: LogMetricTrigger;
3245
- threshold: number;
3246
- thresholdOperator: ConditionalOperator;
3497
+ export interface TrackedResourceAutoGenerated extends ResourceAutoGenerated5 {
3498
+ location: string;
3499
+ tags?: {
3500
+ [propertyName: string]: string;
3501
+ };
3502
+ }
3503
+
3504
+ // @public
3505
+ export interface UserIdentityProperties {
3506
+ readonly clientId?: string;
3507
+ readonly principalId?: string;
3247
3508
  }
3248
3509
 
3249
3510
  // @public