AKS-Edge icon indicating copy to clipboard operation
AKS-Edge copied to clipboard

[Feature]Connect-AideArcServer should allow modifying the ARC resource name. today it takes the hostname

Open ivanthelad opened this issue 5 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Describe the solution you'd like The commandlet thats called here to be modified to accept a resource-name parameter. The resource name parameter will be used as a display name for the azure arc server resource. Currently it will use the host name https://github.com/Azure/AKS-Edge/blob/main/tools/modules/AksEdgeDeploy/AksEdge-Arc.ps1#L571

Preferable that this resource name is passed as a json configuration parameter

Describe alternatives you've considered You could modify the display name of the resource in ARM api. or register the arc server manually and set the resource-name Additional context According to arc server docs, it is not possible to modify the resource name after the arc server has been imported. only deletion and register will do this. See documentation https://learn.microsoft.com/en-us/azure/azure-arc/servers/manage-agent?tabs=linux-apt#renaming-an-azure-arc-enabled-server-resource

ivanthelad avatar Sep 04 '24 21:09 ivanthelad