Interface SuppressionContract


public interface SuppressionContract
An immutable client-side representation of SuppressionContract.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • suppressionId

      String suppressionId()
      Gets the suppressionId property: The GUID of the suppression.
      Returns:
      the suppressionId value.
    • ttl

      String ttl()
      Gets the ttl property: The duration for which the suppression is valid.
      Returns:
      the ttl value.
    • expirationTimestamp

      OffsetDateTime expirationTimestamp()
      Gets the expirationTimestamp property: Gets or sets the expiration time stamp.
      Returns:
      the expirationTimestamp value.
    • innerModel

      Gets the inner com.azure.resourcemanager.advisor.fluent.models.SuppressionContractInner object.
      Returns:
      the inner object.
    • refresh

      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      SuppressionContract refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.