362 строки
30 KiB
YAML
362 строки
30 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch"
|
|
name: "MetricAlertPropertiesPatch"
|
|
nameWithType: "MetricAlertPropertiesPatch"
|
|
summary: "An alert rule properties for patch."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **MetricAlertPropertiesPatch**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.MetricAlertPropertiesPatch()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.MetricAlertPropertiesPatch()"
|
|
name: "MetricAlertPropertiesPatch()"
|
|
nameWithType: "MetricAlertPropertiesPatch.MetricAlertPropertiesPatch()"
|
|
summary: "Creates an instance of Metric<wbr>Alert<wbr>Properties<wbr>Patch class."
|
|
syntax: "public MetricAlertPropertiesPatch()"
|
|
desc: "Creates an instance of MetricAlertPropertiesPatch class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.actions()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.actions()"
|
|
name: "actions()"
|
|
nameWithType: "MetricAlertPropertiesPatch.actions()"
|
|
summary: "Get the actions property: the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
|
|
syntax: "public List<MetricAlertAction> actions()"
|
|
desc: "Get the actions property: the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
|
|
returns:
|
|
description: "the actions value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertAction?alt=com.azure.resourcemanager.monitor.models.MetricAlertAction&text=MetricAlertAction\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.autoMitigate()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.autoMitigate()"
|
|
name: "autoMitigate()"
|
|
nameWithType: "MetricAlertPropertiesPatch.autoMitigate()"
|
|
summary: "Get the auto<wbr>Mitigate property: the flag that indicates whether the alert should be auto resolved or not."
|
|
syntax: "public Boolean autoMitigate()"
|
|
desc: "Get the autoMitigate property: the flag that indicates whether the alert should be auto resolved or not. The default is true."
|
|
returns:
|
|
description: "the autoMitigate value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.criteria()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.criteria()"
|
|
name: "criteria()"
|
|
nameWithType: "MetricAlertPropertiesPatch.criteria()"
|
|
summary: "Get the criteria property: defines the specific alert criteria information."
|
|
syntax: "public MetricAlertCriteria criteria()"
|
|
desc: "Get the criteria property: defines the specific alert criteria information."
|
|
returns:
|
|
description: "the criteria value."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertCriteria?alt=com.azure.resourcemanager.monitor.models.MetricAlertCriteria&text=MetricAlertCriteria\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.description()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.description()"
|
|
name: "description()"
|
|
nameWithType: "MetricAlertPropertiesPatch.description()"
|
|
summary: "Get the description property: the description of the metric alert that will be included in the alert email."
|
|
syntax: "public String description()"
|
|
desc: "Get the description property: the description of the metric alert that will be included in the alert email."
|
|
returns:
|
|
description: "the description value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.enabled()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.enabled()"
|
|
name: "enabled()"
|
|
nameWithType: "MetricAlertPropertiesPatch.enabled()"
|
|
summary: "Get the enabled property: the flag that indicates whether the metric alert is enabled."
|
|
syntax: "public Boolean enabled()"
|
|
desc: "Get the enabled property: the flag that indicates whether the metric alert is enabled."
|
|
returns:
|
|
description: "the enabled value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.evaluationFrequency()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.evaluationFrequency()"
|
|
name: "evaluationFrequency()"
|
|
nameWithType: "MetricAlertPropertiesPatch.evaluationFrequency()"
|
|
summary: "Get the evaluation<wbr>Frequency property: how often the metric alert is evaluated represented in ISO 8601 duration format."
|
|
syntax: "public Duration evaluationFrequency()"
|
|
desc: "Get the evaluationFrequency property: how often the metric alert is evaluated represented in ISO 8601 duration format."
|
|
returns:
|
|
description: "the evaluationFrequency value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "MetricAlertPropertiesPatch.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Metric<wbr>Alert<wbr>Properties<wbr>Patch from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static MetricAlertPropertiesPatch fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the MetricAlertPropertiesPatch."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of MetricAlertPropertiesPatch from the JsonReader."
|
|
returns:
|
|
description: "An instance of MetricAlertPropertiesPatch if the JsonReader was pointing to an instance of it, or null if\n it was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.isMigrated()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.isMigrated()"
|
|
name: "isMigrated()"
|
|
nameWithType: "MetricAlertPropertiesPatch.isMigrated()"
|
|
summary: "Get the is<wbr>Migrated property: the value indicating whether this alert rule is migrated."
|
|
syntax: "public Boolean isMigrated()"
|
|
desc: "Get the isMigrated property: the value indicating whether this alert rule is migrated."
|
|
returns:
|
|
description: "the isMigrated value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.lastUpdatedTime()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.lastUpdatedTime()"
|
|
name: "lastUpdatedTime()"
|
|
nameWithType: "MetricAlertPropertiesPatch.lastUpdatedTime()"
|
|
summary: "Get the last<wbr>Updated<wbr>Time property: Last time the rule was updated in ISO8601 format."
|
|
syntax: "public OffsetDateTime lastUpdatedTime()"
|
|
desc: "Get the lastUpdatedTime property: Last time the rule was updated in ISO8601 format."
|
|
returns:
|
|
description: "the lastUpdatedTime value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.scopes()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.scopes()"
|
|
name: "scopes()"
|
|
nameWithType: "MetricAlertPropertiesPatch.scopes()"
|
|
summary: "Get the scopes property: the list of resource id's that this metric alert is scoped to."
|
|
syntax: "public List<String> scopes()"
|
|
desc: "Get the scopes property: the list of resource id's that this metric alert is scoped to."
|
|
returns:
|
|
description: "the scopes value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.severity()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.severity()"
|
|
name: "severity()"
|
|
nameWithType: "MetricAlertPropertiesPatch.severity()"
|
|
summary: "Get the severity property: Alert severity \\{0, 1, 2, 3, 4\\}."
|
|
syntax: "public Integer severity()"
|
|
desc: "Get the severity property: Alert severity \\{0, 1, 2, 3, 4\\}."
|
|
returns:
|
|
description: "the severity value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.targetResourceRegion()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.targetResourceRegion()"
|
|
name: "targetResourceRegion()"
|
|
nameWithType: "MetricAlertPropertiesPatch.targetResourceRegion()"
|
|
summary: "Get the target<wbr>Resource<wbr>Region property: the region of the target resource(s) on which the alert is created/updated."
|
|
syntax: "public String targetResourceRegion()"
|
|
desc: "Get the targetResourceRegion property: the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
|
|
returns:
|
|
description: "the targetResourceRegion value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.targetResourceType()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.targetResourceType()"
|
|
name: "targetResourceType()"
|
|
nameWithType: "MetricAlertPropertiesPatch.targetResourceType()"
|
|
summary: "Get the target<wbr>Resource<wbr>Type property: the resource type of the target resource(s) on which the alert is created/updated."
|
|
syntax: "public String targetResourceType()"
|
|
desc: "Get the targetResourceType property: the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
|
|
returns:
|
|
description: "the targetResourceType value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "MetricAlertPropertiesPatch.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.validate()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.validate()"
|
|
name: "validate()"
|
|
nameWithType: "MetricAlertPropertiesPatch.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.windowSize()"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.windowSize()"
|
|
name: "windowSize()"
|
|
nameWithType: "MetricAlertPropertiesPatch.windowSize()"
|
|
summary: "Get the window<wbr>Size property: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
|
|
syntax: "public Duration windowSize()"
|
|
desc: "Get the windowSize property: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
|
|
returns:
|
|
description: "the windowSize value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withActions(java.util.List<com.azure.resourcemanager.monitor.models.MetricAlertAction>)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withActions(List<MetricAlertAction> actions)"
|
|
name: "withActions(List<MetricAlertAction> actions)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withActions(List<MetricAlertAction> actions)"
|
|
summary: "Set the actions property: the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
|
|
parameters:
|
|
- description: "the actions value to set."
|
|
name: "actions"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertAction?alt=com.azure.resourcemanager.monitor.models.MetricAlertAction&text=MetricAlertAction\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public MetricAlertPropertiesPatch withActions(List<MetricAlertAction> actions)"
|
|
desc: "Set the actions property: the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withAutoMitigate(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withAutoMitigate(Boolean autoMitigate)"
|
|
name: "withAutoMitigate(Boolean autoMitigate)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withAutoMitigate(Boolean autoMitigate)"
|
|
summary: "Set the auto<wbr>Mitigate property: the flag that indicates whether the alert should be auto resolved or not."
|
|
parameters:
|
|
- description: "the autoMitigate value to set."
|
|
name: "autoMitigate"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withAutoMitigate(Boolean autoMitigate)"
|
|
desc: "Set the autoMitigate property: the flag that indicates whether the alert should be auto resolved or not. The default is true."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withCriteria(com.azure.resourcemanager.monitor.models.MetricAlertCriteria)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withCriteria(MetricAlertCriteria criteria)"
|
|
name: "withCriteria(MetricAlertCriteria criteria)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withCriteria(MetricAlertCriteria criteria)"
|
|
summary: "Set the criteria property: defines the specific alert criteria information."
|
|
parameters:
|
|
- description: "the criteria value to set."
|
|
name: "criteria"
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricAlertCriteria?alt=com.azure.resourcemanager.monitor.models.MetricAlertCriteria&text=MetricAlertCriteria\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public MetricAlertPropertiesPatch withCriteria(MetricAlertCriteria criteria)"
|
|
desc: "Set the criteria property: defines the specific alert criteria information."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withDescription(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withDescription(String description)"
|
|
name: "withDescription(String description)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withDescription(String description)"
|
|
summary: "Set the description property: the description of the metric alert that will be included in the alert email."
|
|
parameters:
|
|
- description: "the description value to set."
|
|
name: "description"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withDescription(String description)"
|
|
desc: "Set the description property: the description of the metric alert that will be included in the alert email."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withEnabled(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withEnabled(Boolean enabled)"
|
|
name: "withEnabled(Boolean enabled)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withEnabled(Boolean enabled)"
|
|
summary: "Set the enabled property: the flag that indicates whether the metric alert is enabled."
|
|
parameters:
|
|
- description: "the enabled value to set."
|
|
name: "enabled"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withEnabled(Boolean enabled)"
|
|
desc: "Set the enabled property: the flag that indicates whether the metric alert is enabled."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withEvaluationFrequency(java.time.Duration)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withEvaluationFrequency(Duration evaluationFrequency)"
|
|
name: "withEvaluationFrequency(Duration evaluationFrequency)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withEvaluationFrequency(Duration evaluationFrequency)"
|
|
summary: "Set the evaluation<wbr>Frequency property: how often the metric alert is evaluated represented in ISO 8601 duration format."
|
|
parameters:
|
|
- description: "the evaluationFrequency value to set."
|
|
name: "evaluationFrequency"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withEvaluationFrequency(Duration evaluationFrequency)"
|
|
desc: "Set the evaluationFrequency property: how often the metric alert is evaluated represented in ISO 8601 duration format."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withScopes(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withScopes(List<String> scopes)"
|
|
name: "withScopes(List<String> scopes)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withScopes(List<String> scopes)"
|
|
summary: "Set the scopes property: the list of resource id's that this metric alert is scoped to."
|
|
parameters:
|
|
- description: "the scopes value to set."
|
|
name: "scopes"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public MetricAlertPropertiesPatch withScopes(List<String> scopes)"
|
|
desc: "Set the scopes property: the list of resource id's that this metric alert is scoped to."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withSeverity(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withSeverity(Integer severity)"
|
|
name: "withSeverity(Integer severity)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withSeverity(Integer severity)"
|
|
summary: "Set the severity property: Alert severity \\{0, 1, 2, 3, 4\\}."
|
|
parameters:
|
|
- description: "the severity value to set."
|
|
name: "severity"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withSeverity(Integer severity)"
|
|
desc: "Set the severity property: Alert severity \\{0, 1, 2, 3, 4\\}."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withTargetResourceRegion(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withTargetResourceRegion(String targetResourceRegion)"
|
|
name: "withTargetResourceRegion(String targetResourceRegion)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withTargetResourceRegion(String targetResourceRegion)"
|
|
summary: "Set the target<wbr>Resource<wbr>Region property: the region of the target resource(s) on which the alert is created/updated."
|
|
parameters:
|
|
- description: "the targetResourceRegion value to set."
|
|
name: "targetResourceRegion"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withTargetResourceRegion(String targetResourceRegion)"
|
|
desc: "Set the targetResourceRegion property: the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withTargetResourceType(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withTargetResourceType(String targetResourceType)"
|
|
name: "withTargetResourceType(String targetResourceType)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withTargetResourceType(String targetResourceType)"
|
|
summary: "Set the target<wbr>Resource<wbr>Type property: the resource type of the target resource(s) on which the alert is created/updated."
|
|
parameters:
|
|
- description: "the targetResourceType value to set."
|
|
name: "targetResourceType"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withTargetResourceType(String targetResourceType)"
|
|
desc: "Set the targetResourceType property: the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withWindowSize(java.time.Duration)"
|
|
fullName: "com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch.withWindowSize(Duration windowSize)"
|
|
name: "withWindowSize(Duration windowSize)"
|
|
nameWithType: "MetricAlertPropertiesPatch.withWindowSize(Duration windowSize)"
|
|
summary: "Set the window<wbr>Size property: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
|
|
parameters:
|
|
- description: "the windowSize value to set."
|
|
name: "windowSize"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
syntax: "public MetricAlertPropertiesPatch withWindowSize(Duration windowSize)"
|
|
desc: "Set the windowSize property: the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
|
|
returns:
|
|
description: "the MetricAlertPropertiesPatch object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "An alert rule properties for patch."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch?alt=com.azure.resourcemanager.monitor.fluent.models.MetricAlertPropertiesPatch&text=MetricAlertPropertiesPatch\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.monitor.fluent.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0
|