Compartir a través de


ResourcesExtensions.CalculateDeploymentTemplateHash Método

Definición

Calcule el hash de la plantilla especificada.

  • Ruta de acceso de solicitud/providers/Microsoft.Resources/calculateTemplateHash
  • IdDeployments_CalculateTemplateHash de operaciones
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

Instancia TenantResource en la que se ejecutará el método.

template
BinaryData

Plantilla proporcionada para calcular el hash.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

template es null.

Se aplica a