# 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::OperationsManagement::Mgmt::V2015_11_01_preview
  module Models
    #
    # ManagementConfiguration properties supported by the OperationsManagement
    # resource provider.
    #
    class ManagementConfigurationProperties

      include MsRestAzure

      # @return [String] The applicationId of the appliance for this
      # Management.
      attr_accessor :application_id

      # @return [String] The type of the parent resource.
      attr_accessor :parent_resource_type

      # @return [Array<ArmTemplateParameter>] Parameters to run the ARM
      # template
      attr_accessor :parameters

      # @return [String] The provisioning state for the
      # ManagementConfiguration.
      attr_accessor :provisioning_state

      # @return The Json object containing the ARM template to deploy
      attr_accessor :template


      #
      # Mapper for ManagementConfigurationProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ManagementConfigurationProperties',
          type: {
            name: 'Composite',
            class_name: 'ManagementConfigurationProperties',
            model_properties: {
              application_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'applicationId',
                type: {
                  name: 'String'
                }
              },
              parent_resource_type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'parentResourceType',
                type: {
                  name: 'String'
                }
              },
              parameters: {
                client_side_validation: true,
                required: true,
                serialized_name: 'parameters',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ArmTemplateParameterElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ArmTemplateParameter'
                      }
                  }
                }
              },
              provisioning_state: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'provisioningState',
                type: {
                  name: 'String'
                }
              },
              template: {
                client_side_validation: true,
                required: true,
                serialized_name: 'template',
                type: {
                  name: 'Object'
                }
              }
            }
          }
        }
      end
    end
  end
end
