Error translation

New-EdgeDiagnosticsErrorTranslation

Synopsis

Translate an error string.

Syntax

New-EdgeDiagnosticsErrorTranslation [-ErrorCode] <String> [-TraceForwardLogs] [[-EdgeRCFile] <String>]
 [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Launches an asynchronous request to fetch a summary and logs for an error with a specific reference code. The error logs are from the last 6 or 24 hours depending on the server and traffic conditions.

You can also translate any Global Request Number (GRN) generated by the Property Manager's Global Request Number behavior.

For operations in progress, the returned object contains retryAfter, requestId, and link. In this case, wait for the duration of the retryAfter interval, then either use the requestId to run the Get-EdgeDiagnosticsErrorTranslation operation, or simply GET the link.

Parameters

-AccountSwitchKey

Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Run the Get-AccountSwitchKey command to list the account switch keys available to you.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EdgeRCFile

EdgeRC file to authenticate your command. Defaults to ~/.edgerc.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ErrorCode

Alphanumeric part of the error reference code you want to get the data for.

Type: String
Parameter Sets: (All)
Aliases: None
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Section

EdgeRC section to retrieve authentication credentials from. Defaults to default.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TraceForwardLogs

Gets logs from all edge servers involved in serving the request. When false, you get logs only from the edge server where the error occurred. Tracing forward logs may prolong the time of fetching data.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object

Related links