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

144 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction"
name: "RuleWebhookAction"
nameWithType: "RuleWebhookAction"
summary: "Specifies the action to post to service when the rule condition is evaluated."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction?alt=com.azure.resourcemanager.monitor.models.RuleAction&text=RuleAction\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.fromJson(com.azure.json.JsonReader)?alt=com.azure.resourcemanager.monitor.models.RuleAction.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.odataType()?alt=com.azure.resourcemanager.monitor.models.RuleAction.odataType&text=odataType\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.toJson(com.azure.json.JsonWriter)?alt=com.azure.resourcemanager.monitor.models.RuleAction.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.resourcemanager.monitor.models.RuleAction.validate()?alt=com.azure.resourcemanager.monitor.models.RuleAction.validate&text=validate\" data-throw-if-not-resolved=\"False\" />"
- 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 **RuleWebhookAction**</br> extends <xref href=\"com.azure.resourcemanager.monitor.models.RuleAction?alt=com.azure.resourcemanager.monitor.models.RuleAction&text=RuleAction\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.RuleWebhookAction()"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.RuleWebhookAction()"
name: "RuleWebhookAction()"
nameWithType: "RuleWebhookAction.RuleWebhookAction()"
summary: "Creates an instance of Rule<wbr>Webhook<wbr>Action class."
syntax: "public RuleWebhookAction()"
desc: "Creates an instance of RuleWebhookAction class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "RuleWebhookAction.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Rule<wbr>Webhook<wbr>Action 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 RuleWebhookAction fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the RuleWebhookAction."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of RuleWebhookAction from the JsonReader."
returns:
description: "An instance of RuleWebhookAction if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RuleWebhookAction?alt=com.azure.resourcemanager.monitor.models.RuleWebhookAction&text=RuleWebhookAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.odataType()"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.odataType()"
name: "odataType()"
nameWithType: "RuleWebhookAction.odataType()"
summary: "Get the odata<wbr>Type property: specifies the type of the action."
overridden: "com.azure.resourcemanager.monitor.models.RuleAction.odataType()"
syntax: "public String odataType()"
desc: "Get the odataType property: specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction."
returns:
description: "the odataType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.properties()"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.properties()"
name: "properties()"
nameWithType: "RuleWebhookAction.properties()"
summary: "Get the properties property: the dictionary of custom properties to include with the post operation."
syntax: "public Map<String,String> properties()"
desc: "Get the properties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
returns:
description: "the properties value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.serviceUri()"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.serviceUri()"
name: "serviceUri()"
nameWithType: "RuleWebhookAction.serviceUri()"
summary: "Get the service<wbr>Uri property: the service uri to Post the notification when the alert activates or resolves."
syntax: "public String serviceUri()"
desc: "Get the serviceUri property: the service uri to Post the notification when the alert activates or resolves."
returns:
description: "the serviceUri value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "RuleWebhookAction.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.resourcemanager.monitor.models.RuleAction.toJson(com.azure.json.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.RuleWebhookAction.validate()"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.validate()"
name: "validate()"
nameWithType: "RuleWebhookAction.validate()"
summary: "Validates the instance."
overridden: "com.azure.resourcemanager.monitor.models.RuleAction.validate()"
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.withProperties(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.withProperties(Map<String,String> properties)"
name: "withProperties(Map<String,String> properties)"
nameWithType: "RuleWebhookAction.withProperties(Map<String,String> properties)"
summary: "Set the properties property: the dictionary of custom properties to include with the post operation."
parameters:
- description: "the properties value to set."
name: "properties"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public RuleWebhookAction withProperties(Map<String,String> properties)"
desc: "Set the properties property: the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
returns:
description: "the RuleWebhookAction object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RuleWebhookAction?alt=com.azure.resourcemanager.monitor.models.RuleWebhookAction&text=RuleWebhookAction\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.withServiceUri(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.RuleWebhookAction.withServiceUri(String serviceUri)"
name: "withServiceUri(String serviceUri)"
nameWithType: "RuleWebhookAction.withServiceUri(String serviceUri)"
summary: "Set the service<wbr>Uri property: the service uri to Post the notification when the alert activates or resolves."
parameters:
- description: "the serviceUri value to set."
name: "serviceUri"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public RuleWebhookAction withServiceUri(String serviceUri)"
desc: "Set the serviceUri property: the service uri to Post the notification when the alert activates or resolves."
returns:
description: "the RuleWebhookAction object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RuleWebhookAction?alt=com.azure.resourcemanager.monitor.models.RuleWebhookAction&text=RuleWebhookAction\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case."
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0