azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

238 строки
17 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate"
name: "MetricAlert.UpdateStages.WithMetricUpdate"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate"
summary: "The stage of a metric alerts update allowing to modify settings."
syntax: "public static interface **MetricAlert.UpdateStages.WithMetricUpdate**"
methods:
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.defineAlertCriteria(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.defineAlertCriteria(String name)"
name: "defineAlertCriteria(String name)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.defineAlertCriteria(String name)"
summary: "Starts definition of the metric alert condition."
modifiers:
- "abstract"
parameters:
- description: "sets the name of the condition."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlertCondition.UpdateDefinitionStages.Blank.MetricName<MetricAlert.Update> defineAlertCriteria(String name)"
desc: "Starts definition of the metric alert condition."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlertCondition.UpdateDefinitionStages.Blank.MetricName?alt=com.microsoft.azure.management.monitor.MetricAlertCondition.UpdateDefinitionStages.Blank.MetricName&text=MetricName\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.defineDynamicAlertCriteria(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.defineDynamicAlertCriteria(String name)"
name: "defineDynamicAlertCriteria(String name)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.defineDynamicAlertCriteria(String name)"
summary: "Starts definition of the metric dynamic alert condition."
modifiers:
- "abstract"
parameters:
- description: "sets the name of the condition."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricDynamicAlertCondition.UpdateDefinitionStages.Blank.MetricName<MetricAlert.Update> defineDynamicAlertCriteria(String name)"
desc: "Starts definition of the metric dynamic alert condition."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricDynamicAlertCondition.UpdateDefinitionStages.Blank.MetricName?alt=com.microsoft.azure.management.monitor.MetricDynamicAlertCondition.UpdateDefinitionStages.Blank.MetricName&text=MetricName\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.updateAlertCriteria(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.updateAlertCriteria(String name)"
name: "updateAlertCriteria(String name)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.updateAlertCriteria(String name)"
summary: "Starts update of the previously defined metric alert condition."
modifiers:
- "abstract"
parameters:
- description: "name of the condition that should be updated."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlertCondition.UpdateStages updateAlertCriteria(String name)"
desc: "Starts update of the previously defined metric alert condition."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlertCondition.UpdateStages?alt=com.microsoft.azure.management.monitor.MetricAlertCondition.UpdateStages&text=UpdateStages\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.updateDynamicAlertCriteria(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.updateDynamicAlertCriteria(String name)"
name: "updateDynamicAlertCriteria(String name)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.updateDynamicAlertCriteria(String name)"
summary: "Starts update of the previously defined metric dynamic alert condition."
modifiers:
- "abstract"
parameters:
- description: "name of the condition that should be updated."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricDynamicAlertCondition.UpdateStages updateDynamicAlertCriteria(String name)"
desc: "Starts update of the previously defined metric dynamic alert condition."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricDynamicAlertCondition.UpdateStages?alt=com.microsoft.azure.management.monitor.MetricDynamicAlertCondition.UpdateStages&text=UpdateStages\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withActionGroups(java.lang.String...)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withActionGroups(String[] actionGroupId)"
name: "withActionGroups(String[] actionGroupId)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withActionGroups(String[] actionGroupId)"
summary: "Sets the actions that will activate when the condition is met."
modifiers:
- "abstract"
parameters:
- description: "resource Ids of the <xref uid=\"com.microsoft.azure.management.monitor.ActionGroup\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ActionGroup\"></xref>."
name: "actionGroupId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public abstract MetricAlert.Update withActionGroups(String[] actionGroupId)"
desc: "Sets the actions that will activate when the condition is met."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withAutoMitigation()"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withAutoMitigation()"
name: "withAutoMitigation()"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withAutoMitigation()"
summary: "Sets the flag that indicates the alert should be auto resolved."
modifiers:
- "abstract"
syntax: "public abstract MetricAlert.Update withAutoMitigation()"
desc: "Sets the flag that indicates the alert should be auto resolved."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withDescription(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withDescription(String description)"
name: "withDescription(String description)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withDescription(String description)"
summary: "Sets description for metric alert."
modifiers:
- "abstract"
parameters:
- description: "Human readable text description of the metric alert."
name: "description"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlert.Update withDescription(String description)"
desc: "Sets description for metric alert."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withFrequency(org.joda.time.Period)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withFrequency(Period frequency)"
name: "withFrequency(Period frequency)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withFrequency(Period frequency)"
summary: "Sets how often the metric alert is evaluated represented in ISO 8601 duration format."
modifiers:
- "abstract"
parameters:
- description: "the evaluationFrequency value to set."
name: "frequency"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlert.Update withFrequency(Period frequency)"
desc: "Sets how often the metric alert is evaluated represented in ISO 8601 duration format."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withPeriod(org.joda.time.Period)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withPeriod(Period size)"
name: "withPeriod(Period size)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withPeriod(Period size)"
summary: "Sets the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
modifiers:
- "abstract"
parameters:
- description: "the windowSize value to set"
name: "size"
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlert.Update withPeriod(Period size)"
desc: "Sets the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withRuleDisabled()"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withRuleDisabled()"
name: "withRuleDisabled()"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withRuleDisabled()"
summary: "Sets metric alert as disabled."
modifiers:
- "abstract"
syntax: "public abstract MetricAlert.Update withRuleDisabled()"
desc: "Sets metric alert as disabled."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withRuleEnabled()"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withRuleEnabled()"
name: "withRuleEnabled()"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withRuleEnabled()"
summary: "Sets metric alert as enabled."
modifiers:
- "abstract"
syntax: "public abstract MetricAlert.Update withRuleEnabled()"
desc: "Sets metric alert as enabled."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withSeverity(int)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withSeverity(int severity)"
name: "withSeverity(int severity)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withSeverity(int severity)"
summary: "Sets alert severity \\{0, 1, 2, 3, 4\\}."
modifiers:
- "abstract"
parameters:
- description: "the severity value to set"
name: "severity"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlert.Update withSeverity(int severity)"
desc: "Sets alert severity \\{0, 1, 2, 3, 4\\}."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withoutActionGroup(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withoutActionGroup(String actionGroupId)"
name: "withoutActionGroup(String actionGroupId)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withoutActionGroup(String actionGroupId)"
summary: "Removes the specified action group from the actions list."
modifiers:
- "abstract"
parameters:
- description: "resource Id of the <xref uid=\"com.microsoft.azure.management.monitor.ActionGroup\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ActionGroup\"></xref> to remove."
name: "actionGroupId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlert.Update withoutActionGroup(String actionGroupId)"
desc: "Removes the specified action group from the actions list."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withoutAlertCriteria(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withoutAlertCriteria(String name)"
name: "withoutAlertCriteria(String name)"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withoutAlertCriteria(String name)"
summary: "Removes a condition from the previously defined metric alert conditions."
modifiers:
- "abstract"
parameters:
- description: "name of the condition that should be removed."
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract MetricAlert.Update withoutAlertCriteria(String name)"
desc: "Removes a condition from the previously defined metric alert conditions."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withoutAutoMitigation()"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.UpdateStages.WithMetricUpdate.withoutAutoMitigation()"
name: "withoutAutoMitigation()"
nameWithType: "MetricAlert.UpdateStages.WithMetricUpdate.withoutAutoMitigation()"
summary: "Sets the flag that indicates the alert should not be auto resolved."
modifiers:
- "abstract"
syntax: "public abstract MetricAlert.Update withoutAutoMitigation()"
desc: "Sets the flag that indicates the alert should not be auto resolved."
returns:
description: "the next stage of the metric alert update."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.Update?alt=com.microsoft.azure.management.monitor.MetricAlert.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of a metric alerts update allowing to modify settings."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4