Class DdosSettings
java.lang.Object
com.microsoft.azure.management.network.DdosSettings
Contains the DDoS protection settings of the public IP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.microsoft.azure.SubResourceGet the DDoS custom policy associated with the public IP.Get enables DDoS protection on the public IP.Get the DDoS protection policy customizability of the public IP.withDdosCustomPolicy(com.microsoft.azure.SubResource ddosCustomPolicy) Set the DDoS custom policy associated with the public IP.withProtectedIP(Boolean protectedIP) Set enables DDoS protection on the public IP.withProtectionCoverage(DdosSettingsProtectionCoverage protectionCoverage) Set the DDoS protection policy customizability of the public IP.
-
Constructor Details
-
DdosSettings
public DdosSettings()
-
-
Method Details
-
ddosCustomPolicy
public com.microsoft.azure.SubResource ddosCustomPolicy()Get the DDoS custom policy associated with the public IP.- Returns:
- the ddosCustomPolicy value
-
withDdosCustomPolicy
Set the DDoS custom policy associated with the public IP.- Parameters:
ddosCustomPolicy- the ddosCustomPolicy value to set- Returns:
- the DdosSettings object itself.
-
protectionCoverage
Get the DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: 'Basic', 'Standard'.- Returns:
- the protectionCoverage value
-
withProtectionCoverage
Set the DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: 'Basic', 'Standard'.- Parameters:
protectionCoverage- the protectionCoverage value to set- Returns:
- the DdosSettings object itself.
-
protectedIP
Get enables DDoS protection on the public IP.- Returns:
- the protectedIP value
-
withProtectedIP
Set enables DDoS protection on the public IP.- Parameters:
protectedIP- the protectedIP value to set- Returns:
- the DdosSettings object itself.
-