DdosSettings Class
- java.
lang. Object - com.
microsoft. azure. management. network. DdosSettings
- com.
public class DdosSettings
Contains the DDoS protection settings of the public IP.
Constructor Summary
Constructor | Description | |
---|---|---|
DdosSettings() |
Method Summary
Modifier and Type | Method and Description |
---|---|
com.microsoft.azure.SubResource |
ddosCustomPolicy()
Get the DDoS custom policy associated with the public IP. |
java.lang.Boolean |
protectedIP()
Get enables DDoS protection on the public IP. |
Ddos |
protectionCoverage()
Get the DDoS protection policy customizability of the public IP. |
Ddos |
withDdosCustomPolicy(SubResource ddosCustomPolicy)
Set the DDoS custom policy associated with the public IP. |
Ddos |
withProtectedIP(Boolean protectedIP)
Set enables DDoS protection on the public IP. |
Ddos |
withProtectionCoverage(DdosSettingsProtectionCoverage protectionCoverage)
Set the DDoS protection policy customizability of the public IP. |
Methods inherited from java.lang.Object
Constructor Details
DdosSettings
public DdosSettings()
Method Details
ddosCustomPolicy
public SubResource ddosCustomPolicy()
Get the DDoS custom policy associated with the public IP.
Returns:
protectedIP
public Boolean protectedIP()
Get enables DDoS protection on the public IP.
Returns:
protectionCoverage
public DdosSettingsProtectionCoverage 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:
withDdosCustomPolicy
public DdosSettings withDdosCustomPolicy(SubResource ddosCustomPolicy)
Set the DDoS custom policy associated with the public IP.
Parameters:
Returns:
withProtectedIP
public DdosSettings withProtectedIP(Boolean protectedIP)
Set enables DDoS protection on the public IP.
Parameters:
Returns:
withProtectionCoverage
public DdosSettings withProtectionCoverage(DdosSettingsProtectionCoverage protectionCoverage)
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:
Returns:
Applies to
Azure SDK for Java