共用方式為


ArmCdnModelFactory.ValidateProbeResult Method

Definition

Initializes a new instance of ValidateProbeResult.

public static Azure.ResourceManager.Cdn.Models.ValidateProbeResult ValidateProbeResult (bool? isValid = default, string errorCode = default, string message = default);
static member ValidateProbeResult : Nullable<bool> * string * string -> Azure.ResourceManager.Cdn.Models.ValidateProbeResult
Public Shared Function ValidateProbeResult (Optional isValid As Nullable(Of Boolean) = Nothing, Optional errorCode As String = Nothing, Optional message As String = Nothing) As ValidateProbeResult

Parameters

isValid
Nullable<Boolean>

Indicates whether the probe URL is accepted or not.

errorCode
String

Specifies the error code when the probe url is not accepted.

message
String

The detailed error message describing why the probe URL is not accepted.

Returns

A new ValidateProbeResult instance for mocking.

Applies to