Partilhar via


ResourcesExtensions.CalculateDeploymentTemplateHashAsync Método

Definição

Calcule o hash do modelo especificado.

  • Caminho da Solicitação/provedores/Microsoft.Resources/calculateTemplateHash
  • Operação IdDeployments_CalculateTemplateHash
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.TemplateHashResult>> CalculateDeploymentTemplateHashAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, BinaryData template, System.Threading.CancellationToken cancellationToken = default);
static member CalculateDeploymentTemplateHashAsync : Azure.ResourceManager.Resources.TenantResource * BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.TemplateHashResult>>
<Extension()>
Public Function CalculateDeploymentTemplateHashAsync (tenantResource As TenantResource, template As BinaryData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TemplateHashResult))

Parâmetros

tenantResource
TenantResource

A TenantResource instância na qual o método será executado.

template
BinaryData

O modelo fornecido para calcular o hash.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

template é nulo.

Aplica-se a