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

33 строки
2.1 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.MetricAlert.DefinitionStages.WithSeverity"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.DefinitionStages.WithSeverity"
name: "MetricAlert.DefinitionStages.WithSeverity"
nameWithType: "MetricAlert.DefinitionStages.WithSeverity"
summary: "The stage of the definition which specifies severity for metric alert."
syntax: "public static interface **MetricAlert.DefinitionStages.WithSeverity**"
methods:
- uid: "com.microsoft.azure.management.monitor.MetricAlert.DefinitionStages.WithSeverity.withAlertDetails(int,java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.MetricAlert.DefinitionStages.WithSeverity.withAlertDetails(int severity, String description)"
name: "withAlertDetails(int severity, String description)"
nameWithType: "MetricAlert.DefinitionStages.WithSeverity.withAlertDetails(int severity, String description)"
summary: "Sets alert severity \\{0, 1, 2, 3, 4\\} and description."
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\" />"
- 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.DefinitionStages.WithActionGroup withAlertDetails(int severity, String description)"
desc: "Sets alert severity \\{0, 1, 2, 3, 4\\} and description."
returns:
description: "the next stage of metric alert definition."
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricAlert.DefinitionStages.WithActionGroup?alt=com.microsoft.azure.management.monitor.MetricAlert.DefinitionStages.WithActionGroup&text=WithActionGroup\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the definition which specifies severity for metric alert."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4