Partilhar via


ResourcesExtensions.CalculateDeploymentTemplateHash Método

Definição

Calcule o hash do modelo especificado.

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

Parâmetros

tenantResource
TenantResource

A TenantResource instância em que 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