azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.m...

294 строки
21 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.Condition"
fullName: "com.azure.resourcemanager.monitor.models.Condition"
name: "Condition"
nameWithType: "Condition"
summary: "A condition of the scheduled query rule."
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 **Condition**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.Condition.Condition()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.Condition()"
name: "Condition()"
nameWithType: "Condition.Condition()"
summary: "Creates an instance of Condition class."
syntax: "public Condition()"
desc: "Creates an instance of Condition class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.Condition.dimensions()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.dimensions()"
name: "dimensions()"
nameWithType: "Condition.dimensions()"
summary: "Get the dimensions property: List of Dimensions conditions."
syntax: "public List<Dimension> dimensions()"
desc: "Get the dimensions property: List of Dimensions conditions."
returns:
description: "the dimensions value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.Dimension?alt=com.azure.resourcemanager.monitor.models.Dimension&text=Dimension\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.Condition.failingPeriods()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.failingPeriods()"
name: "failingPeriods()"
nameWithType: "Condition.failingPeriods()"
summary: "Get the failing<wbr>Periods property: The minimum number of violations required within the selected lookback time window required to raise an alert."
syntax: "public ConditionFailingPeriods failingPeriods()"
desc: "Get the failingPeriods property: The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert."
returns:
description: "the failingPeriods value."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.ConditionFailingPeriods?alt=com.azure.resourcemanager.monitor.models.ConditionFailingPeriods&text=ConditionFailingPeriods\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Condition.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Condition 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 Condition fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Condition."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Condition from the JsonReader."
returns:
description: "An instance of Condition if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.metricMeasureColumn()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.metricMeasureColumn()"
name: "metricMeasureColumn()"
nameWithType: "Condition.metricMeasureColumn()"
summary: "Get the metric<wbr>Measure<wbr>Column property: The column containing the metric measure number."
syntax: "public String metricMeasureColumn()"
desc: "Get the metricMeasureColumn property: The column containing the metric measure number. Relevant only for rules of the kind LogAlert."
returns:
description: "the metricMeasureColumn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Condition.metricName()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.metricName()"
name: "metricName()"
nameWithType: "Condition.metricName()"
summary: "Get the metric<wbr>Name property: The name of the metric to be sent."
syntax: "public String metricName()"
desc: "Get the metricName property: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric."
returns:
description: "the metricName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Condition.operator()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.operator()"
name: "operator()"
nameWithType: "Condition.operator()"
summary: "Get the operator property: The criteria operator."
syntax: "public ConditionOperator operator()"
desc: "Get the operator property: The criteria operator. Relevant and required only for rules of the kind LogAlert."
returns:
description: "the operator value."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.ConditionOperator?alt=com.azure.resourcemanager.monitor.models.ConditionOperator&text=ConditionOperator\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.query()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.query()"
name: "query()"
nameWithType: "Condition.query()"
summary: "Get the query property: Log query alert."
syntax: "public String query()"
desc: "Get the query property: Log query alert."
returns:
description: "the query value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Condition.resourceIdColumn()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.resourceIdColumn()"
name: "resourceIdColumn()"
nameWithType: "Condition.resourceIdColumn()"
summary: "Get the resource<wbr>IdColumn property: The column containing the resource id."
syntax: "public String resourceIdColumn()"
desc: "Get the resourceIdColumn property: The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert."
returns:
description: "the resourceIdColumn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Condition.threshold()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.threshold()"
name: "threshold()"
nameWithType: "Condition.threshold()"
summary: "Get the threshold property: the criteria threshold value that activates the alert."
syntax: "public Double threshold()"
desc: "Get the threshold property: the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert."
returns:
description: "the threshold value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.resourcemanager.monitor.models.Condition.timeAggregation()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.timeAggregation()"
name: "timeAggregation()"
nameWithType: "Condition.timeAggregation()"
summary: "Get the time<wbr>Aggregation property: Aggregation type."
syntax: "public TimeAggregation timeAggregation()"
desc: "Get the timeAggregation property: Aggregation type. Relevant and required only for rules of the kind LogAlert."
returns:
description: "the timeAggregation value."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.TimeAggregation?alt=com.azure.resourcemanager.monitor.models.TimeAggregation&text=TimeAggregation\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Condition.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.models.Condition.validate()"
fullName: "com.azure.resourcemanager.monitor.models.Condition.validate()"
name: "validate()"
nameWithType: "Condition.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.Condition.withDimensions(java.util.List<com.azure.resourcemanager.monitor.models.Dimension>)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withDimensions(List<Dimension> dimensions)"
name: "withDimensions(List<Dimension> dimensions)"
nameWithType: "Condition.withDimensions(List<Dimension> dimensions)"
summary: "Set the dimensions property: List of Dimensions conditions."
parameters:
- description: "the dimensions value to set."
name: "dimensions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.Dimension?alt=com.azure.resourcemanager.monitor.models.Dimension&text=Dimension\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public Condition withDimensions(List<Dimension> dimensions)"
desc: "Set the dimensions property: List of Dimensions conditions."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withFailingPeriods(com.azure.resourcemanager.monitor.models.ConditionFailingPeriods)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withFailingPeriods(ConditionFailingPeriods failingPeriods)"
name: "withFailingPeriods(ConditionFailingPeriods failingPeriods)"
nameWithType: "Condition.withFailingPeriods(ConditionFailingPeriods failingPeriods)"
summary: "Set the failing<wbr>Periods property: The minimum number of violations required within the selected lookback time window required to raise an alert."
parameters:
- description: "the failingPeriods value to set."
name: "failingPeriods"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.ConditionFailingPeriods?alt=com.azure.resourcemanager.monitor.models.ConditionFailingPeriods&text=ConditionFailingPeriods\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Condition withFailingPeriods(ConditionFailingPeriods failingPeriods)"
desc: "Set the failingPeriods property: The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withMetricMeasureColumn(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withMetricMeasureColumn(String metricMeasureColumn)"
name: "withMetricMeasureColumn(String metricMeasureColumn)"
nameWithType: "Condition.withMetricMeasureColumn(String metricMeasureColumn)"
summary: "Set the metric<wbr>Measure<wbr>Column property: The column containing the metric measure number."
parameters:
- description: "the metricMeasureColumn value to set."
name: "metricMeasureColumn"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Condition withMetricMeasureColumn(String metricMeasureColumn)"
desc: "Set the metricMeasureColumn property: The column containing the metric measure number. Relevant only for rules of the kind LogAlert."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withMetricName(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withMetricName(String metricName)"
name: "withMetricName(String metricName)"
nameWithType: "Condition.withMetricName(String metricName)"
summary: "Set the metric<wbr>Name property: The name of the metric to be sent."
parameters:
- description: "the metricName value to set."
name: "metricName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Condition withMetricName(String metricName)"
desc: "Set the metricName property: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withOperator(com.azure.resourcemanager.monitor.models.ConditionOperator)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withOperator(ConditionOperator operator)"
name: "withOperator(ConditionOperator operator)"
nameWithType: "Condition.withOperator(ConditionOperator operator)"
summary: "Set the operator property: The criteria operator."
parameters:
- description: "the operator value to set."
name: "operator"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.ConditionOperator?alt=com.azure.resourcemanager.monitor.models.ConditionOperator&text=ConditionOperator\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Condition withOperator(ConditionOperator operator)"
desc: "Set the operator property: The criteria operator. Relevant and required only for rules of the kind LogAlert."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withQuery(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withQuery(String query)"
name: "withQuery(String query)"
nameWithType: "Condition.withQuery(String query)"
summary: "Set the query property: Log query alert."
parameters:
- description: "the query value to set."
name: "query"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Condition withQuery(String query)"
desc: "Set the query property: Log query alert."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withResourceIdColumn(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withResourceIdColumn(String resourceIdColumn)"
name: "withResourceIdColumn(String resourceIdColumn)"
nameWithType: "Condition.withResourceIdColumn(String resourceIdColumn)"
summary: "Set the resource<wbr>IdColumn property: The column containing the resource id."
parameters:
- description: "the resourceIdColumn value to set."
name: "resourceIdColumn"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Condition withResourceIdColumn(String resourceIdColumn)"
desc: "Set the resourceIdColumn property: The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withThreshold(java.lang.Double)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withThreshold(Double threshold)"
name: "withThreshold(Double threshold)"
nameWithType: "Condition.withThreshold(Double threshold)"
summary: "Set the threshold property: the criteria threshold value that activates the alert."
parameters:
- description: "the threshold value to set."
name: "threshold"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
syntax: "public Condition withThreshold(Double threshold)"
desc: "Set the threshold property: the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Condition.withTimeAggregation(com.azure.resourcemanager.monitor.models.TimeAggregation)"
fullName: "com.azure.resourcemanager.monitor.models.Condition.withTimeAggregation(TimeAggregation timeAggregation)"
name: "withTimeAggregation(TimeAggregation timeAggregation)"
nameWithType: "Condition.withTimeAggregation(TimeAggregation timeAggregation)"
summary: "Set the time<wbr>Aggregation property: Aggregation type."
parameters:
- description: "the timeAggregation value to set."
name: "timeAggregation"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.TimeAggregation?alt=com.azure.resourcemanager.monitor.models.TimeAggregation&text=TimeAggregation\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Condition withTimeAggregation(TimeAggregation timeAggregation)"
desc: "Set the timeAggregation property: Aggregation type. Relevant and required only for rules of the kind LogAlert."
returns:
description: "the Condition object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A condition of the scheduled query rule."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.Condition?alt=com.azure.resourcemanager.monitor.models.Condition&text=Condition\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0