Share via


ValidateOperationsExtensions.SecretMethodAsync Method

Definition

Validate a Secret in the profile.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.ValidateSecretOutput> SecretMethodAsync (this Microsoft.Azure.Management.Cdn.IValidateOperations operations, Microsoft.Azure.Management.Cdn.Models.ResourceReference secretSource, string secretType, System.Threading.CancellationToken cancellationToken = default);
static member SecretMethodAsync : Microsoft.Azure.Management.Cdn.IValidateOperations * Microsoft.Azure.Management.Cdn.Models.ResourceReference * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.ValidateSecretOutput>
<Extension()>
Public Function SecretMethodAsync (operations As IValidateOperations, secretSource As ResourceReference, secretType As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ValidateSecretOutput)

Parameters

operations
IValidateOperations

The operations group for this extension method.

secretSource
ResourceReference

The secret source.

secretType
String

The secret type. Possible values include: 'UrlSigningKey', 'ManagedCertificate', 'CustomerCertificate'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to