Skip to content

[Feature]: Get-AzConnectedMachine returns inconsistenly named properties (tag instead of tags) #19664

@MrCNeale

Description

@MrCNeale

Description of the new feature

When using Get-AzVM it returns the tags as a property named "Tags"

When using Get-AZConnectedMacchine it returns the tags as a propery named "Tag".

This should be consistent between the two commands.
Tabbing shows the properties availabe
(get-azvm).T
Tags Type ToString

Again tabbing shows that AzConnectedMachine returns Tag instead of Tags
(get-azconnectedmachine).T
Tag Type ToJson

Proposed implementation details (optional)

Get-AzConnectedMachine
should return a property of "Tags" not "Tag"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Azure Arc enabled serversAzure Arc enabled serversService AttentionThis issue is responsible by Azure service team.customer-reportedfeature-requestThis issue requires a new behavior in the product in order be resolved.needs-team-attentionThis issue needs attention from Azure service team or SDK team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions