Class AdaptiveNetworkHardeningProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.AdaptiveNetworkHardeningProperties

public final class AdaptiveNetworkHardeningProperties extends Object
Adaptive Network Hardening resource properties.
  • Constructor Details

    • AdaptiveNetworkHardeningProperties

      public AdaptiveNetworkHardeningProperties()
  • Method Details

    • rules

      public List<Rule> rules()
      Get the rules property: The security rules which are recommended to be effective on the VM.
      Returns:
      the rules value.
    • withRules

      public AdaptiveNetworkHardeningProperties withRules(List<Rule> rules)
      Set the rules property: The security rules which are recommended to be effective on the VM.
      Parameters:
      rules - the rules value to set.
      Returns:
      the AdaptiveNetworkHardeningProperties object itself.
    • rulesCalculationTime

      public OffsetDateTime rulesCalculationTime()
      Get the rulesCalculationTime property: The UTC time on which the rules were calculated.
      Returns:
      the rulesCalculationTime value.
    • withRulesCalculationTime

      public AdaptiveNetworkHardeningProperties withRulesCalculationTime(OffsetDateTime rulesCalculationTime)
      Set the rulesCalculationTime property: The UTC time on which the rules were calculated.
      Parameters:
      rulesCalculationTime - the rulesCalculationTime value to set.
      Returns:
      the AdaptiveNetworkHardeningProperties object itself.
    • effectiveNetworkSecurityGroups

      public List<EffectiveNetworkSecurityGroups> effectiveNetworkSecurityGroups()
      Get the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.
      Returns:
      the effectiveNetworkSecurityGroups value.
    • withEffectiveNetworkSecurityGroups

      public AdaptiveNetworkHardeningProperties withEffectiveNetworkSecurityGroups(List<EffectiveNetworkSecurityGroups> effectiveNetworkSecurityGroups)
      Set the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.
      Parameters:
      effectiveNetworkSecurityGroups - the effectiveNetworkSecurityGroups value to set.
      Returns:
      the AdaptiveNetworkHardeningProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.