Skip to content

Azure bastion rdp optionnal parameters from the docs are required #25227

@kayasax

Description

@kayasax

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

az network bastion rdp --target-resource-id
Describe the bug

the doc says that only target-resource-id is required , but runing bellow command
az network bastion rdp --target-resource-id "<resourceId>"
genereates this error : (--resource-group --name | --ids) are required
My version:
az version { "azure-cli": "2.44.1", "azure-cli-core": "2.44.1", "azure-cli-telemetry": "1.0.8", "extensions": {} }

To Reproduce

run the command above
Expected behavior

the optional parameters should not be required
Environment summary

last version installed with az upgrade from powershell terminal in Windows 11
Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions