Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 0 additions & 5 deletions lib/services/monitorManagement/lib/models/autoscaleProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ class AutoscaleProfile {
* format.
* @member {object} [recurrence] the repeating times at which this profile
* begins. This element is not used if the FixedDate element is used.
* @member {string} [recurrence.frequency] 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. Possible values
* include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month',
* 'Year'
* @member {object} [recurrence.schedule] the scheduling constraints for when
* the profile begins.
* @member {string} [recurrence.schedule.timeZone] the timezone for the hours
Expand Down
9 changes: 0 additions & 9 deletions lib/services/monitorManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ export interface RecurrentSchedule {
* The repeating times at which this profile begins. This element is not used
* if the FixedDate element is used.
*
* @member {string} frequency 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. Possible values include: 'None', 'Second',
* 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'
* @member {object} schedule the scheduling constraints for when the profile
* begins.
* @member {string} [schedule.timeZone] the timezone for the hours of the
Expand Down Expand Up @@ -342,7 +338,6 @@ export interface RecurrentSchedule {
* profile takes effect at.
*/
export interface Recurrence {
frequency: string;
schedule: RecurrentSchedule;
}

Expand Down Expand Up @@ -411,10 +406,6 @@ export interface Recurrence {
* format.
* @member {object} [recurrence] the repeating times at which this profile
* begins. This element is not used if the FixedDate element is used.
* @member {string} [recurrence.frequency] 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. Possible values include:
* 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'
* @member {object} [recurrence.schedule] the scheduling constraints for when
* the profile begins.
* @member {string} [recurrence.schedule.timeZone] the timezone for the hours
Expand Down
9 changes: 3 additions & 6 deletions lib/services/monitorManagement/lib/models/recurrence.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ const models = require('./index');
class Recurrence {
/**
* Create a Recurrence.
* @member {string} frequency 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. Possible values include: 'None',
* 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'
* @member {object} schedule the scheduling constraints for when the profile
* begins.
* @member {string} [schedule.timeZone] the timezone for the hours of the
Expand Down Expand Up @@ -91,10 +87,11 @@ class Recurrence {
modelProperties: {
frequency: {
required: true,
isConstant: true,
serializedName: 'frequency',
defaultValue: 'Week',
type: {
name: 'Enum',
allowedValues: [ 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' ]
name: 'String'
}
},
schedule: {
Expand Down