Generate a seven-character hexadecimal telemetry identifier.
Returns a random Bicep or Terraform telemetry prefix. Retries if the candidate is in KnownPrefix, which should include current and former identifiers from the relevant module inventory.
New-AvmTelemetryIdPrefix [-Ecosystem] <string> [-Kind] <string> [[-KnownPrefix] <string[]>] [-SkipModuleVersionCheck] [<CommonParameters>]The module ecosystem: bicep or terraform.
| Property | Value |
|---|---|
| Type | String |
| Required | true |
| Position | 1 |
| Default value | |
| Accept pipeline input | false |
| Accept wildcard characters | false |
The module kind: res, ptn, or utl.
| Property | Value |
|---|---|
| Type | String |
| Required | true |
| Position | 2 |
| Default value | |
| Accept pipeline input | false |
| Accept wildcard characters | false |
Prefixes that must not be reused.
| Property | Value |
|---|---|
| Type | String[] |
| Required | false |
| Position | 3 |
| Default value | @() |
| Accept pipeline input | false |
| Accept wildcard characters | false |
Skip the installed-module version check for a trusted checkout.
| Property | Value |
|---|---|
| Type | Switch |
| Required | false |
| Position | named |
| Default value | False |
| Accept pipeline input | false |
| Accept wildcard characters | false |
New-AvmTelemetryIdPrefix -Ecosystem bicep -Kind res -KnownPrefix $existing -SkipModuleVersionCheckA telemetry prefix string.