@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
@@ -520,6 +520,28 @@ export const WebhookNotification = {
520
520
  }
521
521
  }
522
522
  };
523
+ export const PredictiveAutoscalePolicy = {
524
+ type: {
525
+ name: "Composite",
526
+ className: "PredictiveAutoscalePolicy",
527
+ modelProperties: {
528
+ scaleMode: {
529
+ serializedName: "scaleMode",
530
+ required: true,
531
+ type: {
532
+ name: "Enum",
533
+ allowedValues: ["Disabled", "ForecastOnly", "Enabled"]
534
+ }
535
+ },
536
+ scaleLookAheadTime: {
537
+ serializedName: "scaleLookAheadTime",
538
+ type: {
539
+ name: "TimeSpan"
540
+ }
541
+ }
542
+ }
543
+ }
544
+ };
523
545
  export const Resource = {
524
546
  type: {
525
547
  name: "Composite",
@@ -559,14 +581,87 @@ export const Resource = {
559
581
  name: "Dictionary",
560
582
  value: { type: { name: "String" } }
561
583
  }
584
+ },
585
+ systemData: {
586
+ serializedName: "systemData",
587
+ type: {
588
+ name: "Composite",
589
+ className: "SystemData"
590
+ }
562
591
  }
563
592
  }
564
593
  }
565
594
  };
566
- export const ErrorResponse = {
595
+ export const SystemData = {
567
596
  type: {
568
597
  name: "Composite",
569
- className: "ErrorResponse",
598
+ className: "SystemData",
599
+ modelProperties: {
600
+ createdBy: {
601
+ serializedName: "createdBy",
602
+ type: {
603
+ name: "String"
604
+ }
605
+ },
606
+ createdByType: {
607
+ serializedName: "createdByType",
608
+ type: {
609
+ name: "String"
610
+ }
611
+ },
612
+ createdAt: {
613
+ serializedName: "createdAt",
614
+ type: {
615
+ name: "DateTime"
616
+ }
617
+ },
618
+ lastModifiedBy: {
619
+ serializedName: "lastModifiedBy",
620
+ type: {
621
+ name: "String"
622
+ }
623
+ },
624
+ lastModifiedByType: {
625
+ serializedName: "lastModifiedByType",
626
+ type: {
627
+ name: "String"
628
+ }
629
+ },
630
+ lastModifiedAt: {
631
+ serializedName: "lastModifiedAt",
632
+ type: {
633
+ name: "DateTime"
634
+ }
635
+ }
636
+ }
637
+ }
638
+ };
639
+ export const AutoscaleErrorResponse = {
640
+ type: {
641
+ name: "Composite",
642
+ className: "AutoscaleErrorResponse",
643
+ modelProperties: {
644
+ error: {
645
+ serializedName: "error",
646
+ type: {
647
+ name: "Composite",
648
+ className: "AutoscaleErrorResponseError"
649
+ }
650
+ },
651
+ systemData: {
652
+ serializedName: "systemData",
653
+ type: {
654
+ name: "Composite",
655
+ className: "SystemData"
656
+ }
657
+ }
658
+ }
659
+ }
660
+ };
661
+ export const AutoscaleErrorResponseError = {
662
+ type: {
663
+ name: "Composite",
664
+ className: "AutoscaleErrorResponseError",
570
665
  modelProperties: {
571
666
  code: {
572
667
  serializedName: "code",
@@ -579,6 +674,18 @@ export const ErrorResponse = {
579
674
  type: {
580
675
  name: "String"
581
676
  }
677
+ },
678
+ target: {
679
+ serializedName: "target",
680
+ type: {
681
+ name: "String"
682
+ }
683
+ },
684
+ details: {
685
+ serializedName: "details",
686
+ type: {
687
+ name: "String"
688
+ }
582
689
  }
583
690
  }
584
691
  }
@@ -623,12 +730,19 @@ export const AutoscaleSettingResourcePatch = {
623
730
  }
624
731
  },
625
732
  enabled: {
626
- defaultValue: true,
733
+ defaultValue: false,
627
734
  serializedName: "properties.enabled",
628
735
  type: {
629
736
  name: "Boolean"
630
737
  }
631
738
  },
739
+ predictiveAutoscalePolicy: {
740
+ serializedName: "properties.predictiveAutoscalePolicy",
741
+ type: {
742
+ name: "Composite",
743
+ className: "PredictiveAutoscalePolicy"
744
+ }
745
+ },
632
746
  name: {
633
747
  serializedName: "properties.name",
634
748
  type: {
@@ -650,6 +764,72 @@ export const AutoscaleSettingResourcePatch = {
650
764
  }
651
765
  }
652
766
  };
767
+ export const PredictiveResponse = {
768
+ type: {
769
+ name: "Composite",
770
+ className: "PredictiveResponse",
771
+ modelProperties: {
772
+ timespan: {
773
+ serializedName: "timespan",
774
+ type: {
775
+ name: "String"
776
+ }
777
+ },
778
+ interval: {
779
+ serializedName: "interval",
780
+ type: {
781
+ name: "TimeSpan"
782
+ }
783
+ },
784
+ metricName: {
785
+ serializedName: "metricName",
786
+ type: {
787
+ name: "String"
788
+ }
789
+ },
790
+ targetResourceId: {
791
+ serializedName: "targetResourceId",
792
+ type: {
793
+ name: "String"
794
+ }
795
+ },
796
+ data: {
797
+ serializedName: "data",
798
+ type: {
799
+ name: "Sequence",
800
+ element: {
801
+ type: {
802
+ name: "Composite",
803
+ className: "PredictiveValue"
804
+ }
805
+ }
806
+ }
807
+ }
808
+ }
809
+ }
810
+ };
811
+ export const PredictiveValue = {
812
+ type: {
813
+ name: "Composite",
814
+ className: "PredictiveValue",
815
+ modelProperties: {
816
+ timeStamp: {
817
+ serializedName: "timeStamp",
818
+ required: true,
819
+ type: {
820
+ name: "DateTime"
821
+ }
822
+ },
823
+ value: {
824
+ serializedName: "value",
825
+ required: true,
826
+ type: {
827
+ name: "Number"
828
+ }
829
+ }
830
+ }
831
+ }
832
+ };
653
833
  export const OperationListResult = {
654
834
  type: {
655
835
  name: "Composite",
@@ -766,6 +946,26 @@ export const Incident = {
766
946
  }
767
947
  }
768
948
  };
949
+ export const ErrorResponse = {
950
+ type: {
951
+ name: "Composite",
952
+ className: "ErrorResponse",
953
+ modelProperties: {
954
+ code: {
955
+ serializedName: "code",
956
+ type: {
957
+ name: "String"
958
+ }
959
+ },
960
+ message: {
961
+ serializedName: "message",
962
+ type: {
963
+ name: "String"
964
+ }
965
+ }
966
+ }
967
+ }
968
+ };
769
969
  export const IncidentListResult = {
770
970
  type: {
771
971
  name: "Composite",
@@ -877,6 +1077,49 @@ export const RuleAction = {
877
1077
  }
878
1078
  }
879
1079
  };
1080
+ export const ResourceAutoGenerated = {
1081
+ type: {
1082
+ name: "Composite",
1083
+ className: "ResourceAutoGenerated",
1084
+ modelProperties: {
1085
+ id: {
1086
+ serializedName: "id",
1087
+ readOnly: true,
1088
+ type: {
1089
+ name: "String"
1090
+ }
1091
+ },
1092
+ name: {
1093
+ serializedName: "name",
1094
+ readOnly: true,
1095
+ type: {
1096
+ name: "String"
1097
+ }
1098
+ },
1099
+ type: {
1100
+ serializedName: "type",
1101
+ readOnly: true,
1102
+ type: {
1103
+ name: "String"
1104
+ }
1105
+ },
1106
+ location: {
1107
+ serializedName: "location",
1108
+ required: true,
1109
+ type: {
1110
+ name: "String"
1111
+ }
1112
+ },
1113
+ tags: {
1114
+ serializedName: "tags",
1115
+ type: {
1116
+ name: "Dictionary",
1117
+ value: { type: { name: "String" } }
1118
+ }
1119
+ }
1120
+ }
1121
+ }
1122
+ };
880
1123
  export const AlertRuleResourcePatch = {
881
1124
  type: {
882
1125
  name: "Composite",
@@ -994,39 +1237,82 @@ export const RetentionPolicy = {
994
1237
  }
995
1238
  }
996
1239
  };
997
- export const LogProfileResourcePatch = {
1240
+ export const ResourceAutoGenerated2 = {
998
1241
  type: {
999
1242
  name: "Composite",
1000
- className: "LogProfileResourcePatch",
1243
+ className: "ResourceAutoGenerated2",
1001
1244
  modelProperties: {
1002
- tags: {
1003
- serializedName: "tags",
1245
+ id: {
1246
+ serializedName: "id",
1247
+ readOnly: true,
1004
1248
  type: {
1005
- name: "Dictionary",
1006
- value: { type: { name: "String" } }
1249
+ name: "String"
1007
1250
  }
1008
1251
  },
1009
- storageAccountId: {
1010
- serializedName: "properties.storageAccountId",
1252
+ name: {
1253
+ serializedName: "name",
1254
+ readOnly: true,
1011
1255
  type: {
1012
1256
  name: "String"
1013
1257
  }
1014
1258
  },
1015
- serviceBusRuleId: {
1016
- serializedName: "properties.serviceBusRuleId",
1259
+ type: {
1260
+ serializedName: "type",
1261
+ readOnly: true,
1017
1262
  type: {
1018
1263
  name: "String"
1019
1264
  }
1020
1265
  },
1021
- locations: {
1022
- serializedName: "properties.locations",
1266
+ location: {
1267
+ serializedName: "location",
1268
+ required: true,
1023
1269
  type: {
1024
- name: "Sequence",
1025
- element: {
1026
- type: {
1027
- name: "String"
1028
- }
1029
- }
1270
+ name: "String"
1271
+ }
1272
+ },
1273
+ tags: {
1274
+ serializedName: "tags",
1275
+ type: {
1276
+ name: "Dictionary",
1277
+ value: { type: { name: "String" } }
1278
+ }
1279
+ }
1280
+ }
1281
+ }
1282
+ };
1283
+ export const LogProfileResourcePatch = {
1284
+ type: {
1285
+ name: "Composite",
1286
+ className: "LogProfileResourcePatch",
1287
+ modelProperties: {
1288
+ tags: {
1289
+ serializedName: "tags",
1290
+ type: {
1291
+ name: "Dictionary",
1292
+ value: { type: { name: "String" } }
1293
+ }
1294
+ },
1295
+ storageAccountId: {
1296
+ serializedName: "properties.storageAccountId",
1297
+ type: {
1298
+ name: "String"
1299
+ }
1300
+ },
1301
+ serviceBusRuleId: {
1302
+ serializedName: "properties.serviceBusRuleId",
1303
+ type: {
1304
+ name: "String"
1305
+ }
1306
+ },
1307
+ locations: {
1308
+ serializedName: "properties.locations",
1309
+ type: {
1310
+ name: "Sequence",
1311
+ element: {
1312
+ type: {
1313
+ name: "String"
1314
+ }
1315
+ }
1030
1316
  }
1031
1317
  },
1032
1318
  categories: {
@@ -1116,6 +1402,12 @@ export const LogSettings = {
1116
1402
  name: "String"
1117
1403
  }
1118
1404
  },
1405
+ categoryGroup: {
1406
+ serializedName: "categoryGroup",
1407
+ type: {
1408
+ name: "String"
1409
+ }
1410
+ },
1119
1411
  enabled: {
1120
1412
  serializedName: "enabled",
1121
1413
  required: true,
@@ -1133,10 +1425,10 @@ export const LogSettings = {
1133
1425
  }
1134
1426
  }
1135
1427
  };
1136
- export const ProxyOnlyResource = {
1428
+ export const ResourceAutoGenerated3 = {
1137
1429
  type: {
1138
1430
  name: "Composite",
1139
- className: "ProxyOnlyResource",
1431
+ className: "ResourceAutoGenerated3",
1140
1432
  modelProperties: {
1141
1433
  id: {
1142
1434
  serializedName: "id",
@@ -1662,20 +1954,6 @@ export const AzureResource = {
1662
1954
  name: "String"
1663
1955
  }
1664
1956
  },
1665
- kind: {
1666
- serializedName: "kind",
1667
- readOnly: true,
1668
- type: {
1669
- name: "String"
1670
- }
1671
- },
1672
- identity: {
1673
- serializedName: "identity",
1674
- readOnly: true,
1675
- type: {
1676
- name: "String"
1677
- }
1678
- },
1679
1957
  location: {
1680
1958
  serializedName: "location",
1681
1959
  required: true,
@@ -1871,33 +2149,33 @@ export const TestNotificationDetailsResponse = {
1871
2149
  className: "TestNotificationDetailsResponse",
1872
2150
  modelProperties: {
1873
2151
  context: {
1874
- serializedName: "Context",
2152
+ serializedName: "context",
1875
2153
  type: {
1876
2154
  name: "Composite",
1877
2155
  className: "Context"
1878
2156
  }
1879
2157
  },
1880
2158
  state: {
1881
- serializedName: "State",
2159
+ serializedName: "state",
1882
2160
  required: true,
1883
2161
  type: {
1884
2162
  name: "String"
1885
2163
  }
1886
2164
  },
1887
2165
  completedTime: {
1888
- serializedName: "CompletedTime",
2166
+ serializedName: "completedTime",
1889
2167
  type: {
1890
2168
  name: "String"
1891
2169
  }
1892
2170
  },
1893
2171
  createdTime: {
1894
- serializedName: "CreatedTime",
2172
+ serializedName: "createdTime",
1895
2173
  type: {
1896
2174
  name: "String"
1897
2175
  }
1898
2176
  },
1899
2177
  actionDetails: {
1900
- serializedName: "ActionDetails",
2178
+ serializedName: "actionDetails",
1901
2179
  type: {
1902
2180
  name: "Sequence",
1903
2181
  element: {
@@ -1917,13 +2195,13 @@ export const Context = {
1917
2195
  className: "Context",
1918
2196
  modelProperties: {
1919
2197
  notificationSource: {
1920
- serializedName: "NotificationSource",
2198
+ serializedName: "notificationSource",
1921
2199
  type: {
1922
2200
  name: "String"
1923
2201
  }
1924
2202
  },
1925
2203
  contextType: {
1926
- serializedName: "ContextType",
2204
+ serializedName: "contextType",
1927
2205
  type: {
1928
2206
  name: "String"
1929
2207
  }
@@ -3001,6 +3279,49 @@ export const MetricAlertAction = {
3001
3279
  }
3002
3280
  }
3003
3281
  };
3282
+ export const ResourceAutoGenerated4 = {
3283
+ type: {
3284
+ name: "Composite",
3285
+ className: "ResourceAutoGenerated4",
3286
+ modelProperties: {
3287
+ id: {
3288
+ serializedName: "id",
3289
+ readOnly: true,
3290
+ type: {
3291
+ name: "String"
3292
+ }
3293
+ },
3294
+ name: {
3295
+ serializedName: "name",
3296
+ readOnly: true,
3297
+ type: {
3298
+ name: "String"
3299
+ }
3300
+ },
3301
+ type: {
3302
+ serializedName: "type",
3303
+ readOnly: true,
3304
+ type: {
3305
+ name: "String"
3306
+ }
3307
+ },
3308
+ location: {
3309
+ serializedName: "location",
3310
+ required: true,
3311
+ type: {
3312
+ name: "String"
3313
+ }
3314
+ },
3315
+ tags: {
3316
+ serializedName: "tags",
3317
+ type: {
3318
+ name: "Dictionary",
3319
+ value: { type: { name: "String" } }
3320
+ }
3321
+ }
3322
+ }
3323
+ }
3324
+ };
3004
3325
  export const MetricAlertResourcePatch = {
3005
3326
  type: {
3006
3327
  name: "Composite",
@@ -3268,10 +3589,10 @@ export const Action = {
3268
3589
  }
3269
3590
  }
3270
3591
  };
3271
- export const ResourceAutoGenerated = {
3592
+ export const ResourceAutoGenerated5 = {
3272
3593
  type: {
3273
3594
  name: "Composite",
3274
- className: "ResourceAutoGenerated",
3595
+ className: "ResourceAutoGenerated5",
3275
3596
  modelProperties: {
3276
3597
  id: {
3277
3598
  serializedName: "id",
@@ -3591,13 +3912,14 @@ export const AzureMonitorPrivateLinkScopeListResult = {
3591
3912
  }
3592
3913
  }
3593
3914
  };
3594
- export const PrivateEndpointProperty = {
3915
+ export const PrivateEndpoint = {
3595
3916
  type: {
3596
3917
  name: "Composite",
3597
- className: "PrivateEndpointProperty",
3918
+ className: "PrivateEndpoint",
3598
3919
  modelProperties: {
3599
3920
  id: {
3600
3921
  serializedName: "id",
3922
+ readOnly: true,
3601
3923
  type: {
3602
3924
  name: "String"
3603
3925
  }
@@ -3605,28 +3927,25 @@ export const PrivateEndpointProperty = {
3605
3927
  }
3606
3928
  }
3607
3929
  };
3608
- export const PrivateLinkServiceConnectionStateProperty = {
3930
+ export const PrivateLinkServiceConnectionState = {
3609
3931
  type: {
3610
3932
  name: "Composite",
3611
- className: "PrivateLinkServiceConnectionStateProperty",
3933
+ className: "PrivateLinkServiceConnectionState",
3612
3934
  modelProperties: {
3613
3935
  status: {
3614
3936
  serializedName: "status",
3615
- required: true,
3616
3937
  type: {
3617
3938
  name: "String"
3618
3939
  }
3619
3940
  },
3620
3941
  description: {
3621
3942
  serializedName: "description",
3622
- required: true,
3623
3943
  type: {
3624
3944
  name: "String"
3625
3945
  }
3626
3946
  },
3627
3947
  actionsRequired: {
3628
3948
  serializedName: "actionsRequired",
3629
- readOnly: true,
3630
3949
  type: {
3631
3950
  name: "String"
3632
3951
  }
@@ -3634,44 +3953,154 @@ export const PrivateLinkServiceConnectionStateProperty = {
3634
3953
  }
3635
3954
  }
3636
3955
  };
3637
- export const PrivateLinkScopesResource = {
3956
+ export const AccessModeSettings = {
3638
3957
  type: {
3639
3958
  name: "Composite",
3640
- className: "PrivateLinkScopesResource",
3959
+ className: "AccessModeSettings",
3641
3960
  modelProperties: {
3642
- id: {
3643
- serializedName: "id",
3961
+ queryAccessMode: {
3962
+ serializedName: "queryAccessMode",
3963
+ required: true,
3964
+ type: {
3965
+ name: "String"
3966
+ }
3967
+ },
3968
+ ingestionAccessMode: {
3969
+ serializedName: "ingestionAccessMode",
3970
+ required: true,
3971
+ type: {
3972
+ name: "String"
3973
+ }
3974
+ },
3975
+ exclusions: {
3976
+ serializedName: "exclusions",
3977
+ type: {
3978
+ name: "Sequence",
3979
+ element: {
3980
+ type: {
3981
+ name: "Composite",
3982
+ className: "AccessModeSettingsExclusion"
3983
+ }
3984
+ }
3985
+ }
3986
+ }
3987
+ }
3988
+ }
3989
+ };
3990
+ export const AccessModeSettingsExclusion = {
3991
+ type: {
3992
+ name: "Composite",
3993
+ className: "AccessModeSettingsExclusion",
3994
+ modelProperties: {
3995
+ privateEndpointConnectionName: {
3996
+ serializedName: "privateEndpointConnectionName",
3997
+ type: {
3998
+ name: "String"
3999
+ }
4000
+ },
4001
+ queryAccessMode: {
4002
+ serializedName: "queryAccessMode",
4003
+ type: {
4004
+ name: "String"
4005
+ }
4006
+ },
4007
+ ingestionAccessMode: {
4008
+ serializedName: "ingestionAccessMode",
4009
+ type: {
4010
+ name: "String"
4011
+ }
4012
+ }
4013
+ }
4014
+ }
4015
+ };
4016
+ export const DefaultErrorResponse = {
4017
+ type: {
4018
+ name: "Composite",
4019
+ className: "DefaultErrorResponse",
4020
+ modelProperties: {
4021
+ error: {
4022
+ serializedName: "error",
4023
+ type: {
4024
+ name: "Composite",
4025
+ className: "ErrorDetail"
4026
+ }
4027
+ }
4028
+ }
4029
+ }
4030
+ };
4031
+ export const ErrorDetail = {
4032
+ type: {
4033
+ name: "Composite",
4034
+ className: "ErrorDetail",
4035
+ modelProperties: {
4036
+ code: {
4037
+ serializedName: "code",
3644
4038
  readOnly: true,
3645
4039
  type: {
3646
4040
  name: "String"
3647
4041
  }
3648
4042
  },
3649
- name: {
3650
- serializedName: "name",
4043
+ message: {
4044
+ serializedName: "message",
3651
4045
  readOnly: true,
3652
4046
  type: {
3653
4047
  name: "String"
3654
4048
  }
3655
4049
  },
3656
- type: {
3657
- serializedName: "type",
4050
+ target: {
4051
+ serializedName: "target",
3658
4052
  readOnly: true,
3659
4053
  type: {
3660
4054
  name: "String"
3661
4055
  }
3662
4056
  },
3663
- location: {
3664
- serializedName: "location",
3665
- required: true,
4057
+ details: {
4058
+ serializedName: "details",
4059
+ readOnly: true,
4060
+ type: {
4061
+ name: "Sequence",
4062
+ element: {
4063
+ type: {
4064
+ name: "Composite",
4065
+ className: "ErrorDetail"
4066
+ }
4067
+ }
4068
+ }
4069
+ },
4070
+ additionalInfo: {
4071
+ serializedName: "additionalInfo",
4072
+ readOnly: true,
4073
+ type: {
4074
+ name: "Sequence",
4075
+ element: {
4076
+ type: {
4077
+ name: "Composite",
4078
+ className: "ErrorAdditionalInfo"
4079
+ }
4080
+ }
4081
+ }
4082
+ }
4083
+ }
4084
+ }
4085
+ };
4086
+ export const ErrorAdditionalInfo = {
4087
+ type: {
4088
+ name: "Composite",
4089
+ className: "ErrorAdditionalInfo",
4090
+ modelProperties: {
4091
+ type: {
4092
+ serializedName: "type",
4093
+ readOnly: true,
3666
4094
  type: {
3667
4095
  name: "String"
3668
4096
  }
3669
4097
  },
3670
- tags: {
3671
- serializedName: "tags",
4098
+ info: {
4099
+ serializedName: "info",
4100
+ readOnly: true,
3672
4101
  type: {
3673
4102
  name: "Dictionary",
3674
- value: { type: { name: "String" } }
4103
+ value: { type: { name: "any" } }
3675
4104
  }
3676
4105
  }
3677
4106
  }
@@ -3733,30 +4162,7 @@ export const OperationStatus = {
3733
4162
  serializedName: "error",
3734
4163
  type: {
3735
4164
  name: "Composite",
3736
- className: "ErrorResponseCommon"
3737
- }
3738
- }
3739
- }
3740
- }
3741
- };
3742
- export const ErrorAdditionalInfo = {
3743
- type: {
3744
- name: "Composite",
3745
- className: "ErrorAdditionalInfo",
3746
- modelProperties: {
3747
- type: {
3748
- serializedName: "type",
3749
- readOnly: true,
3750
- type: {
3751
- name: "String"
3752
- }
3753
- },
3754
- info: {
3755
- serializedName: "info",
3756
- readOnly: true,
3757
- type: {
3758
- name: "Dictionary",
3759
- value: { type: { name: "any" } }
4165
+ className: "ErrorDetail"
3760
4166
  }
3761
4167
  }
3762
4168
  }
@@ -3769,7 +4175,6 @@ export const PrivateLinkResourceListResult = {
3769
4175
  modelProperties: {
3770
4176
  value: {
3771
4177
  serializedName: "value",
3772
- readOnly: true,
3773
4178
  type: {
3774
4179
  name: "Sequence",
3775
4180
  element: {
@@ -3779,13 +4184,6 @@ export const PrivateLinkResourceListResult = {
3779
4184
  }
3780
4185
  }
3781
4186
  }
3782
- },
3783
- nextLink: {
3784
- serializedName: "nextLink",
3785
- readOnly: true,
3786
- type: {
3787
- name: "String"
3788
- }
3789
4187
  }
3790
4188
  }
3791
4189
  }
@@ -3797,7 +4195,6 @@ export const PrivateEndpointConnectionListResult = {
3797
4195
  modelProperties: {
3798
4196
  value: {
3799
4197
  serializedName: "value",
3800
- readOnly: true,
3801
4198
  type: {
3802
4199
  name: "Sequence",
3803
4200
  element: {
@@ -3807,13 +4204,6 @@ export const PrivateEndpointConnectionListResult = {
3807
4204
  }
3808
4205
  }
3809
4206
  }
3810
- },
3811
- nextLink: {
3812
- serializedName: "nextLink",
3813
- readOnly: true,
3814
- type: {
3815
- name: "String"
3816
- }
3817
4207
  }
3818
4208
  }
3819
4209
  }
@@ -4275,50 +4665,6 @@ export const NetworkRuleSet = {
4275
4665
  }
4276
4666
  }
4277
4667
  };
4278
- export const SystemData = {
4279
- type: {
4280
- name: "Composite",
4281
- className: "SystemData",
4282
- modelProperties: {
4283
- createdBy: {
4284
- serializedName: "createdBy",
4285
- type: {
4286
- name: "String"
4287
- }
4288
- },
4289
- createdByType: {
4290
- serializedName: "createdByType",
4291
- type: {
4292
- name: "String"
4293
- }
4294
- },
4295
- createdAt: {
4296
- serializedName: "createdAt",
4297
- type: {
4298
- name: "DateTime"
4299
- }
4300
- },
4301
- lastModifiedBy: {
4302
- serializedName: "lastModifiedBy",
4303
- type: {
4304
- name: "String"
4305
- }
4306
- },
4307
- lastModifiedByType: {
4308
- serializedName: "lastModifiedByType",
4309
- type: {
4310
- name: "String"
4311
- }
4312
- },
4313
- lastModifiedAt: {
4314
- serializedName: "lastModifiedAt",
4315
- type: {
4316
- name: "DateTime"
4317
- }
4318
- }
4319
- }
4320
- }
4321
- };
4322
4668
  export const ErrorResponseCommonV2 = {
4323
4669
  type: {
4324
4670
  name: "Composite",
@@ -4334,61 +4680,6 @@ export const ErrorResponseCommonV2 = {
4334
4680
  }
4335
4681
  }
4336
4682
  };
4337
- export const ErrorDetail = {
4338
- type: {
4339
- name: "Composite",
4340
- className: "ErrorDetail",
4341
- modelProperties: {
4342
- code: {
4343
- serializedName: "code",
4344
- readOnly: true,
4345
- type: {
4346
- name: "String"
4347
- }
4348
- },
4349
- message: {
4350
- serializedName: "message",
4351
- readOnly: true,
4352
- type: {
4353
- name: "String"
4354
- }
4355
- },
4356
- target: {
4357
- serializedName: "target",
4358
- readOnly: true,
4359
- type: {
4360
- name: "String"
4361
- }
4362
- },
4363
- details: {
4364
- serializedName: "details",
4365
- readOnly: true,
4366
- type: {
4367
- name: "Sequence",
4368
- element: {
4369
- type: {
4370
- name: "Composite",
4371
- className: "ErrorDetail"
4372
- }
4373
- }
4374
- }
4375
- },
4376
- additionalInfo: {
4377
- serializedName: "additionalInfo",
4378
- readOnly: true,
4379
- type: {
4380
- name: "Sequence",
4381
- element: {
4382
- type: {
4383
- name: "Composite",
4384
- className: "ErrorAdditionalInfo"
4385
- }
4386
- }
4387
- }
4388
- }
4389
- }
4390
- }
4391
- };
4392
4683
  export const ResourceForUpdate = {
4393
4684
  type: {
4394
4685
  name: "Composite",
@@ -5671,11 +5962,17 @@ export const AutoscaleSettingResource = {
5671
5962
  }
5672
5963
  }
5673
5964
  }, enabled: {
5674
- defaultValue: true,
5965
+ defaultValue: false,
5675
5966
  serializedName: "properties.enabled",
5676
5967
  type: {
5677
5968
  name: "Boolean"
5678
5969
  }
5970
+ }, predictiveAutoscalePolicy: {
5971
+ serializedName: "properties.predictiveAutoscalePolicy",
5972
+ type: {
5973
+ name: "Composite",
5974
+ className: "PredictiveAutoscalePolicy"
5975
+ }
5679
5976
  }, namePropertiesName: {
5680
5977
  serializedName: "properties.name",
5681
5978
  type: {
@@ -5694,133 +5991,191 @@ export const AutoscaleSettingResource = {
5694
5991
  } })
5695
5992
  }
5696
5993
  };
5697
- export const AlertRuleResource = {
5994
+ export const DataCollectionEndpointResourceSystemData = {
5698
5995
  type: {
5699
5996
  name: "Composite",
5700
- className: "AlertRuleResource",
5701
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { namePropertiesName: {
5702
- serializedName: "properties.name",
5997
+ className: "DataCollectionEndpointResourceSystemData",
5998
+ modelProperties: Object.assign({}, SystemData.type.modelProperties)
5999
+ }
6000
+ };
6001
+ export const DataCollectionRuleAssociationProxyOnlyResourceSystemData = {
6002
+ type: {
6003
+ name: "Composite",
6004
+ className: "DataCollectionRuleAssociationProxyOnlyResourceSystemData",
6005
+ modelProperties: Object.assign({}, SystemData.type.modelProperties)
6006
+ }
6007
+ };
6008
+ export const DataCollectionRuleResourceSystemData = {
6009
+ type: {
6010
+ name: "Composite",
6011
+ className: "DataCollectionRuleResourceSystemData",
6012
+ modelProperties: Object.assign({}, SystemData.type.modelProperties)
6013
+ }
6014
+ };
6015
+ export const ThresholdRuleCondition = {
6016
+ serializedName: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
6017
+ type: {
6018
+ name: "Composite",
6019
+ className: "ThresholdRuleCondition",
6020
+ uberParent: "RuleCondition",
6021
+ polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6022
+ modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { operator: {
6023
+ serializedName: "operator",
5703
6024
  required: true,
5704
6025
  type: {
5705
- name: "String"
6026
+ name: "Enum",
6027
+ allowedValues: [
6028
+ "GreaterThan",
6029
+ "GreaterThanOrEqual",
6030
+ "LessThan",
6031
+ "LessThanOrEqual"
6032
+ ]
5706
6033
  }
5707
- }, description: {
5708
- serializedName: "properties.description",
6034
+ }, threshold: {
6035
+ serializedName: "threshold",
6036
+ required: true,
5709
6037
  type: {
5710
- name: "String"
6038
+ name: "Number"
5711
6039
  }
5712
- }, provisioningState: {
5713
- serializedName: "properties.provisioningState",
6040
+ }, windowSize: {
6041
+ serializedName: "windowSize",
5714
6042
  type: {
5715
- name: "String"
6043
+ name: "TimeSpan"
5716
6044
  }
5717
- }, isEnabled: {
5718
- serializedName: "properties.isEnabled",
5719
- required: true,
6045
+ }, timeAggregation: {
6046
+ serializedName: "timeAggregation",
5720
6047
  type: {
5721
- name: "Boolean"
6048
+ name: "Enum",
6049
+ allowedValues: ["Average", "Minimum", "Maximum", "Total", "Last"]
5722
6050
  }
5723
- }, condition: {
5724
- serializedName: "properties.condition",
6051
+ } })
6052
+ }
6053
+ };
6054
+ export const LocationThresholdRuleCondition = {
6055
+ serializedName: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition",
6056
+ type: {
6057
+ name: "Composite",
6058
+ className: "LocationThresholdRuleCondition",
6059
+ uberParent: "RuleCondition",
6060
+ polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6061
+ modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { windowSize: {
6062
+ serializedName: "windowSize",
5725
6063
  type: {
5726
- name: "Composite",
5727
- className: "RuleCondition"
6064
+ name: "TimeSpan"
5728
6065
  }
5729
- }, action: {
5730
- serializedName: "properties.action",
6066
+ }, failedLocationCount: {
6067
+ constraints: {
6068
+ InclusiveMinimum: 0
6069
+ },
6070
+ serializedName: "failedLocationCount",
6071
+ required: true,
5731
6072
  type: {
5732
- name: "Composite",
5733
- className: "RuleAction"
6073
+ name: "Number"
5734
6074
  }
5735
- }, actions: {
5736
- serializedName: "properties.actions",
6075
+ } })
6076
+ }
6077
+ };
6078
+ export const ManagementEventRuleCondition = {
6079
+ serializedName: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition",
6080
+ type: {
6081
+ name: "Composite",
6082
+ className: "ManagementEventRuleCondition",
6083
+ uberParent: "RuleCondition",
6084
+ polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6085
+ modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { aggregation: {
6086
+ serializedName: "aggregation",
5737
6087
  type: {
5738
- name: "Sequence",
5739
- element: {
5740
- type: {
5741
- name: "Composite",
5742
- className: "RuleAction"
5743
- }
5744
- }
6088
+ name: "Composite",
6089
+ className: "ManagementEventAggregationCondition"
5745
6090
  }
5746
- }, lastUpdatedTime: {
5747
- serializedName: "properties.lastUpdatedTime",
5748
- readOnly: true,
6091
+ } })
6092
+ }
6093
+ };
6094
+ export const RuleMetricDataSource = {
6095
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
6096
+ type: {
6097
+ name: "Composite",
6098
+ className: "RuleMetricDataSource",
6099
+ uberParent: "RuleDataSource",
6100
+ polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6101
+ modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { metricName: {
6102
+ serializedName: "metricName",
5749
6103
  type: {
5750
- name: "DateTime"
6104
+ name: "String"
5751
6105
  }
5752
6106
  } })
5753
6107
  }
5754
6108
  };
5755
- export const LogProfileResource = {
6109
+ export const RuleManagementEventDataSource = {
6110
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource",
5756
6111
  type: {
5757
6112
  name: "Composite",
5758
- className: "LogProfileResource",
5759
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { storageAccountId: {
5760
- serializedName: "properties.storageAccountId",
6113
+ className: "RuleManagementEventDataSource",
6114
+ uberParent: "RuleDataSource",
6115
+ polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6116
+ modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { eventName: {
6117
+ serializedName: "eventName",
5761
6118
  type: {
5762
6119
  name: "String"
5763
6120
  }
5764
- }, serviceBusRuleId: {
5765
- serializedName: "properties.serviceBusRuleId",
6121
+ }, eventSource: {
6122
+ serializedName: "eventSource",
5766
6123
  type: {
5767
6124
  name: "String"
5768
6125
  }
5769
- }, locations: {
5770
- serializedName: "properties.locations",
5771
- required: true,
6126
+ }, level: {
6127
+ serializedName: "level",
5772
6128
  type: {
5773
- name: "Sequence",
5774
- element: {
5775
- type: {
5776
- name: "String"
5777
- }
5778
- }
6129
+ name: "String"
5779
6130
  }
5780
- }, categories: {
5781
- serializedName: "properties.categories",
5782
- required: true,
6131
+ }, operationName: {
6132
+ serializedName: "operationName",
5783
6133
  type: {
5784
- name: "Sequence",
5785
- element: {
5786
- type: {
5787
- name: "String"
5788
- }
5789
- }
6134
+ name: "String"
5790
6135
  }
5791
- }, retentionPolicy: {
5792
- serializedName: "properties.retentionPolicy",
6136
+ }, resourceGroupName: {
6137
+ serializedName: "resourceGroupName",
6138
+ type: {
6139
+ name: "String"
6140
+ }
6141
+ }, resourceProviderName: {
6142
+ serializedName: "resourceProviderName",
6143
+ type: {
6144
+ name: "String"
6145
+ }
6146
+ }, status: {
6147
+ serializedName: "status",
6148
+ type: {
6149
+ name: "String"
6150
+ }
6151
+ }, subStatus: {
6152
+ serializedName: "subStatus",
6153
+ type: {
6154
+ name: "String"
6155
+ }
6156
+ }, claims: {
6157
+ serializedName: "claims",
5793
6158
  type: {
5794
6159
  name: "Composite",
5795
- className: "RetentionPolicy"
6160
+ className: "RuleManagementEventClaimsDataSource"
5796
6161
  }
5797
6162
  } })
5798
6163
  }
5799
6164
  };
5800
- export const MetricAlertResource = {
6165
+ export const RuleEmailAction = {
6166
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
5801
6167
  type: {
5802
6168
  name: "Composite",
5803
- className: "MetricAlertResource",
5804
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { description: {
5805
- serializedName: "properties.description",
5806
- type: {
5807
- name: "String"
5808
- }
5809
- }, severity: {
5810
- serializedName: "properties.severity",
5811
- required: true,
5812
- type: {
5813
- name: "Number"
5814
- }
5815
- }, enabled: {
5816
- serializedName: "properties.enabled",
5817
- required: true,
6169
+ className: "RuleEmailAction",
6170
+ uberParent: "RuleAction",
6171
+ polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6172
+ modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { sendToServiceOwners: {
6173
+ serializedName: "sendToServiceOwners",
5818
6174
  type: {
5819
6175
  name: "Boolean"
5820
6176
  }
5821
- }, scopes: {
5822
- serializedName: "properties.scopes",
5823
- required: true,
6177
+ }, customEmails: {
6178
+ serializedName: "customEmails",
5824
6179
  type: {
5825
6180
  name: "Sequence",
5826
6181
  element: {
@@ -5829,38 +6184,67 @@ export const MetricAlertResource = {
5829
6184
  }
5830
6185
  }
5831
6186
  }
5832
- }, evaluationFrequency: {
5833
- serializedName: "properties.evaluationFrequency",
5834
- required: true,
6187
+ } })
6188
+ }
6189
+ };
6190
+ export const RuleWebhookAction = {
6191
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
6192
+ type: {
6193
+ name: "Composite",
6194
+ className: "RuleWebhookAction",
6195
+ uberParent: "RuleAction",
6196
+ polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6197
+ modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { serviceUri: {
6198
+ serializedName: "serviceUri",
5835
6199
  type: {
5836
- name: "TimeSpan"
6200
+ name: "String"
5837
6201
  }
5838
- }, windowSize: {
5839
- serializedName: "properties.windowSize",
6202
+ }, properties: {
6203
+ serializedName: "properties",
6204
+ type: {
6205
+ name: "Dictionary",
6206
+ value: { type: { name: "String" } }
6207
+ }
6208
+ } })
6209
+ }
6210
+ };
6211
+ export const AlertRuleResource = {
6212
+ type: {
6213
+ name: "Composite",
6214
+ className: "AlertRuleResource",
6215
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated.type.modelProperties), { namePropertiesName: {
6216
+ serializedName: "properties.name",
5840
6217
  required: true,
5841
6218
  type: {
5842
- name: "TimeSpan"
6219
+ name: "String"
5843
6220
  }
5844
- }, targetResourceType: {
5845
- serializedName: "properties.targetResourceType",
6221
+ }, description: {
6222
+ serializedName: "properties.description",
5846
6223
  type: {
5847
6224
  name: "String"
5848
6225
  }
5849
- }, targetResourceRegion: {
5850
- serializedName: "properties.targetResourceRegion",
6226
+ }, provisioningState: {
6227
+ serializedName: "properties.provisioningState",
5851
6228
  type: {
5852
6229
  name: "String"
5853
6230
  }
5854
- }, criteria: {
5855
- serializedName: "properties.criteria",
6231
+ }, isEnabled: {
6232
+ serializedName: "properties.isEnabled",
6233
+ required: true,
6234
+ type: {
6235
+ name: "Boolean"
6236
+ }
6237
+ }, condition: {
6238
+ serializedName: "properties.condition",
5856
6239
  type: {
5857
6240
  name: "Composite",
5858
- className: "MetricAlertCriteria"
6241
+ className: "RuleCondition"
5859
6242
  }
5860
- }, autoMitigate: {
5861
- serializedName: "properties.autoMitigate",
6243
+ }, action: {
6244
+ serializedName: "properties.action",
5862
6245
  type: {
5863
- name: "Boolean"
6246
+ name: "Composite",
6247
+ className: "RuleAction"
5864
6248
  }
5865
6249
  }, actions: {
5866
6250
  serializedName: "properties.actions",
@@ -5869,7 +6253,7 @@ export const MetricAlertResource = {
5869
6253
  element: {
5870
6254
  type: {
5871
6255
  name: "Composite",
5872
- className: "MetricAlertAction"
6256
+ className: "RuleAction"
5873
6257
  }
5874
6258
  }
5875
6259
  }
@@ -5879,210 +6263,141 @@ export const MetricAlertResource = {
5879
6263
  type: {
5880
6264
  name: "DateTime"
5881
6265
  }
5882
- }, isMigrated: {
5883
- serializedName: "properties.isMigrated",
5884
- readOnly: true,
5885
- type: {
5886
- name: "Boolean"
5887
- }
5888
6266
  } })
5889
6267
  }
5890
6268
  };
5891
- export const ErrorResponseCommon = {
6269
+ export const LogProfileResource = {
5892
6270
  type: {
5893
6271
  name: "Composite",
5894
- className: "ErrorResponseCommon",
5895
- modelProperties: Object.assign(Object.assign({}, ErrorResponse.type.modelProperties), { details: {
5896
- serializedName: "details",
5897
- readOnly: true,
6272
+ className: "LogProfileResource",
6273
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated2.type.modelProperties), { storageAccountId: {
6274
+ serializedName: "properties.storageAccountId",
6275
+ type: {
6276
+ name: "String"
6277
+ }
6278
+ }, serviceBusRuleId: {
6279
+ serializedName: "properties.serviceBusRuleId",
6280
+ type: {
6281
+ name: "String"
6282
+ }
6283
+ }, locations: {
6284
+ serializedName: "properties.locations",
6285
+ required: true,
5898
6286
  type: {
5899
6287
  name: "Sequence",
5900
6288
  element: {
5901
6289
  type: {
5902
- name: "Composite",
5903
- className: "ErrorResponseCommon"
6290
+ name: "String"
5904
6291
  }
5905
6292
  }
5906
6293
  }
5907
- }, additionalInfo: {
5908
- serializedName: "additionalInfo",
5909
- readOnly: true,
6294
+ }, categories: {
6295
+ serializedName: "properties.categories",
6296
+ required: true,
5910
6297
  type: {
5911
6298
  name: "Sequence",
5912
6299
  element: {
5913
6300
  type: {
5914
- name: "Composite",
5915
- className: "ErrorAdditionalInfo"
6301
+ name: "String"
5916
6302
  }
5917
6303
  }
5918
6304
  }
5919
- } })
5920
- }
5921
- };
5922
- export const ThresholdRuleCondition = {
5923
- serializedName: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
5924
- type: {
5925
- name: "Composite",
5926
- className: "ThresholdRuleCondition",
5927
- uberParent: "RuleCondition",
5928
- polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
5929
- modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { operator: {
5930
- serializedName: "operator",
5931
- required: true,
5932
- type: {
5933
- name: "Enum",
5934
- allowedValues: [
5935
- "GreaterThan",
5936
- "GreaterThanOrEqual",
5937
- "LessThan",
5938
- "LessThanOrEqual"
5939
- ]
5940
- }
5941
- }, threshold: {
5942
- serializedName: "threshold",
5943
- required: true,
5944
- type: {
5945
- name: "Number"
5946
- }
5947
- }, windowSize: {
5948
- serializedName: "windowSize",
5949
- type: {
5950
- name: "TimeSpan"
5951
- }
5952
- }, timeAggregation: {
5953
- serializedName: "timeAggregation",
5954
- type: {
5955
- name: "Enum",
5956
- allowedValues: ["Average", "Minimum", "Maximum", "Total", "Last"]
5957
- }
5958
- } })
5959
- }
5960
- };
5961
- export const LocationThresholdRuleCondition = {
5962
- serializedName: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition",
5963
- type: {
5964
- name: "Composite",
5965
- className: "LocationThresholdRuleCondition",
5966
- uberParent: "RuleCondition",
5967
- polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
5968
- modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { windowSize: {
5969
- serializedName: "windowSize",
5970
- type: {
5971
- name: "TimeSpan"
5972
- }
5973
- }, failedLocationCount: {
5974
- constraints: {
5975
- InclusiveMinimum: 0
5976
- },
5977
- serializedName: "failedLocationCount",
5978
- required: true,
6305
+ }, retentionPolicy: {
6306
+ serializedName: "properties.retentionPolicy",
5979
6307
  type: {
5980
- name: "Number"
6308
+ name: "Composite",
6309
+ className: "RetentionPolicy"
5981
6310
  }
5982
6311
  } })
5983
6312
  }
5984
6313
  };
5985
- export const ManagementEventRuleCondition = {
5986
- serializedName: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition",
6314
+ export const DiagnosticSettingsResource = {
5987
6315
  type: {
5988
6316
  name: "Composite",
5989
- className: "ManagementEventRuleCondition",
5990
- uberParent: "RuleCondition",
5991
- polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
5992
- modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { aggregation: {
5993
- serializedName: "aggregation",
6317
+ className: "DiagnosticSettingsResource",
6318
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { systemData: {
6319
+ serializedName: "systemData",
5994
6320
  type: {
5995
6321
  name: "Composite",
5996
- className: "ManagementEventAggregationCondition"
6322
+ className: "SystemData"
5997
6323
  }
5998
- } })
5999
- }
6000
- };
6001
- export const RuleMetricDataSource = {
6002
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
6003
- type: {
6004
- name: "Composite",
6005
- className: "RuleMetricDataSource",
6006
- uberParent: "RuleDataSource",
6007
- polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6008
- modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { metricName: {
6009
- serializedName: "metricName",
6324
+ }, storageAccountId: {
6325
+ serializedName: "properties.storageAccountId",
6010
6326
  type: {
6011
6327
  name: "String"
6012
6328
  }
6013
- } })
6014
- }
6015
- };
6016
- export const RuleManagementEventDataSource = {
6017
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource",
6018
- type: {
6019
- name: "Composite",
6020
- className: "RuleManagementEventDataSource",
6021
- uberParent: "RuleDataSource",
6022
- polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6023
- modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { eventName: {
6024
- serializedName: "eventName",
6329
+ }, serviceBusRuleId: {
6330
+ serializedName: "properties.serviceBusRuleId",
6025
6331
  type: {
6026
6332
  name: "String"
6027
6333
  }
6028
- }, eventSource: {
6029
- serializedName: "eventSource",
6334
+ }, eventHubAuthorizationRuleId: {
6335
+ serializedName: "properties.eventHubAuthorizationRuleId",
6030
6336
  type: {
6031
6337
  name: "String"
6032
6338
  }
6033
- }, level: {
6034
- serializedName: "level",
6339
+ }, eventHubName: {
6340
+ serializedName: "properties.eventHubName",
6035
6341
  type: {
6036
6342
  name: "String"
6037
6343
  }
6038
- }, operationName: {
6039
- serializedName: "operationName",
6344
+ }, metrics: {
6345
+ serializedName: "properties.metrics",
6040
6346
  type: {
6041
- name: "String"
6347
+ name: "Sequence",
6348
+ element: {
6349
+ type: {
6350
+ name: "Composite",
6351
+ className: "MetricSettings"
6352
+ }
6353
+ }
6042
6354
  }
6043
- }, resourceGroupName: {
6044
- serializedName: "resourceGroupName",
6355
+ }, logs: {
6356
+ serializedName: "properties.logs",
6045
6357
  type: {
6046
- name: "String"
6358
+ name: "Sequence",
6359
+ element: {
6360
+ type: {
6361
+ name: "Composite",
6362
+ className: "LogSettings"
6363
+ }
6364
+ }
6047
6365
  }
6048
- }, resourceProviderName: {
6049
- serializedName: "resourceProviderName",
6366
+ }, workspaceId: {
6367
+ serializedName: "properties.workspaceId",
6050
6368
  type: {
6051
6369
  name: "String"
6052
6370
  }
6053
- }, status: {
6054
- serializedName: "status",
6371
+ }, marketplacePartnerId: {
6372
+ serializedName: "properties.marketplacePartnerId",
6055
6373
  type: {
6056
6374
  name: "String"
6057
6375
  }
6058
- }, subStatus: {
6059
- serializedName: "subStatus",
6376
+ }, logAnalyticsDestinationType: {
6377
+ serializedName: "properties.logAnalyticsDestinationType",
6060
6378
  type: {
6061
6379
  name: "String"
6062
6380
  }
6063
- }, claims: {
6064
- serializedName: "claims",
6065
- type: {
6066
- name: "Composite",
6067
- className: "RuleManagementEventClaimsDataSource"
6068
- }
6069
6381
  } })
6070
6382
  }
6071
6383
  };
6072
- export const RuleEmailAction = {
6073
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
6384
+ export const DiagnosticSettingsCategoryResource = {
6074
6385
  type: {
6075
6386
  name: "Composite",
6076
- className: "RuleEmailAction",
6077
- uberParent: "RuleAction",
6078
- polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6079
- modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { sendToServiceOwners: {
6080
- serializedName: "sendToServiceOwners",
6387
+ className: "DiagnosticSettingsCategoryResource",
6388
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { systemData: {
6389
+ serializedName: "systemData",
6081
6390
  type: {
6082
- name: "Boolean"
6391
+ name: "Composite",
6392
+ className: "SystemData"
6083
6393
  }
6084
- }, customEmails: {
6085
- serializedName: "customEmails",
6394
+ }, categoryType: {
6395
+ serializedName: "properties.categoryType",
6396
+ type: {
6397
+ name: "String"
6398
+ }
6399
+ }, categoryGroups: {
6400
+ serializedName: "properties.categoryGroups",
6086
6401
  type: {
6087
6402
  name: "Sequence",
6088
6403
  element: {
@@ -6094,99 +6409,91 @@ export const RuleEmailAction = {
6094
6409
  } })
6095
6410
  }
6096
6411
  };
6097
- export const RuleWebhookAction = {
6098
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
6412
+ export const PrivateEndpointConnection = {
6099
6413
  type: {
6100
6414
  name: "Composite",
6101
- className: "RuleWebhookAction",
6102
- uberParent: "RuleAction",
6103
- polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6104
- modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { serviceUri: {
6105
- serializedName: "serviceUri",
6415
+ className: "PrivateEndpointConnection",
6416
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { privateEndpoint: {
6417
+ serializedName: "properties.privateEndpoint",
6106
6418
  type: {
6107
- name: "String"
6419
+ name: "Composite",
6420
+ className: "PrivateEndpoint"
6108
6421
  }
6109
- }, properties: {
6110
- serializedName: "properties",
6422
+ }, privateLinkServiceConnectionState: {
6423
+ serializedName: "properties.privateLinkServiceConnectionState",
6111
6424
  type: {
6112
- name: "Dictionary",
6113
- value: { type: { name: "String" } }
6425
+ name: "Composite",
6426
+ className: "PrivateLinkServiceConnectionState"
6427
+ }
6428
+ }, provisioningState: {
6429
+ serializedName: "properties.provisioningState",
6430
+ readOnly: true,
6431
+ type: {
6432
+ name: "String"
6114
6433
  }
6115
6434
  } })
6116
6435
  }
6117
6436
  };
6118
- export const DiagnosticSettingsResource = {
6437
+ export const TrackedResource = {
6119
6438
  type: {
6120
6439
  name: "Composite",
6121
- className: "DiagnosticSettingsResource",
6122
- modelProperties: Object.assign(Object.assign({}, ProxyOnlyResource.type.modelProperties), { storageAccountId: {
6123
- serializedName: "properties.storageAccountId",
6124
- type: {
6125
- name: "String"
6126
- }
6127
- }, serviceBusRuleId: {
6128
- serializedName: "properties.serviceBusRuleId",
6440
+ className: "TrackedResource",
6441
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { tags: {
6442
+ serializedName: "tags",
6129
6443
  type: {
6130
- name: "String"
6444
+ name: "Dictionary",
6445
+ value: { type: { name: "String" } }
6131
6446
  }
6132
- }, eventHubAuthorizationRuleId: {
6133
- serializedName: "properties.eventHubAuthorizationRuleId",
6447
+ }, location: {
6448
+ serializedName: "location",
6449
+ required: true,
6134
6450
  type: {
6135
6451
  name: "String"
6136
6452
  }
6137
- }, eventHubName: {
6138
- serializedName: "properties.eventHubName",
6453
+ } })
6454
+ }
6455
+ };
6456
+ export const PrivateLinkResource = {
6457
+ type: {
6458
+ name: "Composite",
6459
+ className: "PrivateLinkResource",
6460
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { groupId: {
6461
+ serializedName: "properties.groupId",
6462
+ readOnly: true,
6139
6463
  type: {
6140
6464
  name: "String"
6141
6465
  }
6142
- }, metrics: {
6143
- serializedName: "properties.metrics",
6466
+ }, requiredMembers: {
6467
+ serializedName: "properties.requiredMembers",
6468
+ readOnly: true,
6144
6469
  type: {
6145
6470
  name: "Sequence",
6146
6471
  element: {
6147
6472
  type: {
6148
- name: "Composite",
6149
- className: "MetricSettings"
6473
+ name: "String"
6150
6474
  }
6151
6475
  }
6152
6476
  }
6153
- }, logs: {
6154
- serializedName: "properties.logs",
6477
+ }, requiredZoneNames: {
6478
+ serializedName: "properties.requiredZoneNames",
6155
6479
  type: {
6156
6480
  name: "Sequence",
6157
6481
  element: {
6158
6482
  type: {
6159
- name: "Composite",
6160
- className: "LogSettings"
6161
- }
6162
- }
6163
- }
6164
- }, workspaceId: {
6165
- serializedName: "properties.workspaceId",
6166
- type: {
6167
- name: "String"
6168
- }
6169
- }, logAnalyticsDestinationType: {
6170
- serializedName: "properties.logAnalyticsDestinationType",
6171
- type: {
6172
- name: "String"
6173
- }
6174
- } })
6175
- }
6176
- };
6177
- export const DiagnosticSettingsCategoryResource = {
6178
- type: {
6179
- name: "Composite",
6180
- className: "DiagnosticSettingsCategoryResource",
6181
- modelProperties: Object.assign(Object.assign({}, ProxyOnlyResource.type.modelProperties), { categoryType: {
6182
- serializedName: "properties.categoryType",
6183
- type: {
6184
- name: "Enum",
6185
- allowedValues: ["Metrics", "Logs"]
6483
+ name: "String"
6484
+ }
6485
+ }
6186
6486
  }
6187
6487
  } })
6188
6488
  }
6189
6489
  };
6490
+ export const ProxyResourceAutoGenerated = {
6491
+ type: {
6492
+ name: "Composite",
6493
+ className: "ProxyResourceAutoGenerated",
6494
+ modelProperties: Object.assign({}, ResourceAutoGenerated3.type.modelProperties)
6495
+ }
6496
+ };
6190
6497
  export const ActionGroupResource = {
6191
6498
  type: {
6192
6499
  name: "Composite",
@@ -6402,6 +6709,97 @@ export const MetricAlertMultipleResourceMultipleMetricCriteria = {
6402
6709
  } })
6403
6710
  }
6404
6711
  };
6712
+ export const MetricAlertResource = {
6713
+ type: {
6714
+ name: "Composite",
6715
+ className: "MetricAlertResource",
6716
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated4.type.modelProperties), { description: {
6717
+ serializedName: "properties.description",
6718
+ type: {
6719
+ name: "String"
6720
+ }
6721
+ }, severity: {
6722
+ serializedName: "properties.severity",
6723
+ required: true,
6724
+ type: {
6725
+ name: "Number"
6726
+ }
6727
+ }, enabled: {
6728
+ serializedName: "properties.enabled",
6729
+ required: true,
6730
+ type: {
6731
+ name: "Boolean"
6732
+ }
6733
+ }, scopes: {
6734
+ serializedName: "properties.scopes",
6735
+ required: true,
6736
+ type: {
6737
+ name: "Sequence",
6738
+ element: {
6739
+ type: {
6740
+ name: "String"
6741
+ }
6742
+ }
6743
+ }
6744
+ }, evaluationFrequency: {
6745
+ serializedName: "properties.evaluationFrequency",
6746
+ required: true,
6747
+ type: {
6748
+ name: "TimeSpan"
6749
+ }
6750
+ }, windowSize: {
6751
+ serializedName: "properties.windowSize",
6752
+ required: true,
6753
+ type: {
6754
+ name: "TimeSpan"
6755
+ }
6756
+ }, targetResourceType: {
6757
+ serializedName: "properties.targetResourceType",
6758
+ type: {
6759
+ name: "String"
6760
+ }
6761
+ }, targetResourceRegion: {
6762
+ serializedName: "properties.targetResourceRegion",
6763
+ type: {
6764
+ name: "String"
6765
+ }
6766
+ }, criteria: {
6767
+ serializedName: "properties.criteria",
6768
+ type: {
6769
+ name: "Composite",
6770
+ className: "MetricAlertCriteria"
6771
+ }
6772
+ }, autoMitigate: {
6773
+ serializedName: "properties.autoMitigate",
6774
+ type: {
6775
+ name: "Boolean"
6776
+ }
6777
+ }, actions: {
6778
+ serializedName: "properties.actions",
6779
+ type: {
6780
+ name: "Sequence",
6781
+ element: {
6782
+ type: {
6783
+ name: "Composite",
6784
+ className: "MetricAlertAction"
6785
+ }
6786
+ }
6787
+ }
6788
+ }, lastUpdatedTime: {
6789
+ serializedName: "properties.lastUpdatedTime",
6790
+ readOnly: true,
6791
+ type: {
6792
+ name: "DateTime"
6793
+ }
6794
+ }, isMigrated: {
6795
+ serializedName: "properties.isMigrated",
6796
+ readOnly: true,
6797
+ type: {
6798
+ name: "Boolean"
6799
+ }
6800
+ } })
6801
+ }
6802
+ };
6405
6803
  export const AlertingAction = {
6406
6804
  serializedName: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
6407
6805
  type: {
@@ -6461,7 +6859,7 @@ export const LogSearchRuleResource = {
6461
6859
  type: {
6462
6860
  name: "Composite",
6463
6861
  className: "LogSearchRuleResource",
6464
- modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated.type.modelProperties), { createdWithApiVersion: {
6862
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated5.type.modelProperties), { createdWithApiVersion: {
6465
6863
  serializedName: "properties.createdWithApiVersion",
6466
6864
  readOnly: true,
6467
6865
  type: {
@@ -6560,98 +6958,6 @@ export const VMInsightsOnboardingStatus = {
6560
6958
  } })
6561
6959
  }
6562
6960
  };
6563
- export const PrivateEndpointConnection = {
6564
- type: {
6565
- name: "Composite",
6566
- className: "PrivateEndpointConnection",
6567
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { privateEndpoint: {
6568
- serializedName: "properties.privateEndpoint",
6569
- type: {
6570
- name: "Composite",
6571
- className: "PrivateEndpointProperty"
6572
- }
6573
- }, privateLinkServiceConnectionState: {
6574
- serializedName: "properties.privateLinkServiceConnectionState",
6575
- type: {
6576
- name: "Composite",
6577
- className: "PrivateLinkServiceConnectionStateProperty"
6578
- }
6579
- }, provisioningState: {
6580
- serializedName: "properties.provisioningState",
6581
- readOnly: true,
6582
- type: {
6583
- name: "String"
6584
- }
6585
- } })
6586
- }
6587
- };
6588
- export const PrivateLinkResource = {
6589
- type: {
6590
- name: "Composite",
6591
- className: "PrivateLinkResource",
6592
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { groupId: {
6593
- serializedName: "properties.groupId",
6594
- readOnly: true,
6595
- type: {
6596
- name: "String"
6597
- }
6598
- }, requiredMembers: {
6599
- serializedName: "properties.requiredMembers",
6600
- readOnly: true,
6601
- type: {
6602
- name: "Sequence",
6603
- element: {
6604
- type: {
6605
- name: "String"
6606
- }
6607
- }
6608
- }
6609
- } })
6610
- }
6611
- };
6612
- export const ScopedResource = {
6613
- type: {
6614
- name: "Composite",
6615
- className: "ScopedResource",
6616
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { linkedResourceId: {
6617
- serializedName: "properties.linkedResourceId",
6618
- type: {
6619
- name: "String"
6620
- }
6621
- }, provisioningState: {
6622
- serializedName: "properties.provisioningState",
6623
- readOnly: true,
6624
- type: {
6625
- name: "String"
6626
- }
6627
- } })
6628
- }
6629
- };
6630
- export const AzureMonitorPrivateLinkScope = {
6631
- type: {
6632
- name: "Composite",
6633
- className: "AzureMonitorPrivateLinkScope",
6634
- modelProperties: Object.assign(Object.assign({}, PrivateLinkScopesResource.type.modelProperties), { provisioningState: {
6635
- serializedName: "properties.provisioningState",
6636
- readOnly: true,
6637
- type: {
6638
- name: "String"
6639
- }
6640
- }, privateEndpointConnections: {
6641
- serializedName: "properties.privateEndpointConnections",
6642
- readOnly: true,
6643
- type: {
6644
- name: "Sequence",
6645
- element: {
6646
- type: {
6647
- name: "Composite",
6648
- className: "PrivateEndpointConnection"
6649
- }
6650
- }
6651
- }
6652
- } })
6653
- }
6654
- };
6655
6961
  export const AlertRuleAnyOfOrLeafCondition = {
6656
6962
  type: {
6657
6963
  name: "Composite",
@@ -6738,27 +7044,6 @@ export const DataCollectionEndpointNetworkAcls = {
6738
7044
  modelProperties: Object.assign({}, NetworkRuleSet.type.modelProperties)
6739
7045
  }
6740
7046
  };
6741
- export const DataCollectionEndpointResourceSystemData = {
6742
- type: {
6743
- name: "Composite",
6744
- className: "DataCollectionEndpointResourceSystemData",
6745
- modelProperties: Object.assign({}, SystemData.type.modelProperties)
6746
- }
6747
- };
6748
- export const DataCollectionRuleAssociationProxyOnlyResourceSystemData = {
6749
- type: {
6750
- name: "Composite",
6751
- className: "DataCollectionRuleAssociationProxyOnlyResourceSystemData",
6752
- modelProperties: Object.assign({}, SystemData.type.modelProperties)
6753
- }
6754
- };
6755
- export const DataCollectionRuleResourceSystemData = {
6756
- type: {
6757
- name: "Composite",
6758
- className: "DataCollectionRuleResourceSystemData",
6759
- modelProperties: Object.assign({}, SystemData.type.modelProperties)
6760
- }
6761
- };
6762
7047
  export const DataCollectionRuleAssociationProxyOnlyResourceProperties = {
6763
7048
  type: {
6764
7049
  name: "Composite",
@@ -6879,6 +7164,67 @@ export const DynamicMetricCriteria = {
6879
7164
  } })
6880
7165
  }
6881
7166
  };
7167
+ export const AzureMonitorPrivateLinkScope = {
7168
+ type: {
7169
+ name: "Composite",
7170
+ className: "AzureMonitorPrivateLinkScope",
7171
+ modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { systemData: {
7172
+ serializedName: "systemData",
7173
+ type: {
7174
+ name: "Composite",
7175
+ className: "SystemData"
7176
+ }
7177
+ }, provisioningState: {
7178
+ serializedName: "properties.provisioningState",
7179
+ readOnly: true,
7180
+ type: {
7181
+ name: "String"
7182
+ }
7183
+ }, privateEndpointConnections: {
7184
+ serializedName: "properties.privateEndpointConnections",
7185
+ readOnly: true,
7186
+ type: {
7187
+ name: "Sequence",
7188
+ element: {
7189
+ type: {
7190
+ name: "Composite",
7191
+ className: "PrivateEndpointConnection"
7192
+ }
7193
+ }
7194
+ }
7195
+ }, accessModeSettings: {
7196
+ serializedName: "properties.accessModeSettings",
7197
+ type: {
7198
+ name: "Composite",
7199
+ className: "AccessModeSettings"
7200
+ }
7201
+ } })
7202
+ }
7203
+ };
7204
+ export const ScopedResource = {
7205
+ type: {
7206
+ name: "Composite",
7207
+ className: "ScopedResource",
7208
+ modelProperties: Object.assign(Object.assign({}, ProxyResourceAutoGenerated.type.modelProperties), { systemData: {
7209
+ serializedName: "systemData",
7210
+ type: {
7211
+ name: "Composite",
7212
+ className: "SystemData"
7213
+ }
7214
+ }, linkedResourceId: {
7215
+ serializedName: "properties.linkedResourceId",
7216
+ type: {
7217
+ name: "String"
7218
+ }
7219
+ }, provisioningState: {
7220
+ serializedName: "properties.provisioningState",
7221
+ readOnly: true,
7222
+ type: {
7223
+ name: "String"
7224
+ }
7225
+ } })
7226
+ }
7227
+ };
6882
7228
  export const ActionGroupsPostTestNotificationsHeaders = {
6883
7229
  type: {
6884
7230
  name: "Composite",