Skip to content

Commit bb20015

Browse files
VeryEarlyJoyerJin
andauthored
[AlertsManagement] SDK naming convention fix (#25619) (#25692)
* AlertsManagement SDK naming convention * remove alertsmanagement.sdk Co-authored-by: JoyerJin <[email protected]>
1 parent c2e8b68 commit bb20015

File tree

97 files changed

+375
-203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+375
-203
lines changed

src/AlertsManagement/AlertsManagement.Sdk/Generated/AlertProcessingRulesOperations.cs renamed to src/AlertsManagement/AlertsManagement.Management.Sdk/Generated/AlertProcessingRulesOperations.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,7 @@ internal AlertProcessingRulesOperations (AlertsManagementClient client)
14231423
_invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString();
14241424
System.Collections.Generic.Dictionary<string, object> tracingParameters = new System.Collections.Generic.Dictionary<string, object>();
14251425
tracingParameters.Add("nextPageLink", nextPageLink);
1426+
14261427

14271428
tracingParameters.Add("cancellationToken", cancellationToken);
14281429
Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListBySubscriptionNext", tracingParameters);
@@ -1612,6 +1613,7 @@ internal AlertProcessingRulesOperations (AlertsManagementClient client)
16121613
_invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString();
16131614
System.Collections.Generic.Dictionary<string, object> tracingParameters = new System.Collections.Generic.Dictionary<string, object>();
16141615
tracingParameters.Add("nextPageLink", nextPageLink);
1616+
16151617

16161618
tracingParameters.Add("cancellationToken", cancellationToken);
16171619
Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters);

src/AlertsManagement/AlertsManagement.Sdk/Generated/AlertsManagementClient.cs renamed to src/AlertsManagement/AlertsManagement.Management.Sdk/Generated/AlertsManagementClient.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ public partial class AlertsManagementClient : Microsoft.Rest.ServiceClient<Alert
4444

4545
/// <summary>
4646
/// The retry timeout in seconds for Long Running Operations. Default
47-
/// value is 30.
47+
/// /// value is 30.
4848
/// </summary>
4949
public int? LongRunningOperationRetryTimeout { get; set;}
5050

5151
/// <summary>
52-
/// Whether a unique x-ms-client-request-id should be generated. When
53-
/// set to true a unique x-ms-client-request-id value is generated and
54-
/// included in each request. Default is true.
52+
/// Whether a unique x-ms-client-request-id should be generated. When
53+
/// /// set to true a unique x-ms-client-request-id value is generated and
54+
/// /// included in each request. Default is true.
5555
/// </summary>
5656
public bool? GenerateClientRequestId { get; set;}
5757

src/AlertsManagement/AlertsManagement.Sdk/Generated/AlertsOperations.cs renamed to src/AlertsManagement/AlertsManagement.Management.Sdk/Generated/AlertsOperations.cs

Lines changed: 51 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,13 @@ internal AlertsOperations (AlertsManagementClient client)
224224

225225
}
226226
/// <summary>
227-
/// List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime.
227+
/// List all existing alerts, where the results can be filtered on the basis of
228+
/// multiple parameters (e.g. time range). The results can then be sorted on
229+
/// the basis specific fields, with the default being lastModifiedDateTime.
228230
/// </summary>
229231
/// <param name='targetResource'>
230-
/// Filter by target resource( which is full ARM ID) Default value is select all.
232+
/// Filter by target resource( which is full ARM ID) Default value is select
233+
/// all.
231234
/// </param>
232235
/// <param name='targetResourceType'>
233236
/// Filter by target resource type. Default value is select all.
@@ -236,10 +239,12 @@ internal AlertsOperations (AlertsManagementClient client)
236239
/// Filter by target resource group name. Default value is select all.
237240
/// </param>
238241
/// <param name='monitorService'>
239-
/// Filter by monitor service which generates the alert instance. Default value is select all.
242+
/// Filter by monitor service which generates the alert instance. Default value
243+
/// is select all.
240244
/// </param>
241245
/// <param name='monitorCondition'>
242-
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default value is to select all.
246+
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default
247+
/// value is to select all.
243248
/// </param>
244249
/// <param name='severity'>
245250
/// Filter by severity. Default value is select all.
@@ -254,28 +259,40 @@ internal AlertsOperations (AlertsManagementClient client)
254259
/// Filter the alerts list by the Smart Group Id. Default value is none.
255260
/// </param>
256261
/// <param name='includeContext'>
257-
/// Include context which has contextual data specific to the monitor service. Default value is false&#39;
262+
/// Include context which has contextual data specific to the monitor service.
263+
/// Default value is false&#39;
258264
/// </param>
259265
/// <param name='includeEgressConfig'>
260-
/// Include egress config which would be used for displaying the content in portal. Default value is &#39;false&#39;.
266+
/// Include egress config which would be used for displaying the content in
267+
/// portal. Default value is &#39;false&#39;.
261268
/// </param>
262269
/// <param name='pageCount'>
263-
/// Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the &#34;includeContent&#34; filter is selected, maximum value allowed is 25. Default value is 25.
270+
/// Determines number of alerts returned per page in response. Permissible
271+
/// value is between 1 to 250. When the &#34;includeContent&#34; filter is selected,
272+
/// maximum value allowed is 25. Default value is 25.
264273
/// </param>
265274
/// <param name='sortBy'>
266-
/// Sort the query results by input field, Default value is &#39;lastModifiedDateTime&#39;.
275+
/// Sort the query results by input field, Default value is
276+
/// &#39;lastModifiedDateTime&#39;.
267277
/// </param>
268278
/// <param name='sortOrder'>
269-
/// Sort the query results order in either ascending or descending. Default value is &#39;desc&#39; for time fields and &#39;asc&#39; for others.
279+
/// Sort the query results order in either ascending or descending. Default
280+
/// value is &#39;desc&#39; for time fields and &#39;asc&#39; for others.
270281
/// </param>
271282
/// <param name='select'>
272-
/// This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project only the required fields rather than getting entire content. Default is to fetch all the fields in the essentials section.
283+
/// This filter allows to selection of the fields(comma separated) which would
284+
/// be part of the essential section. This would allow to project only the
285+
/// required fields rather than getting entire content. Default is to fetch
286+
/// all the fields in the essentials section.
273287
/// </param>
274288
/// <param name='timeRange'>
275289
/// Filter by time range by below listed values. Default value is 1 day.
276290
/// </param>
277291
/// <param name='customTimeRange'>
278-
/// Filter by custom time range in the format &lt;start-time&gt;/&lt;end-time&gt; where time is in (ISO-8601 format)&#39;. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.
292+
/// Filter by custom time range in the format &lt;start-time&gt;/&lt;end-time&gt; where
293+
/// time is in (ISO-8601 format)&#39;. Permissible values is within 30 days from
294+
/// query time. Either timeRange or customTimeRange could be used but not both.
295+
/// Default is none.
279296
/// </param>
280297
/// <param name='customHeaders'>
281298
/// Headers that will be added to request.
@@ -994,7 +1011,8 @@ internal AlertsOperations (AlertsManagementClient client)
9941011

9951012
}
9961013
/// <summary>
997-
/// Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).
1014+
/// Get the history of an alert, which captures any monitor condition changes
1015+
/// (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).
9981016
/// </summary>
9991017
/// <param name='alertId'>
10001018
/// Unique ID of an alert instance.
@@ -1195,16 +1213,21 @@ internal AlertsOperations (AlertsManagementClient client)
11951213

11961214
}
11971215
/// <summary>
1198-
/// Get a summarized count of your alerts grouped by various parameters (e.g. grouping by &#39;Severity&#39; returns the count of alerts for each severity).
1216+
/// Get a summarized count of your alerts grouped by various parameters (e.g.
1217+
/// grouping by &#39;Severity&#39; returns the count of alerts for each severity).
11991218
/// </summary>
12001219
/// <param name='groupby'>
1201-
/// This parameter allows the result set to be grouped by input fields (Maximum 2 comma separated fields supported). For example, groupby=severity or groupby=severity,alertstate.
1220+
/// This parameter allows the result set to be grouped by input fields (Maximum
1221+
/// 2 comma separated fields supported). For example, groupby=severity or
1222+
/// groupby=severity,alertstate.
12021223
/// </param>
12031224
/// <param name='includeSmartGroupsCount'>
1204-
/// Include count of the SmartGroups as part of the summary. Default value is &#39;false&#39;.
1225+
/// Include count of the SmartGroups as part of the summary. Default value is
1226+
/// &#39;false&#39;.
12051227
/// </param>
12061228
/// <param name='targetResource'>
1207-
/// Filter by target resource( which is full ARM ID) Default value is select all.
1229+
/// Filter by target resource( which is full ARM ID) Default value is select
1230+
/// all.
12081231
/// </param>
12091232
/// <param name='targetResourceType'>
12101233
/// Filter by target resource type. Default value is select all.
@@ -1213,10 +1236,12 @@ internal AlertsOperations (AlertsManagementClient client)
12131236
/// Filter by target resource group name. Default value is select all.
12141237
/// </param>
12151238
/// <param name='monitorService'>
1216-
/// Filter by monitor service which generates the alert instance. Default value is select all.
1239+
/// Filter by monitor service which generates the alert instance. Default value
1240+
/// is select all.
12171241
/// </param>
12181242
/// <param name='monitorCondition'>
1219-
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default value is to select all.
1243+
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default
1244+
/// value is to select all.
12201245
/// </param>
12211246
/// <param name='severity'>
12221247
/// Filter by severity. Default value is select all.
@@ -1231,7 +1256,10 @@ internal AlertsOperations (AlertsManagementClient client)
12311256
/// Filter by time range by below listed values. Default value is 1 day.
12321257
/// </param>
12331258
/// <param name='customTimeRange'>
1234-
/// Filter by custom time range in the format &lt;start-time&gt;/&lt;end-time&gt; where time is in (ISO-8601 format)&#39;. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.
1259+
/// Filter by custom time range in the format &lt;start-time&gt;/&lt;end-time&gt; where
1260+
/// time is in (ISO-8601 format)&#39;. Permissible values is within 30 days from
1261+
/// query time. Either timeRange or customTimeRange could be used but not both.
1262+
/// Default is none.
12351263
/// </param>
12361264
/// <param name='customHeaders'>
12371265
/// Headers that will be added to request.
@@ -1498,7 +1526,9 @@ internal AlertsOperations (AlertsManagementClient client)
14981526

14991527
}
15001528
/// <summary>
1501-
/// List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime.
1529+
/// List all existing alerts, where the results can be filtered on the basis of
1530+
/// multiple parameters (e.g. time range). The results can then be sorted on
1531+
/// the basis specific fields, with the default being lastModifiedDateTime.
15021532
/// </summary>
15031533
/// <param name='nextPageLink'>
15041534
/// The NextLink from the previous successful call to List operation.
@@ -1539,6 +1569,7 @@ internal AlertsOperations (AlertsManagementClient client)
15391569
_invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString();
15401570
System.Collections.Generic.Dictionary<string, object> tracingParameters = new System.Collections.Generic.Dictionary<string, object>();
15411571
tracingParameters.Add("nextPageLink", nextPageLink);
1572+
15421573

15431574
tracingParameters.Add("cancellationToken", cancellationToken);
15441575
Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetAllNext", tracingParameters);

0 commit comments

Comments
 (0)