Sha256: d3c191dd902f4f11b57857483f6c56c3b8557445f3ba7d8ec6424bf231d31e1b

Contents?: true

Size: 1.65 KB

Versions: 8

Compression:

Stored size: 1.65 KB

Contents

# 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::Resources::Mgmt::V2019_07_01
  module Models
    #
    # Deployment on error behavior.
    #
    class OnErrorDeployment

      include MsRestAzure

      # @return [OnErrorDeploymentType] The deployment on error behavior type.
      # Possible values are LastSuccessful and SpecificDeployment. Possible
      # values include: 'LastSuccessful', 'SpecificDeployment'
      attr_accessor :type

      # @return [String] The deployment to be used on error case.
      attr_accessor :deployment_name


      #
      # Mapper for OnErrorDeployment class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'OnErrorDeployment',
          type: {
            name: 'Composite',
            class_name: 'OnErrorDeployment',
            model_properties: {
              type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'type',
                type: {
                  name: 'Enum',
                  module: 'OnErrorDeploymentType'
                }
              },
              deployment_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'deploymentName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
azure_mgmt_resources2-0.18.2 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
azure_mgmt_resources-0.18.2 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
azure_mgmt_resources-0.18.1 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
azure_mgmt_resources-0.18.0 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
azure_mgmt_resources-0.17.9 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
azure_mgmt_resources-0.17.8 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb
azure_mgmt_resources-0.17.7 lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb