|
41 | 41 | },
|
42 | 42 | {
|
43 | 43 | "$ref": "#/definitions/flexibleServers_configurations_childResource"
|
| 44 | + }, |
| 45 | + { |
| 46 | + "$ref": "#/definitions/flexibleServers_databases_childResource" |
44 | 47 | }
|
45 | 48 | ]
|
46 | 49 | }
|
|
126 | 129 | ],
|
127 | 130 | "description": "Microsoft.DBforPostgreSQL/flexibleServers/configurations"
|
128 | 131 | },
|
| 132 | + "flexibleServers_databases": { |
| 133 | + "type": "object", |
| 134 | + "properties": { |
| 135 | + "apiVersion": { |
| 136 | + "type": "string", |
| 137 | + "enum": [ |
| 138 | + "2021-06-01-preview" |
| 139 | + ] |
| 140 | + }, |
| 141 | + "name": { |
| 142 | + "type": "string", |
| 143 | + "description": "The name of the database." |
| 144 | + }, |
| 145 | + "properties": { |
| 146 | + "oneOf": [ |
| 147 | + { |
| 148 | + "$ref": "#/definitions/DatabaseProperties" |
| 149 | + }, |
| 150 | + { |
| 151 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 152 | + } |
| 153 | + ], |
| 154 | + "description": "The properties of a database." |
| 155 | + }, |
| 156 | + "type": { |
| 157 | + "type": "string", |
| 158 | + "enum": [ |
| 159 | + "Microsoft.DBforPostgreSQL/flexibleServers/databases" |
| 160 | + ] |
| 161 | + } |
| 162 | + }, |
| 163 | + "required": [ |
| 164 | + "apiVersion", |
| 165 | + "name", |
| 166 | + "properties", |
| 167 | + "type" |
| 168 | + ], |
| 169 | + "description": "Microsoft.DBforPostgreSQL/flexibleServers/databases" |
| 170 | + }, |
129 | 171 | "flexibleServers_firewallRules": {
|
130 | 172 | "type": "object",
|
131 | 173 | "properties": {
|
|
214 | 256 | },
|
215 | 257 | "description": "The properties of a configuration."
|
216 | 258 | },
|
| 259 | + "DatabaseProperties": { |
| 260 | + "type": "object", |
| 261 | + "properties": { |
| 262 | + "charset": { |
| 263 | + "type": "string", |
| 264 | + "description": "The charset of the database." |
| 265 | + }, |
| 266 | + "collation": { |
| 267 | + "type": "string", |
| 268 | + "description": "The collation of the database." |
| 269 | + } |
| 270 | + }, |
| 271 | + "description": "The properties of a database." |
| 272 | + }, |
217 | 273 | "FirewallRuleProperties": {
|
218 | 274 | "type": "object",
|
219 | 275 | "properties": {
|
|
287 | 343 | ],
|
288 | 344 | "description": "Microsoft.DBforPostgreSQL/flexibleServers/configurations"
|
289 | 345 | },
|
| 346 | + "flexibleServers_databases_childResource": { |
| 347 | + "type": "object", |
| 348 | + "properties": { |
| 349 | + "apiVersion": { |
| 350 | + "type": "string", |
| 351 | + "enum": [ |
| 352 | + "2021-06-01-preview" |
| 353 | + ] |
| 354 | + }, |
| 355 | + "name": { |
| 356 | + "type": "string", |
| 357 | + "description": "The name of the database." |
| 358 | + }, |
| 359 | + "properties": { |
| 360 | + "oneOf": [ |
| 361 | + { |
| 362 | + "$ref": "#/definitions/DatabaseProperties" |
| 363 | + }, |
| 364 | + { |
| 365 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 366 | + } |
| 367 | + ], |
| 368 | + "description": "The properties of a database." |
| 369 | + }, |
| 370 | + "type": { |
| 371 | + "type": "string", |
| 372 | + "enum": [ |
| 373 | + "databases" |
| 374 | + ] |
| 375 | + } |
| 376 | + }, |
| 377 | + "required": [ |
| 378 | + "apiVersion", |
| 379 | + "name", |
| 380 | + "properties", |
| 381 | + "type" |
| 382 | + ], |
| 383 | + "description": "Microsoft.DBforPostgreSQL/flexibleServers/databases" |
| 384 | + }, |
290 | 385 | "flexibleServers_firewallRules_childResource": {
|
291 | 386 | "type": "object",
|
292 | 387 | "properties": {
|
|
0 commit comments