Skip to content

Commit

Permalink
[AlertsManagement] SDK naming convention fix (Azure#25619)
Browse files Browse the repository at this point in the history
* AlertsManagement SDK naming convention

* remove alertsmanagement.sdk
  • Loading branch information
JoyerJin authored Jul 26, 2024
1 parent f0e0144 commit b958d7e
Show file tree
Hide file tree
Showing 97 changed files with 374 additions and 200 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1423,6 +1423,7 @@ internal AlertProcessingRulesOperations (AlertsManagementClient client)
_invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString();
System.Collections.Generic.Dictionary<string, object> tracingParameters = new System.Collections.Generic.Dictionary<string, object>();
tracingParameters.Add("nextPageLink", nextPageLink);


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


tracingParameters.Add("cancellationToken", cancellationToken);
Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ public partial class AlertsManagementClient : Microsoft.Rest.ServiceClient<Alert

/// <summary>
/// The retry timeout in seconds for Long Running Operations. Default
/// value is 30.
/// /// value is 30.
/// </summary>
public int? LongRunningOperationRetryTimeout { get; set;}

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,13 @@ internal AlertsOperations (AlertsManagementClient client)

}
/// <summary>
/// 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.
/// 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.
/// </summary>
/// <param name='targetResource'>
/// Filter by target resource( which is full ARM ID) Default value is select all.
/// Filter by target resource( which is full ARM ID) Default value is select
/// all.
/// </param>
/// <param name='targetResourceType'>
/// Filter by target resource type. Default value is select all.
Expand All @@ -236,10 +239,12 @@ internal AlertsOperations (AlertsManagementClient client)
/// Filter by target resource group name. Default value is select all.
/// </param>
/// <param name='monitorService'>
/// Filter by monitor service which generates the alert instance. Default value is select all.
/// Filter by monitor service which generates the alert instance. Default value
/// is select all.
/// </param>
/// <param name='monitorCondition'>
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default value is to select all.
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default
/// value is to select all.
/// </param>
/// <param name='severity'>
/// Filter by severity. Default value is select all.
Expand All @@ -254,28 +259,40 @@ internal AlertsOperations (AlertsManagementClient client)
/// Filter the alerts list by the Smart Group Id. Default value is none.
/// </param>
/// <param name='includeContext'>
/// Include context which has contextual data specific to the monitor service. Default value is false&#39;
/// Include context which has contextual data specific to the monitor service.
/// Default value is false&#39;
/// </param>
/// <param name='includeEgressConfig'>
/// Include egress config which would be used for displaying the content in portal. Default value is &#39;false&#39;.
/// Include egress config which would be used for displaying the content in
/// portal. Default value is &#39;false&#39;.
/// </param>
/// <param name='pageCount'>
/// 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.
/// 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.
/// </param>
/// <param name='sortBy'>
/// Sort the query results by input field, Default value is &#39;lastModifiedDateTime&#39;.
/// Sort the query results by input field, Default value is
/// &#39;lastModifiedDateTime&#39;.
/// </param>
/// <param name='sortOrder'>
/// 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.
/// 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.
/// </param>
/// <param name='select'>
/// 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.
/// 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.
/// </param>
/// <param name='timeRange'>
/// Filter by time range by below listed values. Default value is 1 day.
/// </param>
/// <param name='customTimeRange'>
/// 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.
/// 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.
/// </param>
/// <param name='customHeaders'>
/// Headers that will be added to request.
Expand Down Expand Up @@ -994,7 +1011,8 @@ internal AlertsOperations (AlertsManagementClient client)

}
/// <summary>
/// Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).
/// Get the history of an alert, which captures any monitor condition changes
/// (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).
/// </summary>
/// <param name='alertId'>
/// Unique ID of an alert instance.
Expand Down Expand Up @@ -1195,16 +1213,21 @@ internal AlertsOperations (AlertsManagementClient client)

}
/// <summary>
/// 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).
/// 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).
/// </summary>
/// <param name='groupby'>
/// 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.
/// 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.
/// </param>
/// <param name='includeSmartGroupsCount'>
/// Include count of the SmartGroups as part of the summary. Default value is &#39;false&#39;.
/// Include count of the SmartGroups as part of the summary. Default value is
/// &#39;false&#39;.
/// </param>
/// <param name='targetResource'>
/// Filter by target resource( which is full ARM ID) Default value is select all.
/// Filter by target resource( which is full ARM ID) Default value is select
/// all.
/// </param>
/// <param name='targetResourceType'>
/// Filter by target resource type. Default value is select all.
Expand All @@ -1213,10 +1236,12 @@ internal AlertsOperations (AlertsManagementClient client)
/// Filter by target resource group name. Default value is select all.
/// </param>
/// <param name='monitorService'>
/// Filter by monitor service which generates the alert instance. Default value is select all.
/// Filter by monitor service which generates the alert instance. Default value
/// is select all.
/// </param>
/// <param name='monitorCondition'>
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default value is to select all.
/// Filter by monitor condition which is either &#39;Fired&#39; or &#39;Resolved&#39;. Default
/// value is to select all.
/// </param>
/// <param name='severity'>
/// Filter by severity. Default value is select all.
Expand All @@ -1231,7 +1256,10 @@ internal AlertsOperations (AlertsManagementClient client)
/// Filter by time range by below listed values. Default value is 1 day.
/// </param>
/// <param name='customTimeRange'>
/// 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.
/// 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.
/// </param>
/// <param name='customHeaders'>
/// Headers that will be added to request.
Expand Down Expand Up @@ -1498,7 +1526,9 @@ internal AlertsOperations (AlertsManagementClient client)

}
/// <summary>
/// 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.
/// 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.
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
Expand Down Expand Up @@ -1539,6 +1569,7 @@ internal AlertsOperations (AlertsManagementClient client)
_invocationId = Microsoft.Rest.ServiceClientTracing.NextInvocationId.ToString();
System.Collections.Generic.Dictionary<string, object> tracingParameters = new System.Collections.Generic.Dictionary<string, object>();
tracingParameters.Add("nextPageLink", nextPageLink);


tracingParameters.Add("cancellationToken", cancellationToken);
Microsoft.Rest.ServiceClientTracing.Enter(_invocationId, this, "GetAllNext", tracingParameters);
Expand Down
Loading

0 comments on commit b958d7e

Please sign in to comment.