Class QuarantinePolicy
java.lang.Object
com.microsoft.azure.management.containerregistry.QuarantinePolicy
An object that represents quarantine policy for a container registry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatus()
Get the value that indicates whether the policy is enabled or not.withStatus
(PolicyStatus status) Set the value that indicates whether the policy is enabled or not.
-
Constructor Details
-
QuarantinePolicy
public QuarantinePolicy()
-
-
Method Details
-
status
Get the value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled'.- Returns:
- the status value
-
withStatus
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.
-