Validate Probe - Validate Probe
Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe?api-version=2024-02-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
string |
Azure Subscription ID. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. Current version is 2024-02-01. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
probeURL | True |
string |
The probe URL to validate. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. The request has succeeded. |
|
Other Status Codes |
CDN error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
ValidateProbe
Sample Request
POST https://management.azure.com/subscriptions/subid/providers/Microsoft.Cdn/validateProbe?api-version=2024-02-01
{
"probeURL": "https://www.bing.com/image"
}
Sample Response
{
"isValid": true,
"errorCode": "None",
"message": null
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Validate |
Input of the validate probe API. |
Validate |
Output of the validate probe API. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ValidateProbeInput
Input of the validate probe API.
Name | Type | Description |
---|---|---|
probeURL |
string |
The probe URL to validate. |
ValidateProbeOutput
Output of the validate probe API.
Name | Type | Description |
---|---|---|
errorCode |
string |
Specifies the error code when the probe url is not accepted. |
isValid |
boolean |
Indicates whether the probe URL is accepted or not. |
message |
string |
The detailed error message describing why the probe URL is not accepted. |