Skip to content

Commit

Permalink
[CosmosDB][2021-11-15-preview]Add enableMaterializedViews property to…
Browse files Browse the repository at this point in the history
… DB Account API's (Azure#17864)

* Added enableMaterializedViews property for DB account CRUD API's

* revert package-lock.json

* revert package-lock

* update examples with enableMaterializedViews property

* updated example

* trigger

* trigger

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
  • Loading branch information
2 people authored and FredericHeem committed Mar 7, 2022
1 parent 78eb1ad commit 36fe458
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7069,6 +7069,10 @@
"description": "The object that represents all properties related to capacity enforcement on an account.",
"type": "object",
"$ref": "#/definitions/Capacity"
},
"enableMaterializedViews": {
"description": "Flag to indicate whether to enable MaterializedViews on the Cosmos DB account",
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -7210,6 +7214,10 @@
"description": "The object that represents all properties related to capacity enforcement on an account.",
"type": "object",
"$ref": "#/definitions/Capacity"
},
"enableMaterializedViews": {
"description": "Flag to indicate whether to enable MaterializedViews on the Cosmos DB account",
"type": "boolean"
}
},
"required": [
Expand Down Expand Up @@ -7375,6 +7383,10 @@
"description": "The object that represents all properties related to capacity enforcement on an account.",
"type": "object",
"$ref": "#/definitions/Capacity"
},
"enableMaterializedViews": {
"description": "Flag to indicate whether to enable MaterializedViews on the Cosmos DB account",
"type": "boolean"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
],
"capacity": {
"totalThroughputLimit": 2000
}
},
"enableMaterializedViews": false
}
}
},
Expand Down Expand Up @@ -211,7 +212,8 @@
],
"capacity": {
"totalThroughputLimit": 2000
}
},
"enableMaterializedViews": false
},
"systemData": {
"createdAt": "2021-03-12T22:05:09Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"backupRetentionIntervalInHours": 720,
"backupStorageRedundancy": "Geo"
}
}
},
"enableMaterializedViews": false
},
"systemData": {
"createdAt": "2021-03-12T22:05:09Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
"networkAclBypassResourceIds": [],
"diagnosticLogSettings": {
"enableFullTextQuery": "False"
}
},
"enableMaterializedViews": false
},
"identity": {
"type": "SystemAssigned,UserAssigned",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
}
},
"networkAclBypass": "None",
"networkAclBypassResourceIds": []
"networkAclBypassResourceIds": [],
"enableMaterializedViews": false
},
"systemData": {
"createdAt": "2021-03-12T22:05:09Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@
},
"diagnosticLogSettings": {
"enableFullTextQuery": "True"
}
},
"enableMaterializedViews": false
},
"systemData": {
"createdAt": "2021-03-12T22:05:09Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"apiProperties": {
"serverVersion": "3.2"
},
"enableAnalyticalStorage": true
"enableAnalyticalStorage": true,
"enableMaterializedViews": false
}
}
},
Expand Down

0 comments on commit 36fe458

Please sign in to comment.