你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeploymentWhatIf Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. DeploymentWhatIf
- com.
public final class DeploymentWhatIf
Deployment What-if operation parameters.
Constructor Summary
Constructor | Description |
---|---|
DeploymentWhatIf() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
location()
Get the location property: The location to store the deployment data. |
Deployment |
properties()
Get the properties property: The deployment properties. |
void |
validate()
Validates the instance. |
Deployment |
withLocation(String location)
Set the location property: The location to store the deployment data. |
Deployment |
withProperties(DeploymentWhatIfProperties properties)
Set the properties property: The deployment properties. |
Methods inherited from java.lang.Object
Constructor Details
DeploymentWhatIf
public DeploymentWhatIf()
Creates an instance of DeploymentWhatIf class.
Method Details
location
public String location()
Get the location property: The location to store the deployment data.
Returns:
properties
public DeploymentWhatIfProperties properties()
Get the properties property: The deployment properties.
Returns:
validate
public void validate()
Validates the instance.
withLocation
public DeploymentWhatIf withLocation(String location)
Set the location property: The location to store the deployment data.
Parameters:
Returns:
withProperties
public DeploymentWhatIf withProperties(DeploymentWhatIfProperties properties)
Set the properties property: The deployment properties.
Parameters:
Returns:
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈