Compartir a través de


IDeploymentsOperations.BeginValidateAtManagementGroupScopeWithHttpMessagesAsync Método

Definición

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ResourceManager.Models.DeploymentValidateResult>> BeginValidateAtManagementGroupScopeWithHttpMessagesAsync (string groupId, string deploymentName, Microsoft.Azure.Management.ResourceManager.Models.ScopedDeployment parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginValidateAtManagementGroupScopeWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.ResourceManager.Models.ScopedDeployment * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ResourceManager.Models.DeploymentValidateResult>>
Public Function BeginValidateAtManagementGroupScopeWithHttpMessagesAsync (groupId As String, deploymentName As String, parameters As ScopedDeployment, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of DeploymentValidateResult))

Parámetros

groupId
String

Identificador del grupo de administración.

deploymentName
String

Nombre de la implementación.

parameters
ScopedDeployment

Parámetros que se van a validar.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a