Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACR] Update policy schema with default values. #7006

Merged
merged 3 commits into from
Aug 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
ankurkhemani marked this conversation as resolved.
Show resolved Hide resolved
"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,
ankurkhemani marked this conversation as resolved.
Show resolved Hide resolved
"type": "integer"
},
"lastUpdatedTime": {
ankurkhemani marked this conversation as resolved.
Show resolved Hide resolved
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