Compartir a través de


DeploymentsOperationsExtensions.BeginValidateAsync Método

Definición

Valida si la plantilla especificada es sintácticamente correcta y Azure Resource Manager aceptará.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentValidateResult> BeginValidateAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations operations, string resourceGroupName, string deploymentName, Microsoft.Azure.Management.ResourceManager.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginValidateAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.Deployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentValidateResult>
<Extension()>
Public Function BeginValidateAsync (operations As IDeploymentsOperations, resourceGroupName As String, deploymentName As String, parameters As Deployment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentValidateResult)

Parámetros

operations
IDeploymentsOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos en el que se implementará la plantilla. El nombre distingue mayúsculas de minúsculas.

deploymentName
String

Nombre de la implementación.

parameters
Deployment

Parámetros que se van a validar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a