|
24 | 24 | "properties": { |
25 | 25 | "oneOf": [ |
26 | 26 | { |
27 | | - "$ref": "#/definitions/ServerPropertiesModel" |
| 27 | + "$ref": "#/definitions/ServerProperties" |
28 | 28 | }, |
29 | 29 | { |
30 | 30 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
|
37 | 37 | "items": { |
38 | 38 | "oneOf": [ |
39 | 39 | { |
40 | | - "$ref": "#/definitions/servers_connectionPolicies_childResource" |
| 40 | + "$ref": "#/definitions/servers_advisors_childResource" |
41 | 41 | }, |
42 | 42 | { |
43 | | - "$ref": "#/definitions/servers_firewallRules_childResource" |
| 43 | + "$ref": "#/definitions/servers_connectionPolicies_childResource" |
44 | 44 | }, |
45 | 45 | { |
46 | 46 | "$ref": "#/definitions/servers_databases_childResource" |
47 | 47 | }, |
48 | 48 | { |
49 | | - "$ref": "#/definitions/servers_elasticPools_childResource" |
| 49 | + "$ref": "#/definitions/servers_disasterRecoveryConfiguration_childResource" |
50 | 50 | }, |
51 | 51 | { |
52 | | - "$ref": "#/definitions/servers_communicationLinks_childResource" |
| 52 | + "$ref": "#/definitions/servers_elasticPools_childResource" |
53 | 53 | }, |
54 | 54 | { |
55 | | - "$ref": "#/definitions/servers_administrators_childResource" |
| 55 | + "$ref": "#/definitions/servers_firewallRules_childResource" |
56 | 56 | }, |
57 | 57 | { |
58 | | - "$ref": "#/definitions/servers_advisors_childResource" |
| 58 | + "$ref": "#/definitions/servers_administrators_childResource" |
59 | 59 | }, |
60 | 60 | { |
61 | | - "$ref": "#/definitions/servers_disasterRecoveryConfiguration_childResource" |
| 61 | + "$ref": "#/definitions/servers_communicationLinks_childResource" |
62 | 62 | }, |
63 | 63 | { |
64 | 64 | "$ref": "#/definitions/servers_auditingPolicies_childResource" |
|
160 | 160 | "properties": { |
161 | 161 | "oneOf": [ |
162 | 162 | { |
163 | | - "$ref": "#/definitions/AdvisorPropertiesModel" |
| 163 | + "$ref": "#/definitions/AdvisorProperties" |
164 | 164 | }, |
165 | 165 | { |
166 | 166 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
|
349 | 349 | "items": { |
350 | 350 | "oneOf": [ |
351 | 351 | { |
352 | | - "$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource" |
| 352 | + "$ref": "#/definitions/servers_databases_advisors_childResource" |
353 | 353 | }, |
354 | 354 | { |
355 | | - "$ref": "#/definitions/servers_databases_dataMaskingPolicies_childResource" |
| 355 | + "$ref": "#/definitions/servers_databases_extensions_childResource" |
356 | 356 | }, |
357 | 357 | { |
358 | | - "$ref": "#/definitions/servers_databases_geoBackupPolicies_childResource" |
| 358 | + "$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource" |
359 | 359 | }, |
360 | 360 | { |
361 | | - "$ref": "#/definitions/servers_databases_extensions_childResource" |
| 361 | + "$ref": "#/definitions/servers_databases_dataMaskingPolicies_childResource" |
362 | 362 | }, |
363 | 363 | { |
364 | | - "$ref": "#/definitions/servers_databases_transparentDataEncryption_childResource" |
| 364 | + "$ref": "#/definitions/servers_databases_geoBackupPolicies_childResource" |
365 | 365 | }, |
366 | 366 | { |
367 | | - "$ref": "#/definitions/servers_databases_advisors_childResource" |
| 367 | + "$ref": "#/definitions/servers_databases_transparentDataEncryption_childResource" |
368 | 368 | }, |
369 | 369 | { |
370 | 370 | "$ref": "#/definitions/servers_databases_auditingPolicies_childResource" |
|
422 | 422 | "properties": { |
423 | 423 | "oneOf": [ |
424 | 424 | { |
425 | | - "$ref": "#/definitions/AdvisorPropertiesModel" |
| 425 | + "$ref": "#/definitions/AdvisorProperties" |
426 | 426 | }, |
427 | 427 | { |
428 | 428 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
|
874 | 874 | "properties": { |
875 | 875 | "oneOf": [ |
876 | 876 | { |
877 | | - "$ref": "#/definitions/ElasticPoolPropertiesModel" |
| 877 | + "$ref": "#/definitions/ElasticPoolProperties" |
878 | 878 | }, |
879 | 879 | { |
880 | 880 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
|
954 | 954 | } |
955 | 955 | }, |
956 | 956 | "definitions": { |
957 | | - "AdvisorPropertiesModel": { |
| 957 | + "AdvisorProperties": { |
958 | 958 | "type": "object", |
959 | 959 | "properties": { |
960 | 960 | "autoExecuteValue": { |
|
1032 | 1032 | "PointInTimeRestore", |
1033 | 1033 | "Recovery", |
1034 | 1034 | "Restore", |
1035 | | - "RestoreLongTermRetentionBackup", |
1036 | | - "Secondary", |
1037 | | - "RestoreExternalBackup", |
1038 | | - "RestoreExternalBackupSecondary" |
| 1035 | + "RestoreLongTermRetentionBackup" |
1039 | 1036 | ] |
1040 | 1037 | }, |
1041 | 1038 | { |
|
1191 | 1188 | "restorePointInTime": { |
1192 | 1189 | "type": "string", |
1193 | 1190 | "format": "date-time", |
1194 | | - "description": "Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database." |
| 1191 | + "description": "Conditional. If createMode is PointInTimeRestore, this value is required. If createMode is Restore, this value is optional. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. Must be greater than or equal to the source database's earliestRestoreDate value." |
1195 | 1192 | }, |
1196 | 1193 | "sampleName": { |
1197 | 1194 | "oneOf": [ |
1198 | 1195 | { |
1199 | 1196 | "type": "string", |
1200 | 1197 | "enum": [ |
1201 | | - "AdventureWorksLT", |
1202 | | - "WideWorldImportersStd", |
1203 | | - "WideWorldImportersFull" |
| 1198 | + "AdventureWorksLT" |
1204 | 1199 | ] |
1205 | 1200 | }, |
1206 | 1201 | { |
|
1212 | 1207 | "sourceDatabaseDeletionDate": { |
1213 | 1208 | "type": "string", |
1214 | 1209 | "format": "date-time", |
1215 | | - "description": "Specifies the time that the database was deleted." |
| 1210 | + "description": "Conditional. If createMode is Restore and sourceDatabaseId is the deleted database's original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required. Specifies the time that the database was deleted." |
1216 | 1211 | }, |
1217 | 1212 | "sourceDatabaseId": { |
1218 | 1213 | "type": "string", |
1219 | | - "description": "The resource identifier of the source database associated with create operation of this database." |
| 1214 | + "description": "Conditional. If createMode is Copy, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, or Restore, then this value is required. Specifies the resource ID of the source database. If createMode is NonReadableSecondary or OnlineSecondary, the name of the source database must be the same as the new database being created." |
1220 | 1215 | }, |
1221 | 1216 | "zoneRedundant": { |
1222 | 1217 | "oneOf": [ |
|
1486 | 1481 | ], |
1487 | 1482 | "description": "The properties of a database data masking rule." |
1488 | 1483 | }, |
1489 | | - "ElasticPoolPropertiesModel": { |
| 1484 | + "ElasticPoolProperties": { |
1490 | 1485 | "type": "object", |
1491 | 1486 | "properties": { |
1492 | 1487 | "databaseDtuMax": { |
|
1773 | 1768 | ], |
1774 | 1769 | "description": "The properties of a server secure connection policy." |
1775 | 1770 | }, |
1776 | | - "ServerPropertiesModel": { |
| 1771 | + "ServerProperties": { |
1777 | 1772 | "type": "object", |
1778 | 1773 | "properties": { |
1779 | 1774 | "administratorLogin": { |
|
1860 | 1855 | "properties": { |
1861 | 1856 | "oneOf": [ |
1862 | 1857 | { |
1863 | | - "$ref": "#/definitions/AdvisorPropertiesModel" |
| 1858 | + "$ref": "#/definitions/AdvisorProperties" |
1864 | 1859 | }, |
1865 | 1860 | { |
1866 | 1861 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
|
2022 | 2017 | "properties": { |
2023 | 2018 | "oneOf": [ |
2024 | 2019 | { |
2025 | | - "$ref": "#/definitions/AdvisorPropertiesModel" |
| 2020 | + "$ref": "#/definitions/AdvisorProperties" |
2026 | 2021 | }, |
2027 | 2022 | { |
2028 | 2023 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
|
2488 | 2483 | "properties": { |
2489 | 2484 | "oneOf": [ |
2490 | 2485 | { |
2491 | | - "$ref": "#/definitions/ElasticPoolPropertiesModel" |
| 2486 | + "$ref": "#/definitions/ElasticPoolProperties" |
2492 | 2487 | }, |
2493 | 2488 | { |
2494 | 2489 | "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
|
0 commit comments