Skip to content

Commit 44b02a2

Browse files
authored
Update namespaces for Cosmos DB for PostgreSQL (#24169)
* Update namespaces * Fix examples
1 parent 504c619 commit 44b02a2

File tree

9 files changed

+53
-19
lines changed

9 files changed

+53
-19
lines changed

specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateCoordinator.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
2727
},
2828
"properties": {
29+
"allowedValues": "on,off",
30+
"dataType": "Boolean",
31+
"defaultValue": "on",
32+
"description": "Enables input of NULL elements in arrays.",
33+
"provisioningState": "InProgress",
34+
"requiresRestart": false,
35+
"source": "user-override",
2936
"value": "on"
3037
}
3138
}
@@ -48,6 +55,13 @@
4855
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
4956
},
5057
"properties": {
58+
"allowedValues": "on,off",
59+
"dataType": "Boolean",
60+
"defaultValue": "on",
61+
"description": "Enables input of NULL elements in arrays.",
62+
"provisioningState": "InProgress",
63+
"requiresRestart": false,
64+
"source": "user-override",
5165
"value": "on"
5266
}
5367
}

specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateNode.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
2727
},
2828
"properties": {
29+
"allowedValues": "on,off",
30+
"dataType": "Boolean",
31+
"defaultValue": "on",
32+
"description": "Enables input of NULL elements in arrays.",
33+
"provisioningState": "InProgress",
34+
"requiresRestart": false,
35+
"source": "user-override",
2936
"value": "off"
3037
}
3138
}
@@ -48,6 +55,13 @@
4855
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
4956
},
5057
"properties": {
58+
"allowedValues": "on,off",
59+
"dataType": "Boolean",
60+
"defaultValue": "on",
61+
"description": "Enables input of NULL elements in arrays.",
62+
"provisioningState": "InProgress",
63+
"requiresRestart": false,
64+
"source": "user-override",
5165
"value": "off"
5266
}
5367
}

specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleCreate.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
},
2929
"properties": {
3030
"startIpAddress": "0.0.0.0",
31-
"endIpAddress": "255.255.255.255"
31+
"endIpAddress": "255.255.255.255",
32+
"provisioningState": "InProgress"
3233
}
3334
}
3435
},
@@ -51,7 +52,8 @@
5152
},
5253
"properties": {
5354
"startIpAddress": "0.0.0.0",
54-
"endIpAddress": "255.255.255.255"
55+
"endIpAddress": "255.255.255.255",
56+
"provisioningState": "InProgress"
5557
}
5658
}
5759
}

specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleCreate.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
"lastModifiedByType": "User",
3030
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
3131
},
32-
"properties": {}
32+
"properties": {
33+
"provisioningState": "InProgress"
34+
}
3335
}
3436
},
3537
"201": {
@@ -49,7 +51,9 @@
4951
"lastModifiedByType": "User",
5052
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
5153
},
52-
"properties": {}
54+
"properties": {
55+
"provisioningState": "InProgress"
56+
}
5357
}
5458
}
5559
}

specification/postgresqlhsc/resource-manager/readme.csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ csharp:
99
license-header: MICROSOFT_MIT_NO_VERSION
1010
payload-flattening-threshold: 1
1111
clear-output-folder: true
12-
namespace: Microsoft.DBforPostgreSQLHSC
13-
output-folder: $(csharp-sdks-folder)/postgresqlhsc/management/Microsoft.DBforPostgreSQLHSC/GeneratedProtocol
12+
namespace: Microsoft.Azure.Management.CosmosDBForPostgreSql
13+
output-folder: $(csharp-sdks-folder)/cosmosdbforpostgresql/management/CosmosDBForPostgreSql/GeneratedProtocol
1414
```

specification/postgresqlhsc/resource-manager/readme.go.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ These settings apply only when `--go` is specified on the command line.
55
``` yaml $(go) && !$(track2)
66
go:
77
license-header: MICROSOFT_MIT_NO_VERSION
8-
namespace: postgresqlhsc
8+
namespace: cosmosdbforpostgresql
99
clear-output-folder: true
1010
```
1111
1212
``` yaml $(go) && $(track2)
1313
license-header: MICROSOFT_MIT_NO_VERSION
14-
module-name: sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc
14+
module-name: sdk/resourcemanager/cosmosforpostgresql/armcosmosforpostgresql
1515
module: github.com/Azure/azure-sdk-for-go/$(module-name)
1616
output-folder: $(go-sdk-folder)/$(module-name)
1717
azure-arm: true

specification/postgresqlhsc/resource-manager/readme.java.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Please also specify `--azure-libraries-for-java-folder=<path to the root directo
66
``` yaml $(java)
77
azure-arm: true
88
fluent: true
9-
namespace: com.microsoft.azure.management.postgresqlhsc
9+
namespace: com.microsoft.azure.management.cosmosdbforpostgresql
1010
license-header: MICROSOFT_MIT_NO_CODEGEN
1111
payload-flattening-threshold: 1
12-
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-postgresqlhsc
12+
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cosmosdbforpostgresql
1313
```
1414
1515
### Java multi-api
@@ -27,8 +27,8 @@ Please also specify `--azure-libraries-for-java-folder=<path to the root directo
2727

2828
``` yaml $(tag) == 'package-2022-11'-08 && $(java) && $(multiapi)
2929
java:
30-
namespace: com.microsoft.azure.management.postgresqlhsc.v2022-11-08
31-
output-folder: $(azure-libraries-for-java-folder)/sdk/postgresqlhsc/mgmt-v2022-11-08
30+
namespace: com.microsoft.azure.management.cosmosdbforpostgresql.v2022-11-08
31+
output-folder: $(azure-libraries-for-java-folder)/sdk/cosmosdbforpostgresql/mgmt-v2022-11-08
3232
regenerate-manager: true
3333
generate-interface: true
3434
```
@@ -39,8 +39,8 @@ Please also specify `--azure-libraries-for-java-folder=<path to the root directo
3939

4040
``` yaml $(tag) == 'package-2020-10-05-privatepreview'-08 && $(java) && $(multiapi)
4141
java:
42-
namespace: com.microsoft.azure.management.postgresqlhsc.v2020-10-05-privatepreview
43-
output-folder: $(azure-libraries-for-java-folder)/sdk/postgresqlhsc/mgmt-v2020-10-05-privatepreview
42+
namespace: com.microsoft.azure.management.cosmosdbforpostgresql.v2020-10-05-privatepreview
43+
output-folder: $(azure-libraries-for-java-folder)/sdk/cosmosdbforpostgresql/mgmt-v2020-10-05-privatepreview
4444
regenerate-manager: true
4545
generate-interface: true
4646
```

specification/postgresqlhsc/resource-manager/readme.nodejs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-f
66
``` yaml $(nodejs)
77
nodejs:
88
azure-arm: true
9-
package-name: azure-arm-postgresqlhsc
10-
output-folder: $(node-sdks-folder)/lib/services/postgresqlhscManagement
9+
package-name: azure-arm-cosmosdbforpostgresql
10+
output-folder: $(node-sdks-folder)/lib/services/cosmosdbforpostgresqlManagement
1111
generate-license-txt: true
1212
generate-package-json: true
1313
generate-readme-md: false

specification/postgresqlhsc/resource-manager/readme.python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
66
``` yaml $(python)
77
azure-arm: true
88
license-header: MICROSOFT_MIT_NO_VERSION
9-
package-name: azure-mgmt-rdbms
9+
package-name: azure-mgmt-cosmosdbforpostgresql
1010
package-version: 1.0.0b1
1111
no-namespace-folders: true
1212
```
1313
1414
``` yaml $(python)
15-
namespace: azure.mgmt.rdbms.postgresqlhsc
16-
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresqlhsc
15+
namespace: azure.mgmt.cosmosdbforpostgresql
16+
output-folder: $(python-sdks-folder)/cosmosdbforpostgresql/azure-mgmt-cosmosdbforpostgresql/azure/mgmt/cosmosdbforpostgresql
1717
```

0 commit comments

Comments
 (0)