|
16 | 16 | cf_postgres_flexible_ltr_backups, |
17 | 17 | cf_postgres_flexible_operations, |
18 | 18 | cf_postgres_flexible_replica, |
19 | | - cf_postgres_flexible_adadmin, |
| 19 | + cf_postgres_flexible_admin, |
20 | 20 | cf_postgres_flexible_migrations, |
21 | 21 | cf_postgres_flexible_private_endpoint_connection, |
22 | 22 | cf_postgres_flexible_private_endpoint_connections, |
@@ -85,9 +85,9 @@ def load_flexibleserver_command_table(self, _): |
85 | 85 | client_factory=cf_postgres_flexible_replica |
86 | 86 | ) |
87 | 87 |
|
88 | | - postgres_flexible_adadmin_sdk = CliCommandType( |
| 88 | + postgres_flexible_admin_sdk = CliCommandType( |
89 | 89 | operations_tmpl='azure.mgmt.postgresqlflexibleservers.operations#AdministratorsOperations.{}', |
90 | | - client_factory=cf_postgres_flexible_adadmin |
| 90 | + client_factory=cf_postgres_flexible_admin |
91 | 91 | ) |
92 | 92 |
|
93 | 93 | postgres_flexible_migrations_sdk = CliCommandType( |
@@ -250,14 +250,14 @@ def load_flexibleserver_command_table(self, _): |
250 | 250 | g.custom_show_command('show', 'flexible_server_identity_show') |
251 | 251 | g.custom_command('list', 'flexible_server_identity_list') |
252 | 252 |
|
253 | | - with self.command_group('postgres flexible-server microsoft-entra-admin', postgres_flexible_adadmin_sdk, |
| 253 | + with self.command_group('postgres flexible-server microsoft-entra-admin', postgres_flexible_admin_sdk, |
254 | 254 | custom_command_type=flexible_servers_custom_postgres, |
255 | | - client_factory=cf_postgres_flexible_adadmin) as g: |
256 | | - g.custom_command('create', 'flexible_server_ad_admin_set', supports_no_wait=True) |
257 | | - g.custom_command('delete', 'flexible_server_ad_admin_delete', supports_no_wait=True, confirmation=True) |
258 | | - g.custom_command('list', 'flexible_server_ad_admin_list') |
259 | | - g.custom_show_command('show', 'flexible_server_ad_admin_show') |
260 | | - g.custom_wait_command('wait', 'flexible_server_ad_admin_show') |
| 255 | + client_factory=cf_postgres_flexible_admin) as g: |
| 256 | + g.custom_command('create', 'flexible_server_microsoft_entra_admin_set', supports_no_wait=True) |
| 257 | + g.custom_command('delete', 'flexible_server_microsoft_entra_admin_delete', supports_no_wait=True, confirmation=True) |
| 258 | + g.custom_command('list', 'flexible_server_microsoft_entra_admin_list') |
| 259 | + g.custom_show_command('show', 'flexible_server_microsoft_entra_admin_show') |
| 260 | + g.custom_wait_command('wait', 'flexible_server_microsoft_entra_admin_show') |
261 | 261 |
|
262 | 262 | with self.command_group('postgres flexible-server advanced-threat-protection-setting', postgres_flexible_server_threat_protection_settings_sdk, |
263 | 263 | custom_command_type=flexible_servers_custom_postgres, |
|
0 commit comments