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

Deployment.ExecutionStages.WithWhatIfTemplate 接口

public static interface Deployment.ExecutionStages.WithWhatIfTemplate

允许指定模板的部署执行。

方法摘要

修饰符和类型 方法和描述
abstract WithWhatIf withWhatIfTemplate(Object template)

指定模板内容。

abstract WithWhatIf withWhatIfTemplateLink(String uri, String contentVersion)

指定模板的 URI 和内容版本。

方法详细信息

withWhatIfTemplate

public abstract Deployment.ExecutionStages.WithWhatIf withWhatIfTemplate(Object template)

指定模板内容。

Parameters:

template - 要设置的模板值。

Returns:

执行下一阶段。

withWhatIfTemplateLink

public abstract Deployment.ExecutionStages.WithWhatIf withWhatIfTemplateLink(String uri, String contentVersion)

指定模板的 URI 和内容版本。

Parameters:

uri - 要设置的 URI 值。
contentVersion - 要设置的内容版本值。

Returns:

执行下一阶段。

适用于