Class ProtocolCustomSettingsFormat
java.lang.Object
com.microsoft.azure.management.network.ProtocolCustomSettingsFormat
DDoS custom policy properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotocol()
Get the protocol for which the DDoS protection policy is being customized.Get the customized DDoS protection source rate.Get the customized DDoS protection trigger rate.Get the customized DDoS protection trigger rate sensitivity degrees.withProtocol
(DdosCustomPolicyProtocol protocol) Set the protocol for which the DDoS protection policy is being customized.withSourceRateOverride
(String sourceRateOverride) Set the customized DDoS protection source rate.withTriggerRateOverride
(String triggerRateOverride) Set the customized DDoS protection trigger rate.withTriggerSensitivityOverride
(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride) Set the customized DDoS protection trigger rate sensitivity degrees.
-
Constructor Details
-
ProtocolCustomSettingsFormat
public ProtocolCustomSettingsFormat()
-
-
Method Details
-
protocol
Get the protocol for which the DDoS protection policy is being customized. Possible values include: 'Tcp', 'Udp', 'Syn'.- Returns:
- the protocol value
-
withProtocol
Set the protocol for which the DDoS protection policy is being customized. Possible values include: 'Tcp', 'Udp', 'Syn'.- Parameters:
protocol
- the protocol value to set- Returns:
- the ProtocolCustomSettingsFormat object itself.
-
triggerRateOverride
Get the customized DDoS protection trigger rate.- Returns:
- the triggerRateOverride value
-
withTriggerRateOverride
Set the customized DDoS protection trigger rate.- Parameters:
triggerRateOverride
- the triggerRateOverride value to set- Returns:
- the ProtocolCustomSettingsFormat object itself.
-
sourceRateOverride
Get the customized DDoS protection source rate.- Returns:
- the sourceRateOverride value
-
withSourceRateOverride
Set the customized DDoS protection source rate.- Parameters:
sourceRateOverride
- the sourceRateOverride value to set- Returns:
- the ProtocolCustomSettingsFormat object itself.
-
triggerSensitivityOverride
Get the customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: 'Relaxed', 'Low', 'Default', 'High'.- Returns:
- the triggerSensitivityOverride value
-
withTriggerSensitivityOverride
public ProtocolCustomSettingsFormat withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride) Set the customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: 'Relaxed', 'Low', 'Default', 'High'.- Parameters:
triggerSensitivityOverride
- the triggerSensitivityOverride value to set- Returns:
- the ProtocolCustomSettingsFormat object itself.
-