|
20 | 20 | get_sql_replication_links_operations, |
21 | 21 | get_sql_restorable_dropped_databases_operations, |
22 | 22 | get_sql_server_connection_policies_operations, |
| 23 | + get_sql_server_dns_aliases_operations, |
23 | 24 | get_sql_server_keys_operations, |
24 | 25 | get_sql_servers_operations, |
25 | 26 | get_sql_server_usages_operations, |
@@ -230,3 +231,13 @@ def load_command_table(self, _): |
230 | 231 | with self.command_group('sql server conn-policy', server_connection_policies_operations, client_factory=get_sql_server_connection_policies_operations) as c: |
231 | 232 | c.command('show', 'get') |
232 | 233 | c.generic_update_command('update') |
| 234 | + |
| 235 | + server_dns_aliases_operations = CliCommandType( |
| 236 | + operations_tmpl='azure.mgmt.sql.operations.server_dns_aliases_operations#ServerDnsAliasesOperations.{}', |
| 237 | + client_factory=get_sql_server_dns_aliases_operations) |
| 238 | + with self.command_group('sql server dns-alias', server_dns_aliases_operations, client_factory=get_sql_server_dns_aliases_operations) as c: |
| 239 | + c.command('show', 'get') |
| 240 | + c.command('list', 'list_by_server') |
| 241 | + c.command('create', 'create_or_update') |
| 242 | + c.command('delete', 'delete') |
| 243 | + c.custom_command('set', 'server_dns_alias_set') |
0 commit comments