Skip to content

Commit 4523af1

Browse files
authored
Add dbforpostgresql flexible server administrator (#5041)
Fixes #4256. Note that until we support AzureNameFromConfig (#5035) using this may be a bit awkward.
1 parent 6ca1415 commit 4523af1

File tree

37 files changed

+19530
-20731
lines changed

37 files changed

+19530
-20731
lines changed

docs/hugo/content/reference/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ Development of these new resources is complete and they will be available in the
427427
| Resource | ARM Version | CRD Version | Supported From | Sample |
428428
|-------------------------------------------------|-------------|---------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
429429
| FlexibleServer | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserver.yaml) |
430+
| FlexibleServersAdministrator | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversadministrator.yaml) |
430431
| FlexibleServersAdvancedThreatProtectionSettings | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversadvancedthreatprotectionsettings.yaml) |
431432
| FlexibleServersBackup | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversbackup.yaml) |
432433
| FlexibleServersConfiguration | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversconfiguration.yaml) |

docs/hugo/content/reference/dbforpostgresql/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Development of these new resources is complete and they will be available in the
1212
| Resource | ARM Version | CRD Version | Supported From | Sample |
1313
|-------------------------------------------------|-------------|---------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
1414
| FlexibleServer | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserver.yaml) |
15+
| FlexibleServersAdministrator | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversadministrator.yaml) |
1516
| FlexibleServersAdvancedThreatProtectionSettings | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversadvancedthreatprotectionsettings.yaml) |
1617
| FlexibleServersBackup | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversbackup.yaml) |
1718
| FlexibleServersConfiguration | 2025-08-01 | v1api20250801 | v2.17.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/dbforpostgresql/v1api20250801/v1api20250801_flexibleserversconfiguration.yaml) |

v2/api/dbforpostgresql/customizations/flexible_server_extensions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (ext *FlexibleServerExtension) PreReconcileCheck(
123123
if state != nil && flexibleServerStateBlocksReconciliation(*state) {
124124
return extensions.BlockReconcile(
125125
fmt.Sprintf(
126-
"Flexible Server is in provisioning state %q",
126+
"Flexible Server is in state %q",
127127
*state)), nil
128128
}
129129

v2/api/dbforpostgresql/customizations/flexible_servers_administrator_extension_types_gen.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/dbforpostgresql/customizations/flexible_servers_database_extensions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func (extension *FlexibleServersDatabaseExtension) PreReconcileCheck(
3838
if serverState != nil && flexibleServerStateBlocksReconciliation(*serverState) {
3939
return extensions.BlockReconcile(
4040
fmt.Sprintf(
41-
"Owning FlexibleServer is in provisioning state %q",
41+
"Owning FlexibleServer is in state %q",
4242
*serverState)), nil
4343
}
4444
}

v2/api/dbforpostgresql/customizations/flexible_servers_firewall_rule_extensions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (ext *FlexibleServersFirewallRuleExtension) PreReconcileCheck(
3737
if serverState != nil && flexibleServerStateBlocksReconciliation(*serverState) {
3838
return extensions.BlockReconcile(
3939
fmt.Sprintf(
40-
"Owning FlexibleServer is in provisioning state %q",
40+
"Owning FlexibleServer is in state %q",
4141
*serverState)), nil
4242
}
4343
}

v2/api/dbforpostgresql/customizations/structure.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ github.com/Azure/azure-service-operator/v2/api/dbforpostgresql/customizations
33
-----------------------------------------------------------------------------
44
FlexibleServerExtension: Object (0 properties)
55

6+
FlexibleServersAdministratorExtension: Object (0 properties)
7+
68
FlexibleServersAdvancedThreatProtectionSettingsExtension: Object (0 properties)
79

810
FlexibleServersBackupExtension: Object (0 properties)

v2/api/dbforpostgresql/v1api20240801/storage/flexible_server_types_gen.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/dbforpostgresql/v1api20250801/arm/flexible_server_spec_types_gen.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/dbforpostgresql/v1api20250801/arm/flexible_servers_administrator_spec_types_gen.go

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)