Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions azext_iot/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,15 @@ def load_arguments(self, _):
validator=mode2_iot_login_handler,
help="This command supports an entity connection string with rights to perform action. "
'Use to avoid session login via "az login". '
"If both an entity connection string and name are provided the connection string takes priority.",
"If both an entity connection string and name are provided the connection string takes priority. "
"Required if --hub-name is not provided.",
arg_group="IoT Hub Identifier"
)
context.argument("resource_group_name", arg_type=resource_group_name_type)
context.argument(
"hub_name", options_list=["--hub-name", "-n"], arg_type=hub_name_type
"hub_name", options_list=["--hub-name", "-n"], arg_type=hub_name_type,
help="IoT Hub name. Required if --login is not provided.",
arg_group="IoT Hub Identifier"
)
context.argument(
"device_id", options_list=["--device-id", "-d"], help="Target Device."
Expand Down