DeploymentsOperationsExtensions.CalculateTemplateHashAsync Method

Definition

Calculate the hash of the given template.

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

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