Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3640 from Azure/restapi_auto_monitor/resource-man…
Browse files Browse the repository at this point in the history
…ager

[AutoPR] monitor/resource-manager
  • Loading branch information
Dan Schulte authored Sep 19, 2018
2 parents eb7af8b + a84b998 commit d939682
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions lib/services/monitorManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export interface ScaleCapacity {
* hours and 5 minutes.
* @member {string} timeAggregation time aggregation type. How the data that is
* collected should be combined over time. The default value is Average.
* Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'
* Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count',
* 'Last'
* @member {string} operator the operator that is used to compare the metric
* data and the threshold. Possible values include: 'Equals', 'NotEquals',
* 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'
Expand Down Expand Up @@ -147,7 +148,7 @@ export interface ScaleAction {
* @member {string} [metricTrigger.timeAggregation] time aggregation type. How
* the data that is collected should be combined over time. The default value
* is Average. Possible values include: 'Average', 'Minimum', 'Maximum',
* 'Total', 'Count'
* 'Total', 'Count', 'Last'
* @member {string} [metricTrigger.operator] the operator that is used to
* compare the metric data and the threshold. Possible values include:
* 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan',
Expand Down
5 changes: 3 additions & 2 deletions lib/services/monitorManagement/lib/models/metricTrigger.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class MetricTrigger {
* hours and 5 minutes.
* @member {string} timeAggregation time aggregation type. How the data that
* is collected should be combined over time. The default value is Average.
* Possible values include: 'Average', 'Minimum', 'Maximum', 'Total', 'Count'
* Possible values include: 'Average', 'Minimum', 'Maximum', 'Total',
* 'Count', 'Last'
* @member {string} operator the operator that is used to compare the metric
* data and the threshold. Possible values include: 'Equals', 'NotEquals',
* 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'
Expand Down Expand Up @@ -98,7 +99,7 @@ class MetricTrigger {
serializedName: 'timeAggregation',
type: {
name: 'Enum',
allowedValues: [ 'Average', 'Minimum', 'Maximum', 'Total', 'Count' ]
allowedValues: [ 'Average', 'Minimum', 'Maximum', 'Total', 'Count', 'Last' ]
}
},
operator: {
Expand Down
2 changes: 1 addition & 1 deletion lib/services/monitorManagement/lib/models/scaleRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ScaleRule {
* @member {string} [metricTrigger.timeAggregation] time aggregation type.
* How the data that is collected should be combined over time. The default
* value is Average. Possible values include: 'Average', 'Minimum',
* 'Maximum', 'Total', 'Count'
* 'Maximum', 'Total', 'Count', 'Last'
* @member {string} [metricTrigger.operator] the operator that is used to
* compare the metric data and the threshold. Possible values include:
* 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan',
Expand Down
2 changes: 1 addition & 1 deletion lib/services/monitorManagement/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "azure-arm-monitor",
"author": "Microsoft Corporation",
"description": "MonitorManagementClient Library with typescript type definitions for node",
"version": "4.1.0",
"version": "4.1.1",
"dependencies": {
"ms-rest": "^2.3.3",
"ms-rest-azure": "^2.5.5"
Expand Down

0 comments on commit d939682

Please sign in to comment.