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

[AutoPR operationalinsights] Workspaces: Swagger correctness #1540

Closed
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion schemas/2015-03-20/Microsoft.OperationalInsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,4 @@
"description": "A tag of a saved search."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -411,4 +411,4 @@
"description": "Microsoft.OperationalInsights/workspaces/linkedServices"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,4 @@
"description": "Microsoft.OperationalInsights/queryPacks/queries"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1430,4 +1430,4 @@
"description": "Microsoft.OperationalInsights/workspaces/storageInsightConfigs"
}
}
}
}
38 changes: 32 additions & 6 deletions schemas/2020-08-01/Microsoft.OperationalInsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,33 @@
"WorkspaceProperties": {
"type": "object",
"properties": {
"features": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Workspace features."
},
"forceCmkForQuery": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Indicates whether customer managed storage is mandatory for query management."
},
"provisioningState": {
"oneOf": [
{
Expand Down Expand Up @@ -998,15 +1025,13 @@
"retentionInDays": {
"oneOf": [
{
"type": "integer",
"minimum": 30,
"maximum": 730
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The workspace data retention in days, between 30 and 730."
"description": "The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details."
},
"sku": {
"oneOf": [
Expand Down Expand Up @@ -1058,7 +1083,8 @@
"PerNode",
"PerGB2018",
"Standalone",
"CapacityReservation"
"CapacityReservation",
"LACluster"
]
},
{
Expand Down Expand Up @@ -1428,4 +1454,4 @@
"description": "Microsoft.OperationalInsights/workspaces/storageInsightConfigs"
}
}
}
}
24 changes: 19 additions & 5 deletions schemas/2020-10-01/Microsoft.OperationalInsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,22 @@
"WorkspaceProperties": {
"type": "object",
"properties": {
"features": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Workspace features."
},
"forceCmkForQuery": {
"oneOf": [
{
Expand Down Expand Up @@ -448,15 +464,13 @@
"retentionInDays": {
"oneOf": [
{
"type": "integer",
"minimum": 30,
"maximum": 730
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The workspace data retention in days, between 30 and 730."
"description": "The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details."
},
"sku": {
"oneOf": [
Expand Down Expand Up @@ -525,4 +539,4 @@
"description": "The SKU (tier) of a workspace."
}
}
}
}