Share via


ArmResourcesModelFactory.ArmDeploymentProperties Method

Definition

Initializes a new instance of ArmDeploymentProperties.

public static Azure.ResourceManager.Resources.Models.ArmDeploymentProperties ArmDeploymentProperties (BinaryData template = default, Azure.ResourceManager.Resources.Models.ArmDeploymentTemplateLink templateLink = default, BinaryData parameters = default, Azure.ResourceManager.Resources.Models.ArmDeploymentParametersLink parametersLink = default, Azure.ResourceManager.Resources.Models.ArmDeploymentMode mode = Azure.ResourceManager.Resources.Models.ArmDeploymentMode.Incremental, string debugSettingDetailLevel = default, Azure.ResourceManager.Resources.Models.ErrorDeployment errorDeployment = default, Azure.ResourceManager.Resources.Models.ExpressionEvaluationScope? expressionEvaluationScope = default);
static member ArmDeploymentProperties : BinaryData * Azure.ResourceManager.Resources.Models.ArmDeploymentTemplateLink * BinaryData * Azure.ResourceManager.Resources.Models.ArmDeploymentParametersLink * Azure.ResourceManager.Resources.Models.ArmDeploymentMode * string * Azure.ResourceManager.Resources.Models.ErrorDeployment * Nullable<Azure.ResourceManager.Resources.Models.ExpressionEvaluationScope> -> Azure.ResourceManager.Resources.Models.ArmDeploymentProperties
Public Shared Function ArmDeploymentProperties (Optional template As BinaryData = Nothing, Optional templateLink As ArmDeploymentTemplateLink = Nothing, Optional parameters As BinaryData = Nothing, Optional parametersLink As ArmDeploymentParametersLink = Nothing, Optional mode As ArmDeploymentMode = Azure.ResourceManager.Resources.Models.ArmDeploymentMode.Incremental, Optional debugSettingDetailLevel As String = Nothing, Optional errorDeployment As ErrorDeployment = Nothing, Optional expressionEvaluationScope As Nullable(Of ExpressionEvaluationScope) = Nothing) As ArmDeploymentProperties

Parameters

template
BinaryData

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
ArmDeploymentTemplateLink

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

parameters
BinaryData

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
ArmDeploymentParametersLink

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.

mode
ArmDeploymentMode

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.

debugSettingDetailLevel
String

The debug setting of the deployment.

errorDeployment
ErrorDeployment

The deployment on error behavior.

expressionEvaluationScope
Nullable<ExpressionEvaluationScope>

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.

Returns

A new ArmDeploymentProperties instance for mocking.

Applies to