Class QuarantinePolicy

java.lang.Object
com.microsoft.azure.management.containerregistry.QuarantinePolicy

public class QuarantinePolicy extends Object
An object that represents quarantine policy for a container registry.
  • Constructor Details

    • QuarantinePolicy

      public QuarantinePolicy()
  • Method Details

    • status

      public PolicyStatus status()
      Get the value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'.
      Returns:
      the status value
    • withStatus

      public QuarantinePolicy withStatus(PolicyStatus status)
      Set the value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'.
      Parameters:
      status - the status value to set
      Returns:
      the QuarantinePolicy object itself.