Skip to content

Commit f5b8976

Browse files
amirdachAmir Dachabashmsyyc
authored andcommitted
Adding ReadOnlyDatabase object to Synapse model. (Azure#17213)
* Adding ReadOnlyDatabase object to Synapse model. * Adding type:object to ReadOnlyDatabase and to its properties. * fix python pipeline failure * fix python pipeline failure Co-authored-by: Amir Dachabash <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: msyyc <[email protected]>
1 parent a770d5a commit f5b8976

File tree

3 files changed

+70
-4
lines changed

3 files changed

+70
-4
lines changed

specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/kustoPool.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2954,6 +2954,74 @@
29542954
},
29552955
"description": "Class representing the Kusto database properties."
29562956
},
2957+
"ReadOnlyFollowingDatabase": {
2958+
"type": "object",
2959+
"properties": {
2960+
"properties": {
2961+
"x-ms-client-flatten": true,
2962+
"description": "The database properties.",
2963+
"$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties"
2964+
}
2965+
},
2966+
"allOf": [
2967+
{
2968+
"$ref": "#/definitions/Database"
2969+
}
2970+
],
2971+
"description": "Class representing a read only following database.",
2972+
"x-ms-discriminator-value": "ReadOnlyFollowing"
2973+
},
2974+
"ReadOnlyFollowingDatabaseProperties": {
2975+
"type": "object",
2976+
"properties": {
2977+
"provisioningState": {
2978+
"$ref": "#/definitions/ResourceProvisioningState",
2979+
"readOnly": true,
2980+
"description": "The provisioned state of the resource."
2981+
},
2982+
"softDeletePeriod": {
2983+
"type": "string",
2984+
"readOnly": true,
2985+
"format": "duration",
2986+
"description": "The time the data should be kept before it stops being accessible to queries in TimeSpan."
2987+
},
2988+
"hotCachePeriod": {
2989+
"type": "string",
2990+
"format": "duration",
2991+
"description": "The time the data should be kept in cache for fast queries in TimeSpan."
2992+
},
2993+
"statistics": {
2994+
"$ref": "#/definitions/DatabaseStatistics",
2995+
"readOnly": true,
2996+
"description": "The statistics of the database."
2997+
},
2998+
"leaderClusterResourceId": {
2999+
"type": "string",
3000+
"readOnly": true,
3001+
"description": "The name of the leader cluster"
3002+
},
3003+
"attachedDatabaseConfigurationName": {
3004+
"type": "string",
3005+
"readOnly": true,
3006+
"description": "The name of the attached database configuration cluster"
3007+
},
3008+
"principalsModificationKind": {
3009+
"type": "string",
3010+
"readOnly": true,
3011+
"enum": [
3012+
"Union",
3013+
"Replace",
3014+
"None"
3015+
],
3016+
"x-ms-enum": {
3017+
"name": "PrincipalsModificationKind",
3018+
"modelAsString": true
3019+
},
3020+
"description": "The principals modification kind of the database"
3021+
}
3022+
},
3023+
"description": "Class representing the Kusto database properties."
3024+
},
29573025
"DatabaseStatistics": {
29583026
"type": "object",
29593027
"readOnly": true,

specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6122,8 +6122,7 @@
61226122
"storageAccountSubscriptionId": {
61236123
"format": "uuid",
61246124
"description": "Specifies the blob storage subscription Id.",
6125-
"type": "string",
6126-
"default": ""
6125+
"type": "string"
61276126
},
61286127
"isStorageSecondaryKeyInUse": {
61296128
"description": "Specifies whether storageAccountAccessKey value is the storage's secondary key.",

specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlServer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,8 +1237,7 @@
12371237
"storageAccountSubscriptionId": {
12381238
"format": "uuid",
12391239
"description": "Specifies the blob storage subscription Id.",
1240-
"type": "string",
1241-
"default": ""
1240+
"type": "string"
12421241
},
12431242
"isStorageSecondaryKeyInUse": {
12441243
"description": "Specifies whether storageAccountAccessKey value is the storage's secondary key.",

0 commit comments

Comments
 (0)