Closed AlexanderSehr closed 1 year ago
shorten name: last element in the string (split '/') in case of duplication, add one element up the tree
please add other ideas how to do that
I wrote a little snipped to generate all names using the structure I proposed above - that is, to remove leading duplicates in the path (if they start with the name term).
With the result:
Old name New name
-------- --------
MS.Network.virtualNetworks.virtualNetworkPeerings MS.Network.virtualNetworks.peerings
MS.RecoveryServices.vaults.replicationFabrics.replicationProtectionContainers.replicationProtectionContainerMappings MS.RecoveryServices.vaults.replicationFabrics.replicationProtectionContainers.mappings
Note: The RSV example would now be '86' instead of '116' characters (i.e. 30 less) but still close to the limit.
@mblant please add your idea
@mblant any updates? Or can you alternatively please provide us with a contact in the template specs PG? Thanks, Rainer
Team decides to go with @MrMCake solution
The name of the template spec publish for
MS.RecoveryServices.vaults.replicationFabrics.replicationProtectionContainers.replicationProtectionContainerMappings
is too long. The maximum is 90 characters and the above name has 116 characters (26 too many). We must find a way to shorten this.
For example by removing substrings:
MS.RecoveryServices.vaults.replicationFabrics.replicationProtectionContainers.Mappings
Reference: https://github.com/Azure/ResourceModules/runs/5631937120?check_suite_focus=true