Sha256: ba629b42e14a32b15e2b77af49c953a37cd4b0a80950318607d4bba4410a69d2

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 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::Automation::Mgmt::V2015_10_31
  module Models
    #
    # The parameters supplied to the create or update node configuration
    # operation.
    #
    class DscNodeConfigurationCreateOrUpdateParameters

      include MsRestAzure

      # @return [ContentSource] Gets or sets the source.
      attr_accessor :source

      # @return [String] Gets or sets the type of the parameter.
      attr_accessor :name

      # @return [DscConfigurationAssociationProperty] Gets or sets the
      # configuration of the node.
      attr_accessor :configuration


      #
      # Mapper for DscNodeConfigurationCreateOrUpdateParameters class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DscNodeConfigurationCreateOrUpdateParameters',
          type: {
            name: 'Composite',
            class_name: 'DscNodeConfigurationCreateOrUpdateParameters',
            model_properties: {
              source: {
                required: true,
                serialized_name: 'source',
                type: {
                  name: 'Composite',
                  class_name: 'ContentSource'
                }
              },
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              configuration: {
                required: true,
                serialized_name: 'configuration',
                type: {
                  name: 'Composite',
                  class_name: 'DscConfigurationAssociationProperty'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_automation-0.15.1 lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb