Skip to content

Commit 48c3fb1

Browse files
committed
Refine Event Hubs child naming to purpose form and add schema groups
Consumer groups and authorization rules are functional labels, not numbered instances, so their constructs move to the purpose form (cgrp-telemetry-processor, rule-telemetry-sender), matching the LB NAT rule refinement. Schema groups gain their missing entry (schemas-).
1 parent 6fbefbe commit 48c3fb1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

components/azure-naming-data.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,12 @@ export const azurermData: AzureResource[] = [
180180
{ asset: 'Event Grid Topic', namespace: 'Microsoft.EventGrid/topics', abbr: 'evgt-', position: 'prefix', entropy: 'numbering', length: '3-50', construct: 'evgt-${infix}-${outfix}-${suffix}-${numbering}', example: 'evgt-ldo-uks-prd-001' },
181181
{ asset: 'Event Hub Cluster', namespace: 'Microsoft.EventHub/clusters', abbr: 'evhcl-', position: 'prefix', entropy: 'numbering', length: '6-50', construct: 'evhcl-${infix}-${outfix}-${suffix}-${numbering}', example: 'evhcl-ldo-uks-prd-001' },
182182
{ asset: 'Event Hub Namespace', namespace: 'Microsoft.EventHub/namespaces', abbr: 'evhns-', position: 'prefix', entropy: 'numbering', length: '6-50', construct: 'evhns-${infix}-${outfix}-${suffix}-${numbering}', example: 'evhns-ldo-uks-prd-001' },
183-
{ asset: 'Event Hub Namespace Authorization Rule', namespace: 'Microsoft.EventHub/namespaces/AuthorizationRules', abbr: 'rule-', position: 'prefix', entropy: 'numbering', length: '1-50', construct: 'rule-${infix}-${outfix}-${suffix}-${numbering}', example: 'rule-ldo-uks-prd-001' },
183+
{ asset: 'Event Hub Namespace Authorization Rule', namespace: 'Microsoft.EventHub/namespaces/AuthorizationRules', abbr: 'rule-', position: 'prefix', entropy: 'purpose', length: '1-50', construct: 'rule-${purpose}', example: 'rule-telemetry-sender' },
184184
{ asset: 'Event Hub Namespace DR Config', namespace: 'Microsoft.EventHub/namespaces/disasterRecoveryConfigs', abbr: 'drcfg-', position: 'prefix', entropy: 'numbering', length: '6-50', construct: 'drcfg-${infix}-${outfix}-${suffix}-${numbering}', example: 'drcfg-ldo-uks-prd-001' },
185185
{ asset: 'Event Hub', namespace: 'Microsoft.EventHub/namespaces/eventhubs', abbr: 'evh-', position: 'prefix', entropy: 'numbering', length: '1-256', construct: 'evh-${infix}-${outfix}-${suffix}-${numbering}', example: 'evh-ldo-uks-prd-001' },
186-
{ asset: 'Event Hub Authorization Rule', namespace: 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules', abbr: 'rule-', position: 'prefix', entropy: 'numbering', length: '1-50', construct: 'rule-${infix}-${outfix}-${suffix}-${numbering}', example: 'rule-ldo-uks-prd-001' },
187-
{ asset: 'Event Hub Consumer Group', namespace: 'Microsoft.EventHub/namespaces/eventhubs/consumergroups', abbr: 'cgrp-', position: 'prefix', entropy: 'numbering', length: '1-50', construct: 'cgrp-${infix}-${outfix}-${suffix}-${numbering}', example: 'cgrp-ldo-uks-prd-001' },
186+
{ asset: 'Event Hub Authorization Rule', namespace: 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules', abbr: 'rule-', position: 'prefix', entropy: 'purpose', length: '1-50', construct: 'rule-${purpose}', example: 'rule-diagnostics-listener' },
187+
{ asset: 'Event Hub Schema Group', namespace: 'Microsoft.EventHub/namespaces/schemagroups', abbr: 'schemas-', position: 'prefix', entropy: 'purpose', length: '1-256', construct: 'schemas-${purpose}', example: 'schemas-telemetry' },
188+
{ asset: 'Event Hub Consumer Group', namespace: 'Microsoft.EventHub/namespaces/eventhubs/consumergroups', abbr: 'cgrp-', position: 'prefix', entropy: 'purpose', length: '1-50', construct: 'cgrp-${purpose}', example: 'cgrp-telemetry-processor' },
188189
{ asset: 'HD Insight Cluster (Hadoop)', namespace: 'Microsoft.HDInsight/clusters', abbr: 'hadoop-', position: 'prefix', entropy: 'numbering', length: '3-59', construct: 'hadoop-${infix}-${outfix}-${suffix}-${numbering}', example: 'hadoop-ldo-uks-prd-001' },
189190
{ asset: 'HD Insight Cluster (HBase)', namespace: 'Microsoft.HDInsight/clusters', abbr: 'hbase-', position: 'prefix', entropy: 'numbering', length: '3-59', construct: 'hbase-${infix}-${outfix}-${suffix}-${numbering}', example: 'hbase-ldo-uks-prd-001' },
190191
{ asset: 'HD Insight Cluster (Kafka)', namespace: 'Microsoft.HDInsight/clusters', abbr: 'kafka-', position: 'prefix', entropy: 'numbering', length: '3-59', construct: 'kafka-${infix}-${outfix}-${suffix}-${numbering}', example: 'kafka-ldo-uks-prd-001' },

0 commit comments

Comments
 (0)