你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeploymentsOperationsExtensions.CalculateTemplateHashAsync 方法

定义

计算给定模板的哈希。

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)

参数

operations
IDeploymentsOperations

此扩展方法的操作组。

template
Object

提供的用于计算哈希的模板。

cancellationToken
CancellationToken

取消标记。

返回

适用于