/// <summary>
 /// Initializes a new instance of the DeploymentPropertiesExtended
 /// class.
 /// </summary>
 public DeploymentPropertiesExtended(string provisioningState = default(string), string correlationId = default(string), DateTime?timestamp = default(DateTime?), object outputs = default(object), IList <Provider> providers = default(IList <Provider>), IList <Dependency> dependencies = default(IList <Dependency>), object template = default(object), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DeploymentMode?mode = default(DeploymentMode?), DebugSetting debugSetting = default(DebugSetting))
 {
     ProvisioningState = provisioningState;
     CorrelationId     = correlationId;
     Timestamp         = timestamp;
     Outputs           = outputs;
     Providers         = providers;
     Dependencies      = dependencies;
     Template          = template;
     TemplateLink      = templateLink;
     Parameters        = parameters;
     ParametersLink    = parametersLink;
     Mode         = mode;
     DebugSetting = debugSetting;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the DeploymentPropertiesExtended
 /// class.
 /// </summary>
 /// <param name="provisioningState">The state of the
 /// provisioning.</param>
 /// <param name="correlationId">The correlation ID of the
 /// deployment.</param>
 /// <param name="timestamp">The timestamp of the template
 /// deployment.</param>
 /// <param name="duration">The duration of the template
 /// deployment.</param>
 /// <param name="outputs">Key/value pairs that represent deployment
 /// output.</param>
 /// <param name="providers">The list of resource providers needed for
 /// the deployment.</param>
 /// <param name="dependencies">The list of deployment
 /// dependencies.</param>
 /// <param name="templateLink">The URI referencing the
 /// template.</param>
 /// <param name="parameters">Deployment parameters. </param>
 /// <param name="parametersLink">The URI referencing the parameters.
 /// </param>
 /// <param name="mode">The deployment mode. Possible values are
 /// Incremental and Complete. Possible values include: 'Incremental',
 /// 'Complete'</param>
 /// <param name="debugSetting">The debug setting of the
 /// deployment.</param>
 /// <param name="onErrorDeployment">The deployment on error
 /// behavior.</param>
 /// <param name="templateHash">The hash produced for the
 /// template.</param>
 /// <param name="outputResources">Array of provisioned
 /// resources.</param>
 /// <param name="validatedResources">Array of validated
 /// resources.</param>
 /// <param name="error">The deployment error.</param>
 public DeploymentPropertiesExtended(string provisioningState = default(string), string correlationId = default(string), System.DateTime?timestamp = default(System.DateTime?), string duration = default(string), object outputs = default(object), IList <Provider> providers = default(IList <Provider>), IList <Dependency> dependencies = default(IList <Dependency>), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DeploymentMode?mode = default(DeploymentMode?), DebugSetting debugSetting = default(DebugSetting), OnErrorDeploymentExtended onErrorDeployment = default(OnErrorDeploymentExtended), string templateHash = default(string), IList <ResourceReference> outputResources = default(IList <ResourceReference>), IList <ResourceReference> validatedResources = default(IList <ResourceReference>), ErrorResponse error = default(ErrorResponse))
 {
     ProvisioningState = provisioningState;
     CorrelationId     = correlationId;
     Timestamp         = timestamp;
     Duration          = duration;
     Outputs           = outputs;
     Providers         = providers;
     Dependencies      = dependencies;
     TemplateLink      = templateLink;
     Parameters        = parameters;
     ParametersLink    = parametersLink;
     Mode               = mode;
     DebugSetting       = debugSetting;
     OnErrorDeployment  = onErrorDeployment;
     TemplateHash       = templateHash;
     OutputResources    = outputResources;
     ValidatedResources = validatedResources;
     Error              = error;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DeploymentProperties class.
 /// </summary>
 /// <param name="mode">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'</param>
 /// <param name="template">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.</param>
 /// <param name="templateLink">The URI of the template. Use either the
 /// templateLink property or the template property, but not
 /// both.</param>
 /// <param name="parameters">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.</param>
 /// <param name="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.</param>
 /// <param name="debugSetting">The debug setting of the
 /// deployment.</param>
 /// <param name="onErrorDeployment">The deployment on error
 /// behavior.</param>
 /// <param name="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.</param>
 public DeploymentProperties(DeploymentMode mode, object template = default(object), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DebugSetting debugSetting = default(DebugSetting), OnErrorDeployment onErrorDeployment = default(OnErrorDeployment), ExpressionEvaluationOptions expressionEvaluationOptions = default(ExpressionEvaluationOptions))
 {
     Template                    = template;
     TemplateLink                = templateLink;
     Parameters                  = parameters;
     ParametersLink              = parametersLink;
     Mode                        = mode;
     DebugSetting                = debugSetting;
     OnErrorDeployment           = onErrorDeployment;
     ExpressionEvaluationOptions = expressionEvaluationOptions;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DeploymentWhatIfProperties class.
 /// </summary>
 /// <param name="mode">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'</param>
 /// <param name="template">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.</param>
 /// <param name="templateLink">The URI of the template. Use either the
 /// templateLink property or the template property, but not
 /// both.</param>
 /// <param name="parameters">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.</param>
 /// <param name="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.</param>
 /// <param name="debugSetting">The debug setting of the
 /// deployment.</param>
 /// <param name="onErrorDeployment">The deployment on error
 /// behavior.</param>
 /// <param name="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.</param>
 /// <param name="whatIfSettings">Optional What-If operation
 /// settings.</param>
 public DeploymentWhatIfProperties(DeploymentMode mode, object template = default(object), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DebugSetting debugSetting = default(DebugSetting), OnErrorDeployment onErrorDeployment = default(OnErrorDeployment), ExpressionEvaluationOptions expressionEvaluationOptions = default(ExpressionEvaluationOptions), DeploymentWhatIfSettings whatIfSettings = default(DeploymentWhatIfSettings))
     : base(mode, template, templateLink, parameters, parametersLink, debugSetting, onErrorDeployment, expressionEvaluationOptions)
 {
     WhatIfSettings = whatIfSettings;
     CustomInit();
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the DeploymentProperties class.
 /// </summary>
 public DeploymentProperties(DeploymentMode?mode, object template = default(object), TemplateLink templateLink = default(TemplateLink), object parameters = default(object), ParametersLink parametersLink = default(ParametersLink), DebugSetting debugSetting = default(DebugSetting))
 {
     Template       = template;
     TemplateLink   = templateLink;
     Parameters     = parameters;
     ParametersLink = parametersLink;
     Mode           = mode;
     DebugSetting   = debugSetting;
 }