Skip to content

Commit 87ca403

Browse files
author
SDKAuto
committed
CodeGen from PR 12107 in Azure/azure-rest-api-specs
Merge bb8b96fe56eb7c17aa8442b9fd1995fb915680d8 into 2331a635ead0549b8c0f3891bf9bf2e5e5ad76bc
1 parent 2d61c58 commit 87ca403

File tree

8 files changed

+68
-101
lines changed

8 files changed

+68
-101
lines changed

schemas/2014-04-01/Microsoft.Sql.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2641,4 +2641,4 @@
26412641
"description": "Represents the properties of a database transparent data encryption."
26422642
}
26432643
}
2644-
}
2644+
}

schemas/2015-05-01-preview/Microsoft.Sql.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,4 +1635,4 @@
16351635
"description": "Properties of a virtual network rule."
16361636
}
16371637
}
1638-
}
1638+
}

schemas/2017-03-01-preview/Microsoft.Sql.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,7 +1839,7 @@
18391839
"oneOf": [
18401840
{
18411841
"type": "number",
1842-
"default": 2
1842+
"default": 2.0
18431843
},
18441844
{
18451845
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2991,4 +2991,4 @@
29912991
"description": "Properties of a Vulnerability Assessment recurring scans."
29922992
}
29932993
}
2994-
}
2994+
}

schemas/2017-10-01-preview/Microsoft.Sql.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,4 +1101,4 @@
11011101
"description": "Properties of a Vulnerability Assessment recurring scans."
11021102
}
11031103
}
1104-
}
1104+
}

schemas/2018-06-01-preview/Microsoft.Sql.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,4 +1360,4 @@
13601360
"description": "Properties of a Vulnerability Assessment recurring scans."
13611361
}
13621362
}
1363-
}
1363+
}

schemas/2019-06-01-preview/Microsoft.Sql.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,4 +1461,4 @@
14611461
"description": "Workload group definition. For more information look at sys.workload_management_workload_groups (DMV)."
14621462
}
14631463
}
1464-
}
1464+
}

schemas/2020-02-02-preview/Microsoft.Sql.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4280,7 +4280,7 @@
42804280
"oneOf": [
42814281
{
42824282
"type": "number",
4283-
"default": 2
4283+
"default": 2.0
42844284
},
42854285
{
42864286
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -8335,4 +8335,4 @@
83358335
"description": "Workload group definition. For more information look at sys.workload_management_workload_groups (DMV)."
83368336
}
83378337
}
8338-
}
8338+
}

schemas/2020-08-01-preview/Microsoft.Sql.json

Lines changed: 59 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,63 +1650,25 @@
16501650
"servers_databases_extensions": {
16511651
"type": "object",
16521652
"properties": {
1653-
"administratorLogin": {
1654-
"type": "string",
1655-
"description": "Administrator login name."
1656-
},
1657-
"administratorLoginPassword": {
1658-
"type": "string",
1659-
"description": "Administrator login password."
1660-
},
16611653
"apiVersion": {
16621654
"type": "string",
16631655
"enum": [
16641656
"2020-08-01-preview"
16651657
]
16661658
},
1667-
"authenticationType": {
1668-
"type": "string",
1669-
"description": "Authentication type."
1670-
},
16711659
"name": {
16721660
"type": "string"
16731661
},
1674-
"operationMode": {
1662+
"properties": {
16751663
"oneOf": [
16761664
{
1677-
"type": "string",
1678-
"enum": [
1679-
"PolybaseImport"
1680-
]
1665+
"$ref": "#/definitions/DatabaseExtensionsProperties"
16811666
},
16821667
{
16831668
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
16841669
}
16851670
],
1686-
"description": "Operation Mode."
1687-
},
1688-
"storageKey": {
1689-
"type": "string",
1690-
"description": "Storage key."
1691-
},
1692-
"storageKeyType": {
1693-
"oneOf": [
1694-
{
1695-
"type": "string",
1696-
"enum": [
1697-
"SharedAccessKey",
1698-
"StorageAccessKey"
1699-
]
1700-
},
1701-
{
1702-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1703-
}
1704-
],
1705-
"description": "Storage key type."
1706-
},
1707-
"storageUri": {
1708-
"type": "string",
1709-
"description": "Storage Uri."
1671+
"description": "Contains the database information after successful export."
17101672
},
17111673
"type": {
17121674
"type": "string",
@@ -1718,10 +1680,7 @@
17181680
"required": [
17191681
"apiVersion",
17201682
"name",
1721-
"operationMode",
1722-
"storageKey",
1723-
"storageKeyType",
1724-
"storageUri",
1683+
"properties",
17251684
"type"
17261685
],
17271686
"description": "Microsoft.Sql/servers/databases/extensions"
@@ -3275,6 +3234,55 @@
32753234
],
32763235
"description": "Properties of a database blob auditing policy."
32773236
},
3237+
"DatabaseExtensionsProperties": {
3238+
"type": "object",
3239+
"properties": {
3240+
"operationMode": {
3241+
"oneOf": [
3242+
{
3243+
"type": "string",
3244+
"enum": [
3245+
"PolybaseImport"
3246+
]
3247+
},
3248+
{
3249+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
3250+
}
3251+
],
3252+
"description": "Operation Mode."
3253+
},
3254+
"storageKey": {
3255+
"type": "string",
3256+
"description": "Storage key."
3257+
},
3258+
"storageKeyType": {
3259+
"oneOf": [
3260+
{
3261+
"type": "string",
3262+
"enum": [
3263+
"SharedAccessKey",
3264+
"StorageAccessKey"
3265+
]
3266+
},
3267+
{
3268+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
3269+
}
3270+
],
3271+
"description": "Storage key type."
3272+
},
3273+
"storageUri": {
3274+
"type": "string",
3275+
"description": "Storage Uri."
3276+
}
3277+
},
3278+
"required": [
3279+
"operationMode",
3280+
"storageKey",
3281+
"storageKeyType",
3282+
"storageUri"
3283+
],
3284+
"description": "Contains the database information after successful export."
3285+
},
32783286
"DatabaseProperties": {
32793287
"type": "object",
32803288
"properties": {
@@ -4396,7 +4404,7 @@
43964404
"oneOf": [
43974405
{
43984406
"type": "number",
4399-
"default": 2
4407+
"default": 2.0
44004408
},
44014409
{
44024410
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -6744,63 +6752,25 @@
67446752
"servers_databases_extensions_childResource": {
67456753
"type": "object",
67466754
"properties": {
6747-
"administratorLogin": {
6748-
"type": "string",
6749-
"description": "Administrator login name."
6750-
},
6751-
"administratorLoginPassword": {
6752-
"type": "string",
6753-
"description": "Administrator login password."
6754-
},
67556755
"apiVersion": {
67566756
"type": "string",
67576757
"enum": [
67586758
"2020-08-01-preview"
67596759
]
67606760
},
6761-
"authenticationType": {
6762-
"type": "string",
6763-
"description": "Authentication type."
6764-
},
67656761
"name": {
67666762
"type": "string"
67676763
},
6768-
"operationMode": {
6769-
"oneOf": [
6770-
{
6771-
"type": "string",
6772-
"enum": [
6773-
"PolybaseImport"
6774-
]
6775-
},
6776-
{
6777-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
6778-
}
6779-
],
6780-
"description": "Operation Mode."
6781-
},
6782-
"storageKey": {
6783-
"type": "string",
6784-
"description": "Storage key."
6785-
},
6786-
"storageKeyType": {
6764+
"properties": {
67876765
"oneOf": [
67886766
{
6789-
"type": "string",
6790-
"enum": [
6791-
"SharedAccessKey",
6792-
"StorageAccessKey"
6793-
]
6767+
"$ref": "#/definitions/DatabaseExtensionsProperties"
67946768
},
67956769
{
67966770
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
67976771
}
67986772
],
6799-
"description": "Storage key type."
6800-
},
6801-
"storageUri": {
6802-
"type": "string",
6803-
"description": "Storage Uri."
6773+
"description": "Contains the database information after successful export."
68046774
},
68056775
"type": {
68066776
"type": "string",
@@ -6812,10 +6782,7 @@
68126782
"required": [
68136783
"apiVersion",
68146784
"name",
6815-
"operationMode",
6816-
"storageKey",
6817-
"storageKeyType",
6818-
"storageUri",
6785+
"properties",
68196786
"type"
68206787
],
68216788
"description": "Microsoft.Sql/servers/databases/extensions"
@@ -8541,4 +8508,4 @@
85418508
"description": "Workload group definition. For more information look at sys.workload_management_workload_groups (DMV)."
85428509
}
85438510
}
8544-
}
8511+
}

0 commit comments

Comments
 (0)