Compartir a través de


IDeploymentsOperations.BeginWhatIfAtManagementGroupScopeWithHttpMessagesAsync Método

Definición

Devuelve los cambios que realizará la implementación si se ejecuta en el ámbito del grupo de administración.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ResourceManager.Models.WhatIfOperationResult,Microsoft.Azure.Management.ResourceManager.Models.DeploymentsWhatIfAtManagementGroupScopeHeaders>> BeginWhatIfAtManagementGroupScopeWithHttpMessagesAsync (string groupId, string deploymentName, Microsoft.Azure.Management.ResourceManager.Models.ScopedDeploymentWhatIf parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginWhatIfAtManagementGroupScopeWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.ResourceManager.Models.ScopedDeploymentWhatIf * 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.WhatIfOperationResult, Microsoft.Azure.Management.ResourceManager.Models.DeploymentsWhatIfAtManagementGroupScopeHeaders>>
Public Function BeginWhatIfAtManagementGroupScopeWithHttpMessagesAsync (groupId As String, deploymentName As String, parameters As ScopedDeploymentWhatIf, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of WhatIfOperationResult, DeploymentsWhatIfAtManagementGroupScopeHeaders))

Parámetros

groupId
String

Identificador del grupo de administración.

deploymentName
String

Nombre de la implementación.

parameters
ScopedDeploymentWhatIf

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