diff --git a/lib/services/monitorManagement/lib/models/index.d.ts b/lib/services/monitorManagement/lib/models/index.d.ts index a004e3aa8f..b77dd1d7aa 100644 --- a/lib/services/monitorManagement/lib/models/index.d.ts +++ b/lib/services/monitorManagement/lib/models/index.d.ts @@ -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' @@ -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', diff --git a/lib/services/monitorManagement/lib/models/metricTrigger.js b/lib/services/monitorManagement/lib/models/metricTrigger.js index 09e76603e5..2da56fd24d 100644 --- a/lib/services/monitorManagement/lib/models/metricTrigger.js +++ b/lib/services/monitorManagement/lib/models/metricTrigger.js @@ -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' @@ -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: { diff --git a/lib/services/monitorManagement/lib/models/scaleRule.js b/lib/services/monitorManagement/lib/models/scaleRule.js index beda6ba5a8..5260a6d2db 100644 --- a/lib/services/monitorManagement/lib/models/scaleRule.js +++ b/lib/services/monitorManagement/lib/models/scaleRule.js @@ -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', diff --git a/lib/services/monitorManagement/package.json b/lib/services/monitorManagement/package.json index 7d9aa13beb..bcbf89ca5d 100644 --- a/lib/services/monitorManagement/package.json +++ b/lib/services/monitorManagement/package.json @@ -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"