Class DdosSettings

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

public class DdosSettings extends Object
Contains the DDoS protection settings 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

      public DdosSettings withDdosCustomPolicy(com.microsoft.azure.SubResource ddosCustomPolicy)
      Set the DDoS custom policy associated with the public IP.
      Parameters:
      ddosCustomPolicy - the ddosCustomPolicy value to set
      Returns:
      the DdosSettings object itself.
    • 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
    • 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.
    • protectedIP

      public Boolean protectedIP()
      Get enables DDoS protection on the public IP.
      Returns:
      the protectedIP value
    • 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.