-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MetricsAdvisor] Added options for configuration listing methods (#21448
- Loading branch information
Showing
7 changed files
with
190 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/GetAlertConfigurationsOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using Azure.AI.MetricsAdvisor.Administration; | ||
|
||
namespace Azure.AI.MetricsAdvisor | ||
{ | ||
/// <summary> | ||
/// The set of options that can be specified when calling <see cref="MetricsAdvisorAdministrationClient.GetAlertConfigurations"/> | ||
/// or <see cref="MetricsAdvisorAdministrationClient.GetAlertConfigurationsAsync"/> to configure the behavior of the request. | ||
/// </summary> | ||
public class GetAlertConfigurationsOptions | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="GetAlertConfigurationsOptions"/> class. | ||
/// </summary> | ||
public GetAlertConfigurationsOptions() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// If set, skips the first set of items returned. This property specifies the amount of items to | ||
/// be skipped. | ||
/// </summary> | ||
public int? Skip { get; set; } | ||
|
||
/// <summary> | ||
/// If set, specifies the maximum limit of items returned in each page of results. Note: | ||
/// unless the number of pages enumerated from the service is limited, the service will | ||
/// return an unlimited number of total items. | ||
/// </summary> | ||
public int? MaxPageSize { get; set; } | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/GetDetectionConfigurationsOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using Azure.AI.MetricsAdvisor.Administration; | ||
|
||
namespace Azure.AI.MetricsAdvisor | ||
{ | ||
/// <summary> | ||
/// The set of options that can be specified when calling <see cref="MetricsAdvisorAdministrationClient.GetDetectionConfigurations"/> | ||
/// or <see cref="MetricsAdvisorAdministrationClient.GetDetectionConfigurationsAsync"/> to configure the behavior of the request. | ||
/// </summary> | ||
public class GetDetectionConfigurationsOptions | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="GetDetectionConfigurationsOptions"/> class. | ||
/// </summary> | ||
public GetDetectionConfigurationsOptions() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// If set, skips the first set of items returned. This property specifies the amount of items to | ||
/// be skipped. | ||
/// </summary> | ||
public int? Skip { get; set; } | ||
|
||
/// <summary> | ||
/// If set, specifies the maximum limit of items returned in each page of results. Note: | ||
/// unless the number of pages enumerated from the service is limited, the service will | ||
/// return an unlimited number of total items. | ||
/// </summary> | ||
public int? MaxPageSize { get; set; } | ||
} | ||
} |
Oops, something went wrong.