Compartilhar via


ResourcesTenantMockingExtension.CalculateDeploymentTemplateHash Método

Definição

Calcule o hash do modelo especificado.

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

Parâmetros

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