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 ReadOnlyDatabase object to Synapse model. #17213

Merged
Merged
Show file tree
Hide file tree
Changes from 3 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 @@ -2954,6 +2954,74 @@
},
"description": "Class representing the Kusto database properties."
},
"ReadOnlyFollowingDatabase": {
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"description": "The database properties.",
"$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties"
}
},
"allOf": [
{
"$ref": "#/definitions/Database"
}
],
"description": "Class representing a read only following database.",
"x-ms-discriminator-value": "ReadOnlyFollowing"
},
"ReadOnlyFollowingDatabaseProperties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/ResourceProvisioningState",
"readOnly": true,
"description": "The provisioned state of the resource."
},
"softDeletePeriod": {
"type": "string",
"readOnly": true,
"format": "duration",
"description": "The time the data should be kept before it stops being accessible to queries in TimeSpan."
},
"hotCachePeriod": {
"type": "string",
"format": "duration",
"description": "The time the data should be kept in cache for fast queries in TimeSpan."
},
"statistics": {
"$ref": "#/definitions/DatabaseStatistics",
"readOnly": true,
"description": "The statistics of the database."
},
"leaderClusterResourceId": {
"type": "string",
"readOnly": true,
"description": "The name of the leader cluster"
},
"attachedDatabaseConfigurationName": {
"type": "string",
"readOnly": true,
"description": "The name of the attached database configuration cluster"
},
"principalsModificationKind": {
"type": "string",
"readOnly": true,
"enum": [
"Union",
"Replace",
"None"
],
"x-ms-enum": {
"name": "PrincipalsModificationKind",
"modelAsString": true
},
"description": "The principals modification kind of the database"
}
},
"description": "Class representing the Kusto database properties."
},
"DatabaseStatistics": {
"type": "object",
"readOnly": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6122,8 +6122,7 @@
"storageAccountSubscriptionId": {
"format": "uuid",
"description": "Specifies the blob storage subscription Id.",
"type": "string",
"default": ""
msyyc marked this conversation as resolved.
Show resolved Hide resolved
"type": "string"
},
"isStorageSecondaryKeyInUse": {
"description": "Specifies whether storageAccountAccessKey value is the storage's secondary key.",
Expand Down