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

Adding cassandra connector properties for cosmos db C* account - #6550

Merged
merged 1 commit into from
Jul 16, 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 @@ -4343,6 +4343,14 @@
"enableMultipleWriteLocations": {
"description": "Enables the account to write in multiple locations",
"type": "boolean"
},
"enableCassandraConnector": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This involves adding a mutable property to an existing API version, which is considered a form of breaking change as it breaks the "GET->PUT pipeline." However, in this case, I think it is fairly safe.

"description": "Enables the cassandra connector on the Cosmos DB C* account",
"type": "boolean"
},
"connectorOffer": {
"description": "The cassandra connector offer type for the Cosmos DB database C* account.",
"$ref": "#/definitions/ConnectorOffer"
}
}
},
Expand Down Expand Up @@ -4407,6 +4415,14 @@
"enableMultipleWriteLocations": {
"description": "Enables the account to write in multiple locations",
"type": "boolean"
},
"enableCassandraConnector": {
"description": "Enables the cassandra connector on the Cosmos DB C* account",
"type": "boolean"
},
"connectorOffer": {
"description": "The cassandra connector offer type for the Cosmos DB database C* account.",
"$ref": "#/definitions/ConnectorOffer"
}
},
"required": [
Expand Down Expand Up @@ -5868,6 +5884,17 @@
"modelAsString": true,
"name": "UnitType"
}
},
"ConnectorOffer": {
"description": "The cassandra connector offer type for the Cosmos DB C* database account.",
"type": "string",
"enum": [
"Small"
],
"x-ms-enum": {
"name": "ConnectorOffer",
"modelAsString": true
}
}
},
"parameters": {
Expand Down