Class SecureScoreItemInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.SecureScoreItemInner

public final class SecureScoreItemInner extends com.azure.core.management.ProxyResource
Secure score item data model.
  • Constructor Details

    • SecureScoreItemInner

      public SecureScoreItemInner()
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: The initiative’s name.
      Returns:
      the displayName value.
    • weight

      public Long weight()
      Get the weight property: The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.
      Returns:
      the weight value.
    • max

      public Integer max()
      Get the max property: Maximum score available.
      Returns:
      the max value.
    • current

      public Double current()
      Get the current property: Current score.
      Returns:
      the current value.
    • percentage

      public Double percentage()
      Get the percentage property: Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point.
      Returns:
      the percentage value.
    • validate

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