共用方式為


DeploymentWhatIfProperties Class

Definition

Deployment What-if properties.

public class DeploymentWhatIfProperties : Microsoft.Azure.Management.ResourceManager.Models.DeploymentProperties
type DeploymentWhatIfProperties = class
    inherit DeploymentProperties
Public Class DeploymentWhatIfProperties
Inherits DeploymentProperties
Inheritance
DeploymentWhatIfProperties

Constructors

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.

Properties

DebugSetting

Gets or sets the debug setting of the deployment.

(Inherited from DeploymentProperties)
ExpressionEvaluationOptions

Gets or sets 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.

(Inherited from DeploymentProperties)
Mode

Gets or sets 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'

(Inherited from DeploymentProperties)
OnErrorDeployment

Gets or sets the deployment on error behavior.

(Inherited from DeploymentProperties)
Parameters

Gets or sets 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.

(Inherited from DeploymentProperties)
ParametersLink

Gets or sets 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.

(Inherited from DeploymentProperties)
Template

Gets or sets 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.

(Inherited from DeploymentProperties)
TemplateLink

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

(Inherited from DeploymentProperties)
WhatIfSettings

Gets or sets optional What-If operation settings.

Methods

Validate()

Validate the object.

Applies to