Skip to content
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 @@ -19,8 +19,8 @@ class LogToMetricAction(Action):

:param odatatype: Required. Constant filled by server.
:type odatatype: str
:param criteria: Required. Severity of the alert
:type criteria: ~azure.mgmt.monitor.models.Criteria
:param criteria: Required. Criteria of Metric
:type criteria: list[~azure.mgmt.monitor.models.Criteria]
"""

_validation = {
Expand All @@ -30,7 +30,7 @@ class LogToMetricAction(Action):

_attribute_map = {
'odatatype': {'key': 'odata\\.type', 'type': 'str'},
'criteria': {'key': 'criteria', 'type': 'Criteria'},
'criteria': {'key': 'criteria', 'type': '[Criteria]'},
}

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class LogToMetricAction(Action):

:param odatatype: Required. Constant filled by server.
:type odatatype: str
:param criteria: Required. Severity of the alert
:type criteria: ~azure.mgmt.monitor.models.Criteria
:param criteria: Required. Criteria of Metric
:type criteria: list[~azure.mgmt.monitor.models.Criteria]
"""

_validation = {
Expand All @@ -30,7 +30,7 @@ class LogToMetricAction(Action):

_attribute_map = {
'odatatype': {'key': 'odata\\.type', 'type': 'str'},
'criteria': {'key': 'criteria', 'type': 'Criteria'},
'criteria': {'key': 'criteria', 'type': '[Criteria]'},
}

def __init__(self, *, criteria, **kwargs) -> None:
Expand Down