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] Add missing enum for aggregation type #3363

Merged
merged 2 commits into from
Sep 19, 2018
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
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class MetricTrigger(Model):
:param time_aggregation: Required. 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'
:type time_aggregation: str or
~azure.mgmt.monitor.models.TimeAggregationType
:param operator: Required. the operator that is used to compare the metric
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class MetricTrigger(Model):
:param time_aggregation: Required. 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'
:type time_aggregation: str or
~azure.mgmt.monitor.models.TimeAggregationType
:param operator: Required. the operator that is used to compare the metric
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class TimeAggregationType(str, Enum):
maximum = "Maximum"
total = "Total"
count = "Count"
last = "Last"


class ComparisonOperationType(str, Enum):
Expand Down