Share via


DeploymentProperties Class

Definition

Deployment properties.

public class DeploymentProperties
type DeploymentProperties = class
Public Class DeploymentProperties
Inheritance
DeploymentProperties
Derived

Constructors

DeploymentProperties()

Initializes a new instance of the DeploymentProperties class.

DeploymentProperties(DeploymentMode, Object, TemplateLink, Object, ParametersLink, DebugSetting, OnErrorDeployment, ExpressionEvaluationOptions)

Initializes a new instance of the DeploymentProperties class.

Properties

DebugSetting

Gets or sets the debug setting of the deployment.

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.

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'

OnErrorDeployment

Gets or sets the deployment on error behavior.

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.

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.

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.

TemplateLink

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

Methods

Validate()

Validate the object.

Applies to