150 строки
11 KiB
YAML
150 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification"
|
|
name: "AutoscaleNotification"
|
|
nameWithType: "AutoscaleNotification"
|
|
summary: "Autoscale notification."
|
|
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 **AutoscaleNotification**</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.models.AutoscaleNotification?alt=com.azure.resourcemanager.monitor.models.AutoscaleNotification&text=AutoscaleNotification\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.AutoscaleNotification()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.AutoscaleNotification()"
|
|
name: "AutoscaleNotification()"
|
|
nameWithType: "AutoscaleNotification.AutoscaleNotification()"
|
|
summary: "Creates an instance of Autoscale<wbr>Notification class."
|
|
syntax: "public AutoscaleNotification()"
|
|
desc: "Creates an instance of AutoscaleNotification class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.email()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.email()"
|
|
name: "email()"
|
|
nameWithType: "AutoscaleNotification.email()"
|
|
summary: "Get the email property: the email notification."
|
|
syntax: "public EmailNotification email()"
|
|
desc: "Get the email property: the email notification."
|
|
returns:
|
|
description: "the email value."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.EmailNotification?alt=com.azure.resourcemanager.monitor.models.EmailNotification&text=EmailNotification\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "AutoscaleNotification.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Autoscale<wbr>Notification 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 AutoscaleNotification fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of AutoscaleNotification from the JsonReader."
|
|
returns:
|
|
description: "An instance of AutoscaleNotification if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AutoscaleNotification?alt=com.azure.resourcemanager.monitor.models.AutoscaleNotification&text=AutoscaleNotification\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.operation()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.operation()"
|
|
name: "operation()"
|
|
nameWithType: "AutoscaleNotification.operation()"
|
|
summary: "Get the operation property: the operation associated with the notification and its value must be \"scale\"."
|
|
syntax: "public String operation()"
|
|
desc: "Get the operation property: the operation associated with the notification and its value must be \"scale\"."
|
|
returns:
|
|
description: "the operation value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "AutoscaleNotification.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.AutoscaleNotification.validate()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.validate()"
|
|
name: "validate()"
|
|
nameWithType: "AutoscaleNotification.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.webhooks()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.webhooks()"
|
|
name: "webhooks()"
|
|
nameWithType: "AutoscaleNotification.webhooks()"
|
|
summary: "Get the webhooks property: the collection of webhook notifications."
|
|
syntax: "public List<WebhookNotification> webhooks()"
|
|
desc: "Get the webhooks property: the collection of webhook notifications."
|
|
returns:
|
|
description: "the webhooks 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.WebhookNotification?alt=com.azure.resourcemanager.monitor.models.WebhookNotification&text=WebhookNotification\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.withEmail(com.azure.resourcemanager.monitor.models.EmailNotification)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.withEmail(EmailNotification email)"
|
|
name: "withEmail(EmailNotification email)"
|
|
nameWithType: "AutoscaleNotification.withEmail(EmailNotification email)"
|
|
summary: "Set the email property: the email notification."
|
|
parameters:
|
|
- description: "the email value to set."
|
|
name: "email"
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.EmailNotification?alt=com.azure.resourcemanager.monitor.models.EmailNotification&text=EmailNotification\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public AutoscaleNotification withEmail(EmailNotification email)"
|
|
desc: "Set the email property: the email notification."
|
|
returns:
|
|
description: "the AutoscaleNotification object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AutoscaleNotification?alt=com.azure.resourcemanager.monitor.models.AutoscaleNotification&text=AutoscaleNotification\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.withOperation(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.withOperation(String operation)"
|
|
name: "withOperation(String operation)"
|
|
nameWithType: "AutoscaleNotification.withOperation(String operation)"
|
|
summary: "Set the operation property: the operation associated with the notification and its value must be \"scale\"."
|
|
parameters:
|
|
- description: "the operation value to set."
|
|
name: "operation"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public AutoscaleNotification withOperation(String operation)"
|
|
desc: "Set the operation property: the operation associated with the notification and its value must be \"scale\"."
|
|
returns:
|
|
description: "the AutoscaleNotification object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AutoscaleNotification?alt=com.azure.resourcemanager.monitor.models.AutoscaleNotification&text=AutoscaleNotification\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.withWebhooks(java.util.List<com.azure.resourcemanager.monitor.models.WebhookNotification>)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.AutoscaleNotification.withWebhooks(List<WebhookNotification> webhooks)"
|
|
name: "withWebhooks(List<WebhookNotification> webhooks)"
|
|
nameWithType: "AutoscaleNotification.withWebhooks(List<WebhookNotification> webhooks)"
|
|
summary: "Set the webhooks property: the collection of webhook notifications."
|
|
parameters:
|
|
- description: "the webhooks value to set."
|
|
name: "webhooks"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.monitor.models.WebhookNotification?alt=com.azure.resourcemanager.monitor.models.WebhookNotification&text=WebhookNotification\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public AutoscaleNotification withWebhooks(List<WebhookNotification> webhooks)"
|
|
desc: "Set the webhooks property: the collection of webhook notifications."
|
|
returns:
|
|
description: "the AutoscaleNotification object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AutoscaleNotification?alt=com.azure.resourcemanager.monitor.models.AutoscaleNotification&text=AutoscaleNotification\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Autoscale notification."
|
|
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.models.AutoscaleNotification?alt=com.azure.resourcemanager.monitor.models.AutoscaleNotification&text=AutoscaleNotification\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.monitor.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0
|