共用方式為


DeploymentsOperationsExtensions.CalculateTemplateHashAsync Method

Definition

Calculate the hash of the given template.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.TemplateHashResult> CalculateTemplateHashAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations operations, object template, System.Threading.CancellationToken cancellationToken = default);
static member CalculateTemplateHashAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.TemplateHashResult>
<Extension()>
Public Function CalculateTemplateHashAsync (operations As IDeploymentsOperations, template As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TemplateHashResult)

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

template
Object

The template provided to calculate hash.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to