Akamai.EdgeDiagnostics.psm1
|
function Get-BodyObject { [CmdletBinding()] Param( [Parameter(Mandatory)] $Source ) if ($Source -is 'String') { # Trim whitespace $Source = $Source.Trim() # Handle JSON array if ($Source.StartsWith('[')) { $BodyObject = ConvertFrom-Json -InputObject $Source -AsArray -NoEnumerate } # Handle standard JSON object elseif ($Source.StartsWith('{') -and $Source.EndsWith('}')) { $BodyObject = ConvertFrom-Json -InputObject $Source } # If none of the above, just use string as-is else { $BodyObject = $Source } } elseif ($Source -is 'Hashtable') { $BodyObject = [PScustomObject] $Source } elseif ($Source -is 'PSCustomObject' -or $Source -is 'Object' -or $Source -is 'Object[]') { $BodyObject = $Source } else { throw "Source param is of an unhandled type '$($Source.GetType().Name)'" } return $BodyObject } function Find-IPAddress { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline)] [string[]] $IPAddress, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/locate-ip" $Body = @{ 'ipAddresses' = $IPAddress } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body.results } } function Get-EdgeDiagnosticsConnectivityProblem { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [int] $RequestID, [Parameter()] [switch] $IncludeContentResponseBody, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/connectivity-problems/requests/$RequestID" $QueryParameters = @{ 'includeContentResponseBody' = $PSBoundParameters.IncludeContentResponseBody.IsPresent } $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'QueryParameters' = $QueryParameters 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function Get-EdgeDiagnosticsContentProblem { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [int] $RequestID, [Parameter()] [switch] $IncludeContentResponseBody, [Parameter()] [switch] $AsHashTable, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/content-problems/requests/$RequestID" $QueryParameters = @{ 'includeContentResponseBody' = $PSBoundParameters.IncludeContentResponseBody.IsPresent } $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'QueryParameters' = $QueryParameters 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams if ($Response.Body -is 'String') { #JSON conversion fails due to object names differing only by case $Response.BodyHash = $Response.Body | ConvertFrom-Json -AsHashtable if ($AsHashTable) { return $Response.BodyHash } else { $Response.BodyHash['logLines'][0]['result'].Remove('legend') $Response.BodyHash['summary']['logLines'][0]['result'].Remove('legend') $Response.Body = $Response.BodyHash | ConvertTo-Json -depth 100 | ConvertFrom-Json } } return $Response.Body } function Get-EdgeDiagnosticsErrorStatistics { [CmdletBinding(DefaultParameterSetName = 'CP code')] Param( [Parameter(Mandatory, ParameterSetName = 'CP code')] [int] $CPCode, [Parameter(Mandatory, ParameterSetName = 'URL')] [string] $URL, [Parameter()] [ValidateSet('EDGE_ERRORS', 'ORIGIN_ERRORS')] [string] $ErrorType, [Parameter()] [ValidateSet('STANDARD_TLS', 'ENHANCED_TLS')] [string] $Delivery, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/estats" $Body = @{} if ($CPCode) { $Body['cpCode'] = $CPCode } if ($URL) { $Body['url'] = $URL } if ($ErrorType) { $Body['errorType'] = $ErrorType } if ($Delivery) { $Body['delivery'] = $Delivery } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function Get-EdgeDiagnosticsErrorTranslation { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [string] $RequestID, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/error-translator/requests/$RequestID" $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function Get-EdgeDiagnosticsGrep { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [int] $RequestID, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/grep/requests/$RequestID" $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function Get-EdgeDiagnosticsGroup { [CmdletBinding()] Param( [Parameter(ValueFromPipeline, ValueFromPipelineByPropertyName)] [string] $GroupID, [Parameter()] [switch] $IncludeCurl, [Parameter()] [switch] $IncludeDig, [Parameter()] [switch] $IncludeMTR, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) if ($GroupID) { $Path = "/edge-diagnostics/v1/user-diagnostic-data/groups/$GroupID/records" $QueryParameters = @{ 'includeCurl' = $PSBoundParameters.IncludeCurl.IsPresent 'includeDig' = $PSBoundParameters.IncludeDig.IsPresent 'includeMtr' = $PSBoundParameters.IncludeMTR.IsPresent } } else { $Path = "/edge-diagnostics/v1/user-diagnostic-data/groups" } $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'QueryParameters' = $QueryParameters 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams if ($GroupID) { return $Response.Body } else { return $Response.Body.groups } } function Get-EdgeDiagnosticsGTMProperties { [CmdletBinding()] Param( [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/gtm/gtm-properties" $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body.gtmProperties } function Get-EdgeDiagnosticsGTMPropertyIPs { [CmdletBinding()] Param( [Parameter(Mandatory)] [string] $Domain, [Parameter(Mandatory)] [string] $Property, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/gtm/$Property/$Domain/gtm-property-ips" $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body.gtmPropertyIps } function Get-EdgeDiagnosticsIPAHostnames { [CmdletBinding()] Param( [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/ipa/hostnames" $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body.hostnames } function Get-EdgeDiagnosticsLocations { [CmdletBinding()] Param( [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/edge-locations" $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body.edgeLocations } function Get-EdgeDiagnosticsLogs { [CmdletBinding()] Param( [Parameter(Mandatory)] [string] $EdgeIP, [Parameter(Mandatory)] [int] $CPCode, [Parameter()] [string] $ClientIP, [Parameter()] [string] $ObjectStatus, [Parameter()] [string] $HttpStatusCode, [Parameter()] [string] $UserAgent, [Parameter()] [string] $ARL, [Parameter()] [string] $Start, [Parameter(Mandatory)] [string] $End, [Parameter()] [ValidateSet('R', 'F')] [string] $LogType, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $ISO8601Match = '[\d]{4}-[\d]{2}-[\d]{2}(T[\d]{2}:[\d]{2}(:[\d]{2})?(Z|[+-]{1}[\d]{2}[:][\d]{2})?)?' if ($Start) { if ($Start -notmatch $ISO8601Match) { throw "ERROR: Start & End must be in the format 'YYYY-MM-DDThh:mm(:ss optional) and (optionally) end with: 'Z' for UTC or '+/-XX:XX' to specify another timezone" } } if ($End) { if ($End -notmatch $ISO8601Match) { throw "ERROR: Start & End must be in the format 'YYYY-MM-DDThh:mm(:ss optional) and (optionally) end with: 'Z' for UTC or '+/-XX:XX' to specify another timezone" } } $Path = "/edge-diagnostics/v1/grep" $QueryParameters = @{ 'edgeIp' = $EdgeIP 'cpCode' = $PSBoundParameters.CPCode 'clientIp' = $ClientIP 'objectStatus' = $ObjectStatus 'httpStatusCode' = $HTTPStatusCode 'userAgent' = $UserAgent 'arl' = $ARL 'start' = $Start 'end' = $End 'logType' = $LogType } $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'QueryParameters' = $QueryParameters 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function Get-EdgeDiagnosticsMetadataTrace { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [string] $RequestID, [Parameter()] [switch] $HTMLFormat, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/metadata-tracer/requests/$RequestID" if ($HTMLFormat) { $AdditionalHeaders = @{ 'Accept' = 'text/html' } } $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'AdditionalHeaders' = $AdditionalHeaders 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function Get-EdgeDiagnosticsMetadataTraceLocations { [CmdletBinding()] Param( [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/metadata-tracer/locations" $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body.mdtLocations } function Get-EdgeDiagnosticsURLHealthCheck { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [int] $RequestID, [Parameter()] [switch] $IncludeContentResponseBody, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/url-health-check/requests/$RequestID" $QueryParameters = @{ 'includeContentResponseBody' = $PSBoundParameters.IncludeContentResponseBody.IsPresent } $RequestParams = @{ 'Path' = $Path 'Method' = 'GET' 'QueryParameters' = $QueryParameters 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function Get-EdgeDiagnosticsURLTranslation { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)] [string] $URL, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/translated-url" $Body = @{ url = $URL } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body.translatedUrl } function New-EdgeDiagnosticsConnectivityProblem { [CmdletBinding(DefaultParameterSetName = 'Attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'Attributes')] [string] $URL, [Parameter(ParameterSetName = 'Attributes')] [string] $ClientIP, [Parameter(ParameterSetName = 'Attributes')] [string] $EdgeLocationID, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet('IPV4', 'IPV6')] [string] $IPVersion, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet('TCP', 'ICMP')] [string] $PacketType, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet(80, 443)] [int] $Port, [Parameter(ParameterSetName = 'Attributes')] [string[]] $RequestHeaders, [Parameter(ParameterSetName = 'Attributes')] [switch] $RunFromSiteshield, [Parameter(ParameterSetName = 'Attributes')] [string[]] $SensitiveRequestHeaderKeys, [Parameter(ParameterSetName = 'Attributes')] [string] $SpoofEdgeIP, [Parameter(ValueFromPipeline, Mandatory, ParameterSetName = 'Body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/connectivity-problems" if ($PSCmdlet.ParameterSetName -eq 'Attributes') { $Body = @{ 'url' = $URL } if ($ClientIP) { $Body['clientIp'] = $ClientIP } if ($EdgeLocationID) { $Body['edgeLocationId'] = $EdgeLocationID } if ($IPVersion) { $Body['ipVersion'] = $IPVersion } if ($PacketType) { $Body['packetType'] = $PacketType } if ($null -ne $PSBoundParameters.Port) { $Body['port'] = $Port } if ($RequestHeaders) { $Body['requestHeaders'] = $RequestHeaders } if ($RunFromSiteshield) { $Body['runFromSiteShield'] = 'true' } if ($SensitiveRequestHeaderKeys) { $Body['sensitiveRequestHeaderKeys'] = $SensitiveRequestHeaderKeys } if ($SpoofEdgeIP) { $Body['spoofEdgeIp'] = $SpoofEdgeIP } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsContentProblem { [CmdletBinding(DefaultParameterSetName = 'Attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'Attributes')] [string] $URL, [Parameter(ParameterSetName = 'Attributes')] [string] $EdgeLocationID, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet('IPV4', 'IPV6')] [string] $IPVersion, [Parameter(ParameterSetName = 'Attributes')] [string[]] $RequestHeaders, [Parameter(ParameterSetName = 'Attributes')] [switch] $RunFromSiteshield, [Parameter(ParameterSetName = 'Attributes')] [string[]] $SensitiveRequestHeaderKeys, [Parameter(ParameterSetName = 'Attributes')] [string] $SpoofEdgeIP, [Parameter(ValueFromPipeline, Mandatory, ParameterSetName = 'Body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/content-problems" if ($PSCmdlet.ParameterSetName -eq 'Attributes') { $Body = @{ 'url' = $URL } if ($EdgeLocationID) { $Body['edgeLocationId'] = $EdgeLocationID } if ($IPVersion) { $Body['ipVersion'] = $IPVersion } if ($RequestHeaders) { $Body['requestHeaders'] = $RequestHeaders } if ($RunFromSiteshield) { $Body['runFromSiteShield'] = 'true' } if ($SensitiveRequestHeaderKeys) { $Body['sensitiveRequestHeaderKeys'] = $SensitiveRequestHeaderKeys } if ($SpoofEdgeIP) { $Body['spoofEdgeIp'] = $SpoofEdgeIP } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsCurl { [CmdletBinding(DefaultParameterSetName = 'IP & attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'IP & attributes')] [Parameter(Mandatory, ParameterSetName = 'Location & attributes')] [string] $URL, [Parameter(Mandatory, ParameterSetName = 'IP & attributes')] [Parameter(Mandatory, ParameterSetName = 'Location & attributes')] [ValidateSet('IPV4', 'IPV6')] [string] $IPVersion, [Parameter(Mandatory, ParameterSetName = 'IP & attributes')] [string] $EdgeIP, [Parameter(Mandatory, ParameterSetName = 'Location & attributes')] [string] $EdgeLocationID, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [string] $SpoofEdgeIP, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [string[]] $RequestHeaders, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [switch] $RunFromSiteshield, [Parameter(Mandatory, ValueFromPipeline, ParameterSetName = 'Body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/curl" if ($PSCmdlet.ParameterSetName.Contains('attributes')) { $Body = @{ url = $URL ipVersion = $IPVersion } if ($EdgeIP) { $Body['edgeIp'] = $EdgeIP } if ($EdgeLocationID) { $Body['edgeLocationId'] = $EdgeLocationID } if ($SpoofEdgeIP) { $Body['spoofEdgeIP'] = $SpoofEdgeIP } if ($RequestHeaders) { $Body['requestHeaders'] = $RequestHeaders } if ($RunFromSiteshield) { $Body['runFromSiteshield'] = $true } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsDig { [CmdletBinding(DefaultParameterSetName = 'IP & attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'IP & attributes')] [Parameter(Mandatory, ParameterSetName = 'Location & attributes')] [string] $Hostname, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [ValidateSet('A', 'AAAA', 'SOA', 'CNAME', 'PTR', 'MX', 'NS', 'TXT', 'SRV', 'CAA', 'ANY')] [string] $QueryType = 'ANY', [Parameter(ParameterSetName = 'IP & attributes')] [string] $EdgeIP, [Parameter(ParameterSetName = 'Location & attributes')] [string] $EdgeLocationID, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [switch] $IsGTMHostname, [Parameter(Mandatory, ParameterSetName = 'Body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/dig" if ($PSCmdlet.ParameterSetName.Contains('attributes')) { $Body = @{ 'hostname' = $Hostname 'queryType' = $QueryType 'isGtmHostname' = $IsGTMHostname.IsPresent } if ($EdgeIP) { $Body['edgeIp'] = $EdgeIP } if ($EdgeLocationID) { $Body['edgeLocationId'] = $EdgeLocationID } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsErrorTranslation { [CmdletBinding()] Param( [Parameter(Mandatory)] [string] $ErrorCode, [Parameter()] [switch] $TraceForwardLogs, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) $Path = "/edge-diagnostics/v1/error-translator" $Body = @{ 'errorCode' = $ErrorCode 'traceForwardLogs' = $TraceForwardLogs.IsPresent } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } function New-EdgeDiagnosticsESIDebug { [CmdletBinding(DefaultParameterSetName = 'Attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'Attributes')] [string] $URL, [Parameter(ParameterSetName = 'Attributes')] [string] $ClientIP, [Parameter(ParameterSetName = 'Attributes')] [string[]] $ClientRequestHeaders, [Parameter(ParameterSetName = 'Attributes')] [string] $OriginServer, [Parameter(ValueFromPipeline, Mandatory, ParameterSetName = 'Body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/esi-debugger-api/v1/debug" if ($PSCmdlet.ParameterSetName -eq 'Attributes') { $Body = @{ 'url' = $URL } if ($ClientIP) { $Body['clientIp'] = $ClientIP } if ($ClientRequestHeaders) { $Body['clientRequestHeaders'] = @{} foreach ($Header in $ClientRequestHeaders) { $SplitHeader = $Header.Split(":", 2) if ($SplitHeader.Count -eq 2) { $HeaderName = $SplitHeader[0].Trim() $HeaderValue = $SplitHeader[1].Trim() $Body['clientRequestHeaders'][$HeaderName] = $HeaderValue } else { Write-Warning "Invalid header format: '$Header'. Expected format is 'Header-Name: Header Value'. Skipping this header." } } } if ($OriginServer) { $Body['originServer'] = $OriginServer } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsGrep { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline)] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/grep" $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsLink { [CmdletBinding(DefaultParameterSetName = 'URL & attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'URL & attributes')] [string] $URL, [Parameter(Mandatory, ParameterSetName = 'IPA & attributes')] [string] $IPAHostname, [Parameter(ParameterSetName = 'URL & attributes')] [Parameter(ParameterSetName = 'IPA & attributes')] [string] $Note, [Parameter(ParameterSetName = 'Body', ValueFromPipeline, Mandatory)] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/user-diagnostic-data/groups" if ($PSCmdlet.ParameterSetName.Contains('attributes')) { $Body = @{} if ($URL) { $Body['url'] = $URL } if ($IPAHostname) { $Body['ipaHostname'] = $IPAHostname } if ($Note) { $Body['note'] = $Note } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsMetadataTrace { [CmdletBinding(DefaultParameterSetName = 'IP & attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'IP & attributes')] [Parameter(Mandatory, ParameterSetName = 'Location & attributes')] [string] $URL, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [ValidateSet('HEAD', 'POST', 'GET')] [string] $HTTPMethod, [Parameter(ParameterSetName = 'IP & attributes')] [string] $EdgeIP, [Parameter(ParameterSetName = 'Location & attributes')] [string] $MDTLocationID, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [string[]] $RequestHeaders, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [string[]] $SensitiveRequestHeaderKeys, [Parameter(ParameterSetName = 'IP & attributes')] [Parameter(ParameterSetName = 'Location & attributes')] [switch] $UseStaging, [Parameter(Mandatory, ValueFromPipeline, ParameterSetName = 'Body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/metadata-tracer" if ($PSCmdlet.ParameterSetName.Contains('attributes')) { $Body = @{ 'url' = $URL 'useStaging' = $UseStaging.IsPresent } if ($HTTPMethod) { $Body['httpMethod'] = $HTTPMethod } if ($EdgeIP) { $Body['edgeIp'] = $EdgeIP } if ($MDTLocationID) { $Body['mdtLocationId'] = $MDTLocationID } if ($RequestHeaders) { $Body['requestHeaders'] = $RequestHeaders } if ($SensitiveRequestHeaderKeys) { $Body['sensitiveRequestHeaderKeys'] = $SensitiveRequestHeaderKeys } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsMTR { [CmdletBinding(DefaultParameterSetName = 'Attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'Attributes')] [string] $Destination, [Parameter(Mandatory, ParameterSetName = 'Attributes')] [ValidateSet('IP', 'HOST')] [string] $DestinationType, [Parameter(Mandatory, ParameterSetName = 'Attributes')] [ValidateSet('ICMP', 'TCP')] [string] $PacketType, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet(80, 443)] [int] $Port, [Parameter(ParameterSetName = 'Attributes')] [switch] $ResolveDNS, [Parameter(ParameterSetName = 'Attributes')] [switch] $ShowIPs, [Parameter(ParameterSetName = 'Attributes')] [switch] $ShowLocations, [Parameter(ParameterSetName = 'Attributes')] [string] $SiteShieldHostname, [Parameter(Mandatory, ParameterSetName = 'Attributes')] [string] $Source, [Parameter(Mandatory, ParameterSetName = 'Attributes')] [ValidateSet('EDGE_IP', 'LOCATION')] [string] $SourceType, [Parameter(ValueFromPipeline, Mandatory, ParameterSetName = 'body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/mtr" if ($PSCmdlet.ParameterSetName -eq 'Attributes') { $Body = @{ 'destination' = $Destination 'destinationType' = $DestinationType 'packetType' = $PacketType 'resolveDns' = $ResolveDNS.IsPresent 'showIps' = $ShowIPs.IsPresent 'showLocations' = $ShowLocations.IsPresent } if ($Port) { $Body['port'] = $Port } if ($SiteShieldHostname) { $Body['siteShieldHostname'] = $SiteShieldHostname } if ($Source) { $Body['source'] = $Source } if ($SourceType) { $Body['sourceType'] = $SourceType } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function New-EdgeDiagnosticsURLHealthCheck { [CmdletBinding(DefaultParameterSetName = 'Attributes')] Param( [Parameter(Mandatory, ParameterSetName = 'Attributes')] [string] $URL, [Parameter(ParameterSetName = 'Attributes')] [string] $EdgeLocationID, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet('IPV4', 'IPV6')] [string] $IPVersion, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet('TCP', 'ICMP')] [string] $PacketType, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet(80, 443)] [int] $Port, [Parameter(ParameterSetName = 'Attributes')] [ValidateSet('A', 'AAAA', 'SOA', 'CNAME', 'PTR', 'MX', 'NS', 'TXT', 'SRV', 'CAA', 'ANY')] [string] $QueryType, [Parameter(ParameterSetName = 'Attributes')] [string[]] $RequestHeaders, [Parameter(ParameterSetName = 'Attributes')] [switch] $RunFromSiteshield, [Parameter(ParameterSetName = 'Attributes')] [string[]] $SensitiveRequestHeaderKeys, [Parameter(ParameterSetName = 'Attributes')] [string] $SpoofEdgeIP, [Parameter(ParameterSetName = 'Attributes')] [string[]] $ViewsAllowed, [Parameter(ValueFromPipeline, Mandatory, ParameterSetName = 'Body')] $Body, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) process { $Path = "/edge-diagnostics/v1/url-health-check" if ($PSCmdlet.ParameterSetName -eq 'Attributes') { $Body = @{ 'url' = $URL } if ($EdgeLocationID) { $Body['edgeLocationId'] = $EdgeLocationID } if ($IPVersion) { $Body['ipVersion'] = $IPVersion } if ($PacketType) { $Body['packetType'] = $PacketType } if ($null -ne $PSBoundParameters.Port) { $Body['port'] = $Port } if ($QueryType) { $Body['queryType'] = $QueryType } if ($RequestHeaders) { $Body['requestHeaders'] = $RequestHeaders } if ($RunFromSiteshield) { $Body['runFromSiteShield'] = 'true' } if ($SensitiveRequestHeaderKeys) { $Body['sensitiveRequestHeaderKeys'] = $SensitiveRequestHeaderKeys } if ($SpoofEdgeIP) { $Body['spoofEdgeIp'] = $SpoofEdgeIP } if ($ViewsAllowed) { $Body['viewsAllowed'] = $ViewsAllowed } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } } function Test-EdgeDiagnosticsIP { [CmdletBinding()] Param( [Parameter(Mandatory, ValueFromPipeline)] [string[]] $IPAddress, [Parameter()] [switch] $IncludeLocation, [Parameter()] [string] $EdgeRCFile, [Parameter()] [string] $Section, [Parameter()] [string] $AccountSwitchKey ) if ($IncludeLocation) { $Path = "/edge-diagnostics/v1/verify-locate-ip" if ($IPAddress.Count -gt 1) { throw "Only one IP address can be included when using the -IncludeLocation switch." } $Body = @{ 'ipAddress' = $IPAddress[0] } } else { $Path = "/edge-diagnostics/v1/verify-edge-ip" $Body = @{ 'ipAddresses' = $IPAddress } } $RequestParams = @{ 'Path' = $Path 'Method' = 'POST' 'Body' = $Body 'EdgeRCFile' = $EdgeRCFile 'Section' = $Section 'AccountSwitchKey' = $AccountSwitchKey 'Debug' = ($PSBoundParameters.Debug -eq $true) } # Make Request $Response = Invoke-AkamaiRequest @RequestParams return $Response.Body } # SIG # Begin signature block # MIIo2AYJKoZIhvcNAQcCoIIoyTCCKMUCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCA2V4UCYdYvfGDC # Hg6UqwcGJpO7eUi6D3A0ltYu+/DouqCCDg4wggawMIIEmKADAgECAhAIrUCyYNKc # TJ9ezam9k67ZMA0GCSqGSIb3DQEBDAUAMGIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK # EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xITAfBgNV # BAMTGERpZ2lDZXJ0IFRydXN0ZWQgUm9vdCBHNDAeFw0yMTA0MjkwMDAwMDBaFw0z # NjA0MjgyMzU5NTlaMGkxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwg # SW5jLjFBMD8GA1UEAxM4RGlnaUNlcnQgVHJ1c3RlZCBHNCBDb2RlIFNpZ25pbmcg # UlNBNDA5NiBTSEEzODQgMjAyMSBDQTEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw # ggIKAoICAQDVtC9C0CiteLdd1TlZG7GIQvUzjOs9gZdwxbvEhSYwn6SOaNhc9es0 # JAfhS0/TeEP0F9ce2vnS1WcaUk8OoVf8iJnBkcyBAz5NcCRks43iCH00fUyAVxJr # Q5qZ8sU7H/Lvy0daE6ZMswEgJfMQ04uy+wjwiuCdCcBlp/qYgEk1hz1RGeiQIXhF # LqGfLOEYwhrMxe6TSXBCMo/7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