@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
package/dist/index.js CHANGED
@@ -38,304 +38,501 @@ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipelin
38
38
  /** Known values of {@link ScaleRuleMetricDimensionOperationType} that the service accepts. */
39
39
  exports.KnownScaleRuleMetricDimensionOperationType = void 0;
40
40
  (function (KnownScaleRuleMetricDimensionOperationType) {
41
+ /** Equals */
41
42
  KnownScaleRuleMetricDimensionOperationType["Equals"] = "Equals";
43
+ /** NotEquals */
42
44
  KnownScaleRuleMetricDimensionOperationType["NotEquals"] = "NotEquals";
43
45
  })(exports.KnownScaleRuleMetricDimensionOperationType || (exports.KnownScaleRuleMetricDimensionOperationType = {}));
46
+ /** Known values of {@link CreatedByType} that the service accepts. */
47
+ exports.KnownCreatedByType = void 0;
48
+ (function (KnownCreatedByType) {
49
+ /** User */
50
+ KnownCreatedByType["User"] = "User";
51
+ /** Application */
52
+ KnownCreatedByType["Application"] = "Application";
53
+ /** ManagedIdentity */
54
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
55
+ /** Key */
56
+ KnownCreatedByType["Key"] = "Key";
57
+ })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
58
+ /** Known values of {@link CategoryType} that the service accepts. */
59
+ exports.KnownCategoryType = void 0;
60
+ (function (KnownCategoryType) {
61
+ /** Metrics */
62
+ KnownCategoryType["Metrics"] = "Metrics";
63
+ /** Logs */
64
+ KnownCategoryType["Logs"] = "Logs";
65
+ })(exports.KnownCategoryType || (exports.KnownCategoryType = {}));
44
66
  /** Known values of {@link MetricClass} that the service accepts. */
45
67
  exports.KnownMetricClass = void 0;
46
68
  (function (KnownMetricClass) {
69
+ /** Availability */
47
70
  KnownMetricClass["Availability"] = "Availability";
71
+ /** Transactions */
48
72
  KnownMetricClass["Transactions"] = "Transactions";
73
+ /** Errors */
49
74
  KnownMetricClass["Errors"] = "Errors";
75
+ /** Latency */
50
76
  KnownMetricClass["Latency"] = "Latency";
77
+ /** Saturation */
51
78
  KnownMetricClass["Saturation"] = "Saturation";
52
79
  })(exports.KnownMetricClass || (exports.KnownMetricClass = {}));
53
80
  /** Known values of {@link MetricUnit} that the service accepts. */
54
81
  exports.KnownMetricUnit = void 0;
55
82
  (function (KnownMetricUnit) {
83
+ /** Count */
56
84
  KnownMetricUnit["Count"] = "Count";
85
+ /** Bytes */
57
86
  KnownMetricUnit["Bytes"] = "Bytes";
87
+ /** Seconds */
58
88
  KnownMetricUnit["Seconds"] = "Seconds";
89
+ /** CountPerSecond */
59
90
  KnownMetricUnit["CountPerSecond"] = "CountPerSecond";
91
+ /** BytesPerSecond */
60
92
  KnownMetricUnit["BytesPerSecond"] = "BytesPerSecond";
93
+ /** Percent */
61
94
  KnownMetricUnit["Percent"] = "Percent";
95
+ /** MilliSeconds */
62
96
  KnownMetricUnit["MilliSeconds"] = "MilliSeconds";
97
+ /** ByteSeconds */
63
98
  KnownMetricUnit["ByteSeconds"] = "ByteSeconds";
99
+ /** Unspecified */
64
100
  KnownMetricUnit["Unspecified"] = "Unspecified";
101
+ /** Cores */
65
102
  KnownMetricUnit["Cores"] = "Cores";
103
+ /** MilliCores */
66
104
  KnownMetricUnit["MilliCores"] = "MilliCores";
105
+ /** NanoCores */
67
106
  KnownMetricUnit["NanoCores"] = "NanoCores";
107
+ /** BitsPerSecond */
68
108
  KnownMetricUnit["BitsPerSecond"] = "BitsPerSecond";
69
109
  })(exports.KnownMetricUnit || (exports.KnownMetricUnit = {}));
70
110
  /** Known values of {@link BaselineSensitivity} that the service accepts. */
71
111
  exports.KnownBaselineSensitivity = void 0;
72
112
  (function (KnownBaselineSensitivity) {
113
+ /** Low */
73
114
  KnownBaselineSensitivity["Low"] = "Low";
115
+ /** Medium */
74
116
  KnownBaselineSensitivity["Medium"] = "Medium";
117
+ /** High */
75
118
  KnownBaselineSensitivity["High"] = "High";
76
119
  })(exports.KnownBaselineSensitivity || (exports.KnownBaselineSensitivity = {}));
77
120
  /** Known values of {@link Odatatype} that the service accepts. */
78
121
  exports.KnownOdatatype = void 0;
79
122
  (function (KnownOdatatype) {
123
+ /** MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria */
80
124
  KnownOdatatype["MicrosoftAzureMonitorSingleResourceMultipleMetricCriteria"] = "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria";
125
+ /** MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria */
81
126
  KnownOdatatype["MicrosoftAzureMonitorMultipleResourceMultipleMetricCriteria"] = "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria";
127
+ /** MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria */
82
128
  KnownOdatatype["MicrosoftAzureMonitorWebtestLocationAvailabilityCriteria"] = "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria";
83
129
  })(exports.KnownOdatatype || (exports.KnownOdatatype = {}));
84
130
  /** Known values of {@link Enabled} that the service accepts. */
85
131
  exports.KnownEnabled = void 0;
86
132
  (function (KnownEnabled) {
133
+ /** True */
87
134
  KnownEnabled["True"] = "true";
135
+ /** False */
88
136
  KnownEnabled["False"] = "false";
89
137
  })(exports.KnownEnabled || (exports.KnownEnabled = {}));
90
138
  /** Known values of {@link ProvisioningState} that the service accepts. */
91
139
  exports.KnownProvisioningState = void 0;
92
140
  (function (KnownProvisioningState) {
141
+ /** Succeeded */
93
142
  KnownProvisioningState["Succeeded"] = "Succeeded";
143
+ /** Deploying */
94
144
  KnownProvisioningState["Deploying"] = "Deploying";
145
+ /** Canceled */
95
146
  KnownProvisioningState["Canceled"] = "Canceled";
147
+ /** Failed */
96
148
  KnownProvisioningState["Failed"] = "Failed";
97
149
  })(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
98
150
  /** Known values of {@link QueryType} that the service accepts. */
99
151
  exports.KnownQueryType = void 0;
100
152
  (function (KnownQueryType) {
153
+ /** ResultCount */
101
154
  KnownQueryType["ResultCount"] = "ResultCount";
102
155
  })(exports.KnownQueryType || (exports.KnownQueryType = {}));
103
156
  /** Known values of {@link NamespaceClassification} that the service accepts. */
104
157
  exports.KnownNamespaceClassification = void 0;
105
158
  (function (KnownNamespaceClassification) {
159
+ /** Platform */
106
160
  KnownNamespaceClassification["Platform"] = "Platform";
161
+ /** Custom */
107
162
  KnownNamespaceClassification["Custom"] = "Custom";
163
+ /** Qos */
108
164
  KnownNamespaceClassification["Qos"] = "Qos";
109
165
  })(exports.KnownNamespaceClassification || (exports.KnownNamespaceClassification = {}));
110
166
  /** Known values of {@link OnboardingStatus} that the service accepts. */
111
167
  exports.KnownOnboardingStatus = void 0;
112
168
  (function (KnownOnboardingStatus) {
169
+ /** Onboarded */
113
170
  KnownOnboardingStatus["Onboarded"] = "onboarded";
171
+ /** NotOnboarded */
114
172
  KnownOnboardingStatus["NotOnboarded"] = "notOnboarded";
173
+ /** Unknown */
115
174
  KnownOnboardingStatus["Unknown"] = "unknown";
116
175
  })(exports.KnownOnboardingStatus || (exports.KnownOnboardingStatus = {}));
117
176
  /** Known values of {@link DataStatus} that the service accepts. */
118
177
  exports.KnownDataStatus = void 0;
119
178
  (function (KnownDataStatus) {
179
+ /** Present */
120
180
  KnownDataStatus["Present"] = "present";
181
+ /** NotPresent */
121
182
  KnownDataStatus["NotPresent"] = "notPresent";
122
183
  })(exports.KnownDataStatus || (exports.KnownDataStatus = {}));
184
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
185
+ exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
186
+ (function (KnownPrivateEndpointServiceConnectionStatus) {
187
+ /** Pending */
188
+ KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
189
+ /** Approved */
190
+ KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
191
+ /** Rejected */
192
+ KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
193
+ })(exports.KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = {}));
194
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
195
+ exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
196
+ (function (KnownPrivateEndpointConnectionProvisioningState) {
197
+ /** Succeeded */
198
+ KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
199
+ /** Creating */
200
+ KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
201
+ /** Deleting */
202
+ KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
203
+ /** Failed */
204
+ KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
205
+ })(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
206
+ /** Known values of {@link AccessMode} that the service accepts. */
207
+ exports.KnownAccessMode = void 0;
208
+ (function (KnownAccessMode) {
209
+ /** Open */
210
+ KnownAccessMode["Open"] = "Open";
211
+ /** PrivateOnly */
212
+ KnownAccessMode["PrivateOnly"] = "PrivateOnly";
213
+ })(exports.KnownAccessMode || (exports.KnownAccessMode = {}));
123
214
  /** Known values of {@link KnownPublicNetworkAccessOptions} that the service accepts. */
124
215
  exports.KnownKnownPublicNetworkAccessOptions = void 0;
125
216
  (function (KnownKnownPublicNetworkAccessOptions) {
217
+ /** Enabled */
126
218
  KnownKnownPublicNetworkAccessOptions["Enabled"] = "Enabled";
219
+ /** Disabled */
127
220
  KnownKnownPublicNetworkAccessOptions["Disabled"] = "Disabled";
128
221
  })(exports.KnownKnownPublicNetworkAccessOptions || (exports.KnownKnownPublicNetworkAccessOptions = {}));
129
222
  /** Known values of {@link KnownDataCollectionEndpointProvisioningState} that the service accepts. */
130
223
  exports.KnownKnownDataCollectionEndpointProvisioningState = void 0;
131
224
  (function (KnownKnownDataCollectionEndpointProvisioningState) {
225
+ /** Creating */
132
226
  KnownKnownDataCollectionEndpointProvisioningState["Creating"] = "Creating";
227
+ /** Updating */
133
228
  KnownKnownDataCollectionEndpointProvisioningState["Updating"] = "Updating";
229
+ /** Deleting */
134
230
  KnownKnownDataCollectionEndpointProvisioningState["Deleting"] = "Deleting";
231
+ /** Succeeded */
135
232
  KnownKnownDataCollectionEndpointProvisioningState["Succeeded"] = "Succeeded";
233
+ /** Failed */
136
234
  KnownKnownDataCollectionEndpointProvisioningState["Failed"] = "Failed";
137
235
  })(exports.KnownKnownDataCollectionEndpointProvisioningState || (exports.KnownKnownDataCollectionEndpointProvisioningState = {}));
138
236
  /** Known values of {@link KnownDataCollectionEndpointResourceKind} that the service accepts. */
139
237
  exports.KnownKnownDataCollectionEndpointResourceKind = void 0;
140
238
  (function (KnownKnownDataCollectionEndpointResourceKind) {
239
+ /** Linux */
141
240
  KnownKnownDataCollectionEndpointResourceKind["Linux"] = "Linux";
241
+ /** Windows */
142
242
  KnownKnownDataCollectionEndpointResourceKind["Windows"] = "Windows";
143
243
  })(exports.KnownKnownDataCollectionEndpointResourceKind || (exports.KnownKnownDataCollectionEndpointResourceKind = {}));
144
- /** Known values of {@link CreatedByType} that the service accepts. */
145
- exports.KnownCreatedByType = void 0;
146
- (function (KnownCreatedByType) {
147
- KnownCreatedByType["User"] = "User";
148
- KnownCreatedByType["Application"] = "Application";
149
- KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
150
- KnownCreatedByType["Key"] = "Key";
151
- })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
152
244
  /** Known values of {@link KnownDataCollectionRuleAssociationProvisioningState} that the service accepts. */
153
245
  exports.KnownKnownDataCollectionRuleAssociationProvisioningState = void 0;
154
246
  (function (KnownKnownDataCollectionRuleAssociationProvisioningState) {
247
+ /** Creating */
155
248
  KnownKnownDataCollectionRuleAssociationProvisioningState["Creating"] = "Creating";
249
+ /** Updating */
156
250
  KnownKnownDataCollectionRuleAssociationProvisioningState["Updating"] = "Updating";
251
+ /** Deleting */
157
252
  KnownKnownDataCollectionRuleAssociationProvisioningState["Deleting"] = "Deleting";
253
+ /** Succeeded */
158
254
  KnownKnownDataCollectionRuleAssociationProvisioningState["Succeeded"] = "Succeeded";
255
+ /** Failed */
159
256
  KnownKnownDataCollectionRuleAssociationProvisioningState["Failed"] = "Failed";
160
257
  })(exports.KnownKnownDataCollectionRuleAssociationProvisioningState || (exports.KnownKnownDataCollectionRuleAssociationProvisioningState = {}));
161
258
  /** Known values of {@link KnownColumnDefinitionType} that the service accepts. */
162
259
  exports.KnownKnownColumnDefinitionType = void 0;
163
260
  (function (KnownKnownColumnDefinitionType) {
261
+ /** String */
164
262
  KnownKnownColumnDefinitionType["String"] = "string";
263
+ /** Int */
165
264
  KnownKnownColumnDefinitionType["Int"] = "int";
265
+ /** Long */
166
266
  KnownKnownColumnDefinitionType["Long"] = "long";
267
+ /** Real */
167
268
  KnownKnownColumnDefinitionType["Real"] = "real";
269
+ /** Boolean */
168
270
  KnownKnownColumnDefinitionType["Boolean"] = "boolean";
271
+ /** Datetime */
169
272
  KnownKnownColumnDefinitionType["Datetime"] = "datetime";
273
+ /** Dynamic */
170
274
  KnownKnownColumnDefinitionType["Dynamic"] = "dynamic";
171
275
  })(exports.KnownKnownColumnDefinitionType || (exports.KnownKnownColumnDefinitionType = {}));
172
276
  /** Known values of {@link KnownPerfCounterDataSourceStreams} that the service accepts. */
173
277
  exports.KnownKnownPerfCounterDataSourceStreams = void 0;
174
278
  (function (KnownKnownPerfCounterDataSourceStreams) {
279
+ /** MicrosoftPerf */
175
280
  KnownKnownPerfCounterDataSourceStreams["MicrosoftPerf"] = "Microsoft-Perf";
281
+ /** MicrosoftInsightsMetrics */
176
282
  KnownKnownPerfCounterDataSourceStreams["MicrosoftInsightsMetrics"] = "Microsoft-InsightsMetrics";
177
283
  })(exports.KnownKnownPerfCounterDataSourceStreams || (exports.KnownKnownPerfCounterDataSourceStreams = {}));
178
284
  /** Known values of {@link KnownWindowsEventLogDataSourceStreams} that the service accepts. */
179
285
  exports.KnownKnownWindowsEventLogDataSourceStreams = void 0;
180
286
  (function (KnownKnownWindowsEventLogDataSourceStreams) {
287
+ /** MicrosoftWindowsEvent */
181
288
  KnownKnownWindowsEventLogDataSourceStreams["MicrosoftWindowsEvent"] = "Microsoft-WindowsEvent";
289
+ /** MicrosoftEvent */
182
290
  KnownKnownWindowsEventLogDataSourceStreams["MicrosoftEvent"] = "Microsoft-Event";
183
291
  })(exports.KnownKnownWindowsEventLogDataSourceStreams || (exports.KnownKnownWindowsEventLogDataSourceStreams = {}));
184
292
  /** Known values of {@link KnownSyslogDataSourceStreams} that the service accepts. */
185
293
  exports.KnownKnownSyslogDataSourceStreams = void 0;
186
294
  (function (KnownKnownSyslogDataSourceStreams) {
295
+ /** MicrosoftSyslog */
187
296
  KnownKnownSyslogDataSourceStreams["MicrosoftSyslog"] = "Microsoft-Syslog";
188
297
  })(exports.KnownKnownSyslogDataSourceStreams || (exports.KnownKnownSyslogDataSourceStreams = {}));
189
298
  /** Known values of {@link KnownSyslogDataSourceFacilityNames} that the service accepts. */
190
299
  exports.KnownKnownSyslogDataSourceFacilityNames = void 0;
191
300
  (function (KnownKnownSyslogDataSourceFacilityNames) {
301
+ /** Auth */
192
302
  KnownKnownSyslogDataSourceFacilityNames["Auth"] = "auth";
303
+ /** Authpriv */
193
304
  KnownKnownSyslogDataSourceFacilityNames["Authpriv"] = "authpriv";
305
+ /** Cron */
194
306
  KnownKnownSyslogDataSourceFacilityNames["Cron"] = "cron";
307
+ /** Daemon */
195
308
  KnownKnownSyslogDataSourceFacilityNames["Daemon"] = "daemon";
309
+ /** Kern */
196
310
  KnownKnownSyslogDataSourceFacilityNames["Kern"] = "kern";
311
+ /** Lpr */
197
312
  KnownKnownSyslogDataSourceFacilityNames["Lpr"] = "lpr";
313
+ /** Mail */
198
314
  KnownKnownSyslogDataSourceFacilityNames["Mail"] = "mail";
315
+ /** Mark */
199
316
  KnownKnownSyslogDataSourceFacilityNames["Mark"] = "mark";
317
+ /** News */
200
318
  KnownKnownSyslogDataSourceFacilityNames["News"] = "news";
319
+ /** Syslog */
201
320
  KnownKnownSyslogDataSourceFacilityNames["Syslog"] = "syslog";
321
+ /** User */
202
322
  KnownKnownSyslogDataSourceFacilityNames["User"] = "user";
323
+ /** Uucp */
203
324
  KnownKnownSyslogDataSourceFacilityNames["Uucp"] = "uucp";
325
+ /** Local0 */
204
326
  KnownKnownSyslogDataSourceFacilityNames["Local0"] = "local0";
327
+ /** Local1 */
205
328
  KnownKnownSyslogDataSourceFacilityNames["Local1"] = "local1";
329
+ /** Local2 */
206
330
  KnownKnownSyslogDataSourceFacilityNames["Local2"] = "local2";
331
+ /** Local3 */
207
332
  KnownKnownSyslogDataSourceFacilityNames["Local3"] = "local3";
333
+ /** Local4 */
208
334
  KnownKnownSyslogDataSourceFacilityNames["Local4"] = "local4";
335
+ /** Local5 */
209
336
  KnownKnownSyslogDataSourceFacilityNames["Local5"] = "local5";
337
+ /** Local6 */
210
338
  KnownKnownSyslogDataSourceFacilityNames["Local6"] = "local6";
339
+ /** Local7 */
211
340
  KnownKnownSyslogDataSourceFacilityNames["Local7"] = "local7";
341
+ /** Asterisk */
212
342
  KnownKnownSyslogDataSourceFacilityNames["Asterisk"] = "*";
213
343
  })(exports.KnownKnownSyslogDataSourceFacilityNames || (exports.KnownKnownSyslogDataSourceFacilityNames = {}));
214
344
  /** Known values of {@link KnownSyslogDataSourceLogLevels} that the service accepts. */
215
345
  exports.KnownKnownSyslogDataSourceLogLevels = void 0;
216
346
  (function (KnownKnownSyslogDataSourceLogLevels) {
347
+ /** Debug */
217
348
  KnownKnownSyslogDataSourceLogLevels["Debug"] = "Debug";
349
+ /** Info */
218
350
  KnownKnownSyslogDataSourceLogLevels["Info"] = "Info";
351
+ /** Notice */
219
352
  KnownKnownSyslogDataSourceLogLevels["Notice"] = "Notice";
353
+ /** Warning */
220
354
  KnownKnownSyslogDataSourceLogLevels["Warning"] = "Warning";
355
+ /** Error */
221
356
  KnownKnownSyslogDataSourceLogLevels["Error"] = "Error";
357
+ /** Critical */
222
358
  KnownKnownSyslogDataSourceLogLevels["Critical"] = "Critical";
359
+ /** Alert */
223
360
  KnownKnownSyslogDataSourceLogLevels["Alert"] = "Alert";
361
+ /** Emergency */
224
362
  KnownKnownSyslogDataSourceLogLevels["Emergency"] = "Emergency";
363
+ /** Asterisk */
225
364
  KnownKnownSyslogDataSourceLogLevels["Asterisk"] = "*";
226
365
  })(exports.KnownKnownSyslogDataSourceLogLevels || (exports.KnownKnownSyslogDataSourceLogLevels = {}));
227
366
  /** Known values of {@link KnownExtensionDataSourceStreams} that the service accepts. */
228
367
  exports.KnownKnownExtensionDataSourceStreams = void 0;
229
368
  (function (KnownKnownExtensionDataSourceStreams) {
369
+ /** MicrosoftEvent */
230
370
  KnownKnownExtensionDataSourceStreams["MicrosoftEvent"] = "Microsoft-Event";
371
+ /** MicrosoftInsightsMetrics */
231
372
  KnownKnownExtensionDataSourceStreams["MicrosoftInsightsMetrics"] = "Microsoft-InsightsMetrics";
373
+ /** MicrosoftPerf */
232
374
  KnownKnownExtensionDataSourceStreams["MicrosoftPerf"] = "Microsoft-Perf";
375
+ /** MicrosoftSyslog */
233
376
  KnownKnownExtensionDataSourceStreams["MicrosoftSyslog"] = "Microsoft-Syslog";
377
+ /** MicrosoftWindowsEvent */
234
378
  KnownKnownExtensionDataSourceStreams["MicrosoftWindowsEvent"] = "Microsoft-WindowsEvent";
235
379
  })(exports.KnownKnownExtensionDataSourceStreams || (exports.KnownKnownExtensionDataSourceStreams = {}));
236
380
  /** Known values of {@link KnownLogFilesDataSourceFormat} that the service accepts. */
237
381
  exports.KnownKnownLogFilesDataSourceFormat = void 0;
238
382
  (function (KnownKnownLogFilesDataSourceFormat) {
383
+ /** Text */
239
384
  KnownKnownLogFilesDataSourceFormat["Text"] = "text";
240
385
  })(exports.KnownKnownLogFilesDataSourceFormat || (exports.KnownKnownLogFilesDataSourceFormat = {}));
241
386
  /** Known values of {@link KnownLogFileTextSettingsRecordStartTimestampFormat} that the service accepts. */
242
387
  exports.KnownKnownLogFileTextSettingsRecordStartTimestampFormat = void 0;
243
388
  (function (KnownKnownLogFileTextSettingsRecordStartTimestampFormat) {
389
+ /** ISO8601 */
244
390
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["ISO8601"] = "ISO 8601";
391
+ /** YyyyMMDDHHMMSS */
245
392
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["YyyyMMDDHHMMSS"] = "YYYY-MM-DD HH:MM:SS";
393
+ /** MDYyyyHHMMSSAMPM */
246
394
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["MDYyyyHHMMSSAMPM"] = "M/D/YYYY HH:MM:SS AM/PM";
395
+ /** MonDDYyyyHHMMSS */
247
396
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["MonDDYyyyHHMMSS"] = "Mon DD, YYYY HH:MM:SS";
397
+ /** YyMMddHHMmSs */
248
398
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["YyMMddHHMmSs"] = "yyMMdd HH:mm:ss";
399
+ /** DdMMyyHHMmSs */
249
400
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["DdMMyyHHMmSs"] = "ddMMyy HH:mm:ss";
401
+ /** MMMDHhMmSs */
250
402
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["MMMDHhMmSs"] = "MMM d hh:mm:ss";
403
+ /** DdMMMYyyyHHMmSsZzz */
251
404
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["DdMMMYyyyHHMmSsZzz"] = "dd/MMM/yyyy:HH:mm:ss zzz";
405
+ /** YyyyMMDdTHHMmSsK */
252
406
  KnownKnownLogFileTextSettingsRecordStartTimestampFormat["YyyyMMDdTHHMmSsK"] = "yyyy-MM-ddTHH:mm:ssK";
253
407
  })(exports.KnownKnownLogFileTextSettingsRecordStartTimestampFormat || (exports.KnownKnownLogFileTextSettingsRecordStartTimestampFormat = {}));
254
408
  /** Known values of {@link KnownDataFlowStreams} that the service accepts. */
255
409
  exports.KnownKnownDataFlowStreams = void 0;
256
410
  (function (KnownKnownDataFlowStreams) {
411
+ /** MicrosoftEvent */
257
412
  KnownKnownDataFlowStreams["MicrosoftEvent"] = "Microsoft-Event";
413
+ /** MicrosoftInsightsMetrics */
258
414
  KnownKnownDataFlowStreams["MicrosoftInsightsMetrics"] = "Microsoft-InsightsMetrics";
415
+ /** MicrosoftPerf */
259
416
  KnownKnownDataFlowStreams["MicrosoftPerf"] = "Microsoft-Perf";
417
+ /** MicrosoftSyslog */
260
418
  KnownKnownDataFlowStreams["MicrosoftSyslog"] = "Microsoft-Syslog";
419
+ /** MicrosoftWindowsEvent */
261
420
  KnownKnownDataFlowStreams["MicrosoftWindowsEvent"] = "Microsoft-WindowsEvent";
262
421
  })(exports.KnownKnownDataFlowStreams || (exports.KnownKnownDataFlowStreams = {}));
263
422
  /** Known values of {@link KnownDataCollectionRuleProvisioningState} that the service accepts. */
264
423
  exports.KnownKnownDataCollectionRuleProvisioningState = void 0;
265
424
  (function (KnownKnownDataCollectionRuleProvisioningState) {
425
+ /** Creating */
266
426
  KnownKnownDataCollectionRuleProvisioningState["Creating"] = "Creating";
427
+ /** Updating */
267
428
  KnownKnownDataCollectionRuleProvisioningState["Updating"] = "Updating";
429
+ /** Deleting */
268
430
  KnownKnownDataCollectionRuleProvisioningState["Deleting"] = "Deleting";
431
+ /** Succeeded */
269
432
  KnownKnownDataCollectionRuleProvisioningState["Succeeded"] = "Succeeded";
433
+ /** Failed */
270
434
  KnownKnownDataCollectionRuleProvisioningState["Failed"] = "Failed";
271
435
  })(exports.KnownKnownDataCollectionRuleProvisioningState || (exports.KnownKnownDataCollectionRuleProvisioningState = {}));
272
436
  /** Known values of {@link KnownDataCollectionRuleResourceKind} that the service accepts. */
273
437
  exports.KnownKnownDataCollectionRuleResourceKind = void 0;
274
438
  (function (KnownKnownDataCollectionRuleResourceKind) {
439
+ /** Linux */
275
440
  KnownKnownDataCollectionRuleResourceKind["Linux"] = "Linux";
441
+ /** Windows */
276
442
  KnownKnownDataCollectionRuleResourceKind["Windows"] = "Windows";
277
443
  })(exports.KnownKnownDataCollectionRuleResourceKind || (exports.KnownKnownDataCollectionRuleResourceKind = {}));
278
444
  /** Known values of {@link Operator} that the service accepts. */
279
445
  exports.KnownOperator = void 0;
280
446
  (function (KnownOperator) {
447
+ /** Equals */
281
448
  KnownOperator["Equals"] = "Equals";
449
+ /** GreaterThan */
282
450
  KnownOperator["GreaterThan"] = "GreaterThan";
451
+ /** GreaterThanOrEqual */
283
452
  KnownOperator["GreaterThanOrEqual"] = "GreaterThanOrEqual";
453
+ /** LessThan */
284
454
  KnownOperator["LessThan"] = "LessThan";
455
+ /** LessThanOrEqual */
285
456
  KnownOperator["LessThanOrEqual"] = "LessThanOrEqual";
457
+ /** Include */
286
458
  KnownOperator["Include"] = "Include";
287
459
  })(exports.KnownOperator || (exports.KnownOperator = {}));
288
460
  /** Known values of {@link CriterionType} that the service accepts. */
289
461
  exports.KnownCriterionType = void 0;
290
462
  (function (KnownCriterionType) {
463
+ /** StaticThresholdCriterion */
291
464
  KnownCriterionType["StaticThresholdCriterion"] = "StaticThresholdCriterion";
465
+ /** DynamicThresholdCriterion */
292
466
  KnownCriterionType["DynamicThresholdCriterion"] = "DynamicThresholdCriterion";
293
467
  })(exports.KnownCriterionType || (exports.KnownCriterionType = {}));
294
468
  /** Known values of {@link AggregationTypeEnum} that the service accepts. */
295
469
  exports.KnownAggregationTypeEnum = void 0;
296
470
  (function (KnownAggregationTypeEnum) {
471
+ /** Average */
297
472
  KnownAggregationTypeEnum["Average"] = "Average";
473
+ /** Count */
298
474
  KnownAggregationTypeEnum["Count"] = "Count";
475
+ /** Minimum */
299
476
  KnownAggregationTypeEnum["Minimum"] = "Minimum";
477
+ /** Maximum */
300
478
  KnownAggregationTypeEnum["Maximum"] = "Maximum";
479
+ /** Total */
301
480
  KnownAggregationTypeEnum["Total"] = "Total";
302
481
  })(exports.KnownAggregationTypeEnum || (exports.KnownAggregationTypeEnum = {}));
303
482
  /** Known values of {@link DynamicThresholdOperator} that the service accepts. */
304
483
  exports.KnownDynamicThresholdOperator = void 0;
305
484
  (function (KnownDynamicThresholdOperator) {
485
+ /** GreaterThan */
306
486
  KnownDynamicThresholdOperator["GreaterThan"] = "GreaterThan";
487
+ /** LessThan */
307
488
  KnownDynamicThresholdOperator["LessThan"] = "LessThan";
489
+ /** GreaterOrLessThan */
308
490
  KnownDynamicThresholdOperator["GreaterOrLessThan"] = "GreaterOrLessThan";
309
491
  })(exports.KnownDynamicThresholdOperator || (exports.KnownDynamicThresholdOperator = {}));
310
492
  /** Known values of {@link DynamicThresholdSensitivity} that the service accepts. */
311
493
  exports.KnownDynamicThresholdSensitivity = void 0;
312
494
  (function (KnownDynamicThresholdSensitivity) {
495
+ /** Low */
313
496
  KnownDynamicThresholdSensitivity["Low"] = "Low";
497
+ /** Medium */
314
498
  KnownDynamicThresholdSensitivity["Medium"] = "Medium";
499
+ /** High */
315
500
  KnownDynamicThresholdSensitivity["High"] = "High";
316
501
  })(exports.KnownDynamicThresholdSensitivity || (exports.KnownDynamicThresholdSensitivity = {}));
317
502
  /** Known values of {@link ConditionalOperator} that the service accepts. */
318
503
  exports.KnownConditionalOperator = void 0;
319
504
  (function (KnownConditionalOperator) {
505
+ /** GreaterThanOrEqual */
320
506
  KnownConditionalOperator["GreaterThanOrEqual"] = "GreaterThanOrEqual";
507
+ /** LessThanOrEqual */
321
508
  KnownConditionalOperator["LessThanOrEqual"] = "LessThanOrEqual";
509
+ /** GreaterThan */
322
510
  KnownConditionalOperator["GreaterThan"] = "GreaterThan";
511
+ /** LessThan */
323
512
  KnownConditionalOperator["LessThan"] = "LessThan";
513
+ /** Equal */
324
514
  KnownConditionalOperator["Equal"] = "Equal";
325
515
  })(exports.KnownConditionalOperator || (exports.KnownConditionalOperator = {}));
326
516
  /** Known values of {@link MetricTriggerType} that the service accepts. */
327
517
  exports.KnownMetricTriggerType = void 0;
328
518
  (function (KnownMetricTriggerType) {
519
+ /** Consecutive */
329
520
  KnownMetricTriggerType["Consecutive"] = "Consecutive";
521
+ /** Total */
330
522
  KnownMetricTriggerType["Total"] = "Total";
331
523
  })(exports.KnownMetricTriggerType || (exports.KnownMetricTriggerType = {}));
332
524
  /** Known values of {@link AlertSeverity} that the service accepts. */
333
525
  exports.KnownAlertSeverity = void 0;
334
526
  (function (KnownAlertSeverity) {
527
+ /** Zero */
335
528
  KnownAlertSeverity["Zero"] = "0";
529
+ /** One */
336
530
  KnownAlertSeverity["One"] = "1";
531
+ /** Two */
337
532
  KnownAlertSeverity["Two"] = "2";
533
+ /** Three */
338
534
  KnownAlertSeverity["Three"] = "3";
535
+ /** Four */
339
536
  KnownAlertSeverity["Four"] = "4";
340
537
  })(exports.KnownAlertSeverity || (exports.KnownAlertSeverity = {}));
341
538
 
@@ -861,6 +1058,28 @@ const WebhookNotification = {
861
1058
  }
862
1059
  }
863
1060
  };
1061
+ const PredictiveAutoscalePolicy = {
1062
+ type: {
1063
+ name: "Composite",
1064
+ className: "PredictiveAutoscalePolicy",
1065
+ modelProperties: {
1066
+ scaleMode: {
1067
+ serializedName: "scaleMode",
1068
+ required: true,
1069
+ type: {
1070
+ name: "Enum",
1071
+ allowedValues: ["Disabled", "ForecastOnly", "Enabled"]
1072
+ }
1073
+ },
1074
+ scaleLookAheadTime: {
1075
+ serializedName: "scaleLookAheadTime",
1076
+ type: {
1077
+ name: "TimeSpan"
1078
+ }
1079
+ }
1080
+ }
1081
+ }
1082
+ };
864
1083
  const Resource = {
865
1084
  type: {
866
1085
  name: "Composite",
@@ -900,14 +1119,87 @@ const Resource = {
900
1119
  name: "Dictionary",
901
1120
  value: { type: { name: "String" } }
902
1121
  }
1122
+ },
1123
+ systemData: {
1124
+ serializedName: "systemData",
1125
+ type: {
1126
+ name: "Composite",
1127
+ className: "SystemData"
1128
+ }
903
1129
  }
904
1130
  }
905
1131
  }
906
1132
  };
907
- const ErrorResponse = {
1133
+ const SystemData = {
908
1134
  type: {
909
1135
  name: "Composite",
910
- className: "ErrorResponse",
1136
+ className: "SystemData",
1137
+ modelProperties: {
1138
+ createdBy: {
1139
+ serializedName: "createdBy",
1140
+ type: {
1141
+ name: "String"
1142
+ }
1143
+ },
1144
+ createdByType: {
1145
+ serializedName: "createdByType",
1146
+ type: {
1147
+ name: "String"
1148
+ }
1149
+ },
1150
+ createdAt: {
1151
+ serializedName: "createdAt",
1152
+ type: {
1153
+ name: "DateTime"
1154
+ }
1155
+ },
1156
+ lastModifiedBy: {
1157
+ serializedName: "lastModifiedBy",
1158
+ type: {
1159
+ name: "String"
1160
+ }
1161
+ },
1162
+ lastModifiedByType: {
1163
+ serializedName: "lastModifiedByType",
1164
+ type: {
1165
+ name: "String"
1166
+ }
1167
+ },
1168
+ lastModifiedAt: {
1169
+ serializedName: "lastModifiedAt",
1170
+ type: {
1171
+ name: "DateTime"
1172
+ }
1173
+ }
1174
+ }
1175
+ }
1176
+ };
1177
+ const AutoscaleErrorResponse = {
1178
+ type: {
1179
+ name: "Composite",
1180
+ className: "AutoscaleErrorResponse",
1181
+ modelProperties: {
1182
+ error: {
1183
+ serializedName: "error",
1184
+ type: {
1185
+ name: "Composite",
1186
+ className: "AutoscaleErrorResponseError"
1187
+ }
1188
+ },
1189
+ systemData: {
1190
+ serializedName: "systemData",
1191
+ type: {
1192
+ name: "Composite",
1193
+ className: "SystemData"
1194
+ }
1195
+ }
1196
+ }
1197
+ }
1198
+ };
1199
+ const AutoscaleErrorResponseError = {
1200
+ type: {
1201
+ name: "Composite",
1202
+ className: "AutoscaleErrorResponseError",
911
1203
  modelProperties: {
912
1204
  code: {
913
1205
  serializedName: "code",
@@ -920,6 +1212,18 @@ const ErrorResponse = {
920
1212
  type: {
921
1213
  name: "String"
922
1214
  }
1215
+ },
1216
+ target: {
1217
+ serializedName: "target",
1218
+ type: {
1219
+ name: "String"
1220
+ }
1221
+ },
1222
+ details: {
1223
+ serializedName: "details",
1224
+ type: {
1225
+ name: "String"
1226
+ }
923
1227
  }
924
1228
  }
925
1229
  }
@@ -964,12 +1268,19 @@ const AutoscaleSettingResourcePatch = {
964
1268
  }
965
1269
  },
966
1270
  enabled: {
967
- defaultValue: true,
1271
+ defaultValue: false,
968
1272
  serializedName: "properties.enabled",
969
1273
  type: {
970
1274
  name: "Boolean"
971
1275
  }
972
1276
  },
1277
+ predictiveAutoscalePolicy: {
1278
+ serializedName: "properties.predictiveAutoscalePolicy",
1279
+ type: {
1280
+ name: "Composite",
1281
+ className: "PredictiveAutoscalePolicy"
1282
+ }
1283
+ },
973
1284
  name: {
974
1285
  serializedName: "properties.name",
975
1286
  type: {
@@ -991,6 +1302,72 @@ const AutoscaleSettingResourcePatch = {
991
1302
  }
992
1303
  }
993
1304
  };
1305
+ const PredictiveResponse = {
1306
+ type: {
1307
+ name: "Composite",
1308
+ className: "PredictiveResponse",
1309
+ modelProperties: {
1310
+ timespan: {
1311
+ serializedName: "timespan",
1312
+ type: {
1313
+ name: "String"
1314
+ }
1315
+ },
1316
+ interval: {
1317
+ serializedName: "interval",
1318
+ type: {
1319
+ name: "TimeSpan"
1320
+ }
1321
+ },
1322
+ metricName: {
1323
+ serializedName: "metricName",
1324
+ type: {
1325
+ name: "String"
1326
+ }
1327
+ },
1328
+ targetResourceId: {
1329
+ serializedName: "targetResourceId",
1330
+ type: {
1331
+ name: "String"
1332
+ }
1333
+ },
1334
+ data: {
1335
+ serializedName: "data",
1336
+ type: {
1337
+ name: "Sequence",
1338
+ element: {
1339
+ type: {
1340
+ name: "Composite",
1341
+ className: "PredictiveValue"
1342
+ }
1343
+ }
1344
+ }
1345
+ }
1346
+ }
1347
+ }
1348
+ };
1349
+ const PredictiveValue = {
1350
+ type: {
1351
+ name: "Composite",
1352
+ className: "PredictiveValue",
1353
+ modelProperties: {
1354
+ timeStamp: {
1355
+ serializedName: "timeStamp",
1356
+ required: true,
1357
+ type: {
1358
+ name: "DateTime"
1359
+ }
1360
+ },
1361
+ value: {
1362
+ serializedName: "value",
1363
+ required: true,
1364
+ type: {
1365
+ name: "Number"
1366
+ }
1367
+ }
1368
+ }
1369
+ }
1370
+ };
994
1371
  const OperationListResult = {
995
1372
  type: {
996
1373
  name: "Composite",
@@ -1107,6 +1484,26 @@ const Incident = {
1107
1484
  }
1108
1485
  }
1109
1486
  };
1487
+ const ErrorResponse = {
1488
+ type: {
1489
+ name: "Composite",
1490
+ className: "ErrorResponse",
1491
+ modelProperties: {
1492
+ code: {
1493
+ serializedName: "code",
1494
+ type: {
1495
+ name: "String"
1496
+ }
1497
+ },
1498
+ message: {
1499
+ serializedName: "message",
1500
+ type: {
1501
+ name: "String"
1502
+ }
1503
+ }
1504
+ }
1505
+ }
1506
+ };
1110
1507
  const IncidentListResult = {
1111
1508
  type: {
1112
1509
  name: "Composite",
@@ -1218,6 +1615,49 @@ const RuleAction = {
1218
1615
  }
1219
1616
  }
1220
1617
  };
1618
+ const ResourceAutoGenerated = {
1619
+ type: {
1620
+ name: "Composite",
1621
+ className: "ResourceAutoGenerated",
1622
+ modelProperties: {
1623
+ id: {
1624
+ serializedName: "id",
1625
+ readOnly: true,
1626
+ type: {
1627
+ name: "String"
1628
+ }
1629
+ },
1630
+ name: {
1631
+ serializedName: "name",
1632
+ readOnly: true,
1633
+ type: {
1634
+ name: "String"
1635
+ }
1636
+ },
1637
+ type: {
1638
+ serializedName: "type",
1639
+ readOnly: true,
1640
+ type: {
1641
+ name: "String"
1642
+ }
1643
+ },
1644
+ location: {
1645
+ serializedName: "location",
1646
+ required: true,
1647
+ type: {
1648
+ name: "String"
1649
+ }
1650
+ },
1651
+ tags: {
1652
+ serializedName: "tags",
1653
+ type: {
1654
+ name: "Dictionary",
1655
+ value: { type: { name: "String" } }
1656
+ }
1657
+ }
1658
+ }
1659
+ }
1660
+ };
1221
1661
  const AlertRuleResourcePatch = {
1222
1662
  type: {
1223
1663
  name: "Composite",
@@ -1335,20 +1775,63 @@ const RetentionPolicy = {
1335
1775
  }
1336
1776
  }
1337
1777
  };
1338
- const LogProfileResourcePatch = {
1778
+ const ResourceAutoGenerated2 = {
1339
1779
  type: {
1340
1780
  name: "Composite",
1341
- className: "LogProfileResourcePatch",
1781
+ className: "ResourceAutoGenerated2",
1342
1782
  modelProperties: {
1343
- tags: {
1344
- serializedName: "tags",
1783
+ id: {
1784
+ serializedName: "id",
1785
+ readOnly: true,
1345
1786
  type: {
1346
- name: "Dictionary",
1347
- value: { type: { name: "String" } }
1787
+ name: "String"
1348
1788
  }
1349
1789
  },
1350
- storageAccountId: {
1351
- serializedName: "properties.storageAccountId",
1790
+ name: {
1791
+ serializedName: "name",
1792
+ readOnly: true,
1793
+ type: {
1794
+ name: "String"
1795
+ }
1796
+ },
1797
+ type: {
1798
+ serializedName: "type",
1799
+ readOnly: true,
1800
+ type: {
1801
+ name: "String"
1802
+ }
1803
+ },
1804
+ location: {
1805
+ serializedName: "location",
1806
+ required: true,
1807
+ type: {
1808
+ name: "String"
1809
+ }
1810
+ },
1811
+ tags: {
1812
+ serializedName: "tags",
1813
+ type: {
1814
+ name: "Dictionary",
1815
+ value: { type: { name: "String" } }
1816
+ }
1817
+ }
1818
+ }
1819
+ }
1820
+ };
1821
+ const LogProfileResourcePatch = {
1822
+ type: {
1823
+ name: "Composite",
1824
+ className: "LogProfileResourcePatch",
1825
+ modelProperties: {
1826
+ tags: {
1827
+ serializedName: "tags",
1828
+ type: {
1829
+ name: "Dictionary",
1830
+ value: { type: { name: "String" } }
1831
+ }
1832
+ },
1833
+ storageAccountId: {
1834
+ serializedName: "properties.storageAccountId",
1352
1835
  type: {
1353
1836
  name: "String"
1354
1837
  }
@@ -1457,6 +1940,12 @@ const LogSettings = {
1457
1940
  name: "String"
1458
1941
  }
1459
1942
  },
1943
+ categoryGroup: {
1944
+ serializedName: "categoryGroup",
1945
+ type: {
1946
+ name: "String"
1947
+ }
1948
+ },
1460
1949
  enabled: {
1461
1950
  serializedName: "enabled",
1462
1951
  required: true,
@@ -1474,10 +1963,10 @@ const LogSettings = {
1474
1963
  }
1475
1964
  }
1476
1965
  };
1477
- const ProxyOnlyResource = {
1966
+ const ResourceAutoGenerated3 = {
1478
1967
  type: {
1479
1968
  name: "Composite",
1480
- className: "ProxyOnlyResource",
1969
+ className: "ResourceAutoGenerated3",
1481
1970
  modelProperties: {
1482
1971
  id: {
1483
1972
  serializedName: "id",
@@ -2003,20 +2492,6 @@ const AzureResource = {
2003
2492
  name: "String"
2004
2493
  }
2005
2494
  },
2006
- kind: {
2007
- serializedName: "kind",
2008
- readOnly: true,
2009
- type: {
2010
- name: "String"
2011
- }
2012
- },
2013
- identity: {
2014
- serializedName: "identity",
2015
- readOnly: true,
2016
- type: {
2017
- name: "String"
2018
- }
2019
- },
2020
2495
  location: {
2021
2496
  serializedName: "location",
2022
2497
  required: true,
@@ -2212,33 +2687,33 @@ const TestNotificationDetailsResponse = {
2212
2687
  className: "TestNotificationDetailsResponse",
2213
2688
  modelProperties: {
2214
2689
  context: {
2215
- serializedName: "Context",
2690
+ serializedName: "context",
2216
2691
  type: {
2217
2692
  name: "Composite",
2218
2693
  className: "Context"
2219
2694
  }
2220
2695
  },
2221
2696
  state: {
2222
- serializedName: "State",
2697
+ serializedName: "state",
2223
2698
  required: true,
2224
2699
  type: {
2225
2700
  name: "String"
2226
2701
  }
2227
2702
  },
2228
2703
  completedTime: {
2229
- serializedName: "CompletedTime",
2704
+ serializedName: "completedTime",
2230
2705
  type: {
2231
2706
  name: "String"
2232
2707
  }
2233
2708
  },
2234
2709
  createdTime: {
2235
- serializedName: "CreatedTime",
2710
+ serializedName: "createdTime",
2236
2711
  type: {
2237
2712
  name: "String"
2238
2713
  }
2239
2714
  },
2240
2715
  actionDetails: {
2241
- serializedName: "ActionDetails",
2716
+ serializedName: "actionDetails",
2242
2717
  type: {
2243
2718
  name: "Sequence",
2244
2719
  element: {
@@ -2258,13 +2733,13 @@ const Context = {
2258
2733
  className: "Context",
2259
2734
  modelProperties: {
2260
2735
  notificationSource: {
2261
- serializedName: "NotificationSource",
2736
+ serializedName: "notificationSource",
2262
2737
  type: {
2263
2738
  name: "String"
2264
2739
  }
2265
2740
  },
2266
2741
  contextType: {
2267
- serializedName: "ContextType",
2742
+ serializedName: "contextType",
2268
2743
  type: {
2269
2744
  name: "String"
2270
2745
  }
@@ -3342,6 +3817,49 @@ const MetricAlertAction = {
3342
3817
  }
3343
3818
  }
3344
3819
  };
3820
+ const ResourceAutoGenerated4 = {
3821
+ type: {
3822
+ name: "Composite",
3823
+ className: "ResourceAutoGenerated4",
3824
+ modelProperties: {
3825
+ id: {
3826
+ serializedName: "id",
3827
+ readOnly: true,
3828
+ type: {
3829
+ name: "String"
3830
+ }
3831
+ },
3832
+ name: {
3833
+ serializedName: "name",
3834
+ readOnly: true,
3835
+ type: {
3836
+ name: "String"
3837
+ }
3838
+ },
3839
+ type: {
3840
+ serializedName: "type",
3841
+ readOnly: true,
3842
+ type: {
3843
+ name: "String"
3844
+ }
3845
+ },
3846
+ location: {
3847
+ serializedName: "location",
3848
+ required: true,
3849
+ type: {
3850
+ name: "String"
3851
+ }
3852
+ },
3853
+ tags: {
3854
+ serializedName: "tags",
3855
+ type: {
3856
+ name: "Dictionary",
3857
+ value: { type: { name: "String" } }
3858
+ }
3859
+ }
3860
+ }
3861
+ }
3862
+ };
3345
3863
  const MetricAlertResourcePatch = {
3346
3864
  type: {
3347
3865
  name: "Composite",
@@ -3609,10 +4127,10 @@ const Action = {
3609
4127
  }
3610
4128
  }
3611
4129
  };
3612
- const ResourceAutoGenerated = {
4130
+ const ResourceAutoGenerated5 = {
3613
4131
  type: {
3614
4132
  name: "Composite",
3615
- className: "ResourceAutoGenerated",
4133
+ className: "ResourceAutoGenerated5",
3616
4134
  modelProperties: {
3617
4135
  id: {
3618
4136
  serializedName: "id",
@@ -3932,13 +4450,14 @@ const AzureMonitorPrivateLinkScopeListResult = {
3932
4450
  }
3933
4451
  }
3934
4452
  };
3935
- const PrivateEndpointProperty = {
4453
+ const PrivateEndpoint = {
3936
4454
  type: {
3937
4455
  name: "Composite",
3938
- className: "PrivateEndpointProperty",
4456
+ className: "PrivateEndpoint",
3939
4457
  modelProperties: {
3940
4458
  id: {
3941
4459
  serializedName: "id",
4460
+ readOnly: true,
3942
4461
  type: {
3943
4462
  name: "String"
3944
4463
  }
@@ -3946,28 +4465,25 @@ const PrivateEndpointProperty = {
3946
4465
  }
3947
4466
  }
3948
4467
  };
3949
- const PrivateLinkServiceConnectionStateProperty = {
4468
+ const PrivateLinkServiceConnectionState = {
3950
4469
  type: {
3951
4470
  name: "Composite",
3952
- className: "PrivateLinkServiceConnectionStateProperty",
4471
+ className: "PrivateLinkServiceConnectionState",
3953
4472
  modelProperties: {
3954
4473
  status: {
3955
4474
  serializedName: "status",
3956
- required: true,
3957
4475
  type: {
3958
4476
  name: "String"
3959
4477
  }
3960
4478
  },
3961
4479
  description: {
3962
4480
  serializedName: "description",
3963
- required: true,
3964
4481
  type: {
3965
4482
  name: "String"
3966
4483
  }
3967
4484
  },
3968
4485
  actionsRequired: {
3969
4486
  serializedName: "actionsRequired",
3970
- readOnly: true,
3971
4487
  type: {
3972
4488
  name: "String"
3973
4489
  }
@@ -3975,44 +4491,154 @@ const PrivateLinkServiceConnectionStateProperty = {
3975
4491
  }
3976
4492
  }
3977
4493
  };
3978
- const PrivateLinkScopesResource = {
4494
+ const AccessModeSettings = {
3979
4495
  type: {
3980
4496
  name: "Composite",
3981
- className: "PrivateLinkScopesResource",
4497
+ className: "AccessModeSettings",
3982
4498
  modelProperties: {
3983
- id: {
3984
- serializedName: "id",
4499
+ queryAccessMode: {
4500
+ serializedName: "queryAccessMode",
4501
+ required: true,
4502
+ type: {
4503
+ name: "String"
4504
+ }
4505
+ },
4506
+ ingestionAccessMode: {
4507
+ serializedName: "ingestionAccessMode",
4508
+ required: true,
4509
+ type: {
4510
+ name: "String"
4511
+ }
4512
+ },
4513
+ exclusions: {
4514
+ serializedName: "exclusions",
4515
+ type: {
4516
+ name: "Sequence",
4517
+ element: {
4518
+ type: {
4519
+ name: "Composite",
4520
+ className: "AccessModeSettingsExclusion"
4521
+ }
4522
+ }
4523
+ }
4524
+ }
4525
+ }
4526
+ }
4527
+ };
4528
+ const AccessModeSettingsExclusion = {
4529
+ type: {
4530
+ name: "Composite",
4531
+ className: "AccessModeSettingsExclusion",
4532
+ modelProperties: {
4533
+ privateEndpointConnectionName: {
4534
+ serializedName: "privateEndpointConnectionName",
4535
+ type: {
4536
+ name: "String"
4537
+ }
4538
+ },
4539
+ queryAccessMode: {
4540
+ serializedName: "queryAccessMode",
4541
+ type: {
4542
+ name: "String"
4543
+ }
4544
+ },
4545
+ ingestionAccessMode: {
4546
+ serializedName: "ingestionAccessMode",
4547
+ type: {
4548
+ name: "String"
4549
+ }
4550
+ }
4551
+ }
4552
+ }
4553
+ };
4554
+ const DefaultErrorResponse = {
4555
+ type: {
4556
+ name: "Composite",
4557
+ className: "DefaultErrorResponse",
4558
+ modelProperties: {
4559
+ error: {
4560
+ serializedName: "error",
4561
+ type: {
4562
+ name: "Composite",
4563
+ className: "ErrorDetail"
4564
+ }
4565
+ }
4566
+ }
4567
+ }
4568
+ };
4569
+ const ErrorDetail = {
4570
+ type: {
4571
+ name: "Composite",
4572
+ className: "ErrorDetail",
4573
+ modelProperties: {
4574
+ code: {
4575
+ serializedName: "code",
3985
4576
  readOnly: true,
3986
4577
  type: {
3987
4578
  name: "String"
3988
4579
  }
3989
4580
  },
3990
- name: {
3991
- serializedName: "name",
4581
+ message: {
4582
+ serializedName: "message",
3992
4583
  readOnly: true,
3993
4584
  type: {
3994
4585
  name: "String"
3995
4586
  }
3996
4587
  },
3997
- type: {
3998
- serializedName: "type",
4588
+ target: {
4589
+ serializedName: "target",
3999
4590
  readOnly: true,
4000
4591
  type: {
4001
4592
  name: "String"
4002
4593
  }
4003
4594
  },
4004
- location: {
4005
- serializedName: "location",
4006
- required: true,
4595
+ details: {
4596
+ serializedName: "details",
4597
+ readOnly: true,
4598
+ type: {
4599
+ name: "Sequence",
4600
+ element: {
4601
+ type: {
4602
+ name: "Composite",
4603
+ className: "ErrorDetail"
4604
+ }
4605
+ }
4606
+ }
4607
+ },
4608
+ additionalInfo: {
4609
+ serializedName: "additionalInfo",
4610
+ readOnly: true,
4611
+ type: {
4612
+ name: "Sequence",
4613
+ element: {
4614
+ type: {
4615
+ name: "Composite",
4616
+ className: "ErrorAdditionalInfo"
4617
+ }
4618
+ }
4619
+ }
4620
+ }
4621
+ }
4622
+ }
4623
+ };
4624
+ const ErrorAdditionalInfo = {
4625
+ type: {
4626
+ name: "Composite",
4627
+ className: "ErrorAdditionalInfo",
4628
+ modelProperties: {
4629
+ type: {
4630
+ serializedName: "type",
4631
+ readOnly: true,
4007
4632
  type: {
4008
4633
  name: "String"
4009
4634
  }
4010
4635
  },
4011
- tags: {
4012
- serializedName: "tags",
4636
+ info: {
4637
+ serializedName: "info",
4638
+ readOnly: true,
4013
4639
  type: {
4014
4640
  name: "Dictionary",
4015
- value: { type: { name: "String" } }
4641
+ value: { type: { name: "any" } }
4016
4642
  }
4017
4643
  }
4018
4644
  }
@@ -4074,30 +4700,7 @@ const OperationStatus = {
4074
4700
  serializedName: "error",
4075
4701
  type: {
4076
4702
  name: "Composite",
4077
- className: "ErrorResponseCommon"
4078
- }
4079
- }
4080
- }
4081
- }
4082
- };
4083
- const ErrorAdditionalInfo = {
4084
- type: {
4085
- name: "Composite",
4086
- className: "ErrorAdditionalInfo",
4087
- modelProperties: {
4088
- type: {
4089
- serializedName: "type",
4090
- readOnly: true,
4091
- type: {
4092
- name: "String"
4093
- }
4094
- },
4095
- info: {
4096
- serializedName: "info",
4097
- readOnly: true,
4098
- type: {
4099
- name: "Dictionary",
4100
- value: { type: { name: "any" } }
4703
+ className: "ErrorDetail"
4101
4704
  }
4102
4705
  }
4103
4706
  }
@@ -4110,7 +4713,6 @@ const PrivateLinkResourceListResult = {
4110
4713
  modelProperties: {
4111
4714
  value: {
4112
4715
  serializedName: "value",
4113
- readOnly: true,
4114
4716
  type: {
4115
4717
  name: "Sequence",
4116
4718
  element: {
@@ -4120,13 +4722,6 @@ const PrivateLinkResourceListResult = {
4120
4722
  }
4121
4723
  }
4122
4724
  }
4123
- },
4124
- nextLink: {
4125
- serializedName: "nextLink",
4126
- readOnly: true,
4127
- type: {
4128
- name: "String"
4129
- }
4130
4725
  }
4131
4726
  }
4132
4727
  }
@@ -4138,7 +4733,6 @@ const PrivateEndpointConnectionListResult = {
4138
4733
  modelProperties: {
4139
4734
  value: {
4140
4735
  serializedName: "value",
4141
- readOnly: true,
4142
4736
  type: {
4143
4737
  name: "Sequence",
4144
4738
  element: {
@@ -4148,13 +4742,6 @@ const PrivateEndpointConnectionListResult = {
4148
4742
  }
4149
4743
  }
4150
4744
  }
4151
- },
4152
- nextLink: {
4153
- serializedName: "nextLink",
4154
- readOnly: true,
4155
- type: {
4156
- name: "String"
4157
- }
4158
4745
  }
4159
4746
  }
4160
4747
  }
@@ -4616,50 +5203,6 @@ const NetworkRuleSet = {
4616
5203
  }
4617
5204
  }
4618
5205
  };
4619
- const SystemData = {
4620
- type: {
4621
- name: "Composite",
4622
- className: "SystemData",
4623
- modelProperties: {
4624
- createdBy: {
4625
- serializedName: "createdBy",
4626
- type: {
4627
- name: "String"
4628
- }
4629
- },
4630
- createdByType: {
4631
- serializedName: "createdByType",
4632
- type: {
4633
- name: "String"
4634
- }
4635
- },
4636
- createdAt: {
4637
- serializedName: "createdAt",
4638
- type: {
4639
- name: "DateTime"
4640
- }
4641
- },
4642
- lastModifiedBy: {
4643
- serializedName: "lastModifiedBy",
4644
- type: {
4645
- name: "String"
4646
- }
4647
- },
4648
- lastModifiedByType: {
4649
- serializedName: "lastModifiedByType",
4650
- type: {
4651
- name: "String"
4652
- }
4653
- },
4654
- lastModifiedAt: {
4655
- serializedName: "lastModifiedAt",
4656
- type: {
4657
- name: "DateTime"
4658
- }
4659
- }
4660
- }
4661
- }
4662
- };
4663
5206
  const ErrorResponseCommonV2 = {
4664
5207
  type: {
4665
5208
  name: "Composite",
@@ -4675,61 +5218,6 @@ const ErrorResponseCommonV2 = {
4675
5218
  }
4676
5219
  }
4677
5220
  };
4678
- const ErrorDetail = {
4679
- type: {
4680
- name: "Composite",
4681
- className: "ErrorDetail",
4682
- modelProperties: {
4683
- code: {
4684
- serializedName: "code",
4685
- readOnly: true,
4686
- type: {
4687
- name: "String"
4688
- }
4689
- },
4690
- message: {
4691
- serializedName: "message",
4692
- readOnly: true,
4693
- type: {
4694
- name: "String"
4695
- }
4696
- },
4697
- target: {
4698
- serializedName: "target",
4699
- readOnly: true,
4700
- type: {
4701
- name: "String"
4702
- }
4703
- },
4704
- details: {
4705
- serializedName: "details",
4706
- readOnly: true,
4707
- type: {
4708
- name: "Sequence",
4709
- element: {
4710
- type: {
4711
- name: "Composite",
4712
- className: "ErrorDetail"
4713
- }
4714
- }
4715
- }
4716
- },
4717
- additionalInfo: {
4718
- serializedName: "additionalInfo",
4719
- readOnly: true,
4720
- type: {
4721
- name: "Sequence",
4722
- element: {
4723
- type: {
4724
- name: "Composite",
4725
- className: "ErrorAdditionalInfo"
4726
- }
4727
- }
4728
- }
4729
- }
4730
- }
4731
- }
4732
- };
4733
5221
  const ResourceForUpdate = {
4734
5222
  type: {
4735
5223
  name: "Composite",
@@ -6012,11 +6500,17 @@ const AutoscaleSettingResource = {
6012
6500
  }
6013
6501
  }
6014
6502
  }, enabled: {
6015
- defaultValue: true,
6503
+ defaultValue: false,
6016
6504
  serializedName: "properties.enabled",
6017
6505
  type: {
6018
6506
  name: "Boolean"
6019
6507
  }
6508
+ }, predictiveAutoscalePolicy: {
6509
+ serializedName: "properties.predictiveAutoscalePolicy",
6510
+ type: {
6511
+ name: "Composite",
6512
+ className: "PredictiveAutoscalePolicy"
6513
+ }
6020
6514
  }, namePropertiesName: {
6021
6515
  serializedName: "properties.name",
6022
6516
  type: {
@@ -6035,133 +6529,191 @@ const AutoscaleSettingResource = {
6035
6529
  } })
6036
6530
  }
6037
6531
  };
6038
- const AlertRuleResource = {
6532
+ const DataCollectionEndpointResourceSystemData = {
6039
6533
  type: {
6040
6534
  name: "Composite",
6041
- className: "AlertRuleResource",
6042
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { namePropertiesName: {
6043
- serializedName: "properties.name",
6535
+ className: "DataCollectionEndpointResourceSystemData",
6536
+ modelProperties: Object.assign({}, SystemData.type.modelProperties)
6537
+ }
6538
+ };
6539
+ const DataCollectionRuleAssociationProxyOnlyResourceSystemData = {
6540
+ type: {
6541
+ name: "Composite",
6542
+ className: "DataCollectionRuleAssociationProxyOnlyResourceSystemData",
6543
+ modelProperties: Object.assign({}, SystemData.type.modelProperties)
6544
+ }
6545
+ };
6546
+ const DataCollectionRuleResourceSystemData = {
6547
+ type: {
6548
+ name: "Composite",
6549
+ className: "DataCollectionRuleResourceSystemData",
6550
+ modelProperties: Object.assign({}, SystemData.type.modelProperties)
6551
+ }
6552
+ };
6553
+ const ThresholdRuleCondition = {
6554
+ serializedName: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
6555
+ type: {
6556
+ name: "Composite",
6557
+ className: "ThresholdRuleCondition",
6558
+ uberParent: "RuleCondition",
6559
+ polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6560
+ modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { operator: {
6561
+ serializedName: "operator",
6044
6562
  required: true,
6045
6563
  type: {
6046
- name: "String"
6564
+ name: "Enum",
6565
+ allowedValues: [
6566
+ "GreaterThan",
6567
+ "GreaterThanOrEqual",
6568
+ "LessThan",
6569
+ "LessThanOrEqual"
6570
+ ]
6047
6571
  }
6048
- }, description: {
6049
- serializedName: "properties.description",
6572
+ }, threshold: {
6573
+ serializedName: "threshold",
6574
+ required: true,
6050
6575
  type: {
6051
- name: "String"
6576
+ name: "Number"
6052
6577
  }
6053
- }, provisioningState: {
6054
- serializedName: "properties.provisioningState",
6578
+ }, windowSize: {
6579
+ serializedName: "windowSize",
6055
6580
  type: {
6056
- name: "String"
6581
+ name: "TimeSpan"
6057
6582
  }
6058
- }, isEnabled: {
6059
- serializedName: "properties.isEnabled",
6060
- required: true,
6583
+ }, timeAggregation: {
6584
+ serializedName: "timeAggregation",
6061
6585
  type: {
6062
- name: "Boolean"
6586
+ name: "Enum",
6587
+ allowedValues: ["Average", "Minimum", "Maximum", "Total", "Last"]
6063
6588
  }
6064
- }, condition: {
6065
- serializedName: "properties.condition",
6589
+ } })
6590
+ }
6591
+ };
6592
+ const LocationThresholdRuleCondition = {
6593
+ serializedName: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition",
6594
+ type: {
6595
+ name: "Composite",
6596
+ className: "LocationThresholdRuleCondition",
6597
+ uberParent: "RuleCondition",
6598
+ polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6599
+ modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { windowSize: {
6600
+ serializedName: "windowSize",
6066
6601
  type: {
6067
- name: "Composite",
6068
- className: "RuleCondition"
6602
+ name: "TimeSpan"
6069
6603
  }
6070
- }, action: {
6071
- serializedName: "properties.action",
6604
+ }, failedLocationCount: {
6605
+ constraints: {
6606
+ InclusiveMinimum: 0
6607
+ },
6608
+ serializedName: "failedLocationCount",
6609
+ required: true,
6072
6610
  type: {
6073
- name: "Composite",
6074
- className: "RuleAction"
6611
+ name: "Number"
6075
6612
  }
6076
- }, actions: {
6077
- serializedName: "properties.actions",
6613
+ } })
6614
+ }
6615
+ };
6616
+ const ManagementEventRuleCondition = {
6617
+ serializedName: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition",
6618
+ type: {
6619
+ name: "Composite",
6620
+ className: "ManagementEventRuleCondition",
6621
+ uberParent: "RuleCondition",
6622
+ polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6623
+ modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { aggregation: {
6624
+ serializedName: "aggregation",
6078
6625
  type: {
6079
- name: "Sequence",
6080
- element: {
6081
- type: {
6082
- name: "Composite",
6083
- className: "RuleAction"
6084
- }
6085
- }
6626
+ name: "Composite",
6627
+ className: "ManagementEventAggregationCondition"
6086
6628
  }
6087
- }, lastUpdatedTime: {
6088
- serializedName: "properties.lastUpdatedTime",
6089
- readOnly: true,
6629
+ } })
6630
+ }
6631
+ };
6632
+ const RuleMetricDataSource = {
6633
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
6634
+ type: {
6635
+ name: "Composite",
6636
+ className: "RuleMetricDataSource",
6637
+ uberParent: "RuleDataSource",
6638
+ polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6639
+ modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { metricName: {
6640
+ serializedName: "metricName",
6090
6641
  type: {
6091
- name: "DateTime"
6642
+ name: "String"
6092
6643
  }
6093
6644
  } })
6094
6645
  }
6095
6646
  };
6096
- const LogProfileResource = {
6647
+ const RuleManagementEventDataSource = {
6648
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource",
6097
6649
  type: {
6098
6650
  name: "Composite",
6099
- className: "LogProfileResource",
6100
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { storageAccountId: {
6101
- serializedName: "properties.storageAccountId",
6651
+ className: "RuleManagementEventDataSource",
6652
+ uberParent: "RuleDataSource",
6653
+ polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6654
+ modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { eventName: {
6655
+ serializedName: "eventName",
6102
6656
  type: {
6103
6657
  name: "String"
6104
6658
  }
6105
- }, serviceBusRuleId: {
6106
- serializedName: "properties.serviceBusRuleId",
6659
+ }, eventSource: {
6660
+ serializedName: "eventSource",
6107
6661
  type: {
6108
6662
  name: "String"
6109
6663
  }
6110
- }, locations: {
6111
- serializedName: "properties.locations",
6112
- required: true,
6113
- type: {
6114
- name: "Sequence",
6115
- element: {
6116
- type: {
6117
- name: "String"
6118
- }
6119
- }
6664
+ }, level: {
6665
+ serializedName: "level",
6666
+ type: {
6667
+ name: "String"
6120
6668
  }
6121
- }, categories: {
6122
- serializedName: "properties.categories",
6123
- required: true,
6669
+ }, operationName: {
6670
+ serializedName: "operationName",
6124
6671
  type: {
6125
- name: "Sequence",
6126
- element: {
6127
- type: {
6128
- name: "String"
6129
- }
6130
- }
6672
+ name: "String"
6131
6673
  }
6132
- }, retentionPolicy: {
6133
- serializedName: "properties.retentionPolicy",
6674
+ }, resourceGroupName: {
6675
+ serializedName: "resourceGroupName",
6676
+ type: {
6677
+ name: "String"
6678
+ }
6679
+ }, resourceProviderName: {
6680
+ serializedName: "resourceProviderName",
6681
+ type: {
6682
+ name: "String"
6683
+ }
6684
+ }, status: {
6685
+ serializedName: "status",
6686
+ type: {
6687
+ name: "String"
6688
+ }
6689
+ }, subStatus: {
6690
+ serializedName: "subStatus",
6691
+ type: {
6692
+ name: "String"
6693
+ }
6694
+ }, claims: {
6695
+ serializedName: "claims",
6134
6696
  type: {
6135
6697
  name: "Composite",
6136
- className: "RetentionPolicy"
6698
+ className: "RuleManagementEventClaimsDataSource"
6137
6699
  }
6138
6700
  } })
6139
6701
  }
6140
6702
  };
6141
- const MetricAlertResource = {
6703
+ const RuleEmailAction = {
6704
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
6142
6705
  type: {
6143
6706
  name: "Composite",
6144
- className: "MetricAlertResource",
6145
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { description: {
6146
- serializedName: "properties.description",
6147
- type: {
6148
- name: "String"
6149
- }
6150
- }, severity: {
6151
- serializedName: "properties.severity",
6152
- required: true,
6153
- type: {
6154
- name: "Number"
6155
- }
6156
- }, enabled: {
6157
- serializedName: "properties.enabled",
6158
- required: true,
6707
+ className: "RuleEmailAction",
6708
+ uberParent: "RuleAction",
6709
+ polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6710
+ modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { sendToServiceOwners: {
6711
+ serializedName: "sendToServiceOwners",
6159
6712
  type: {
6160
6713
  name: "Boolean"
6161
6714
  }
6162
- }, scopes: {
6163
- serializedName: "properties.scopes",
6164
- required: true,
6715
+ }, customEmails: {
6716
+ serializedName: "customEmails",
6165
6717
  type: {
6166
6718
  name: "Sequence",
6167
6719
  element: {
@@ -6170,38 +6722,67 @@ const MetricAlertResource = {
6170
6722
  }
6171
6723
  }
6172
6724
  }
6173
- }, evaluationFrequency: {
6174
- serializedName: "properties.evaluationFrequency",
6175
- required: true,
6725
+ } })
6726
+ }
6727
+ };
6728
+ const RuleWebhookAction = {
6729
+ serializedName: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
6730
+ type: {
6731
+ name: "Composite",
6732
+ className: "RuleWebhookAction",
6733
+ uberParent: "RuleAction",
6734
+ polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6735
+ modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { serviceUri: {
6736
+ serializedName: "serviceUri",
6176
6737
  type: {
6177
- name: "TimeSpan"
6738
+ name: "String"
6178
6739
  }
6179
- }, windowSize: {
6180
- serializedName: "properties.windowSize",
6740
+ }, properties: {
6741
+ serializedName: "properties",
6742
+ type: {
6743
+ name: "Dictionary",
6744
+ value: { type: { name: "String" } }
6745
+ }
6746
+ } })
6747
+ }
6748
+ };
6749
+ const AlertRuleResource = {
6750
+ type: {
6751
+ name: "Composite",
6752
+ className: "AlertRuleResource",
6753
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated.type.modelProperties), { namePropertiesName: {
6754
+ serializedName: "properties.name",
6181
6755
  required: true,
6182
6756
  type: {
6183
- name: "TimeSpan"
6757
+ name: "String"
6184
6758
  }
6185
- }, targetResourceType: {
6186
- serializedName: "properties.targetResourceType",
6759
+ }, description: {
6760
+ serializedName: "properties.description",
6187
6761
  type: {
6188
6762
  name: "String"
6189
6763
  }
6190
- }, targetResourceRegion: {
6191
- serializedName: "properties.targetResourceRegion",
6764
+ }, provisioningState: {
6765
+ serializedName: "properties.provisioningState",
6192
6766
  type: {
6193
6767
  name: "String"
6194
6768
  }
6195
- }, criteria: {
6196
- serializedName: "properties.criteria",
6769
+ }, isEnabled: {
6770
+ serializedName: "properties.isEnabled",
6771
+ required: true,
6772
+ type: {
6773
+ name: "Boolean"
6774
+ }
6775
+ }, condition: {
6776
+ serializedName: "properties.condition",
6197
6777
  type: {
6198
6778
  name: "Composite",
6199
- className: "MetricAlertCriteria"
6779
+ className: "RuleCondition"
6200
6780
  }
6201
- }, autoMitigate: {
6202
- serializedName: "properties.autoMitigate",
6781
+ }, action: {
6782
+ serializedName: "properties.action",
6203
6783
  type: {
6204
- name: "Boolean"
6784
+ name: "Composite",
6785
+ className: "RuleAction"
6205
6786
  }
6206
6787
  }, actions: {
6207
6788
  serializedName: "properties.actions",
@@ -6210,7 +6791,7 @@ const MetricAlertResource = {
6210
6791
  element: {
6211
6792
  type: {
6212
6793
  name: "Composite",
6213
- className: "MetricAlertAction"
6794
+ className: "RuleAction"
6214
6795
  }
6215
6796
  }
6216
6797
  }
@@ -6220,210 +6801,141 @@ const MetricAlertResource = {
6220
6801
  type: {
6221
6802
  name: "DateTime"
6222
6803
  }
6223
- }, isMigrated: {
6224
- serializedName: "properties.isMigrated",
6225
- readOnly: true,
6226
- type: {
6227
- name: "Boolean"
6228
- }
6229
6804
  } })
6230
6805
  }
6231
6806
  };
6232
- const ErrorResponseCommon = {
6807
+ const LogProfileResource = {
6233
6808
  type: {
6234
6809
  name: "Composite",
6235
- className: "ErrorResponseCommon",
6236
- modelProperties: Object.assign(Object.assign({}, ErrorResponse.type.modelProperties), { details: {
6237
- serializedName: "details",
6238
- readOnly: true,
6810
+ className: "LogProfileResource",
6811
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated2.type.modelProperties), { storageAccountId: {
6812
+ serializedName: "properties.storageAccountId",
6813
+ type: {
6814
+ name: "String"
6815
+ }
6816
+ }, serviceBusRuleId: {
6817
+ serializedName: "properties.serviceBusRuleId",
6818
+ type: {
6819
+ name: "String"
6820
+ }
6821
+ }, locations: {
6822
+ serializedName: "properties.locations",
6823
+ required: true,
6239
6824
  type: {
6240
6825
  name: "Sequence",
6241
6826
  element: {
6242
6827
  type: {
6243
- name: "Composite",
6244
- className: "ErrorResponseCommon"
6828
+ name: "String"
6245
6829
  }
6246
6830
  }
6247
6831
  }
6248
- }, additionalInfo: {
6249
- serializedName: "additionalInfo",
6250
- readOnly: true,
6832
+ }, categories: {
6833
+ serializedName: "properties.categories",
6834
+ required: true,
6251
6835
  type: {
6252
6836
  name: "Sequence",
6253
6837
  element: {
6254
6838
  type: {
6255
- name: "Composite",
6256
- className: "ErrorAdditionalInfo"
6839
+ name: "String"
6257
6840
  }
6258
6841
  }
6259
6842
  }
6260
- } })
6261
- }
6262
- };
6263
- const ThresholdRuleCondition = {
6264
- serializedName: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
6265
- type: {
6266
- name: "Composite",
6267
- className: "ThresholdRuleCondition",
6268
- uberParent: "RuleCondition",
6269
- polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6270
- modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { operator: {
6271
- serializedName: "operator",
6272
- required: true,
6273
- type: {
6274
- name: "Enum",
6275
- allowedValues: [
6276
- "GreaterThan",
6277
- "GreaterThanOrEqual",
6278
- "LessThan",
6279
- "LessThanOrEqual"
6280
- ]
6281
- }
6282
- }, threshold: {
6283
- serializedName: "threshold",
6284
- required: true,
6285
- type: {
6286
- name: "Number"
6287
- }
6288
- }, windowSize: {
6289
- serializedName: "windowSize",
6290
- type: {
6291
- name: "TimeSpan"
6292
- }
6293
- }, timeAggregation: {
6294
- serializedName: "timeAggregation",
6295
- type: {
6296
- name: "Enum",
6297
- allowedValues: ["Average", "Minimum", "Maximum", "Total", "Last"]
6298
- }
6299
- } })
6300
- }
6301
- };
6302
- const LocationThresholdRuleCondition = {
6303
- serializedName: "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition",
6304
- type: {
6305
- name: "Composite",
6306
- className: "LocationThresholdRuleCondition",
6307
- uberParent: "RuleCondition",
6308
- polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6309
- modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { windowSize: {
6310
- serializedName: "windowSize",
6311
- type: {
6312
- name: "TimeSpan"
6313
- }
6314
- }, failedLocationCount: {
6315
- constraints: {
6316
- InclusiveMinimum: 0
6317
- },
6318
- serializedName: "failedLocationCount",
6319
- required: true,
6843
+ }, retentionPolicy: {
6844
+ serializedName: "properties.retentionPolicy",
6320
6845
  type: {
6321
- name: "Number"
6846
+ name: "Composite",
6847
+ className: "RetentionPolicy"
6322
6848
  }
6323
6849
  } })
6324
6850
  }
6325
6851
  };
6326
- const ManagementEventRuleCondition = {
6327
- serializedName: "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition",
6852
+ const DiagnosticSettingsResource = {
6328
6853
  type: {
6329
6854
  name: "Composite",
6330
- className: "ManagementEventRuleCondition",
6331
- uberParent: "RuleCondition",
6332
- polymorphicDiscriminator: RuleCondition.type.polymorphicDiscriminator,
6333
- modelProperties: Object.assign(Object.assign({}, RuleCondition.type.modelProperties), { aggregation: {
6334
- serializedName: "aggregation",
6855
+ className: "DiagnosticSettingsResource",
6856
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { systemData: {
6857
+ serializedName: "systemData",
6335
6858
  type: {
6336
6859
  name: "Composite",
6337
- className: "ManagementEventAggregationCondition"
6860
+ className: "SystemData"
6338
6861
  }
6339
- } })
6340
- }
6341
- };
6342
- const RuleMetricDataSource = {
6343
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
6344
- type: {
6345
- name: "Composite",
6346
- className: "RuleMetricDataSource",
6347
- uberParent: "RuleDataSource",
6348
- polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6349
- modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { metricName: {
6350
- serializedName: "metricName",
6862
+ }, storageAccountId: {
6863
+ serializedName: "properties.storageAccountId",
6351
6864
  type: {
6352
6865
  name: "String"
6353
6866
  }
6354
- } })
6355
- }
6356
- };
6357
- const RuleManagementEventDataSource = {
6358
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource",
6359
- type: {
6360
- name: "Composite",
6361
- className: "RuleManagementEventDataSource",
6362
- uberParent: "RuleDataSource",
6363
- polymorphicDiscriminator: RuleDataSource.type.polymorphicDiscriminator,
6364
- modelProperties: Object.assign(Object.assign({}, RuleDataSource.type.modelProperties), { eventName: {
6365
- serializedName: "eventName",
6867
+ }, serviceBusRuleId: {
6868
+ serializedName: "properties.serviceBusRuleId",
6366
6869
  type: {
6367
6870
  name: "String"
6368
6871
  }
6369
- }, eventSource: {
6370
- serializedName: "eventSource",
6872
+ }, eventHubAuthorizationRuleId: {
6873
+ serializedName: "properties.eventHubAuthorizationRuleId",
6371
6874
  type: {
6372
6875
  name: "String"
6373
6876
  }
6374
- }, level: {
6375
- serializedName: "level",
6877
+ }, eventHubName: {
6878
+ serializedName: "properties.eventHubName",
6376
6879
  type: {
6377
6880
  name: "String"
6378
6881
  }
6379
- }, operationName: {
6380
- serializedName: "operationName",
6882
+ }, metrics: {
6883
+ serializedName: "properties.metrics",
6381
6884
  type: {
6382
- name: "String"
6885
+ name: "Sequence",
6886
+ element: {
6887
+ type: {
6888
+ name: "Composite",
6889
+ className: "MetricSettings"
6890
+ }
6891
+ }
6383
6892
  }
6384
- }, resourceGroupName: {
6385
- serializedName: "resourceGroupName",
6893
+ }, logs: {
6894
+ serializedName: "properties.logs",
6386
6895
  type: {
6387
- name: "String"
6896
+ name: "Sequence",
6897
+ element: {
6898
+ type: {
6899
+ name: "Composite",
6900
+ className: "LogSettings"
6901
+ }
6902
+ }
6388
6903
  }
6389
- }, resourceProviderName: {
6390
- serializedName: "resourceProviderName",
6904
+ }, workspaceId: {
6905
+ serializedName: "properties.workspaceId",
6391
6906
  type: {
6392
6907
  name: "String"
6393
6908
  }
6394
- }, status: {
6395
- serializedName: "status",
6909
+ }, marketplacePartnerId: {
6910
+ serializedName: "properties.marketplacePartnerId",
6396
6911
  type: {
6397
6912
  name: "String"
6398
6913
  }
6399
- }, subStatus: {
6400
- serializedName: "subStatus",
6914
+ }, logAnalyticsDestinationType: {
6915
+ serializedName: "properties.logAnalyticsDestinationType",
6401
6916
  type: {
6402
6917
  name: "String"
6403
6918
  }
6404
- }, claims: {
6405
- serializedName: "claims",
6406
- type: {
6407
- name: "Composite",
6408
- className: "RuleManagementEventClaimsDataSource"
6409
- }
6410
6919
  } })
6411
6920
  }
6412
6921
  };
6413
- const RuleEmailAction = {
6414
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
6922
+ const DiagnosticSettingsCategoryResource = {
6415
6923
  type: {
6416
6924
  name: "Composite",
6417
- className: "RuleEmailAction",
6418
- uberParent: "RuleAction",
6419
- polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6420
- modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { sendToServiceOwners: {
6421
- serializedName: "sendToServiceOwners",
6925
+ className: "DiagnosticSettingsCategoryResource",
6926
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { systemData: {
6927
+ serializedName: "systemData",
6422
6928
  type: {
6423
- name: "Boolean"
6929
+ name: "Composite",
6930
+ className: "SystemData"
6424
6931
  }
6425
- }, customEmails: {
6426
- serializedName: "customEmails",
6932
+ }, categoryType: {
6933
+ serializedName: "properties.categoryType",
6934
+ type: {
6935
+ name: "String"
6936
+ }
6937
+ }, categoryGroups: {
6938
+ serializedName: "properties.categoryGroups",
6427
6939
  type: {
6428
6940
  name: "Sequence",
6429
6941
  element: {
@@ -6435,97 +6947,89 @@ const RuleEmailAction = {
6435
6947
  } })
6436
6948
  }
6437
6949
  };
6438
- const RuleWebhookAction = {
6439
- serializedName: "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction",
6950
+ const PrivateEndpointConnection = {
6951
+ type: {
6952
+ name: "Composite",
6953
+ className: "PrivateEndpointConnection",
6954
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { privateEndpoint: {
6955
+ serializedName: "properties.privateEndpoint",
6956
+ type: {
6957
+ name: "Composite",
6958
+ className: "PrivateEndpoint"
6959
+ }
6960
+ }, privateLinkServiceConnectionState: {
6961
+ serializedName: "properties.privateLinkServiceConnectionState",
6962
+ type: {
6963
+ name: "Composite",
6964
+ className: "PrivateLinkServiceConnectionState"
6965
+ }
6966
+ }, provisioningState: {
6967
+ serializedName: "properties.provisioningState",
6968
+ readOnly: true,
6969
+ type: {
6970
+ name: "String"
6971
+ }
6972
+ } })
6973
+ }
6974
+ };
6975
+ const TrackedResource = {
6440
6976
  type: {
6441
6977
  name: "Composite",
6442
- className: "RuleWebhookAction",
6443
- uberParent: "RuleAction",
6444
- polymorphicDiscriminator: RuleAction.type.polymorphicDiscriminator,
6445
- modelProperties: Object.assign(Object.assign({}, RuleAction.type.modelProperties), { serviceUri: {
6446
- serializedName: "serviceUri",
6447
- type: {
6448
- name: "String"
6449
- }
6450
- }, properties: {
6451
- serializedName: "properties",
6978
+ className: "TrackedResource",
6979
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { tags: {
6980
+ serializedName: "tags",
6452
6981
  type: {
6453
6982
  name: "Dictionary",
6454
6983
  value: { type: { name: "String" } }
6455
6984
  }
6985
+ }, location: {
6986
+ serializedName: "location",
6987
+ required: true,
6988
+ type: {
6989
+ name: "String"
6990
+ }
6456
6991
  } })
6457
6992
  }
6458
6993
  };
6459
- const DiagnosticSettingsResource = {
6994
+ const PrivateLinkResource = {
6460
6995
  type: {
6461
6996
  name: "Composite",
6462
- className: "DiagnosticSettingsResource",
6463
- modelProperties: Object.assign(Object.assign({}, ProxyOnlyResource.type.modelProperties), { storageAccountId: {
6464
- serializedName: "properties.storageAccountId",
6465
- type: {
6466
- name: "String"
6467
- }
6468
- }, serviceBusRuleId: {
6469
- serializedName: "properties.serviceBusRuleId",
6470
- type: {
6471
- name: "String"
6472
- }
6473
- }, eventHubAuthorizationRuleId: {
6474
- serializedName: "properties.eventHubAuthorizationRuleId",
6475
- type: {
6476
- name: "String"
6477
- }
6478
- }, eventHubName: {
6479
- serializedName: "properties.eventHubName",
6997
+ className: "PrivateLinkResource",
6998
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated3.type.modelProperties), { groupId: {
6999
+ serializedName: "properties.groupId",
7000
+ readOnly: true,
6480
7001
  type: {
6481
7002
  name: "String"
6482
7003
  }
6483
- }, metrics: {
6484
- serializedName: "properties.metrics",
7004
+ }, requiredMembers: {
7005
+ serializedName: "properties.requiredMembers",
7006
+ readOnly: true,
6485
7007
  type: {
6486
7008
  name: "Sequence",
6487
7009
  element: {
6488
7010
  type: {
6489
- name: "Composite",
6490
- className: "MetricSettings"
7011
+ name: "String"
6491
7012
  }
6492
7013
  }
6493
7014
  }
6494
- }, logs: {
6495
- serializedName: "properties.logs",
7015
+ }, requiredZoneNames: {
7016
+ serializedName: "properties.requiredZoneNames",
6496
7017
  type: {
6497
7018
  name: "Sequence",
6498
7019
  element: {
6499
7020
  type: {
6500
- name: "Composite",
6501
- className: "LogSettings"
7021
+ name: "String"
6502
7022
  }
6503
7023
  }
6504
7024
  }
6505
- }, workspaceId: {
6506
- serializedName: "properties.workspaceId",
6507
- type: {
6508
- name: "String"
6509
- }
6510
- }, logAnalyticsDestinationType: {
6511
- serializedName: "properties.logAnalyticsDestinationType",
6512
- type: {
6513
- name: "String"
6514
- }
6515
7025
  } })
6516
7026
  }
6517
7027
  };
6518
- const DiagnosticSettingsCategoryResource = {
7028
+ const ProxyResourceAutoGenerated = {
6519
7029
  type: {
6520
7030
  name: "Composite",
6521
- className: "DiagnosticSettingsCategoryResource",
6522
- modelProperties: Object.assign(Object.assign({}, ProxyOnlyResource.type.modelProperties), { categoryType: {
6523
- serializedName: "properties.categoryType",
6524
- type: {
6525
- name: "Enum",
6526
- allowedValues: ["Metrics", "Logs"]
6527
- }
6528
- } })
7031
+ className: "ProxyResourceAutoGenerated",
7032
+ modelProperties: Object.assign({}, ResourceAutoGenerated3.type.modelProperties)
6529
7033
  }
6530
7034
  };
6531
7035
  const ActionGroupResource = {
@@ -6743,6 +7247,97 @@ const MetricAlertMultipleResourceMultipleMetricCriteria = {
6743
7247
  } })
6744
7248
  }
6745
7249
  };
7250
+ const MetricAlertResource = {
7251
+ type: {
7252
+ name: "Composite",
7253
+ className: "MetricAlertResource",
7254
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated4.type.modelProperties), { description: {
7255
+ serializedName: "properties.description",
7256
+ type: {
7257
+ name: "String"
7258
+ }
7259
+ }, severity: {
7260
+ serializedName: "properties.severity",
7261
+ required: true,
7262
+ type: {
7263
+ name: "Number"
7264
+ }
7265
+ }, enabled: {
7266
+ serializedName: "properties.enabled",
7267
+ required: true,
7268
+ type: {
7269
+ name: "Boolean"
7270
+ }
7271
+ }, scopes: {
7272
+ serializedName: "properties.scopes",
7273
+ required: true,
7274
+ type: {
7275
+ name: "Sequence",
7276
+ element: {
7277
+ type: {
7278
+ name: "String"
7279
+ }
7280
+ }
7281
+ }
7282
+ }, evaluationFrequency: {
7283
+ serializedName: "properties.evaluationFrequency",
7284
+ required: true,
7285
+ type: {
7286
+ name: "TimeSpan"
7287
+ }
7288
+ }, windowSize: {
7289
+ serializedName: "properties.windowSize",
7290
+ required: true,
7291
+ type: {
7292
+ name: "TimeSpan"
7293
+ }
7294
+ }, targetResourceType: {
7295
+ serializedName: "properties.targetResourceType",
7296
+ type: {
7297
+ name: "String"
7298
+ }
7299
+ }, targetResourceRegion: {
7300
+ serializedName: "properties.targetResourceRegion",
7301
+ type: {
7302
+ name: "String"
7303
+ }
7304
+ }, criteria: {
7305
+ serializedName: "properties.criteria",
7306
+ type: {
7307
+ name: "Composite",
7308
+ className: "MetricAlertCriteria"
7309
+ }
7310
+ }, autoMitigate: {
7311
+ serializedName: "properties.autoMitigate",
7312
+ type: {
7313
+ name: "Boolean"
7314
+ }
7315
+ }, actions: {
7316
+ serializedName: "properties.actions",
7317
+ type: {
7318
+ name: "Sequence",
7319
+ element: {
7320
+ type: {
7321
+ name: "Composite",
7322
+ className: "MetricAlertAction"
7323
+ }
7324
+ }
7325
+ }
7326
+ }, lastUpdatedTime: {
7327
+ serializedName: "properties.lastUpdatedTime",
7328
+ readOnly: true,
7329
+ type: {
7330
+ name: "DateTime"
7331
+ }
7332
+ }, isMigrated: {
7333
+ serializedName: "properties.isMigrated",
7334
+ readOnly: true,
7335
+ type: {
7336
+ name: "Boolean"
7337
+ }
7338
+ } })
7339
+ }
7340
+ };
6746
7341
  const AlertingAction = {
6747
7342
  serializedName: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
6748
7343
  type: {
@@ -6802,7 +7397,7 @@ const LogSearchRuleResource = {
6802
7397
  type: {
6803
7398
  name: "Composite",
6804
7399
  className: "LogSearchRuleResource",
6805
- modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated.type.modelProperties), { createdWithApiVersion: {
7400
+ modelProperties: Object.assign(Object.assign({}, ResourceAutoGenerated5.type.modelProperties), { createdWithApiVersion: {
6806
7401
  serializedName: "properties.createdWithApiVersion",
6807
7402
  readOnly: true,
6808
7403
  type: {
@@ -6863,130 +7458,38 @@ const LogSearchRuleResource = {
6863
7458
  serializedName: "properties.action",
6864
7459
  type: {
6865
7460
  name: "Composite",
6866
- className: "Action"
6867
- }
6868
- } })
6869
- }
6870
- };
6871
- const VMInsightsOnboardingStatus = {
6872
- type: {
6873
- name: "Composite",
6874
- className: "VMInsightsOnboardingStatus",
6875
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { resourceId: {
6876
- serializedName: "properties.resourceId",
6877
- type: {
6878
- name: "String"
6879
- }
6880
- }, onboardingStatus: {
6881
- serializedName: "properties.onboardingStatus",
6882
- type: {
6883
- name: "String"
6884
- }
6885
- }, dataStatus: {
6886
- serializedName: "properties.dataStatus",
6887
- type: {
6888
- name: "String"
6889
- }
6890
- }, data: {
6891
- serializedName: "properties.data",
6892
- type: {
6893
- name: "Sequence",
6894
- element: {
6895
- type: {
6896
- name: "Composite",
6897
- className: "DataContainer"
6898
- }
6899
- }
6900
- }
6901
- } })
6902
- }
6903
- };
6904
- const PrivateEndpointConnection = {
6905
- type: {
6906
- name: "Composite",
6907
- className: "PrivateEndpointConnection",
6908
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { privateEndpoint: {
6909
- serializedName: "properties.privateEndpoint",
6910
- type: {
6911
- name: "Composite",
6912
- className: "PrivateEndpointProperty"
6913
- }
6914
- }, privateLinkServiceConnectionState: {
6915
- serializedName: "properties.privateLinkServiceConnectionState",
6916
- type: {
6917
- name: "Composite",
6918
- className: "PrivateLinkServiceConnectionStateProperty"
6919
- }
6920
- }, provisioningState: {
6921
- serializedName: "properties.provisioningState",
6922
- readOnly: true,
6923
- type: {
6924
- name: "String"
6925
- }
6926
- } })
6927
- }
6928
- };
6929
- const PrivateLinkResource = {
6930
- type: {
6931
- name: "Composite",
6932
- className: "PrivateLinkResource",
6933
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { groupId: {
6934
- serializedName: "properties.groupId",
6935
- readOnly: true,
6936
- type: {
6937
- name: "String"
6938
- }
6939
- }, requiredMembers: {
6940
- serializedName: "properties.requiredMembers",
6941
- readOnly: true,
6942
- type: {
6943
- name: "Sequence",
6944
- element: {
6945
- type: {
6946
- name: "String"
6947
- }
6948
- }
6949
- }
6950
- } })
6951
- }
6952
- };
6953
- const ScopedResource = {
6954
- type: {
6955
- name: "Composite",
6956
- className: "ScopedResource",
6957
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { linkedResourceId: {
6958
- serializedName: "properties.linkedResourceId",
6959
- type: {
6960
- name: "String"
6961
- }
6962
- }, provisioningState: {
6963
- serializedName: "properties.provisioningState",
6964
- readOnly: true,
6965
- type: {
6966
- name: "String"
7461
+ className: "Action"
6967
7462
  }
6968
7463
  } })
6969
7464
  }
6970
7465
  };
6971
- const AzureMonitorPrivateLinkScope = {
7466
+ const VMInsightsOnboardingStatus = {
6972
7467
  type: {
6973
7468
  name: "Composite",
6974
- className: "AzureMonitorPrivateLinkScope",
6975
- modelProperties: Object.assign(Object.assign({}, PrivateLinkScopesResource.type.modelProperties), { provisioningState: {
6976
- serializedName: "properties.provisioningState",
6977
- readOnly: true,
7469
+ className: "VMInsightsOnboardingStatus",
7470
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { resourceId: {
7471
+ serializedName: "properties.resourceId",
6978
7472
  type: {
6979
7473
  name: "String"
6980
7474
  }
6981
- }, privateEndpointConnections: {
6982
- serializedName: "properties.privateEndpointConnections",
6983
- readOnly: true,
7475
+ }, onboardingStatus: {
7476
+ serializedName: "properties.onboardingStatus",
7477
+ type: {
7478
+ name: "String"
7479
+ }
7480
+ }, dataStatus: {
7481
+ serializedName: "properties.dataStatus",
7482
+ type: {
7483
+ name: "String"
7484
+ }
7485
+ }, data: {
7486
+ serializedName: "properties.data",
6984
7487
  type: {
6985
7488
  name: "Sequence",
6986
7489
  element: {
6987
7490
  type: {
6988
7491
  name: "Composite",
6989
- className: "PrivateEndpointConnection"
7492
+ className: "DataContainer"
6990
7493
  }
6991
7494
  }
6992
7495
  }
@@ -7079,27 +7582,6 @@ const DataCollectionEndpointNetworkAcls = {
7079
7582
  modelProperties: Object.assign({}, NetworkRuleSet.type.modelProperties)
7080
7583
  }
7081
7584
  };
7082
- const DataCollectionEndpointResourceSystemData = {
7083
- type: {
7084
- name: "Composite",
7085
- className: "DataCollectionEndpointResourceSystemData",
7086
- modelProperties: Object.assign({}, SystemData.type.modelProperties)
7087
- }
7088
- };
7089
- const DataCollectionRuleAssociationProxyOnlyResourceSystemData = {
7090
- type: {
7091
- name: "Composite",
7092
- className: "DataCollectionRuleAssociationProxyOnlyResourceSystemData",
7093
- modelProperties: Object.assign({}, SystemData.type.modelProperties)
7094
- }
7095
- };
7096
- const DataCollectionRuleResourceSystemData = {
7097
- type: {
7098
- name: "Composite",
7099
- className: "DataCollectionRuleResourceSystemData",
7100
- modelProperties: Object.assign({}, SystemData.type.modelProperties)
7101
- }
7102
- };
7103
7585
  const DataCollectionRuleAssociationProxyOnlyResourceProperties = {
7104
7586
  type: {
7105
7587
  name: "Composite",
@@ -7220,6 +7702,67 @@ const DynamicMetricCriteria = {
7220
7702
  } })
7221
7703
  }
7222
7704
  };
7705
+ const AzureMonitorPrivateLinkScope = {
7706
+ type: {
7707
+ name: "Composite",
7708
+ className: "AzureMonitorPrivateLinkScope",
7709
+ modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { systemData: {
7710
+ serializedName: "systemData",
7711
+ type: {
7712
+ name: "Composite",
7713
+ className: "SystemData"
7714
+ }
7715
+ }, provisioningState: {
7716
+ serializedName: "properties.provisioningState",
7717
+ readOnly: true,
7718
+ type: {
7719
+ name: "String"
7720
+ }
7721
+ }, privateEndpointConnections: {
7722
+ serializedName: "properties.privateEndpointConnections",
7723
+ readOnly: true,
7724
+ type: {
7725
+ name: "Sequence",
7726
+ element: {
7727
+ type: {
7728
+ name: "Composite",
7729
+ className: "PrivateEndpointConnection"
7730
+ }
7731
+ }
7732
+ }
7733
+ }, accessModeSettings: {
7734
+ serializedName: "properties.accessModeSettings",
7735
+ type: {
7736
+ name: "Composite",
7737
+ className: "AccessModeSettings"
7738
+ }
7739
+ } })
7740
+ }
7741
+ };
7742
+ const ScopedResource = {
7743
+ type: {
7744
+ name: "Composite",
7745
+ className: "ScopedResource",
7746
+ modelProperties: Object.assign(Object.assign({}, ProxyResourceAutoGenerated.type.modelProperties), { systemData: {
7747
+ serializedName: "systemData",
7748
+ type: {
7749
+ name: "Composite",
7750
+ className: "SystemData"
7751
+ }
7752
+ }, linkedResourceId: {
7753
+ serializedName: "properties.linkedResourceId",
7754
+ type: {
7755
+ name: "String"
7756
+ }
7757
+ }, provisioningState: {
7758
+ serializedName: "properties.provisioningState",
7759
+ readOnly: true,
7760
+ type: {
7761
+ name: "String"
7762
+ }
7763
+ } })
7764
+ }
7765
+ };
7223
7766
  const ActionGroupsPostTestNotificationsHeaders = {
7224
7767
  type: {
7225
7768
  name: "Composite",
@@ -7300,25 +7843,33 @@ var Mappers = /*#__PURE__*/Object.freeze({
7300
7843
  AutoscaleNotification: AutoscaleNotification,
7301
7844
  EmailNotification: EmailNotification,
7302
7845
  WebhookNotification: WebhookNotification,
7846
+ PredictiveAutoscalePolicy: PredictiveAutoscalePolicy,
7303
7847
  Resource: Resource,
7304
- ErrorResponse: ErrorResponse,
7848
+ SystemData: SystemData,
7849
+ AutoscaleErrorResponse: AutoscaleErrorResponse,
7850
+ AutoscaleErrorResponseError: AutoscaleErrorResponseError,
7305
7851
  AutoscaleSettingResourcePatch: AutoscaleSettingResourcePatch,
7852
+ PredictiveResponse: PredictiveResponse,
7853
+ PredictiveValue: PredictiveValue,
7306
7854
  OperationListResult: OperationListResult,
7307
7855
  Operation: Operation,
7308
7856
  OperationDisplay: OperationDisplay,
7309
7857
  Incident: Incident,
7858
+ ErrorResponse: ErrorResponse,
7310
7859
  IncidentListResult: IncidentListResult,
7311
7860
  RuleCondition: RuleCondition,
7312
7861
  RuleDataSource: RuleDataSource,
7313
7862
  RuleAction: RuleAction,
7863
+ ResourceAutoGenerated: ResourceAutoGenerated,
7314
7864
  AlertRuleResourcePatch: AlertRuleResourcePatch,
7315
7865
  AlertRuleResourceCollection: AlertRuleResourceCollection,
7316
7866
  RetentionPolicy: RetentionPolicy,
7867
+ ResourceAutoGenerated2: ResourceAutoGenerated2,
7317
7868
  LogProfileResourcePatch: LogProfileResourcePatch,
7318
7869
  LogProfileCollection: LogProfileCollection,
7319
7870
  MetricSettings: MetricSettings,
7320
7871
  LogSettings: LogSettings,
7321
- ProxyOnlyResource: ProxyOnlyResource,
7872
+ ResourceAutoGenerated3: ResourceAutoGenerated3,
7322
7873
  DiagnosticSettingsResourceCollection: DiagnosticSettingsResourceCollection,
7323
7874
  DiagnosticSettingsCategoryResourceCollection: DiagnosticSettingsCategoryResourceCollection,
7324
7875
  EmailReceiver: EmailReceiver,
@@ -7363,6 +7914,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
7363
7914
  MetricAlertResourceCollection: MetricAlertResourceCollection,
7364
7915
  MetricAlertCriteria: MetricAlertCriteria,
7365
7916
  MetricAlertAction: MetricAlertAction,
7917
+ ResourceAutoGenerated4: ResourceAutoGenerated4,
7366
7918
  MetricAlertResourcePatch: MetricAlertResourcePatch,
7367
7919
  MetricAlertStatusCollection: MetricAlertStatusCollection,
7368
7920
  MetricAlertStatus: MetricAlertStatus,
@@ -7370,7 +7922,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
7370
7922
  Source: Source,
7371
7923
  Schedule: Schedule,
7372
7924
  Action: Action,
7373
- ResourceAutoGenerated: ResourceAutoGenerated,
7925
+ ResourceAutoGenerated5: ResourceAutoGenerated5,
7374
7926
  ErrorContract: ErrorContract,
7375
7927
  LogSearchRuleResourcePatch: LogSearchRuleResourcePatch,
7376
7928
  LogSearchRuleResourceCollection: LogSearchRuleResourceCollection,
@@ -7383,12 +7935,15 @@ var Mappers = /*#__PURE__*/Object.freeze({
7383
7935
  ResponseWithError: ResponseWithError,
7384
7936
  ErrorModel: ErrorModel,
7385
7937
  AzureMonitorPrivateLinkScopeListResult: AzureMonitorPrivateLinkScopeListResult,
7386
- PrivateEndpointProperty: PrivateEndpointProperty,
7387
- PrivateLinkServiceConnectionStateProperty: PrivateLinkServiceConnectionStateProperty,
7388
- PrivateLinkScopesResource: PrivateLinkScopesResource,
7938
+ PrivateEndpoint: PrivateEndpoint,
7939
+ PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
7940
+ AccessModeSettings: AccessModeSettings,
7941
+ AccessModeSettingsExclusion: AccessModeSettingsExclusion,
7942
+ DefaultErrorResponse: DefaultErrorResponse,
7943
+ ErrorDetail: ErrorDetail,
7944
+ ErrorAdditionalInfo: ErrorAdditionalInfo,
7389
7945
  TagsResource: TagsResource,
7390
7946
  OperationStatus: OperationStatus,
7391
- ErrorAdditionalInfo: ErrorAdditionalInfo,
7392
7947
  PrivateLinkResourceListResult: PrivateLinkResourceListResult,
7393
7948
  PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
7394
7949
  ScopedResourceListResult: ScopedResourceListResult,
@@ -7406,9 +7961,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
7406
7961
  ConfigurationAccessEndpointSpec: ConfigurationAccessEndpointSpec,
7407
7962
  LogsIngestionEndpointSpec: LogsIngestionEndpointSpec,
7408
7963
  NetworkRuleSet: NetworkRuleSet,
7409
- SystemData: SystemData,
7410
7964
  ErrorResponseCommonV2: ErrorResponseCommonV2,
7411
- ErrorDetail: ErrorDetail,
7412
7965
  ResourceForUpdate: ResourceForUpdate,
7413
7966
  DataCollectionRuleAssociationProxyOnlyResourceListResult: DataCollectionRuleAssociationProxyOnlyResourceListResult,
7414
7967
  DataCollectionRuleAssociationProxyOnlyResource: DataCollectionRuleAssociationProxyOnlyResource,
@@ -7443,10 +7996,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
7443
7996
  Dimension: Dimension,
7444
7997
  Criteria: Criteria,
7445
7998
  AutoscaleSettingResource: AutoscaleSettingResource,
7446
- AlertRuleResource: AlertRuleResource,
7447
- LogProfileResource: LogProfileResource,
7448
- MetricAlertResource: MetricAlertResource,
7449
- ErrorResponseCommon: ErrorResponseCommon,
7999
+ DataCollectionEndpointResourceSystemData: DataCollectionEndpointResourceSystemData,
8000
+ DataCollectionRuleAssociationProxyOnlyResourceSystemData: DataCollectionRuleAssociationProxyOnlyResourceSystemData,
8001
+ DataCollectionRuleResourceSystemData: DataCollectionRuleResourceSystemData,
7450
8002
  ThresholdRuleCondition: ThresholdRuleCondition,
7451
8003
  LocationThresholdRuleCondition: LocationThresholdRuleCondition,
7452
8004
  ManagementEventRuleCondition: ManagementEventRuleCondition,
@@ -7454,29 +8006,29 @@ var Mappers = /*#__PURE__*/Object.freeze({
7454
8006
  RuleManagementEventDataSource: RuleManagementEventDataSource,
7455
8007
  RuleEmailAction: RuleEmailAction,
7456
8008
  RuleWebhookAction: RuleWebhookAction,
8009
+ AlertRuleResource: AlertRuleResource,
8010
+ LogProfileResource: LogProfileResource,
7457
8011
  DiagnosticSettingsResource: DiagnosticSettingsResource,
7458
8012
  DiagnosticSettingsCategoryResource: DiagnosticSettingsCategoryResource,
8013
+ PrivateEndpointConnection: PrivateEndpointConnection,
8014
+ TrackedResource: TrackedResource,
8015
+ PrivateLinkResource: PrivateLinkResource,
8016
+ ProxyResourceAutoGenerated: ProxyResourceAutoGenerated,
7459
8017
  ActionGroupResource: ActionGroupResource,
7460
8018
  MetricAlertSingleResourceMultipleMetricCriteria: MetricAlertSingleResourceMultipleMetricCriteria,
7461
8019
  WebtestLocationAvailabilityCriteria: WebtestLocationAvailabilityCriteria,
7462
8020
  MetricAlertMultipleResourceMultipleMetricCriteria: MetricAlertMultipleResourceMultipleMetricCriteria,
8021
+ MetricAlertResource: MetricAlertResource,
7463
8022
  AlertingAction: AlertingAction,
7464
8023
  LogToMetricAction: LogToMetricAction,
7465
8024
  LogSearchRuleResource: LogSearchRuleResource,
7466
8025
  VMInsightsOnboardingStatus: VMInsightsOnboardingStatus,
7467
- PrivateEndpointConnection: PrivateEndpointConnection,
7468
- PrivateLinkResource: PrivateLinkResource,
7469
- ScopedResource: ScopedResource,
7470
- AzureMonitorPrivateLinkScope: AzureMonitorPrivateLinkScope,
7471
8026
  AlertRuleAnyOfOrLeafCondition: AlertRuleAnyOfOrLeafCondition,
7472
8027
  ActivityLogAlertResource: ActivityLogAlertResource,
7473
8028
  DataCollectionEndpointResourceProperties: DataCollectionEndpointResourceProperties,
7474
8029
  DataCollectionEndpointConfigurationAccess: DataCollectionEndpointConfigurationAccess,
7475
8030
  DataCollectionEndpointLogsIngestion: DataCollectionEndpointLogsIngestion,
7476
8031
  DataCollectionEndpointNetworkAcls: DataCollectionEndpointNetworkAcls,
7477
- DataCollectionEndpointResourceSystemData: DataCollectionEndpointResourceSystemData,
7478
- DataCollectionRuleAssociationProxyOnlyResourceSystemData: DataCollectionRuleAssociationProxyOnlyResourceSystemData,
7479
- DataCollectionRuleResourceSystemData: DataCollectionRuleResourceSystemData,
7480
8032
  DataCollectionRuleAssociationProxyOnlyResourceProperties: DataCollectionRuleAssociationProxyOnlyResourceProperties,
7481
8033
  DataCollectionRuleAssociationMetadata: DataCollectionRuleAssociationMetadata,
7482
8034
  DataCollectionRuleMetadata: DataCollectionRuleMetadata,
@@ -7488,6 +8040,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
7488
8040
  DestinationsSpecAzureMonitorMetrics: DestinationsSpecAzureMonitorMetrics,
7489
8041
  MetricCriteria: MetricCriteria,
7490
8042
  DynamicMetricCriteria: DynamicMetricCriteria,
8043
+ AzureMonitorPrivateLinkScope: AzureMonitorPrivateLinkScope,
8044
+ ScopedResource: ScopedResource,
7491
8045
  ActionGroupsPostTestNotificationsHeaders: ActionGroupsPostTestNotificationsHeaders,
7492
8046
  ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders: ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders,
7493
8047
  ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders: ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders,
@@ -7540,7 +8094,7 @@ const resourceGroupName = {
7540
8094
  const apiVersion = {
7541
8095
  parameterPath: "apiVersion",
7542
8096
  mapper: {
7543
- defaultValue: "2015-04-01",
8097
+ defaultValue: "2022-10-01",
7544
8098
  isConstant: true,
7545
8099
  serializedName: "api-version",
7546
8100
  type: {
@@ -7601,6 +8155,67 @@ const nextLink = {
7601
8155
  },
7602
8156
  skipEncoding: true
7603
8157
  };
8158
+ const timespan = {
8159
+ parameterPath: "timespan",
8160
+ mapper: {
8161
+ serializedName: "timespan",
8162
+ required: true,
8163
+ type: {
8164
+ name: "String"
8165
+ }
8166
+ }
8167
+ };
8168
+ const interval = {
8169
+ parameterPath: "interval",
8170
+ mapper: {
8171
+ serializedName: "interval",
8172
+ required: true,
8173
+ type: {
8174
+ name: "TimeSpan"
8175
+ }
8176
+ }
8177
+ };
8178
+ const metricNamespace = {
8179
+ parameterPath: "metricNamespace",
8180
+ mapper: {
8181
+ serializedName: "metricNamespace",
8182
+ required: true,
8183
+ type: {
8184
+ name: "String"
8185
+ }
8186
+ }
8187
+ };
8188
+ const metricName = {
8189
+ parameterPath: "metricName",
8190
+ mapper: {
8191
+ serializedName: "metricName",
8192
+ required: true,
8193
+ type: {
8194
+ name: "String"
8195
+ }
8196
+ }
8197
+ };
8198
+ const aggregation = {
8199
+ parameterPath: "aggregation",
8200
+ mapper: {
8201
+ serializedName: "aggregation",
8202
+ required: true,
8203
+ type: {
8204
+ name: "String"
8205
+ }
8206
+ }
8207
+ };
8208
+ const apiVersion1 = {
8209
+ parameterPath: "apiVersion",
8210
+ mapper: {
8211
+ defaultValue: "2015-04-01",
8212
+ isConstant: true,
8213
+ serializedName: "api-version",
8214
+ type: {
8215
+ name: "String"
8216
+ }
8217
+ }
8218
+ };
7604
8219
  const ruleName = {
7605
8220
  parameterPath: "ruleName",
7606
8221
  mapper: {
@@ -7621,7 +8236,7 @@ const incidentName = {
7621
8236
  }
7622
8237
  }
7623
8238
  };
7624
- const apiVersion1 = {
8239
+ const apiVersion2 = {
7625
8240
  parameterPath: "apiVersion",
7626
8241
  mapper: {
7627
8242
  defaultValue: "2016-03-01",
@@ -7669,10 +8284,10 @@ const resourceUri = {
7669
8284
  },
7670
8285
  skipEncoding: true
7671
8286
  };
7672
- const apiVersion2 = {
8287
+ const apiVersion3 = {
7673
8288
  parameterPath: "apiVersion",
7674
8289
  mapper: {
7675
- defaultValue: "2017-05-01-preview",
8290
+ defaultValue: "2021-05-01-preview",
7676
8291
  isConstant: true,
7677
8292
  serializedName: "api-version",
7678
8293
  type: {
@@ -7708,7 +8323,7 @@ const actionGroupName = {
7708
8323
  }
7709
8324
  }
7710
8325
  };
7711
- const apiVersion3 = {
8326
+ const apiVersion4 = {
7712
8327
  parameterPath: "apiVersion",
7713
8328
  mapper: {
7714
8329
  defaultValue: "2022-06-01",
@@ -7769,7 +8384,7 @@ const filter1 = {
7769
8384
  }
7770
8385
  }
7771
8386
  };
7772
- const apiVersion4 = {
8387
+ const apiVersion5 = {
7773
8388
  parameterPath: "apiVersion",
7774
8389
  mapper: {
7775
8390
  defaultValue: "2018-01-01",
@@ -7789,7 +8404,7 @@ const metricnamespace = {
7789
8404
  }
7790
8405
  }
7791
8406
  };
7792
- const timespan = {
8407
+ const timespan1 = {
7793
8408
  parameterPath: ["options", "timespan"],
7794
8409
  mapper: {
7795
8410
  serializedName: "timespan",
@@ -7798,7 +8413,7 @@ const timespan = {
7798
8413
  }
7799
8414
  }
7800
8415
  };
7801
- const interval = {
8416
+ const interval1 = {
7802
8417
  parameterPath: ["options", "interval"],
7803
8418
  mapper: {
7804
8419
  serializedName: "interval",
@@ -7816,7 +8431,7 @@ const metricnames = {
7816
8431
  }
7817
8432
  }
7818
8433
  };
7819
- const aggregation = {
8434
+ const aggregation1 = {
7820
8435
  parameterPath: ["options", "aggregation"],
7821
8436
  mapper: {
7822
8437
  serializedName: "aggregation",
@@ -7862,7 +8477,7 @@ const sensitivities = {
7862
8477
  }
7863
8478
  }
7864
8479
  };
7865
- const apiVersion5 = {
8480
+ const apiVersion6 = {
7866
8481
  parameterPath: "apiVersion",
7867
8482
  mapper: {
7868
8483
  defaultValue: "2019-03-01",
@@ -7873,7 +8488,7 @@ const apiVersion5 = {
7873
8488
  }
7874
8489
  }
7875
8490
  };
7876
- const apiVersion6 = {
8491
+ const apiVersion7 = {
7877
8492
  parameterPath: "apiVersion",
7878
8493
  mapper: {
7879
8494
  defaultValue: "2018-03-01",
@@ -7906,7 +8521,7 @@ const parameters6 = {
7906
8521
  parameterPath: "parameters",
7907
8522
  mapper: LogSearchRuleResource
7908
8523
  };
7909
- const apiVersion7 = {
8524
+ const apiVersion8 = {
7910
8525
  parameterPath: "apiVersion",
7911
8526
  mapper: {
7912
8527
  defaultValue: "2018-04-16",
@@ -7921,7 +8536,7 @@ const parameters7 = {
7921
8536
  parameterPath: "parameters",
7922
8537
  mapper: LogSearchRuleResourcePatch
7923
8538
  };
7924
- const apiVersion8 = {
8539
+ const apiVersion9 = {
7925
8540
  parameterPath: "apiVersion",
7926
8541
  mapper: {
7927
8542
  defaultValue: "2017-12-01-preview",
@@ -7941,7 +8556,7 @@ const startTime = {
7941
8556
  }
7942
8557
  }
7943
8558
  };
7944
- const apiVersion9 = {
8559
+ const apiVersion10 = {
7945
8560
  parameterPath: "apiVersion",
7946
8561
  mapper: {
7947
8562
  defaultValue: "2018-11-27-preview",
@@ -7952,10 +8567,10 @@ const apiVersion9 = {
7952
8567
  }
7953
8568
  }
7954
8569
  };
7955
- const apiVersion10 = {
8570
+ const apiVersion11 = {
7956
8571
  parameterPath: "apiVersion",
7957
8572
  mapper: {
7958
- defaultValue: "2019-10-17-preview",
8573
+ defaultValue: "2021-07-01-preview",
7959
8574
  isConstant: true,
7960
8575
  serializedName: "api-version",
7961
8576
  type: {
@@ -8033,7 +8648,7 @@ const activityLogAlertName = {
8033
8648
  }
8034
8649
  }
8035
8650
  };
8036
- const apiVersion11 = {
8651
+ const apiVersion12 = {
8037
8652
  parameterPath: "apiVersion",
8038
8653
  mapper: {
8039
8654
  defaultValue: "2020-10-01",
@@ -8048,7 +8663,7 @@ const activityLogAlertRulePatch = {
8048
8663
  parameterPath: "activityLogAlertRulePatch",
8049
8664
  mapper: AlertRulePatchObject
8050
8665
  };
8051
- const apiVersion12 = {
8666
+ const apiVersion13 = {
8052
8667
  parameterPath: "apiVersion",
8053
8668
  mapper: {
8054
8669
  defaultValue: "2021-09-01-preview",
@@ -8268,7 +8883,7 @@ class AutoscaleSettingsImpl {
8268
8883
  * @param options The options parameters.
8269
8884
  */
8270
8885
  get(resourceGroupName, autoscaleSettingName, options) {
8271
- return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, options }, getOperationSpec$h);
8886
+ return this.client.sendOperationRequest({ resourceGroupName, autoscaleSettingName, options }, getOperationSpec$i);
8272
8887
  }
8273
8888
  /**
8274
8889
  * Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.
@@ -8311,7 +8926,7 @@ class AutoscaleSettingsImpl {
8311
8926
  }
8312
8927
  }
8313
8928
  // Operation Specifications
8314
- const serializer$r = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
8929
+ const serializer$s = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
8315
8930
  const listByResourceGroupOperationSpec$8 = {
8316
8931
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings",
8317
8932
  httpMethod: "GET",
@@ -8320,7 +8935,7 @@ const listByResourceGroupOperationSpec$8 = {
8320
8935
  bodyMapper: AutoscaleSettingResourceCollection
8321
8936
  },
8322
8937
  default: {
8323
- bodyMapper: ErrorResponse
8938
+ bodyMapper: AutoscaleErrorResponse
8324
8939
  }
8325
8940
  },
8326
8941
  queryParameters: [apiVersion],
@@ -8330,7 +8945,7 @@ const listByResourceGroupOperationSpec$8 = {
8330
8945
  subscriptionId
8331
8946
  ],
8332
8947
  headerParameters: [accept],
8333
- serializer: serializer$r
8948
+ serializer: serializer$s
8334
8949
  };
8335
8950
  const createOrUpdateOperationSpec$a = {
8336
8951
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
@@ -8343,7 +8958,7 @@ const createOrUpdateOperationSpec$a = {
8343
8958
  bodyMapper: AutoscaleSettingResource
8344
8959
  },
8345
8960
  default: {
8346
- bodyMapper: ErrorResponse
8961
+ bodyMapper: AutoscaleErrorResponse
8347
8962
  }
8348
8963
  },
8349
8964
  requestBody: parameters,
@@ -8356,7 +8971,7 @@ const createOrUpdateOperationSpec$a = {
8356
8971
  ],
8357
8972
  headerParameters: [accept, contentType],
8358
8973
  mediaType: "json",
8359
- serializer: serializer$r
8974
+ serializer: serializer$s
8360
8975
  };
8361
8976
  const deleteOperationSpec$d = {
8362
8977
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
@@ -8365,7 +8980,7 @@ const deleteOperationSpec$d = {
8365
8980
  200: {},
8366
8981
  204: {},
8367
8982
  default: {
8368
- bodyMapper: ErrorResponse
8983
+ bodyMapper: AutoscaleErrorResponse
8369
8984
  }
8370
8985
  },
8371
8986
  queryParameters: [apiVersion],
@@ -8376,9 +8991,9 @@ const deleteOperationSpec$d = {
8376
8991
  autoscaleSettingName
8377
8992
  ],
8378
8993
  headerParameters: [accept],
8379
- serializer: serializer$r
8994
+ serializer: serializer$s
8380
8995
  };
8381
- const getOperationSpec$h = {
8996
+ const getOperationSpec$i = {
8382
8997
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
8383
8998
  httpMethod: "GET",
8384
8999
  responses: {
@@ -8386,7 +9001,7 @@ const getOperationSpec$h = {
8386
9001
  bodyMapper: AutoscaleSettingResource
8387
9002
  },
8388
9003
  default: {
8389
- bodyMapper: ErrorResponse
9004
+ bodyMapper: AutoscaleErrorResponse
8390
9005
  }
8391
9006
  },
8392
9007
  queryParameters: [apiVersion],
@@ -8397,7 +9012,7 @@ const getOperationSpec$h = {
8397
9012
  autoscaleSettingName
8398
9013
  ],
8399
9014
  headerParameters: [accept],
8400
- serializer: serializer$r
9015
+ serializer: serializer$s
8401
9016
  };
8402
9017
  const updateOperationSpec$8 = {
8403
9018
  path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}",
@@ -8407,7 +9022,7 @@ const updateOperationSpec$8 = {
8407
9022
  bodyMapper: AutoscaleSettingResource
8408
9023
  },
8409
9024
  default: {
8410
- bodyMapper: ErrorResponse
9025
+ bodyMapper: AutoscaleErrorResponse
8411
9026
  }
8412
9027
  },
8413
9028
  requestBody: autoscaleSettingResource,
@@ -8420,7 +9035,7 @@ const updateOperationSpec$8 = {
8420
9035
  ],
8421
9036
  headerParameters: [accept, contentType],
8422
9037
  mediaType: "json",
8423
- serializer: serializer$r
9038
+ serializer: serializer$s
8424
9039
  };
8425
9040
  const listBySubscriptionOperationSpec$5 = {
8426
9041
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/autoscalesettings",
@@ -8430,13 +9045,13 @@ const listBySubscriptionOperationSpec$5 = {
8430
9045
  bodyMapper: AutoscaleSettingResourceCollection
8431
9046
  },
8432
9047
  default: {
8433
- bodyMapper: ErrorResponse
9048
+ bodyMapper: AutoscaleErrorResponse
8434
9049
  }
8435
9050
  },
8436
9051
  queryParameters: [apiVersion],
8437
9052
  urlParameters: [$host, subscriptionId],
8438
9053
  headerParameters: [accept],
8439
- serializer: serializer$r
9054
+ serializer: serializer$s
8440
9055
  };
8441
9056
  const listByResourceGroupNextOperationSpec$4 = {
8442
9057
  path: "{nextLink}",
@@ -8446,7 +9061,7 @@ const listByResourceGroupNextOperationSpec$4 = {
8446
9061
  bodyMapper: AutoscaleSettingResourceCollection
8447
9062
  },
8448
9063
  default: {
8449
- bodyMapper: ErrorResponse
9064
+ bodyMapper: AutoscaleErrorResponse
8450
9065
  }
8451
9066
  },
8452
9067
  queryParameters: [apiVersion],
@@ -8457,24 +9072,98 @@ const listByResourceGroupNextOperationSpec$4 = {
8457
9072
  nextLink
8458
9073
  ],
8459
9074
  headerParameters: [accept],
8460
- serializer: serializer$r
9075
+ serializer: serializer$s
8461
9076
  };
8462
9077
  const listBySubscriptionNextOperationSpec$2 = {
8463
9078
  path: "{nextLink}",
8464
9079
  httpMethod: "GET",
8465
9080
  responses: {
8466
9081
  200: {
8467
- bodyMapper: AutoscaleSettingResourceCollection
9082
+ bodyMapper: AutoscaleSettingResourceCollection
9083
+ },
9084
+ default: {
9085
+ bodyMapper: AutoscaleErrorResponse
9086
+ }
9087
+ },
9088
+ queryParameters: [apiVersion],
9089
+ urlParameters: [
9090
+ $host,
9091
+ subscriptionId,
9092
+ nextLink
9093
+ ],
9094
+ headerParameters: [accept],
9095
+ serializer: serializer$s
9096
+ };
9097
+
9098
+ /*
9099
+ * Copyright (c) Microsoft Corporation.
9100
+ * Licensed under the MIT License.
9101
+ *
9102
+ * Code generated by Microsoft (R) AutoRest Code Generator.
9103
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9104
+ */
9105
+ /** Class containing PredictiveMetric operations. */
9106
+ class PredictiveMetricImpl {
9107
+ /**
9108
+ * Initialize a new instance of the class PredictiveMetric class.
9109
+ * @param client Reference to the service client
9110
+ */
9111
+ constructor(client) {
9112
+ this.client = client;
9113
+ }
9114
+ /**
9115
+ * get predictive autoscale metric future data
9116
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9117
+ * @param autoscaleSettingName The autoscale setting name.
9118
+ * @param timespan The timespan of the query. It is a string with the following format
9119
+ * 'startDateTime_ISO/endDateTime_ISO'.
9120
+ * @param interval The interval (i.e. timegrain) of the query.
9121
+ * @param metricNamespace Metric namespace to query metric definitions for.
9122
+ * @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a
9123
+ * metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be
9124
+ * **'Metric%2Name1'**
9125
+ * @param aggregation The list of aggregation types (comma separated) to retrieve.
9126
+ * @param options The options parameters.
9127
+ */
9128
+ get(resourceGroupName, autoscaleSettingName, timespan, interval, metricNamespace, metricName, aggregation, options) {
9129
+ return this.client.sendOperationRequest({
9130
+ resourceGroupName,
9131
+ autoscaleSettingName,
9132
+ timespan,
9133
+ interval,
9134
+ metricNamespace,
9135
+ metricName,
9136
+ aggregation,
9137
+ options
9138
+ }, getOperationSpec$h);
9139
+ }
9140
+ }
9141
+ // Operation Specifications
9142
+ const serializer$r = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9143
+ const getOperationSpec$h = {
9144
+ path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}/predictiveMetrics",
9145
+ httpMethod: "GET",
9146
+ responses: {
9147
+ 200: {
9148
+ bodyMapper: PredictiveResponse
8468
9149
  },
8469
9150
  default: {
8470
- bodyMapper: ErrorResponse
9151
+ bodyMapper: AutoscaleErrorResponse
8471
9152
  }
8472
9153
  },
8473
- queryParameters: [apiVersion],
9154
+ queryParameters: [
9155
+ apiVersion,
9156
+ timespan,
9157
+ interval,
9158
+ metricNamespace,
9159
+ metricName,
9160
+ aggregation
9161
+ ],
8474
9162
  urlParameters: [
8475
9163
  $host,
9164
+ resourceGroupName,
8476
9165
  subscriptionId,
8477
- nextLink
9166
+ autoscaleSettingName
8478
9167
  ],
8479
9168
  headerParameters: [accept],
8480
9169
  serializer: serializer$r
@@ -8514,7 +9203,7 @@ const listOperationSpec$c = {
8514
9203
  bodyMapper: OperationListResult
8515
9204
  }
8516
9205
  },
8517
- queryParameters: [apiVersion],
9206
+ queryParameters: [apiVersion1],
8518
9207
  urlParameters: [$host],
8519
9208
  headerParameters: [accept],
8520
9209
  serializer: serializer$q
@@ -8614,7 +9303,7 @@ const getOperationSpec$g = {
8614
9303
  bodyMapper: ErrorResponse
8615
9304
  }
8616
9305
  },
8617
- queryParameters: [apiVersion1],
9306
+ queryParameters: [apiVersion2],
8618
9307
  urlParameters: [
8619
9308
  $host,
8620
9309
  resourceGroupName,
@@ -8633,7 +9322,7 @@ const listByAlertRuleOperationSpec = {
8633
9322
  bodyMapper: IncidentListResult
8634
9323
  }
8635
9324
  },
8636
- queryParameters: [apiVersion1],
9325
+ queryParameters: [apiVersion2],
8637
9326
  urlParameters: [
8638
9327
  $host,
8639
9328
  resourceGroupName,
@@ -8818,7 +9507,7 @@ const createOrUpdateOperationSpec$9 = {
8818
9507
  }
8819
9508
  },
8820
9509
  requestBody: parameters1,
8821
- queryParameters: [apiVersion1],
9510
+ queryParameters: [apiVersion2],
8822
9511
  urlParameters: [
8823
9512
  $host,
8824
9513
  resourceGroupName,
@@ -8839,7 +9528,7 @@ const deleteOperationSpec$c = {
8839
9528
  bodyMapper: ErrorResponse
8840
9529
  }
8841
9530
  },
8842
- queryParameters: [apiVersion1],
9531
+ queryParameters: [apiVersion2],
8843
9532
  urlParameters: [
8844
9533
  $host,
8845
9534
  resourceGroupName,
@@ -8860,7 +9549,7 @@ const getOperationSpec$f = {
8860
9549
  bodyMapper: ErrorResponse
8861
9550
  }
8862
9551
  },
8863
- queryParameters: [apiVersion1],
9552
+ queryParameters: [apiVersion2],
8864
9553
  urlParameters: [
8865
9554
  $host,
8866
9555
  resourceGroupName,
@@ -8885,7 +9574,7 @@ const updateOperationSpec$7 = {
8885
9574
  }
8886
9575
  },
8887
9576
  requestBody: alertRulesResource,
8888
- queryParameters: [apiVersion1],
9577
+ queryParameters: [apiVersion2],
8889
9578
  urlParameters: [
8890
9579
  $host,
8891
9580
  resourceGroupName,
@@ -8907,7 +9596,7 @@ const listByResourceGroupOperationSpec$7 = {
8907
9596
  bodyMapper: ErrorResponse
8908
9597
  }
8909
9598
  },
8910
- queryParameters: [apiVersion1],
9599
+ queryParameters: [apiVersion2],
8911
9600
  urlParameters: [
8912
9601
  $host,
8913
9602
  resourceGroupName,
@@ -8927,7 +9616,7 @@ const listBySubscriptionOperationSpec$4 = {
8927
9616
  bodyMapper: ErrorResponse
8928
9617
  }
8929
9618
  },
8930
- queryParameters: [apiVersion1],
9619
+ queryParameters: [apiVersion2],
8931
9620
  urlParameters: [$host, subscriptionId],
8932
9621
  headerParameters: [accept],
8933
9622
  serializer: serializer$o
@@ -9040,7 +9729,7 @@ const deleteOperationSpec$b = {
9040
9729
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles/{logProfileName}",
9041
9730
  httpMethod: "DELETE",
9042
9731
  responses: { 200: {} },
9043
- queryParameters: [apiVersion1],
9732
+ queryParameters: [apiVersion2],
9044
9733
  urlParameters: [
9045
9734
  $host,
9046
9735
  subscriptionId,
@@ -9059,7 +9748,7 @@ const getOperationSpec$e = {
9059
9748
  bodyMapper: ErrorResponse
9060
9749
  }
9061
9750
  },
9062
- queryParameters: [apiVersion1],
9751
+ queryParameters: [apiVersion2],
9063
9752
  urlParameters: [
9064
9753
  $host,
9065
9754
  subscriptionId,
@@ -9077,7 +9766,7 @@ const createOrUpdateOperationSpec$8 = {
9077
9766
  }
9078
9767
  },
9079
9768
  requestBody: parameters2,
9080
- queryParameters: [apiVersion1],
9769
+ queryParameters: [apiVersion2],
9081
9770
  urlParameters: [
9082
9771
  $host,
9083
9772
  subscriptionId,
@@ -9099,7 +9788,7 @@ const updateOperationSpec$6 = {
9099
9788
  }
9100
9789
  },
9101
9790
  requestBody: logProfilesResource,
9102
- queryParameters: [apiVersion1],
9791
+ queryParameters: [apiVersion2],
9103
9792
  urlParameters: [
9104
9793
  $host,
9105
9794
  subscriptionId,
@@ -9117,7 +9806,7 @@ const listOperationSpec$b = {
9117
9806
  bodyMapper: LogProfileCollection
9118
9807
  }
9119
9808
  },
9120
- queryParameters: [apiVersion1],
9809
+ queryParameters: [apiVersion2],
9121
9810
  urlParameters: [$host, subscriptionId],
9122
9811
  headerParameters: [accept],
9123
9812
  serializer: serializer$n
@@ -9130,6 +9819,7 @@ const listOperationSpec$b = {
9130
9819
  * Code generated by Microsoft (R) AutoRest Code Generator.
9131
9820
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9132
9821
  */
9822
+ /// <reference lib="esnext.asynciterable" />
9133
9823
  /** Class containing DiagnosticSettings operations. */
9134
9824
  class DiagnosticSettingsImpl {
9135
9825
  /**
@@ -9139,6 +9829,49 @@ class DiagnosticSettingsImpl {
9139
9829
  constructor(client) {
9140
9830
  this.client = client;
9141
9831
  }
9832
+ /**
9833
+ * Gets the active diagnostic settings list for the specified resource.
9834
+ * @param resourceUri The identifier of the resource.
9835
+ * @param options The options parameters.
9836
+ */
9837
+ list(resourceUri, options) {
9838
+ const iter = this.listPagingAll(resourceUri, options);
9839
+ return {
9840
+ next() {
9841
+ return iter.next();
9842
+ },
9843
+ [Symbol.asyncIterator]() {
9844
+ return this;
9845
+ },
9846
+ byPage: () => {
9847
+ return this.listPagingPage(resourceUri, options);
9848
+ }
9849
+ };
9850
+ }
9851
+ listPagingPage(resourceUri, options) {
9852
+ return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
9853
+ let result = yield tslib.__await(this._list(resourceUri, options));
9854
+ yield yield tslib.__await(result.value || []);
9855
+ });
9856
+ }
9857
+ listPagingAll(resourceUri, options) {
9858
+ return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
9859
+ var e_1, _a;
9860
+ try {
9861
+ for (var _b = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
9862
+ const page = _c.value;
9863
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9864
+ }
9865
+ }
9866
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
9867
+ finally {
9868
+ try {
9869
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
9870
+ }
9871
+ finally { if (e_1) throw e_1.error; }
9872
+ }
9873
+ });
9874
+ }
9142
9875
  /**
9143
9876
  * Gets the active diagnostic settings for the specified resource.
9144
9877
  * @param resourceUri The identifier of the resource.
@@ -9172,7 +9905,7 @@ class DiagnosticSettingsImpl {
9172
9905
  * @param resourceUri The identifier of the resource.
9173
9906
  * @param options The options parameters.
9174
9907
  */
9175
- list(resourceUri, options) {
9908
+ _list(resourceUri, options) {
9176
9909
  return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$a);
9177
9910
  }
9178
9911
  }
@@ -9189,7 +9922,7 @@ const getOperationSpec$d = {
9189
9922
  bodyMapper: ErrorResponse
9190
9923
  }
9191
9924
  },
9192
- queryParameters: [apiVersion2],
9925
+ queryParameters: [apiVersion3],
9193
9926
  urlParameters: [$host, resourceUri, name],
9194
9927
  headerParameters: [accept],
9195
9928
  serializer: serializer$m
@@ -9206,7 +9939,7 @@ const createOrUpdateOperationSpec$7 = {
9206
9939
  }
9207
9940
  },
9208
9941
  requestBody: parameters3,
9209
- queryParameters: [apiVersion2],
9942
+ queryParameters: [apiVersion3],
9210
9943
  urlParameters: [$host, resourceUri, name],
9211
9944
  headerParameters: [accept, contentType],
9212
9945
  mediaType: "json",
@@ -9222,7 +9955,7 @@ const deleteOperationSpec$a = {
9222
9955
  bodyMapper: ErrorResponse
9223
9956
  }
9224
9957
  },
9225
- queryParameters: [apiVersion2],
9958
+ queryParameters: [apiVersion3],
9226
9959
  urlParameters: [$host, resourceUri, name],
9227
9960
  headerParameters: [accept],
9228
9961
  serializer: serializer$m
@@ -9238,7 +9971,7 @@ const listOperationSpec$a = {
9238
9971
  bodyMapper: ErrorResponse
9239
9972
  }
9240
9973
  },
9241
- queryParameters: [apiVersion2],
9974
+ queryParameters: [apiVersion3],
9242
9975
  urlParameters: [$host, resourceUri],
9243
9976
  headerParameters: [accept],
9244
9977
  serializer: serializer$m
@@ -9251,6 +9984,7 @@ const listOperationSpec$a = {
9251
9984
  * Code generated by Microsoft (R) AutoRest Code Generator.
9252
9985
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9253
9986
  */
9987
+ /// <reference lib="esnext.asynciterable" />
9254
9988
  /** Class containing DiagnosticSettingsCategory operations. */
9255
9989
  class DiagnosticSettingsCategoryImpl {
9256
9990
  /**
@@ -9260,6 +9994,49 @@ class DiagnosticSettingsCategoryImpl {
9260
9994
  constructor(client) {
9261
9995
  this.client = client;
9262
9996
  }
9997
+ /**
9998
+ * Lists the diagnostic settings categories for the specified resource.
9999
+ * @param resourceUri The identifier of the resource.
10000
+ * @param options The options parameters.
10001
+ */
10002
+ list(resourceUri, options) {
10003
+ const iter = this.listPagingAll(resourceUri, options);
10004
+ return {
10005
+ next() {
10006
+ return iter.next();
10007
+ },
10008
+ [Symbol.asyncIterator]() {
10009
+ return this;
10010
+ },
10011
+ byPage: () => {
10012
+ return this.listPagingPage(resourceUri, options);
10013
+ }
10014
+ };
10015
+ }
10016
+ listPagingPage(resourceUri, options) {
10017
+ return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
10018
+ let result = yield tslib.__await(this._list(resourceUri, options));
10019
+ yield yield tslib.__await(result.value || []);
10020
+ });
10021
+ }
10022
+ listPagingAll(resourceUri, options) {
10023
+ return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
10024
+ var e_1, _a;
10025
+ try {
10026
+ for (var _b = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
10027
+ const page = _c.value;
10028
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
10029
+ }
10030
+ }
10031
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
10032
+ finally {
10033
+ try {
10034
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
10035
+ }
10036
+ finally { if (e_1) throw e_1.error; }
10037
+ }
10038
+ });
10039
+ }
9263
10040
  /**
9264
10041
  * Gets the diagnostic settings category for the specified resource.
9265
10042
  * @param resourceUri The identifier of the resource.
@@ -9274,7 +10051,7 @@ class DiagnosticSettingsCategoryImpl {
9274
10051
  * @param resourceUri The identifier of the resource.
9275
10052
  * @param options The options parameters.
9276
10053
  */
9277
- list(resourceUri, options) {
10054
+ _list(resourceUri, options) {
9278
10055
  return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$9);
9279
10056
  }
9280
10057
  }
@@ -9291,7 +10068,7 @@ const getOperationSpec$c = {
9291
10068
  bodyMapper: ErrorResponse
9292
10069
  }
9293
10070
  },
9294
- queryParameters: [apiVersion2],
10071
+ queryParameters: [apiVersion3],
9295
10072
  urlParameters: [$host, resourceUri, name],
9296
10073
  headerParameters: [accept],
9297
10074
  serializer: serializer$l
@@ -9307,7 +10084,7 @@ const listOperationSpec$9 = {
9307
10084
  bodyMapper: ErrorResponse
9308
10085
  }
9309
10086
  },
9310
- queryParameters: [apiVersion2],
10087
+ queryParameters: [apiVersion3],
9311
10088
  urlParameters: [$host, resourceUri],
9312
10089
  headerParameters: [accept],
9313
10090
  serializer: serializer$l
@@ -9708,7 +10485,7 @@ const createOrUpdateOperationSpec$6 = {
9708
10485
  }
9709
10486
  },
9710
10487
  requestBody: actionGroup,
9711
- queryParameters: [apiVersion3],
10488
+ queryParameters: [apiVersion4],
9712
10489
  urlParameters: [
9713
10490
  $host,
9714
10491
  resourceGroupName,
@@ -9730,7 +10507,7 @@ const getOperationSpec$b = {
9730
10507
  bodyMapper: ErrorResponse
9731
10508
  }
9732
10509
  },
9733
- queryParameters: [apiVersion3],
10510
+ queryParameters: [apiVersion4],
9734
10511
  urlParameters: [
9735
10512
  $host,
9736
10513
  resourceGroupName,
@@ -9750,7 +10527,7 @@ const deleteOperationSpec$9 = {
9750
10527
  bodyMapper: ErrorResponse
9751
10528
  }
9752
10529
  },
9753
- queryParameters: [apiVersion3],
10530
+ queryParameters: [apiVersion4],
9754
10531
  urlParameters: [
9755
10532
  $host,
9756
10533
  resourceGroupName,
@@ -9772,7 +10549,7 @@ const updateOperationSpec$5 = {
9772
10549
  }
9773
10550
  },
9774
10551
  requestBody: actionGroupPatch,
9775
- queryParameters: [apiVersion3],
10552
+ queryParameters: [apiVersion4],
9776
10553
  urlParameters: [
9777
10554
  $host,
9778
10555
  resourceGroupName,
@@ -9788,23 +10565,23 @@ const postTestNotificationsOperationSpec = {
9788
10565
  httpMethod: "POST",
9789
10566
  responses: {
9790
10567
  200: {
9791
- headersMapper: ActionGroupsPostTestNotificationsHeaders
10568
+ bodyMapper: TestNotificationDetailsResponse
9792
10569
  },
9793
10570
  201: {
9794
- headersMapper: ActionGroupsPostTestNotificationsHeaders
10571
+ bodyMapper: TestNotificationDetailsResponse
9795
10572
  },
9796
10573
  202: {
9797
- headersMapper: ActionGroupsPostTestNotificationsHeaders
10574
+ bodyMapper: TestNotificationDetailsResponse
9798
10575
  },
9799
10576
  204: {
9800
- headersMapper: ActionGroupsPostTestNotificationsHeaders
10577
+ bodyMapper: TestNotificationDetailsResponse
9801
10578
  },
9802
10579
  default: {
9803
10580
  bodyMapper: ErrorResponse
9804
10581
  }
9805
10582
  },
9806
10583
  requestBody: notificationRequest,
9807
- queryParameters: [apiVersion3],
10584
+ queryParameters: [apiVersion4],
9808
10585
  urlParameters: [$host, subscriptionId],
9809
10586
  headerParameters: [accept, contentType],
9810
10587
  mediaType: "json",
@@ -9815,23 +10592,23 @@ const createNotificationsAtResourceGroupLevelOperationSpec = {
9815
10592
  httpMethod: "POST",
9816
10593
  responses: {
9817
10594
  200: {
9818
- headersMapper: ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders
10595
+ bodyMapper: TestNotificationDetailsResponse
9819
10596
  },
9820
10597
  201: {
9821
- headersMapper: ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders
10598
+ bodyMapper: TestNotificationDetailsResponse
9822
10599
  },
9823
10600
  202: {
9824
- headersMapper: ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders
10601
+ bodyMapper: TestNotificationDetailsResponse
9825
10602
  },
9826
10603
  204: {
9827
- headersMapper: ActionGroupsCreateNotificationsAtResourceGroupLevelHeaders
10604
+ bodyMapper: TestNotificationDetailsResponse
9828
10605
  },
9829
10606
  default: {
9830
10607
  bodyMapper: ErrorResponse
9831
10608
  }
9832
10609
  },
9833
10610
  requestBody: notificationRequest,
9834
- queryParameters: [apiVersion3],
10611
+ queryParameters: [apiVersion4],
9835
10612
  urlParameters: [
9836
10613
  $host,
9837
10614
  resourceGroupName,
@@ -9846,23 +10623,23 @@ const createNotificationsAtActionGroupResourceLevelOperationSpec = {
9846
10623
  httpMethod: "POST",
9847
10624
  responses: {
9848
10625
  200: {
9849
- headersMapper: ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders
10626
+ bodyMapper: TestNotificationDetailsResponse
9850
10627
  },
9851
10628
  201: {
9852
- headersMapper: ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders
10629
+ bodyMapper: TestNotificationDetailsResponse
9853
10630
  },
9854
10631
  202: {
9855
- headersMapper: ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders
10632
+ bodyMapper: TestNotificationDetailsResponse
9856
10633
  },
9857
10634
  204: {
9858
- headersMapper: ActionGroupsCreateNotificationsAtActionGroupResourceLevelHeaders
10635
+ bodyMapper: TestNotificationDetailsResponse
9859
10636
  },
9860
10637
  default: {
9861
10638
  bodyMapper: ErrorResponse
9862
10639
  }
9863
10640
  },
9864
10641
  requestBody: notificationRequest,
9865
- queryParameters: [apiVersion3],
10642
+ queryParameters: [apiVersion4],
9866
10643
  urlParameters: [
9867
10644
  $host,
9868
10645
  resourceGroupName,
@@ -9884,7 +10661,7 @@ const getTestNotificationsOperationSpec = {
9884
10661
  bodyMapper: ErrorResponse
9885
10662
  }
9886
10663
  },
9887
- queryParameters: [apiVersion3],
10664
+ queryParameters: [apiVersion4],
9888
10665
  urlParameters: [
9889
10666
  $host,
9890
10667
  subscriptionId,
@@ -9904,7 +10681,7 @@ const getTestNotificationsAtResourceGroupLevelOperationSpec = {
9904
10681
  bodyMapper: ErrorResponse
9905
10682
  }
9906
10683
  },
9907
- queryParameters: [apiVersion3],
10684
+ queryParameters: [apiVersion4],
9908
10685
  urlParameters: [
9909
10686
  $host,
9910
10687
  resourceGroupName,
@@ -9925,7 +10702,7 @@ const getTestNotificationsAtActionGroupResourceLevelOperationSpec = {
9925
10702
  bodyMapper: ErrorResponse
9926
10703
  }
9927
10704
  },
9928
- queryParameters: [apiVersion3],
10705
+ queryParameters: [apiVersion4],
9929
10706
  urlParameters: [
9930
10707
  $host,
9931
10708
  resourceGroupName,
@@ -9947,7 +10724,7 @@ const listBySubscriptionIdOperationSpec$1 = {
9947
10724
  bodyMapper: ErrorResponse
9948
10725
  }
9949
10726
  },
9950
- queryParameters: [apiVersion3],
10727
+ queryParameters: [apiVersion4],
9951
10728
  urlParameters: [$host, subscriptionId],
9952
10729
  headerParameters: [accept],
9953
10730
  serializer: serializer$k
@@ -9963,7 +10740,7 @@ const listByResourceGroupOperationSpec$6 = {
9963
10740
  bodyMapper: ErrorResponse
9964
10741
  }
9965
10742
  },
9966
- queryParameters: [apiVersion3],
10743
+ queryParameters: [apiVersion4],
9967
10744
  urlParameters: [
9968
10745
  $host,
9969
10746
  resourceGroupName,
@@ -9985,7 +10762,7 @@ const enableReceiverOperationSpec = {
9985
10762
  }
9986
10763
  },
9987
10764
  requestBody: enableRequest,
9988
- queryParameters: [apiVersion3],
10765
+ queryParameters: [apiVersion4],
9989
10766
  urlParameters: [
9990
10767
  $host,
9991
10768
  resourceGroupName,
@@ -10131,7 +10908,7 @@ const listOperationSpec$8 = {
10131
10908
  }
10132
10909
  },
10133
10910
  queryParameters: [
10134
- apiVersion,
10911
+ apiVersion1,
10135
10912
  filter,
10136
10913
  select
10137
10914
  ],
@@ -10151,7 +10928,7 @@ const listNextOperationSpec$2 = {
10151
10928
  }
10152
10929
  },
10153
10930
  queryParameters: [
10154
- apiVersion,
10931
+ apiVersion1,
10155
10932
  filter,
10156
10933
  select
10157
10934
  ],
@@ -10246,7 +11023,7 @@ const listOperationSpec$7 = {
10246
11023
  bodyMapper: ErrorResponse
10247
11024
  }
10248
11025
  },
10249
- queryParameters: [apiVersion],
11026
+ queryParameters: [apiVersion1],
10250
11027
  urlParameters: [$host],
10251
11028
  headerParameters: [accept],
10252
11029
  serializer: serializer$i
@@ -10353,7 +11130,7 @@ const listOperationSpec$6 = {
10353
11130
  }
10354
11131
  },
10355
11132
  queryParameters: [
10356
- apiVersion,
11133
+ apiVersion1,
10357
11134
  select,
10358
11135
  filter1
10359
11136
  ],
@@ -10373,7 +11150,7 @@ const listNextOperationSpec$1 = {
10373
11150
  }
10374
11151
  },
10375
11152
  queryParameters: [
10376
- apiVersion,
11153
+ apiVersion1,
10377
11154
  select,
10378
11155
  filter1
10379
11156
  ],
@@ -10464,7 +11241,7 @@ const listOperationSpec$5 = {
10464
11241
  bodyMapper: ErrorResponse
10465
11242
  }
10466
11243
  },
10467
- queryParameters: [apiVersion4, metricnamespace],
11244
+ queryParameters: [apiVersion5, metricnamespace],
10468
11245
  urlParameters: [$host, resourceUri],
10469
11246
  headerParameters: [accept],
10470
11247
  serializer: serializer$g
@@ -10510,12 +11287,12 @@ const listOperationSpec$4 = {
10510
11287
  },
10511
11288
  queryParameters: [
10512
11289
  filter1,
10513
- apiVersion4,
11290
+ apiVersion5,
10514
11291
  metricnamespace,
10515
- timespan,
10516
- interval,
11292
+ timespan1,
11293
+ interval1,
10517
11294
  metricnames,
10518
- aggregation,
11295
+ aggregation1,
10519
11296
  top,
10520
11297
  orderby,
10521
11298
  resultType
@@ -10610,13 +11387,13 @@ const listOperationSpec$3 = {
10610
11387
  queryParameters: [
10611
11388
  filter1,
10612
11389
  metricnamespace,
10613
- timespan,
10614
- interval,
11390
+ timespan1,
11391
+ interval1,
10615
11392
  metricnames,
10616
- aggregation,
11393
+ aggregation1,
10617
11394
  resultType,
10618
11395
  sensitivities,
10619
- apiVersion5
11396
+ apiVersion6
10620
11397
  ],
10621
11398
  urlParameters: [$host, resourceUri],
10622
11399
  headerParameters: [accept],
@@ -10792,7 +11569,7 @@ const listBySubscriptionOperationSpec$3 = {
10792
11569
  bodyMapper: ErrorResponse
10793
11570
  }
10794
11571
  },
10795
- queryParameters: [apiVersion6],
11572
+ queryParameters: [apiVersion7],
10796
11573
  urlParameters: [$host, subscriptionId],
10797
11574
  headerParameters: [accept],
10798
11575
  serializer: serializer$d
@@ -10808,7 +11585,7 @@ const listByResourceGroupOperationSpec$5 = {
10808
11585
  bodyMapper: ErrorResponse
10809
11586
  }
10810
11587
  },
10811
- queryParameters: [apiVersion6],
11588
+ queryParameters: [apiVersion7],
10812
11589
  urlParameters: [
10813
11590
  $host,
10814
11591
  resourceGroupName,
@@ -10828,7 +11605,7 @@ const getOperationSpec$a = {
10828
11605
  bodyMapper: ErrorResponse
10829
11606
  }
10830
11607
  },
10831
- queryParameters: [apiVersion6],
11608
+ queryParameters: [apiVersion7],
10832
11609
  urlParameters: [
10833
11610
  $host,
10834
11611
  resourceGroupName,
@@ -10850,7 +11627,7 @@ const createOrUpdateOperationSpec$5 = {
10850
11627
  }
10851
11628
  },
10852
11629
  requestBody: parameters4,
10853
- queryParameters: [apiVersion6],
11630
+ queryParameters: [apiVersion7],
10854
11631
  urlParameters: [
10855
11632
  $host,
10856
11633
  resourceGroupName,
@@ -10873,7 +11650,7 @@ const updateOperationSpec$4 = {
10873
11650
  }
10874
11651
  },
10875
11652
  requestBody: parameters5,
10876
- queryParameters: [apiVersion6],
11653
+ queryParameters: [apiVersion7],
10877
11654
  urlParameters: [
10878
11655
  $host,
10879
11656
  resourceGroupName,
@@ -10894,7 +11671,7 @@ const deleteOperationSpec$8 = {
10894
11671
  bodyMapper: ErrorResponse
10895
11672
  }
10896
11673
  },
10897
- queryParameters: [apiVersion6],
11674
+ queryParameters: [apiVersion7],
10898
11675
  urlParameters: [
10899
11676
  $host,
10900
11677
  resourceGroupName,
@@ -10954,7 +11731,7 @@ const listOperationSpec$2 = {
10954
11731
  bodyMapper: ErrorResponse
10955
11732
  }
10956
11733
  },
10957
- queryParameters: [apiVersion6],
11734
+ queryParameters: [apiVersion7],
10958
11735
  urlParameters: [
10959
11736
  $host,
10960
11737
  resourceGroupName,
@@ -10975,7 +11752,7 @@ const listByNameOperationSpec = {
10975
11752
  bodyMapper: ErrorResponse
10976
11753
  }
10977
11754
  },
10978
- queryParameters: [apiVersion6],
11755
+ queryParameters: [apiVersion7],
10979
11756
  urlParameters: [
10980
11757
  $host,
10981
11758
  resourceGroupName,
@@ -11160,7 +11937,7 @@ const createOrUpdateOperationSpec$4 = {
11160
11937
  }
11161
11938
  },
11162
11939
  requestBody: parameters6,
11163
- queryParameters: [apiVersion7],
11940
+ queryParameters: [apiVersion8],
11164
11941
  urlParameters: [
11165
11942
  $host,
11166
11943
  resourceGroupName,
@@ -11182,7 +11959,7 @@ const getOperationSpec$9 = {
11182
11959
  bodyMapper: ErrorContract
11183
11960
  }
11184
11961
  },
11185
- queryParameters: [apiVersion7],
11962
+ queryParameters: [apiVersion8],
11186
11963
  urlParameters: [
11187
11964
  $host,
11188
11965
  resourceGroupName,
@@ -11204,7 +11981,7 @@ const updateOperationSpec$3 = {
11204
11981
  }
11205
11982
  },
11206
11983
  requestBody: parameters7,
11207
- queryParameters: [apiVersion7],
11984
+ queryParameters: [apiVersion8],
11208
11985
  urlParameters: [
11209
11986
  $host,
11210
11987
  resourceGroupName,
@@ -11225,7 +12002,7 @@ const deleteOperationSpec$7 = {
11225
12002
  bodyMapper: ErrorContract
11226
12003
  }
11227
12004
  },
11228
- queryParameters: [apiVersion7],
12005
+ queryParameters: [apiVersion8],
11229
12006
  urlParameters: [
11230
12007
  $host,
11231
12008
  resourceGroupName,
@@ -11246,7 +12023,7 @@ const listBySubscriptionOperationSpec$2 = {
11246
12023
  bodyMapper: ErrorContract
11247
12024
  }
11248
12025
  },
11249
- queryParameters: [filter1, apiVersion7],
12026
+ queryParameters: [filter1, apiVersion8],
11250
12027
  urlParameters: [$host, subscriptionId],
11251
12028
  headerParameters: [accept],
11252
12029
  serializer: serializer$b
@@ -11262,7 +12039,7 @@ const listByResourceGroupOperationSpec$4 = {
11262
12039
  bodyMapper: ErrorContract
11263
12040
  }
11264
12041
  },
11265
- queryParameters: [filter1, apiVersion7],
12042
+ queryParameters: [filter1, apiVersion8],
11266
12043
  urlParameters: [
11267
12044
  $host,
11268
12045
  resourceGroupName,
@@ -11354,7 +12131,7 @@ const listOperationSpec$1 = {
11354
12131
  bodyMapper: ErrorResponse
11355
12132
  }
11356
12133
  },
11357
- queryParameters: [apiVersion8, startTime],
12134
+ queryParameters: [apiVersion9, startTime],
11358
12135
  urlParameters: [$host, resourceUri],
11359
12136
  headerParameters: [accept],
11360
12137
  serializer: serializer$a
@@ -11399,7 +12176,7 @@ const getOnboardingStatusOperationSpec = {
11399
12176
  bodyMapper: ResponseWithError
11400
12177
  }
11401
12178
  },
11402
- queryParameters: [apiVersion9],
12179
+ queryParameters: [apiVersion10],
11403
12180
  urlParameters: [$host, resourceUri],
11404
12181
  headerParameters: [accept],
11405
12182
  serializer: serializer$9
@@ -11647,9 +12424,12 @@ const listOperationSpec = {
11647
12424
  responses: {
11648
12425
  200: {
11649
12426
  bodyMapper: AzureMonitorPrivateLinkScopeListResult
12427
+ },
12428
+ default: {
12429
+ bodyMapper: DefaultErrorResponse
11650
12430
  }
11651
12431
  },
11652
- queryParameters: [apiVersion10],
12432
+ queryParameters: [apiVersion11],
11653
12433
  urlParameters: [$host, subscriptionId],
11654
12434
  headerParameters: [accept],
11655
12435
  serializer: serializer$8
@@ -11660,9 +12440,12 @@ const listByResourceGroupOperationSpec$3 = {
11660
12440
  responses: {
11661
12441
  200: {
11662
12442
  bodyMapper: AzureMonitorPrivateLinkScopeListResult
12443
+ },
12444
+ default: {
12445
+ bodyMapper: DefaultErrorResponse
11663
12446
  }
11664
12447
  },
11665
- queryParameters: [apiVersion10],
12448
+ queryParameters: [apiVersion11],
11666
12449
  urlParameters: [
11667
12450
  $host,
11668
12451
  resourceGroupName,
@@ -11674,14 +12457,23 @@ const listByResourceGroupOperationSpec$3 = {
11674
12457
  const deleteOperationSpec$6 = {
11675
12458
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}",
11676
12459
  httpMethod: "DELETE",
11677
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
11678
- queryParameters: [apiVersion10],
12460
+ responses: {
12461
+ 200: {},
12462
+ 201: {},
12463
+ 202: {},
12464
+ 204: {},
12465
+ default: {
12466
+ bodyMapper: DefaultErrorResponse
12467
+ }
12468
+ },
12469
+ queryParameters: [apiVersion11],
11679
12470
  urlParameters: [
11680
12471
  $host,
11681
12472
  resourceGroupName,
11682
12473
  subscriptionId,
11683
12474
  scopeName
11684
12475
  ],
12476
+ headerParameters: [accept],
11685
12477
  serializer: serializer$8
11686
12478
  };
11687
12479
  const getOperationSpec$8 = {
@@ -11690,9 +12482,12 @@ const getOperationSpec$8 = {
11690
12482
  responses: {
11691
12483
  200: {
11692
12484
  bodyMapper: AzureMonitorPrivateLinkScope
12485
+ },
12486
+ default: {
12487
+ bodyMapper: DefaultErrorResponse
11693
12488
  }
11694
12489
  },
11695
- queryParameters: [apiVersion10],
12490
+ queryParameters: [apiVersion11],
11696
12491
  urlParameters: [
11697
12492
  $host,
11698
12493
  resourceGroupName,
@@ -11711,10 +12506,13 @@ const createOrUpdateOperationSpec$3 = {
11711
12506
  },
11712
12507
  201: {
11713
12508
  bodyMapper: AzureMonitorPrivateLinkScope
12509
+ },
12510
+ default: {
12511
+ bodyMapper: DefaultErrorResponse
11714
12512
  }
11715
12513
  },
11716
12514
  requestBody: azureMonitorPrivateLinkScopePayload,
11717
- queryParameters: [apiVersion10],
12515
+ queryParameters: [apiVersion11],
11718
12516
  urlParameters: [
11719
12517
  $host,
11720
12518
  resourceGroupName,
@@ -11731,10 +12529,13 @@ const updateTagsOperationSpec = {
11731
12529
  responses: {
11732
12530
  200: {
11733
12531
  bodyMapper: AzureMonitorPrivateLinkScope
12532
+ },
12533
+ default: {
12534
+ bodyMapper: DefaultErrorResponse
11734
12535
  }
11735
12536
  },
11736
12537
  requestBody: privateLinkScopeTags,
11737
- queryParameters: [apiVersion10],
12538
+ queryParameters: [apiVersion11],
11738
12539
  urlParameters: [
11739
12540
  $host,
11740
12541
  resourceGroupName,
@@ -11751,9 +12552,12 @@ const listNextOperationSpec = {
11751
12552
  responses: {
11752
12553
  200: {
11753
12554
  bodyMapper: AzureMonitorPrivateLinkScopeListResult
12555
+ },
12556
+ default: {
12557
+ bodyMapper: DefaultErrorResponse
11754
12558
  }
11755
12559
  },
11756
- queryParameters: [apiVersion10],
12560
+ queryParameters: [apiVersion11],
11757
12561
  urlParameters: [
11758
12562
  $host,
11759
12563
  subscriptionId,
@@ -11768,9 +12572,12 @@ const listByResourceGroupNextOperationSpec$3 = {
11768
12572
  responses: {
11769
12573
  200: {
11770
12574
  bodyMapper: AzureMonitorPrivateLinkScopeListResult
12575
+ },
12576
+ default: {
12577
+ bodyMapper: DefaultErrorResponse
11771
12578
  }
11772
12579
  },
11773
- queryParameters: [apiVersion10],
12580
+ queryParameters: [apiVersion11],
11774
12581
  urlParameters: [
11775
12582
  $host,
11776
12583
  resourceGroupName,
@@ -11815,9 +12622,12 @@ const getOperationSpec$7 = {
11815
12622
  responses: {
11816
12623
  200: {
11817
12624
  bodyMapper: OperationStatus
12625
+ },
12626
+ default: {
12627
+ bodyMapper: DefaultErrorResponse
11818
12628
  }
11819
12629
  },
11820
- queryParameters: [apiVersion10],
12630
+ queryParameters: [apiVersion11],
11821
12631
  urlParameters: [
11822
12632
  $host,
11823
12633
  resourceGroupName,
@@ -11835,65 +12645,14 @@ const getOperationSpec$7 = {
11835
12645
  * Code generated by Microsoft (R) AutoRest Code Generator.
11836
12646
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
11837
12647
  */
11838
- /// <reference lib="esnext.asynciterable" />
11839
12648
  /** Class containing PrivateLinkResources operations. */
11840
12649
  class PrivateLinkResourcesImpl {
11841
12650
  /**
11842
12651
  * Initialize a new instance of the class PrivateLinkResources class.
11843
- * @param client Reference to the service client
11844
- */
11845
- constructor(client) {
11846
- this.client = client;
11847
- }
11848
- /**
11849
- * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
11850
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
11851
- * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
11852
- * @param options The options parameters.
12652
+ * @param client Reference to the service client
11853
12653
  */
11854
- listByPrivateLinkScope(resourceGroupName, scopeName, options) {
11855
- const iter = this.listByPrivateLinkScopePagingAll(resourceGroupName, scopeName, options);
11856
- return {
11857
- next() {
11858
- return iter.next();
11859
- },
11860
- [Symbol.asyncIterator]() {
11861
- return this;
11862
- },
11863
- byPage: () => {
11864
- return this.listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options);
11865
- }
11866
- };
11867
- }
11868
- listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options) {
11869
- return tslib.__asyncGenerator(this, arguments, function* listByPrivateLinkScopePagingPage_1() {
11870
- let result = yield tslib.__await(this._listByPrivateLinkScope(resourceGroupName, scopeName, options));
11871
- yield yield tslib.__await(result.value || []);
11872
- let continuationToken = result.nextLink;
11873
- while (continuationToken) {
11874
- result = yield tslib.__await(this._listByPrivateLinkScopeNext(resourceGroupName, scopeName, continuationToken, options));
11875
- continuationToken = result.nextLink;
11876
- yield yield tslib.__await(result.value || []);
11877
- }
11878
- });
11879
- }
11880
- listByPrivateLinkScopePagingAll(resourceGroupName, scopeName, options) {
11881
- return tslib.__asyncGenerator(this, arguments, function* listByPrivateLinkScopePagingAll_1() {
11882
- var e_1, _a;
11883
- try {
11884
- for (var _b = tslib.__asyncValues(this.listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
11885
- const page = _c.value;
11886
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
11887
- }
11888
- }
11889
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
11890
- finally {
11891
- try {
11892
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
11893
- }
11894
- finally { if (e_1) throw e_1.error; }
11895
- }
11896
- });
12654
+ constructor(client) {
12655
+ this.client = client;
11897
12656
  }
11898
12657
  /**
11899
12658
  * Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
@@ -11901,7 +12660,7 @@ class PrivateLinkResourcesImpl {
11901
12660
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
11902
12661
  * @param options The options parameters.
11903
12662
  */
11904
- _listByPrivateLinkScope(resourceGroupName, scopeName, options) {
12663
+ listByPrivateLinkScope(resourceGroupName, scopeName, options) {
11905
12664
  return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec$2);
11906
12665
  }
11907
12666
  /**
@@ -11914,16 +12673,6 @@ class PrivateLinkResourcesImpl {
11914
12673
  get(resourceGroupName, scopeName, groupName, options) {
11915
12674
  return this.client.sendOperationRequest({ resourceGroupName, scopeName, groupName, options }, getOperationSpec$6);
11916
12675
  }
11917
- /**
11918
- * ListByPrivateLinkScopeNext
11919
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
11920
- * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
11921
- * @param nextLink The nextLink from the previous successful call to the ListByPrivateLinkScope method.
11922
- * @param options The options parameters.
11923
- */
11924
- _listByPrivateLinkScopeNext(resourceGroupName, scopeName, nextLink, options) {
11925
- return this.client.sendOperationRequest({ resourceGroupName, scopeName, nextLink, options }, listByPrivateLinkScopeNextOperationSpec$2);
11926
- }
11927
12676
  }
11928
12677
  // Operation Specifications
11929
12678
  const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
@@ -11933,9 +12682,12 @@ const listByPrivateLinkScopeOperationSpec$2 = {
11933
12682
  responses: {
11934
12683
  200: {
11935
12684
  bodyMapper: PrivateLinkResourceListResult
12685
+ },
12686
+ default: {
12687
+ bodyMapper: DefaultErrorResponse
11936
12688
  }
11937
12689
  },
11938
- queryParameters: [apiVersion10],
12690
+ queryParameters: [apiVersion11],
11939
12691
  urlParameters: [
11940
12692
  $host,
11941
12693
  resourceGroupName,
@@ -11951,9 +12703,12 @@ const getOperationSpec$6 = {
11951
12703
  responses: {
11952
12704
  200: {
11953
12705
  bodyMapper: PrivateLinkResource
12706
+ },
12707
+ default: {
12708
+ bodyMapper: DefaultErrorResponse
11954
12709
  }
11955
12710
  },
11956
- queryParameters: [apiVersion10],
12711
+ queryParameters: [apiVersion11],
11957
12712
  urlParameters: [
11958
12713
  $host,
11959
12714
  resourceGroupName,
@@ -11964,25 +12719,6 @@ const getOperationSpec$6 = {
11964
12719
  headerParameters: [accept],
11965
12720
  serializer: serializer$6
11966
12721
  };
11967
- const listByPrivateLinkScopeNextOperationSpec$2 = {
11968
- path: "{nextLink}",
11969
- httpMethod: "GET",
11970
- responses: {
11971
- 200: {
11972
- bodyMapper: PrivateLinkResourceListResult
11973
- }
11974
- },
11975
- queryParameters: [apiVersion10],
11976
- urlParameters: [
11977
- $host,
11978
- resourceGroupName,
11979
- subscriptionId,
11980
- nextLink,
11981
- scopeName
11982
- ],
11983
- headerParameters: [accept],
11984
- serializer: serializer$6
11985
- };
11986
12722
 
11987
12723
  /*
11988
12724
  * Copyright (c) Microsoft Corporation.
@@ -11991,7 +12727,6 @@ const listByPrivateLinkScopeNextOperationSpec$2 = {
11991
12727
  * Code generated by Microsoft (R) AutoRest Code Generator.
11992
12728
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
11993
12729
  */
11994
- /// <reference lib="esnext.asynciterable" />
11995
12730
  /** Class containing PrivateEndpointConnections operations. */
11996
12731
  class PrivateEndpointConnectionsImpl {
11997
12732
  /**
@@ -12001,56 +12736,6 @@ class PrivateEndpointConnectionsImpl {
12001
12736
  constructor(client) {
12002
12737
  this.client = client;
12003
12738
  }
12004
- /**
12005
- * Gets all private endpoint connections on a private link scope.
12006
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
12007
- * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
12008
- * @param options The options parameters.
12009
- */
12010
- listByPrivateLinkScope(resourceGroupName, scopeName, options) {
12011
- const iter = this.listByPrivateLinkScopePagingAll(resourceGroupName, scopeName, options);
12012
- return {
12013
- next() {
12014
- return iter.next();
12015
- },
12016
- [Symbol.asyncIterator]() {
12017
- return this;
12018
- },
12019
- byPage: () => {
12020
- return this.listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options);
12021
- }
12022
- };
12023
- }
12024
- listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options) {
12025
- return tslib.__asyncGenerator(this, arguments, function* listByPrivateLinkScopePagingPage_1() {
12026
- let result = yield tslib.__await(this._listByPrivateLinkScope(resourceGroupName, scopeName, options));
12027
- yield yield tslib.__await(result.value || []);
12028
- let continuationToken = result.nextLink;
12029
- while (continuationToken) {
12030
- result = yield tslib.__await(this._listByPrivateLinkScopeNext(resourceGroupName, scopeName, continuationToken, options));
12031
- continuationToken = result.nextLink;
12032
- yield yield tslib.__await(result.value || []);
12033
- }
12034
- });
12035
- }
12036
- listByPrivateLinkScopePagingAll(resourceGroupName, scopeName, options) {
12037
- return tslib.__asyncGenerator(this, arguments, function* listByPrivateLinkScopePagingAll_1() {
12038
- var e_1, _a;
12039
- try {
12040
- for (var _b = tslib.__asyncValues(this.listByPrivateLinkScopePagingPage(resourceGroupName, scopeName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
12041
- const page = _c.value;
12042
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
12043
- }
12044
- }
12045
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
12046
- finally {
12047
- try {
12048
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
12049
- }
12050
- finally { if (e_1) throw e_1.error; }
12051
- }
12052
- });
12053
- }
12054
12739
  /**
12055
12740
  * Gets a private endpoint connection.
12056
12741
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -12066,7 +12751,7 @@ class PrivateEndpointConnectionsImpl {
12066
12751
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
12067
12752
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
12068
12753
  * @param privateEndpointConnectionName The name of the private endpoint connection.
12069
- * @param parameters A private endpoint connection
12754
+ * @param parameters The Private Endpoint Connection resource.
12070
12755
  * @param options The options parameters.
12071
12756
  */
12072
12757
  beginCreateOrUpdate(resourceGroupName, scopeName, privateEndpointConnectionName, parameters, options) {
@@ -12113,7 +12798,7 @@ class PrivateEndpointConnectionsImpl {
12113
12798
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
12114
12799
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
12115
12800
  * @param privateEndpointConnectionName The name of the private endpoint connection.
12116
- * @param parameters A private endpoint connection
12801
+ * @param parameters The Private Endpoint Connection resource.
12117
12802
  * @param options The options parameters.
12118
12803
  */
12119
12804
  beginCreateOrUpdateAndWait(resourceGroupName, scopeName, privateEndpointConnectionName, parameters, options) {
@@ -12181,19 +12866,9 @@ class PrivateEndpointConnectionsImpl {
12181
12866
  * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
12182
12867
  * @param options The options parameters.
12183
12868
  */
12184
- _listByPrivateLinkScope(resourceGroupName, scopeName, options) {
12869
+ listByPrivateLinkScope(resourceGroupName, scopeName, options) {
12185
12870
  return this.client.sendOperationRequest({ resourceGroupName, scopeName, options }, listByPrivateLinkScopeOperationSpec$1);
12186
12871
  }
12187
- /**
12188
- * ListByPrivateLinkScopeNext
12189
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
12190
- * @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
12191
- * @param nextLink The nextLink from the previous successful call to the ListByPrivateLinkScope method.
12192
- * @param options The options parameters.
12193
- */
12194
- _listByPrivateLinkScopeNext(resourceGroupName, scopeName, nextLink, options) {
12195
- return this.client.sendOperationRequest({ resourceGroupName, scopeName, nextLink, options }, listByPrivateLinkScopeNextOperationSpec$1);
12196
- }
12197
12872
  }
12198
12873
  // Operation Specifications
12199
12874
  const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
@@ -12203,9 +12878,12 @@ const getOperationSpec$5 = {
12203
12878
  responses: {
12204
12879
  200: {
12205
12880
  bodyMapper: PrivateEndpointConnection
12881
+ },
12882
+ default: {
12883
+ bodyMapper: DefaultErrorResponse
12206
12884
  }
12207
12885
  },
12208
- queryParameters: [apiVersion10],
12886
+ queryParameters: [apiVersion11],
12209
12887
  urlParameters: [
12210
12888
  $host,
12211
12889
  resourceGroupName,
@@ -12231,10 +12909,13 @@ const createOrUpdateOperationSpec$2 = {
12231
12909
  },
12232
12910
  204: {
12233
12911
  bodyMapper: PrivateEndpointConnection
12912
+ },
12913
+ default: {
12914
+ bodyMapper: DefaultErrorResponse
12234
12915
  }
12235
12916
  },
12236
12917
  requestBody: parameters8,
12237
- queryParameters: [apiVersion10],
12918
+ queryParameters: [apiVersion11],
12238
12919
  urlParameters: [
12239
12920
  $host,
12240
12921
  resourceGroupName,
@@ -12249,49 +12930,42 @@ const createOrUpdateOperationSpec$2 = {
12249
12930
  const deleteOperationSpec$5 = {
12250
12931
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
12251
12932
  httpMethod: "DELETE",
12252
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
12253
- queryParameters: [apiVersion10],
12254
- urlParameters: [
12255
- $host,
12256
- resourceGroupName,
12257
- subscriptionId,
12258
- scopeName,
12259
- privateEndpointConnectionName
12260
- ],
12261
- serializer: serializer$5
12262
- };
12263
- const listByPrivateLinkScopeOperationSpec$1 = {
12264
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections",
12265
- httpMethod: "GET",
12266
12933
  responses: {
12267
- 200: {
12268
- bodyMapper: PrivateEndpointConnectionListResult
12934
+ 200: {},
12935
+ 201: {},
12936
+ 202: {},
12937
+ 204: {},
12938
+ default: {
12939
+ bodyMapper: DefaultErrorResponse
12269
12940
  }
12270
12941
  },
12271
- queryParameters: [apiVersion10],
12942
+ queryParameters: [apiVersion11],
12272
12943
  urlParameters: [
12273
12944
  $host,
12274
12945
  resourceGroupName,
12275
12946
  subscriptionId,
12276
- scopeName
12947
+ scopeName,
12948
+ privateEndpointConnectionName
12277
12949
  ],
12278
12950
  headerParameters: [accept],
12279
12951
  serializer: serializer$5
12280
12952
  };
12281
- const listByPrivateLinkScopeNextOperationSpec$1 = {
12282
- path: "{nextLink}",
12953
+ const listByPrivateLinkScopeOperationSpec$1 = {
12954
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections",
12283
12955
  httpMethod: "GET",
12284
12956
  responses: {
12285
12957
  200: {
12286
12958
  bodyMapper: PrivateEndpointConnectionListResult
12959
+ },
12960
+ default: {
12961
+ bodyMapper: DefaultErrorResponse
12287
12962
  }
12288
12963
  },
12289
- queryParameters: [apiVersion10],
12964
+ queryParameters: [apiVersion11],
12290
12965
  urlParameters: [
12291
12966
  $host,
12292
12967
  resourceGroupName,
12293
12968
  subscriptionId,
12294
- nextLink,
12295
12969
  scopeName
12296
12970
  ],
12297
12971
  headerParameters: [accept],
@@ -12511,9 +13185,12 @@ const getOperationSpec$4 = {
12511
13185
  responses: {
12512
13186
  200: {
12513
13187
  bodyMapper: ScopedResource
13188
+ },
13189
+ default: {
13190
+ bodyMapper: DefaultErrorResponse
12514
13191
  }
12515
13192
  },
12516
- queryParameters: [apiVersion10],
13193
+ queryParameters: [apiVersion11],
12517
13194
  urlParameters: [
12518
13195
  $host,
12519
13196
  resourceGroupName,
@@ -12539,10 +13216,13 @@ const createOrUpdateOperationSpec$1 = {
12539
13216
  },
12540
13217
  204: {
12541
13218
  bodyMapper: ScopedResource
13219
+ },
13220
+ default: {
13221
+ bodyMapper: DefaultErrorResponse
12542
13222
  }
12543
13223
  },
12544
13224
  requestBody: parameters9,
12545
- queryParameters: [apiVersion10],
13225
+ queryParameters: [apiVersion11],
12546
13226
  urlParameters: [
12547
13227
  $host,
12548
13228
  resourceGroupName,
@@ -12557,8 +13237,16 @@ const createOrUpdateOperationSpec$1 = {
12557
13237
  const deleteOperationSpec$4 = {
12558
13238
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}",
12559
13239
  httpMethod: "DELETE",
12560
- responses: { 200: {}, 201: {}, 202: {}, 204: {} },
12561
- queryParameters: [apiVersion10],
13240
+ responses: {
13241
+ 200: {},
13242
+ 201: {},
13243
+ 202: {},
13244
+ 204: {},
13245
+ default: {
13246
+ bodyMapper: DefaultErrorResponse
13247
+ }
13248
+ },
13249
+ queryParameters: [apiVersion11],
12562
13250
  urlParameters: [
12563
13251
  $host,
12564
13252
  resourceGroupName,
@@ -12566,6 +13254,7 @@ const deleteOperationSpec$4 = {
12566
13254
  name,
12567
13255
  scopeName
12568
13256
  ],
13257
+ headerParameters: [accept],
12569
13258
  serializer: serializer$4
12570
13259
  };
12571
13260
  const listByPrivateLinkScopeOperationSpec = {
@@ -12574,9 +13263,12 @@ const listByPrivateLinkScopeOperationSpec = {
12574
13263
  responses: {
12575
13264
  200: {
12576
13265
  bodyMapper: ScopedResourceListResult
13266
+ },
13267
+ default: {
13268
+ bodyMapper: DefaultErrorResponse
12577
13269
  }
12578
13270
  },
12579
- queryParameters: [apiVersion10],
13271
+ queryParameters: [apiVersion11],
12580
13272
  urlParameters: [
12581
13273
  $host,
12582
13274
  resourceGroupName,
@@ -12592,9 +13284,12 @@ const listByPrivateLinkScopeNextOperationSpec = {
12592
13284
  responses: {
12593
13285
  200: {
12594
13286
  bodyMapper: ScopedResourceListResult
13287
+ },
13288
+ default: {
13289
+ bodyMapper: DefaultErrorResponse
12595
13290
  }
12596
13291
  },
12597
- queryParameters: [apiVersion10],
13292
+ queryParameters: [apiVersion11],
12598
13293
  urlParameters: [
12599
13294
  $host,
12600
13295
  resourceGroupName,
@@ -12820,7 +13515,7 @@ const createOrUpdateOperationSpec = {
12820
13515
  }
12821
13516
  },
12822
13517
  requestBody: activityLogAlertRule,
12823
- queryParameters: [apiVersion11],
13518
+ queryParameters: [apiVersion12],
12824
13519
  urlParameters: [
12825
13520
  $host,
12826
13521
  resourceGroupName,
@@ -12842,7 +13537,7 @@ const getOperationSpec$3 = {
12842
13537
  bodyMapper: ErrorResponseAutoGenerated
12843
13538
  }
12844
13539
  },
12845
- queryParameters: [apiVersion11],
13540
+ queryParameters: [apiVersion12],
12846
13541
  urlParameters: [
12847
13542
  $host,
12848
13543
  resourceGroupName,
@@ -12862,7 +13557,7 @@ const deleteOperationSpec$3 = {
12862
13557
  bodyMapper: ErrorResponseAutoGenerated
12863
13558
  }
12864
13559
  },
12865
- queryParameters: [apiVersion11],
13560
+ queryParameters: [apiVersion12],
12866
13561
  urlParameters: [
12867
13562
  $host,
12868
13563
  resourceGroupName,
@@ -12884,7 +13579,7 @@ const updateOperationSpec$2 = {
12884
13579
  }
12885
13580
  },
12886
13581
  requestBody: activityLogAlertRulePatch,
12887
- queryParameters: [apiVersion11],
13582
+ queryParameters: [apiVersion12],
12888
13583
  urlParameters: [
12889
13584
  $host,
12890
13585
  resourceGroupName,
@@ -12906,7 +13601,7 @@ const listBySubscriptionIdOperationSpec = {
12906
13601
  bodyMapper: ErrorResponseAutoGenerated
12907
13602
  }
12908
13603
  },
12909
- queryParameters: [apiVersion11],
13604
+ queryParameters: [apiVersion12],
12910
13605
  urlParameters: [$host, subscriptionId],
12911
13606
  headerParameters: [accept],
12912
13607
  serializer: serializer$3
@@ -12922,7 +13617,7 @@ const listByResourceGroupOperationSpec$2 = {
12922
13617
  bodyMapper: ErrorResponseAutoGenerated
12923
13618
  }
12924
13619
  },
12925
- queryParameters: [apiVersion11],
13620
+ queryParameters: [apiVersion12],
12926
13621
  urlParameters: [
12927
13622
  $host,
12928
13623
  resourceGroupName,
@@ -12942,7 +13637,7 @@ const listBySubscriptionIdNextOperationSpec = {
12942
13637
  bodyMapper: ErrorResponseAutoGenerated
12943
13638
  }
12944
13639
  },
12945
- queryParameters: [apiVersion11],
13640
+ queryParameters: [apiVersion12],
12946
13641
  urlParameters: [
12947
13642
  $host,
12948
13643
  subscriptionId,
@@ -12962,7 +13657,7 @@ const listByResourceGroupNextOperationSpec$2 = {
12962
13657
  bodyMapper: ErrorResponseAutoGenerated
12963
13658
  }
12964
13659
  },
12965
- queryParameters: [apiVersion11],
13660
+ queryParameters: [apiVersion12],
12966
13661
  urlParameters: [
12967
13662
  $host,
12968
13663
  resourceGroupName,
@@ -13173,7 +13868,7 @@ const listByResourceGroupOperationSpec$1 = {
13173
13868
  bodyMapper: ErrorResponseCommonV2
13174
13869
  }
13175
13870
  },
13176
- queryParameters: [apiVersion12],
13871
+ queryParameters: [apiVersion13],
13177
13872
  urlParameters: [
13178
13873
  $host,
13179
13874
  resourceGroupName,
@@ -13193,7 +13888,7 @@ const listBySubscriptionOperationSpec$1 = {
13193
13888
  bodyMapper: ErrorResponseCommonV2
13194
13889
  }
13195
13890
  },
13196
- queryParameters: [apiVersion12],
13891
+ queryParameters: [apiVersion13],
13197
13892
  urlParameters: [$host, subscriptionId],
13198
13893
  headerParameters: [accept],
13199
13894
  serializer: serializer$2
@@ -13209,7 +13904,7 @@ const getOperationSpec$2 = {
13209
13904
  bodyMapper: ErrorResponseCommonV2
13210
13905
  }
13211
13906
  },
13212
- queryParameters: [apiVersion12],
13907
+ queryParameters: [apiVersion13],
13213
13908
  urlParameters: [
13214
13909
  $host,
13215
13910
  resourceGroupName,
@@ -13234,7 +13929,7 @@ const createOperationSpec$2 = {
13234
13929
  }
13235
13930
  },
13236
13931
  requestBody: body,
13237
- queryParameters: [apiVersion12],
13932
+ queryParameters: [apiVersion13],
13238
13933
  urlParameters: [
13239
13934
  $host,
13240
13935
  resourceGroupName,
@@ -13257,7 +13952,7 @@ const updateOperationSpec$1 = {
13257
13952
  }
13258
13953
  },
13259
13954
  requestBody: body1,
13260
- queryParameters: [apiVersion12],
13955
+ queryParameters: [apiVersion13],
13261
13956
  urlParameters: [
13262
13957
  $host,
13263
13958
  resourceGroupName,
@@ -13278,7 +13973,7 @@ const deleteOperationSpec$2 = {
13278
13973
  bodyMapper: ErrorResponseCommonV2
13279
13974
  }
13280
13975
  },
13281
- queryParameters: [apiVersion12],
13976
+ queryParameters: [apiVersion13],
13282
13977
  urlParameters: [
13283
13978
  $host,
13284
13979
  resourceGroupName,
@@ -13299,7 +13994,7 @@ const listByResourceGroupNextOperationSpec$1 = {
13299
13994
  bodyMapper: ErrorResponseCommonV2
13300
13995
  }
13301
13996
  },
13302
- queryParameters: [apiVersion12],
13997
+ queryParameters: [apiVersion13],
13303
13998
  urlParameters: [
13304
13999
  $host,
13305
14000
  resourceGroupName,
@@ -13320,7 +14015,7 @@ const listBySubscriptionNextOperationSpec$1 = {
13320
14015
  bodyMapper: ErrorResponseCommonV2
13321
14016
  }
13322
14017
  },
13323
- queryParameters: [apiVersion12],
14018
+ queryParameters: [apiVersion13],
13324
14019
  urlParameters: [
13325
14020
  $host,
13326
14021
  subscriptionId,
@@ -13596,7 +14291,7 @@ const listByResourceOperationSpec = {
13596
14291
  bodyMapper: ErrorResponseCommonV2
13597
14292
  }
13598
14293
  },
13599
- queryParameters: [apiVersion12],
14294
+ queryParameters: [apiVersion13],
13600
14295
  urlParameters: [$host, resourceUri1],
13601
14296
  headerParameters: [accept],
13602
14297
  serializer: serializer$1
@@ -13612,7 +14307,7 @@ const listByRuleOperationSpec = {
13612
14307
  bodyMapper: ErrorResponseCommonV2
13613
14308
  }
13614
14309
  },
13615
- queryParameters: [apiVersion12],
14310
+ queryParameters: [apiVersion13],
13616
14311
  urlParameters: [
13617
14312
  $host,
13618
14313
  resourceGroupName,
@@ -13633,7 +14328,7 @@ const listByDataCollectionEndpointOperationSpec = {
13633
14328
  bodyMapper: ErrorResponseCommonV2
13634
14329
  }
13635
14330
  },
13636
- queryParameters: [apiVersion12],
14331
+ queryParameters: [apiVersion13],
13637
14332
  urlParameters: [
13638
14333
  $host,
13639
14334
  resourceGroupName,
@@ -13654,7 +14349,7 @@ const getOperationSpec$1 = {
13654
14349
  bodyMapper: ErrorResponseCommonV2
13655
14350
  }
13656
14351
  },
13657
- queryParameters: [apiVersion12],
14352
+ queryParameters: [apiVersion13],
13658
14353
  urlParameters: [
13659
14354
  $host,
13660
14355
  resourceUri1,
@@ -13678,7 +14373,7 @@ const createOperationSpec$1 = {
13678
14373
  }
13679
14374
  },
13680
14375
  requestBody: body2,
13681
- queryParameters: [apiVersion12],
14376
+ queryParameters: [apiVersion13],
13682
14377
  urlParameters: [
13683
14378
  $host,
13684
14379
  resourceUri1,
@@ -13698,7 +14393,7 @@ const deleteOperationSpec$1 = {
13698
14393
  bodyMapper: ErrorResponseCommonV2
13699
14394
  }
13700
14395
  },
13701
- queryParameters: [apiVersion12],
14396
+ queryParameters: [apiVersion13],
13702
14397
  urlParameters: [
13703
14398
  $host,
13704
14399
  resourceUri1,
@@ -13718,7 +14413,7 @@ const listByResourceNextOperationSpec = {
13718
14413
  bodyMapper: ErrorResponseCommonV2
13719
14414
  }
13720
14415
  },
13721
- queryParameters: [apiVersion12],
14416
+ queryParameters: [apiVersion13],
13722
14417
  urlParameters: [
13723
14418
  $host,
13724
14419
  nextLink,
@@ -13738,7 +14433,7 @@ const listByRuleNextOperationSpec = {
13738
14433
  bodyMapper: ErrorResponseCommonV2
13739
14434
  }
13740
14435
  },
13741
- queryParameters: [apiVersion12],
14436
+ queryParameters: [apiVersion13],
13742
14437
  urlParameters: [
13743
14438
  $host,
13744
14439
  resourceGroupName,
@@ -13760,7 +14455,7 @@ const listByDataCollectionEndpointNextOperationSpec = {
13760
14455
  bodyMapper: ErrorResponseCommonV2
13761
14456
  }
13762
14457
  },
13763
- queryParameters: [apiVersion12],
14458
+ queryParameters: [apiVersion13],
13764
14459
  urlParameters: [
13765
14460
  $host,
13766
14461
  resourceGroupName,
@@ -13968,7 +14663,7 @@ const listByResourceGroupOperationSpec = {
13968
14663
  bodyMapper: ErrorResponseCommonV2
13969
14664
  }
13970
14665
  },
13971
- queryParameters: [apiVersion12],
14666
+ queryParameters: [apiVersion13],
13972
14667
  urlParameters: [
13973
14668
  $host,
13974
14669
  resourceGroupName,
@@ -13988,7 +14683,7 @@ const listBySubscriptionOperationSpec = {
13988
14683
  bodyMapper: ErrorResponseCommonV2
13989
14684
  }
13990
14685
  },
13991
- queryParameters: [apiVersion12],
14686
+ queryParameters: [apiVersion13],
13992
14687
  urlParameters: [$host, subscriptionId],
13993
14688
  headerParameters: [accept],
13994
14689
  serializer
@@ -14004,7 +14699,7 @@ const getOperationSpec = {
14004
14699
  bodyMapper: ErrorResponseCommonV2
14005
14700
  }
14006
14701
  },
14007
- queryParameters: [apiVersion12],
14702
+ queryParameters: [apiVersion13],
14008
14703
  urlParameters: [
14009
14704
  $host,
14010
14705
  resourceGroupName,
@@ -14029,7 +14724,7 @@ const createOperationSpec = {
14029
14724
  }
14030
14725
  },
14031
14726
  requestBody: body3,
14032
- queryParameters: [apiVersion12],
14727
+ queryParameters: [apiVersion13],
14033
14728
  urlParameters: [
14034
14729
  $host,
14035
14730
  resourceGroupName,
@@ -14052,7 +14747,7 @@ const updateOperationSpec = {
14052
14747
  }
14053
14748
  },
14054
14749
  requestBody: body1,
14055
- queryParameters: [apiVersion12],
14750
+ queryParameters: [apiVersion13],
14056
14751
  urlParameters: [
14057
14752
  $host,
14058
14753
  resourceGroupName,
@@ -14073,7 +14768,7 @@ const deleteOperationSpec = {
14073
14768
  bodyMapper: ErrorResponseCommonV2
14074
14769
  }
14075
14770
  },
14076
- queryParameters: [apiVersion12],
14771
+ queryParameters: [apiVersion13],
14077
14772
  urlParameters: [
14078
14773
  $host,
14079
14774
  resourceGroupName,
@@ -14094,7 +14789,7 @@ const listByResourceGroupNextOperationSpec = {
14094
14789
  bodyMapper: ErrorResponseCommonV2
14095
14790
  }
14096
14791
  },
14097
- queryParameters: [apiVersion12],
14792
+ queryParameters: [apiVersion13],
14098
14793
  urlParameters: [
14099
14794
  $host,
14100
14795
  resourceGroupName,
@@ -14115,7 +14810,7 @@ const listBySubscriptionNextOperationSpec = {
14115
14810
  bodyMapper: ErrorResponseCommonV2
14116
14811
  }
14117
14812
  },
14118
- queryParameters: [apiVersion12],
14813
+ queryParameters: [apiVersion13],
14119
14814
  urlParameters: [
14120
14815
  $host,
14121
14816
  subscriptionId,
@@ -14155,7 +14850,7 @@ class MonitorClient extends coreClient__namespace.ServiceClient {
14155
14850
  requestContentType: "application/json; charset=utf-8",
14156
14851
  credential: credentials
14157
14852
  };
14158
- const packageDetails = `azsdk-js-arm-monitor/8.0.0-beta.1`;
14853
+ const packageDetails = `azsdk-js-arm-monitor/8.0.0-beta.2`;
14159
14854
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
14160
14855
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
14161
14856
  : `${packageDetails}`;
@@ -14166,27 +14861,33 @@ class MonitorClient extends coreClient__namespace.ServiceClient {
14166
14861
  userAgentPrefix
14167
14862
  }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
14168
14863
  super(optionsWithDefaults);
14864
+ let bearerTokenAuthenticationPolicyFound = false;
14169
14865
  if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
14170
14866
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
14171
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
14867
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
14172
14868
  coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
14173
- if (!bearerTokenAuthenticationPolicyFound) {
14174
- this.pipeline.removePolicy({
14175
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
14176
- });
14177
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
14178
- scopes: `${optionsWithDefaults.baseUri}/.default`,
14179
- challengeCallbacks: {
14180
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
14181
- }
14182
- }));
14183
- }
14869
+ }
14870
+ if (!options ||
14871
+ !options.pipeline ||
14872
+ options.pipeline.getOrderedPolicies().length == 0 ||
14873
+ !bearerTokenAuthenticationPolicyFound) {
14874
+ this.pipeline.removePolicy({
14875
+ name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
14876
+ });
14877
+ this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
14878
+ credential: credentials,
14879
+ scopes: `${optionsWithDefaults.credentialScopes}`,
14880
+ challengeCallbacks: {
14881
+ authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
14882
+ }
14883
+ }));
14184
14884
  }
14185
14885
  // Parameter assignments
14186
14886
  this.subscriptionId = subscriptionId;
14187
14887
  // Assigning values to Constant parameters
14188
14888
  this.$host = options.$host || "https://management.azure.com";
14189
14889
  this.autoscaleSettings = new AutoscaleSettingsImpl(this);
14890
+ this.predictiveMetric = new PredictiveMetricImpl(this);
14190
14891
  this.operations = new OperationsImpl(this);
14191
14892
  this.alertRuleIncidents = new AlertRuleIncidentsImpl(this);
14192
14893
  this.alertRules = new AlertRulesImpl(this);