共用方式為


ArmCdnModelFactory.ValidateSecretResult Method

Definition

Initializes a new instance of ValidateSecretResult.

public static Azure.ResourceManager.Cdn.Models.ValidateSecretResult ValidateSecretResult (Azure.ResourceManager.Cdn.Models.ValidationStatus? status = default, string message = default);
static member ValidateSecretResult : Nullable<Azure.ResourceManager.Cdn.Models.ValidationStatus> * string -> Azure.ResourceManager.Cdn.Models.ValidateSecretResult
Public Shared Function ValidateSecretResult (Optional status As Nullable(Of ValidationStatus) = Nothing, Optional message As String = Nothing) As ValidateSecretResult

Parameters

status
Nullable<ValidationStatus>

The validation status.

message
String

Detailed error message.

Returns

A new ValidateSecretResult instance for mocking.

Applies to