MockableCdnSubscriptionResource.ValidateProbe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe
- Operation Id: ValidateProbe
- Default Api Version: 2024-02-01
public virtual Azure.Response<Azure.ResourceManager.Cdn.Models.ValidateProbeResult> ValidateProbe (Azure.ResourceManager.Cdn.Models.ValidateProbeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateProbe : Azure.ResourceManager.Cdn.Models.ValidateProbeContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.ValidateProbeResult>
override this.ValidateProbe : Azure.ResourceManager.Cdn.Models.ValidateProbeContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.ValidateProbeResult>
Public Overridable Function ValidateProbe (content As ValidateProbeContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ValidateProbeResult)
Parameters
- content
- ValidateProbeContent
Input to check.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET