Partager via


ResourcesTenantMockingExtension.CalculateDeploymentTemplateHash Méthode

Définition

Calculez le hachage du modèle donné.

  • Chemin/providers/Microsoft.Resources/calculateTemplateHash
  • IdDeployments_CalculateTemplateHash d’opération
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)

Paramètres

template
BinaryData

Modèle fourni pour calculer le hachage.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

template a la valeur null.

S’applique à