pub struct DeploymentProperties {
    pub template: Option<Value>,
    pub template_link: Option<TemplateLink>,
    pub parameters: Option<Value>,
    pub parameters_link: Option<ParametersLink>,
    pub mode: Mode,
    pub debug_setting: Option<DebugSetting>,
    pub on_error_deployment: Option<OnErrorDeployment>,
    pub expression_evaluation_options: Option<ExpressionEvaluationOptions>,
}
Expand description

Deployment properties.

Fields

template: Option<Value>

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.

template_link: Option<TemplateLink>

Entity representing the reference to the template.

parameters: Option<Value>

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.

parameters_link: Option<ParametersLink>

Entity representing the reference to the deployment parameters.

mode: 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.

debug_setting: Option<DebugSetting>

The debug setting.

on_error_deployment: Option<OnErrorDeployment>

Deployment on error behavior.

expression_evaluation_options: Option<ExpressionEvaluationOptions>

Specifies whether template expressions are evaluated within the scope of the parent template or nested template.

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more