Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] monitor/resource-manager #2993

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
eb6d2cd
[AutoPR monitor/resource-manager] Add two missing "by subscription" o…
AutorestCI Jun 25, 2018
eea611f
[AutoPR monitor/resource-manager] Swagger for diagnostic settings and…
AutorestCI Jul 9, 2018
abfefd6
Generated from 6110295138cbd6959df204de3830b4ada943a4fc (#2248)
AutorestCI Jul 20, 2018
9c94cb6
Generated from 1ca7f22a22e15cb8980176f25be20fd3e6f73162 (#2302)
AutorestCI Aug 6, 2018
07684b8
[AutoPR monitor/resource-manager] Adding MetricNamespacesAPI for vers…
AutorestCI Sep 6, 2018
e766aa7
[AutoPR monitor/resource-manager] Add missing enum for aggregation ty…
AutorestCI Sep 19, 2018
dd2ef30
Generated from a2ed141f095adf20aeb11d3bd796d5906fce4f6b (#2424)
AutorestCI Sep 27, 2018
7866629
[AutoPR monitor/resource-manager] Add Multi Resource Alert changes fo…
AutorestCI Oct 4, 2018
48e59cb
Generated from 5738fd21af734dc48d88f275b73a2c7fe3e504e4 (#2706)
AutorestCI Dec 3, 2018
d8674c4
Generated from 9771d96d4a2f4caa435cd59ae81736e910b8ee89 (#2826)
AutorestCI Jan 14, 2019
2a58658
Generated from e24fe07222b97077ca0f54ffc66b312be4aaeff7 (#2980)
AutorestCI Mar 1, 2019
5f9206b
Generated from 3ee75a557636de42d727d65142c74ff42b754a67 (#3103)
AutorestCI Mar 13, 2019
b2371e3
Generated from d33c2e897124c07ae2896600c2215ae3717e74ba (#3194)
AutorestCI Apr 2, 2019
c456642
[AutoPR monitor/resource-manager] Added metrics baseline API (#3251)
AutorestCI Apr 11, 2019
9b0303d
[AutoPR monitor/resource-manager] Add dynamic metric alert api (#3403)
AutorestCI Apr 30, 2019
0968e61
Generated from 1dca2b0f09bde16c8a8e1ed7a86c84a2837c0cdf (#3979)
AutorestCI Jun 18, 2019
36332ec
[AutoPR monitor/resource-manager] Adding flag to support non-dynamic …
AutorestCI Jun 26, 2019
0123e15
[AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue…
AutorestCI Jul 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Generated from 1ca7f22a22e15cb8980176f25be20fd3e6f73162 (#2302)
[Monitor] Fix issue #3585: revert previous commit since it is a breaking change
  • Loading branch information
AutorestCI authored Aug 6, 2018
commit 9c94cb66cb4318432be11cb37d47c972f8debcf4
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ public class Recurrence {
* effect. This value must be Week, meaning each week will have the same
* set of profiles. For example, to set a daily schedule, set **schedule**
* to every day of the week. The frequency property specifies that the
* schedule is repeated weekly.
* schedule is repeated weekly. Possible values include: 'None', 'Second',
* 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'.
*/
@JsonProperty(value = "frequency", required = true)
private String frequency;
private RecurrenceFrequency frequency;

/**
* the scheduling constraints for when the profile begins.
Expand All @@ -32,29 +33,21 @@ public class Recurrence {
private RecurrentSchedule schedule;

/**
* Creates an instance of Recurrence class.
* @param schedule the scheduling constraints for when the profile begins.
*/
public Recurrence() {
frequency = "Week";
}

/**
* Get the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly.
* Get the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'.
*
* @return the frequency value
*/
public String frequency() {
public RecurrenceFrequency frequency() {
return this.frequency;
}

/**
* Set the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly.
* Set the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set **schedule** to every day of the week. The frequency property specifies that the schedule is repeated weekly. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'.
*
* @param frequency the frequency value to set
* @return the Recurrence object itself.
*/
public Recurrence withFrequency(String frequency) {
public Recurrence withFrequency(RecurrenceFrequency frequency) {
this.frequency = frequency;
return this;
}
Expand Down