DdosSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.network.DdosSettings

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.

DdosSettingsProtectionCoverage protectionCoverage()

Get the DDoS protection policy customizability of the public IP.

DdosSettings withDdosCustomPolicy(SubResource ddosCustomPolicy)

Set the DDoS custom policy associated with the public IP.

DdosSettings withProtectedIP(Boolean protectedIP)

Set enables DDoS protection on the public IP.

DdosSettings withProtectionCoverage(DdosSettingsProtectionCoverage protectionCoverage)

Set the DDoS protection policy customizability of the public IP.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DdosSettings

public DdosSettings()

Method Details

ddosCustomPolicy

public SubResource ddosCustomPolicy()

Get the DDoS custom policy associated with the public IP.

Returns:

the ddosCustomPolicy value

protectedIP

public Boolean protectedIP()

Get enables DDoS protection on the public IP.

Returns:

the protectedIP value

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:

the protectionCoverage value

withDdosCustomPolicy

public DdosSettings withDdosCustomPolicy(SubResource ddosCustomPolicy)

Set the DDoS custom policy associated with the public IP.

Parameters:

ddosCustomPolicy - the ddosCustomPolicy value to set

Returns:

the DdosSettings object itself.

withProtectedIP

public DdosSettings withProtectedIP(Boolean protectedIP)

Set enables DDoS protection on the public IP.

Parameters:

protectedIP - the protectedIP value to set

Returns:

the DdosSettings object itself.

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:

protectionCoverage - the protectionCoverage value to set

Returns:

the DdosSettings object itself.

Applies to