diff --git a/HISTORY.rst b/HISTORY.rst index 1b218b2d8..3340377ab 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -8,8 +8,11 @@ Release History **IoT Central updates** -* Public API GA update - add support for preview and 1.0 routes -* Addition of the optional '--av' argument to specify the version of API for the requested operation. +* Public API GA update + * Remove preview tag for api-token, device, device-template, user routes. Default routes use central GA API's. + * Add support for preview and 1.0 routes. + * Addition of the optional '--av' argument to specify the version of API for the requested operation. + **IoT Hub updates** * Removed deprecated edge offline commands and artifacts. diff --git a/azext_iot/central/command_map.py b/azext_iot/central/command_map.py index fba1e64f6..0c97daca9 100644 --- a/azext_iot/central/command_map.py +++ b/azext_iot/central/command_map.py @@ -60,7 +60,7 @@ def load_central_commands(self, _): ) with self.command_group( - "iot central user", command_type=central_user_ops, is_preview=True, + "iot central user", command_type=central_user_ops, ) as cmd_group: cmd_group.command("create", "add_user") cmd_group.command("list", "list_users") @@ -68,7 +68,7 @@ def load_central_commands(self, _): cmd_group.command("delete", "delete_user") with self.command_group( - "iot central api-token", command_type=central_api_token_ops, is_preview=True, + "iot central api-token", command_type=central_api_token_ops, ) as cmd_group: cmd_group.command("create", "add_api_token") cmd_group.command("list", "list_api_tokens") @@ -76,7 +76,7 @@ def load_central_commands(self, _): cmd_group.command("delete", "delete_api_token") with self.command_group( - "iot central device", command_type=central_device_ops, is_preview=True, + "iot central device", command_type=central_device_ops, ) as cmd_group: # cmd_group.command("list", "list_devices") cmd_group.show_command("show", "get_device") @@ -89,15 +89,13 @@ def load_central_commands(self, _): cmd_group.command("manual-failback", "run_manual_failback") with self.command_group( - "iot central device command", command_type=central_device_ops, is_preview=True, + "iot central device command", command_type=central_device_ops, ) as cmd_group: cmd_group.command("run", "run_command") cmd_group.command("history", "get_command_history") with self.command_group( - "iot central device-template", - command_type=central_device_templates_ops, - is_preview=True, + "iot central device-template", command_type=central_device_templates_ops, ) as cmd_group: # cmd_group.command("list", "list_device_templates") # cmd_group.command("map", "map_device_templates") @@ -106,7 +104,7 @@ def load_central_commands(self, _): cmd_group.command("delete", "delete_device_template") with self.command_group( - "iot central device twin", command_type=central_device_twin_ops, is_preview=True + "iot central device twin", command_type=central_device_twin_ops, ) as cmd_group: cmd_group.show_command( "show", "device_twin_show",