共用方式為


DeploymentWhatIfProperties Constructors

Definition

Overloads

DeploymentWhatIfProperties()

Initializes a new instance of the DeploymentWhatIfProperties class.

DeploymentWhatIfProperties(DeploymentMode, Object, TemplateLink, Object, ParametersLink, DebugSetting, OnErrorDeployment, ExpressionEvaluationOptions, DeploymentWhatIfSettings)

Initializes a new instance of the DeploymentWhatIfProperties class.

DeploymentWhatIfProperties()

Initializes a new instance of the DeploymentWhatIfProperties class.

public DeploymentWhatIfProperties ();
Public Sub New ()

Applies to

Initializes a new instance of the DeploymentWhatIfProperties class.

public DeploymentWhatIfProperties (Microsoft.Azure.Management.ResourceManager.Models.DeploymentMode mode, object template = default, Microsoft.Azure.Management.ResourceManager.Models.TemplateLink templateLink = default, object parameters = default, Microsoft.Azure.Management.ResourceManager.Models.ParametersLink parametersLink = default, Microsoft.Azure.Management.ResourceManager.Models.DebugSetting debugSetting = default, Microsoft.Azure.Management.ResourceManager.Models.OnErrorDeployment onErrorDeployment = default, Microsoft.Azure.Management.ResourceManager.Models.ExpressionEvaluationOptions expressionEvaluationOptions = default, Microsoft.Azure.Management.ResourceManager.Models.DeploymentWhatIfSettings whatIfSettings = default);
new Microsoft.Azure.Management.ResourceManager.Models.DeploymentWhatIfProperties : Microsoft.Azure.Management.ResourceManager.Models.DeploymentMode * obj * Microsoft.Azure.Management.ResourceManager.Models.TemplateLink * obj * Microsoft.Azure.Management.ResourceManager.Models.ParametersLink * Microsoft.Azure.Management.ResourceManager.Models.DebugSetting * Microsoft.Azure.Management.ResourceManager.Models.OnErrorDeployment * Microsoft.Azure.Management.ResourceManager.Models.ExpressionEvaluationOptions * Microsoft.Azure.Management.ResourceManager.Models.DeploymentWhatIfSettings -> Microsoft.Azure.Management.ResourceManager.Models.DeploymentWhatIfProperties
Public Sub New (mode As DeploymentMode, Optional template As Object = Nothing, Optional templateLink As TemplateLink = Nothing, Optional parameters As Object = Nothing, Optional parametersLink As ParametersLink = Nothing, Optional debugSetting As DebugSetting = Nothing, Optional onErrorDeployment As OnErrorDeployment = Nothing, Optional expressionEvaluationOptions As ExpressionEvaluationOptions = Nothing, Optional whatIfSettings As DeploymentWhatIfSettings = Nothing)

Parameters

mode
DeploymentMode

The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. Possible values include: 'Incremental', 'Complete'

template
Object

The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.

templateLink
TemplateLink

The URI of the template. Use either the templateLink property or the template property, but not both.

parameters
Object

Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.

parametersLink
ParametersLink

The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.

debugSetting
DebugSetting

The debug setting of the deployment.

onErrorDeployment
OnErrorDeployment

The deployment on error behavior.

expressionEvaluationOptions
ExpressionEvaluationOptions

Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.

whatIfSettings
DeploymentWhatIfSettings

Optional What-If operation settings.

Applies to