# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Resources2::Mgmt::V2020_06_01 module Models # # Deployment What-if properties. # class DeploymentWhatIfProperties < DeploymentProperties include MsRestAzure2 # @return [DeploymentWhatIfSettings] Optional What-If operation settings. attr_accessor :what_if_settings # # Mapper for DeploymentWhatIfProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeploymentWhatIfProperties', type: { name: 'Composite', class_name: 'DeploymentWhatIfProperties', model_properties: { template: { client_side_validation: true, required: false, serialized_name: 'template', type: { name: 'Object' } }, template_link: { client_side_validation: true, required: false, serialized_name: 'templateLink', type: { name: 'Composite', class_name: 'TemplateLink' } }, parameters: { client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Object' } }, parameters_link: { client_side_validation: true, required: false, serialized_name: 'parametersLink', type: { name: 'Composite', class_name: 'ParametersLink' } }, mode: { client_side_validation: true, required: true, serialized_name: 'mode', type: { name: 'Enum', module: 'DeploymentMode' } }, debug_setting: { client_side_validation: true, required: false, serialized_name: 'debugSetting', type: { name: 'Composite', class_name: 'DebugSetting' } }, on_error_deployment: { client_side_validation: true, required: false, serialized_name: 'onErrorDeployment', type: { name: 'Composite', class_name: 'OnErrorDeployment' } }, expression_evaluation_options: { client_side_validation: true, required: false, serialized_name: 'expressionEvaluationOptions', type: { name: 'Composite', class_name: 'ExpressionEvaluationOptions' } }, what_if_settings: { client_side_validation: true, required: false, serialized_name: 'whatIfSettings', type: { name: 'Composite', class_name: 'DeploymentWhatIfSettings' } } } } } end end end end