Skip to content

Commit

Permalink
[ACR] Update policy schema with default values. (#7006)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurkhemani authored and yungezz committed Aug 23, 2019
1 parent 5768668 commit 6eb8551
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@
}
},
"OperationServiceSpecificationDefinition": {
"description": "The definition of Azure Monitoring metrics list.",
"description": "The definition of Azure Monitoring list.",
"type": "object",
"properties": {
"metricSpecifications": {
Expand Down Expand Up @@ -1570,6 +1570,7 @@
"properties": {
"status": {
"description": "The value that indicates whether the policy is enabled or not.",
"default": "disabled",
"enum": [
"enabled",
"disabled"
Expand All @@ -1588,6 +1589,7 @@
"properties": {
"type": {
"description": "The type of trust policy.",
"default": "Notary",
"enum": [
"Notary"
],
Expand All @@ -1599,6 +1601,7 @@
},
"status": {
"description": "The value that indicates whether the policy is enabled or not.",
"default": "disabled",
"enum": [
"enabled",
"disabled"
Expand All @@ -1617,7 +1620,8 @@
"properties": {
"days": {
"format": "int32",
"description": "The number of days to retain manifest before it expires.",
"description": "The number of days to retain an untagged manifest after which it gets purged.",
"default": 7,
"type": "integer"
},
"lastUpdatedTime": {
Expand All @@ -1628,6 +1632,7 @@
},
"status": {
"description": "The value that indicates whether the policy is enabled or not.",
"default": "disabled",
"enum": [
"enabled",
"disabled"
Expand Down

0 comments on commit 6eb8551

Please sign in to comment.