Metadata tracer
New-EdgeDiagnosticsMetadataTrace
Synopsis
Launch a metadata tracing request.
Syntax
attributes-ip (Default)
New-EdgeDiagnosticsMetadataTrace -URL <String> [-HTTPMethod <String>] [-EdgeIP <String>]
[-RequestHeaders <String>] [-SensitiveRequestHeaderKeys <String>] [-UseStaging] [-EdgeRCFile <String>]
[-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
attributes-location
New-EdgeDiagnosticsMetadataTrace -URL <String> [-HTTPMethod <String>] [-MDTLocationID <String>]
[-RequestHeaders <String>] [-SensitiveRequestHeaderKeys <String>] [-UseStaging] [-EdgeRCFile <String>]
[-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
body
New-EdgeDiagnosticsMetadataTrace -Body <Object> [-EdgeRCFile <String>] [-Section <String>]
[-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Launches an asynchronous request to trace metadata for a URL configured in Property Manager. The metadata tracing works for the current property version active either on the staging or production network.
To run the operation for a location, run the Get-EdgeDiagnosticsMetadataTraceLocations
operation first to get the required values. If you don't provide a location ID or an edge server IP, then Edge Diagnostics runs the operation using a random location.
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: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Body
Request body, either as a PSCustomObject
or string. This parameter supports pipelining.
Type: Object
Parameter Sets: body
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-EdgeIP
IP address that belongs to edge server and you want to get the logs for.
Type: String
Parameter Sets: attributes-ip
Aliases: None
Required: False
Position: Named
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: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-HTTPMethod
HTTP method you want to use to run the operation, either HEAD
, POST
, or the default GET
method.
Type: String
Parameter Sets: attributes-ip, attributes-location
Aliases:
Accepted values: HEAD, POST, GET
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MDTLocationID
Unique identifier for an available location closest to your end users. To get this value, run Get-EdgeDiagnosticsMetadataTraceLocations
first. For GET
and HEAD
, provide either this value or an Edge IP.
Type: String
Parameter Sets: attributes-location
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RequestHeaders
Customized headers for the curl
request in the format header: value
. The request includes Akamai Pragma headers by default.
Type: String
Parameter Sets: attributes-ip, attributes-location
Aliases: None
Required: False
Position: Named
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: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SensitiveRequestHeaderKeys
Sensitive requestHeaders
you don't want to store in the database after running the request.
Type: String
Parameter Sets: attributes-ip, attributes-location
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-URL
Fully qualified URL you want to get the error statistics for. You need to provide either this value or a CP code.
Type: String
Parameter Sets: attributes-ip, attributes-location
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UseStaging
Runs the request on the staging environment.
Type: SwitchParameter
Parameter Sets: attributes-ip, attributes-location
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
System.Object
Outputs
System.Object
Related links
Updated 8 days ago