@@ -470,8 +470,8 @@ def flexible_server_update_custom_func(cmd, client, instance,
470470 if high_availability .lower () != "disabled" and standby_availability_zone :
471471 high_availability_param .standby_availability_zone = standby_availability_zone
472472
473- # PG 11 and 12 will never receive fabric mirroring support. Skip this check for servers of these versions
474- if high_availability .lower () != "disabled" and str (instance .version ) not in ["11" , "12" ]:
473+ # PG 11 and 12 will never receive fabric mirroring support. Ignite 2025 Fabric mirroring supported on 17. Skip this check for servers of these versions
474+ if high_availability .lower () != "disabled" and str (instance .version ) not in ["11" , "12" , "17" , "18" ]:
475475 config_client = cf_postgres_flexible_config (cmd .cli_ctx , '_' )
476476 fabric_mirror_status = config_client .get (resource_group_name , server_name , 'azure.fabric_mirror_enabled' )
477477 if (fabric_mirror_status and fabric_mirror_status .value .lower () == 'on' ):
@@ -1585,7 +1585,7 @@ def flexible_server_fabric_mirroring_start(cmd, client, resource_group_name, ser
15851585 flexible_servers_client = cf_postgres_flexible_servers (cmd .cli_ctx , '_' )
15861586 server = flexible_servers_client .get (resource_group_name , server_name )
15871587
1588- if server .high_availability .mode != "Disabled" :
1588+ if server .high_availability .mode != "Disabled" and server . version not in [ "17" , "18" ] :
15891589 # disable fabric mirroring on HA server
15901590 raise CLIError ("Fabric mirroring is not supported on servers with high availability enabled." )
15911591
@@ -1615,7 +1615,7 @@ def flexible_server_fabric_mirroring_stop(cmd, client, resource_group_name, serv
16151615 flexible_servers_client = cf_postgres_flexible_servers (cmd .cli_ctx , '_' )
16161616 server = flexible_servers_client .get (resource_group_name , server_name )
16171617
1618- if server .high_availability .mode != "Disabled" :
1618+ if server .high_availability .mode != "Disabled" and server . version not in [ "17" , "18" ] :
16191619 # disable fabric mirroring on HA server
16201620 raise CLIError ("Fabric mirroring is not supported on servers with high availability enabled." )
16211621
@@ -1637,7 +1637,7 @@ def flexible_server_fabric_mirroring_update_databases(cmd, client, resource_grou
16371637 flexible_servers_client = cf_postgres_flexible_servers (cmd .cli_ctx , '_' )
16381638 server = flexible_servers_client .get (resource_group_name , server_name )
16391639
1640- if server .high_availability .mode != "Disabled" :
1640+ if server .high_availability .mode != "Disabled" and server . version not in [ "17" , "18" ] :
16411641 # disable fabric mirroring on HA server
16421642 raise CLIError ("Fabric mirroring is not supported on servers with high availability enabled." )
16431643
0 commit comments