126 строки
9.4 KiB
YAML
126 строки
9.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.network.models.DdosSettings"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings"
|
|
name: "DdosSettings"
|
|
nameWithType: "DdosSettings"
|
|
summary: "Contains the DDoS protection settings of the public IP."
|
|
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 **DdosSettings**</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.network.models.DdosSettings?alt=com.azure.resourcemanager.network.models.DdosSettings&text=DdosSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.network.models.DdosSettings.DdosSettings()"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.DdosSettings()"
|
|
name: "DdosSettings()"
|
|
nameWithType: "DdosSettings.DdosSettings()"
|
|
summary: "Creates an instance of Ddos<wbr>Settings class."
|
|
syntax: "public DdosSettings()"
|
|
desc: "Creates an instance of DdosSettings class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.network.models.DdosSettings.ddosProtectionPlan()"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.ddosProtectionPlan()"
|
|
name: "ddosProtectionPlan()"
|
|
nameWithType: "DdosSettings.ddosProtectionPlan()"
|
|
summary: "Get the ddos<wbr>Protection<wbr>Plan property: The DDoS protection plan associated with the public IP."
|
|
syntax: "public SubResource ddosProtectionPlan()"
|
|
desc: "Get the ddosProtectionPlan property: The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled."
|
|
returns:
|
|
description: "the ddosProtectionPlan value."
|
|
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.DdosSettings.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "DdosSettings.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Ddos<wbr>Settings 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 DdosSettings fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the DdosSettings."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of DdosSettings from the JsonReader."
|
|
returns:
|
|
description: "An instance of DdosSettings 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.network.models.DdosSettings?alt=com.azure.resourcemanager.network.models.DdosSettings&text=DdosSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.DdosSettings.protectionMode()"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.protectionMode()"
|
|
name: "protectionMode()"
|
|
nameWithType: "DdosSettings.protectionMode()"
|
|
summary: "Get the protection<wbr>Mode property: The DDoS protection mode of the public IP."
|
|
syntax: "public DdosSettingsProtectionMode protectionMode()"
|
|
desc: "Get the protectionMode property: The DDoS protection mode of the public IP."
|
|
returns:
|
|
description: "the protectionMode value."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.DdosSettingsProtectionMode?alt=com.azure.resourcemanager.network.models.DdosSettingsProtectionMode&text=DdosSettingsProtectionMode\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.DdosSettings.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "DdosSettings.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.network.models.DdosSettings.validate()"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.validate()"
|
|
name: "validate()"
|
|
nameWithType: "DdosSettings.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.network.models.DdosSettings.withDdosProtectionPlan(com.azure.core.management.SubResource)"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.withDdosProtectionPlan(SubResource ddosProtectionPlan)"
|
|
name: "withDdosProtectionPlan(SubResource ddosProtectionPlan)"
|
|
nameWithType: "DdosSettings.withDdosProtectionPlan(SubResource ddosProtectionPlan)"
|
|
summary: "Set the ddos<wbr>Protection<wbr>Plan property: The DDoS protection plan associated with the public IP."
|
|
parameters:
|
|
- description: "the ddosProtectionPlan value to set."
|
|
name: "ddosProtectionPlan"
|
|
type: "<xref href=\"com.azure.core.management.SubResource?alt=com.azure.core.management.SubResource&text=SubResource\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DdosSettings withDdosProtectionPlan(SubResource ddosProtectionPlan)"
|
|
desc: "Set the ddosProtectionPlan property: The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled."
|
|
returns:
|
|
description: "the DdosSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.DdosSettings?alt=com.azure.resourcemanager.network.models.DdosSettings&text=DdosSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.DdosSettings.withProtectionMode(com.azure.resourcemanager.network.models.DdosSettingsProtectionMode)"
|
|
fullName: "com.azure.resourcemanager.network.models.DdosSettings.withProtectionMode(DdosSettingsProtectionMode protectionMode)"
|
|
name: "withProtectionMode(DdosSettingsProtectionMode protectionMode)"
|
|
nameWithType: "DdosSettings.withProtectionMode(DdosSettingsProtectionMode protectionMode)"
|
|
summary: "Set the protection<wbr>Mode property: The DDoS protection mode of the public IP."
|
|
parameters:
|
|
- description: "the protectionMode value to set."
|
|
name: "protectionMode"
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.DdosSettingsProtectionMode?alt=com.azure.resourcemanager.network.models.DdosSettingsProtectionMode&text=DdosSettingsProtectionMode\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public DdosSettings withProtectionMode(DdosSettingsProtectionMode protectionMode)"
|
|
desc: "Set the protectionMode property: The DDoS protection mode of the public IP."
|
|
returns:
|
|
description: "the DdosSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.network.models.DdosSettings?alt=com.azure.resourcemanager.network.models.DdosSettings&text=DdosSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Contains the DDoS protection settings of the public IP."
|
|
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.network.models.DdosSettings?alt=com.azure.resourcemanager.network.models.DdosSettings&text=DdosSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.network.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0
|