DeploymentProperties Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
DeploymentProperties()
Initializes a new instance of the DeploymentProperties class.
public DeploymentProperties ();
Public Sub New ()
Applies to
DeploymentProperties(DeploymentMode, Object, TemplateLink, Object, ParametersLink, DebugSetting, OnErrorDeployment, ExpressionEvaluationOptions)
Initializes a new instance of the DeploymentProperties class.
public DeploymentProperties (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);
new Microsoft.Azure.Management.ResourceManager.Models.DeploymentProperties : 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.DeploymentProperties
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)
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.
Applies to
Azure SDK for .NET