@@ -299,12 +299,16 @@ def load_arguments(self, _): # pylint: disable=too-many-statements
299299 c .argument ('replication_name' , help = 'The name of the replication. Default to the location name.' , completer = None )
300300
301301 for scope in ['acr replication create' , 'acr replication update' ]:
302- help_str = "Allow routing to this replication. Requests will not be routed to a disabled replication. " \
303- " Data syncing will continue regardless of the region endpoint status."
302+ help_str = "Allow routing to this replication via the global endpoint . Requests will not be routed to a" \
303+ " disabled replication. Data syncing will continue regardless of the routing status."
304304 help_str += ' Default: true.' if 'create' in scope else '' # suffix help with default if command is for create
305305
306306 with self .argument_context (scope ) as c :
307- c .argument ('region_endpoint_enabled' , arg_type = get_three_state_flag (), help = help_str , is_preview = True )
307+ c .argument ('region_endpoint_enabled' ,
308+ options_list = ['--global-endpoint-routing' ,
309+ c .deprecate (target = '--region-endpoint-enabled' ,
310+ redirect = '--global-endpoint-routing' )],
311+ arg_type = get_three_state_flag (), help = help_str )
308312
309313 with self .argument_context ('acr run' ) as c :
310314 c .argument ('registry_name' , options_list = ['--registry' , '-r' ])
0 commit comments