public final class DeploymentWhatIfProperties extends DeploymentProperties
| Constructor and Description |
|---|
DeploymentWhatIfProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
DeploymentWhatIfSettings |
whatIfSettings()
Get the whatIfSettings property: Optional What-If operation settings.
|
DeploymentWhatIfProperties |
withDebugSetting(DebugSetting debugSetting)
Set the debugSetting property: The debug setting of the deployment.
|
DeploymentWhatIfProperties |
withExpressionEvaluationOptions(ExpressionEvaluationOptions expressionEvaluationOptions)
Set the expressionEvaluationOptions property: Specifies whether template expressions are evaluated within the
scope of the parent template or nested template.
|
DeploymentWhatIfProperties |
withMode(DeploymentMode mode)
Set the mode property: The mode that is used to deploy resources.
|
DeploymentWhatIfProperties |
withOnErrorDeployment(OnErrorDeployment onErrorDeployment)
Set the onErrorDeployment property: The deployment on error behavior.
|
DeploymentWhatIfProperties |
withParameters(Object parameters)
Set the parameters property: Name and value pairs that define the deployment parameters for the template.
|
DeploymentWhatIfProperties |
withParametersLink(ParametersLink parametersLink)
Set the parametersLink property: The URI of parameters file.
|
DeploymentWhatIfProperties |
withTemplate(Object template)
Set the template property: The template content.
|
DeploymentWhatIfProperties |
withTemplateLink(TemplateLink templateLink)
Set the templateLink property: The URI of the template.
|
DeploymentWhatIfProperties |
withWhatIfSettings(DeploymentWhatIfSettings whatIfSettings)
Set the whatIfSettings property: Optional What-If operation settings.
|
debugSetting, expressionEvaluationOptions, mode, onErrorDeployment, parameters, parametersLink, template, templateLinkpublic DeploymentWhatIfSettings whatIfSettings()
public DeploymentWhatIfProperties withWhatIfSettings(DeploymentWhatIfSettings whatIfSettings)
whatIfSettings - the whatIfSettings value to set.public DeploymentWhatIfProperties withTemplate(Object template)
withTemplate in class DeploymentPropertiestemplate - the template value to set.public DeploymentWhatIfProperties withTemplateLink(TemplateLink templateLink)
withTemplateLink in class DeploymentPropertiestemplateLink - the templateLink value to set.public DeploymentWhatIfProperties withParameters(Object parameters)
withParameters in class DeploymentPropertiesparameters - the parameters value to set.public DeploymentWhatIfProperties withParametersLink(ParametersLink parametersLink)
withParametersLink in class DeploymentPropertiesparametersLink - the parametersLink value to set.public DeploymentWhatIfProperties withMode(DeploymentMode mode)
withMode in class DeploymentPropertiesmode - the mode value to set.public DeploymentWhatIfProperties withDebugSetting(DebugSetting debugSetting)
withDebugSetting in class DeploymentPropertiesdebugSetting - the debugSetting value to set.public DeploymentWhatIfProperties withOnErrorDeployment(OnErrorDeployment onErrorDeployment)
withOnErrorDeployment in class DeploymentPropertiesonErrorDeployment - the onErrorDeployment value to set.public DeploymentWhatIfProperties withExpressionEvaluationOptions(ExpressionEvaluationOptions expressionEvaluationOptions)
withExpressionEvaluationOptions in class DeploymentPropertiesexpressionEvaluationOptions - the expressionEvaluationOptions value to set.public void validate()
validate in class DeploymentPropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.