# 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] Name of the node configuration. attr_accessor :name # @return [DscConfigurationAssociationProperty] Gets or sets the # configuration of the node. attr_accessor :configuration # @return [Boolean] If a new build version of NodeConfiguration is # required. attr_accessor :increment_node_configuration_build # # Mapper for DscNodeConfigurationCreateOrUpdateParameters class as Ruby # Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DscNodeConfigurationCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'DscNodeConfigurationCreateOrUpdateParameters', model_properties: { source: { client_side_validation: true, required: true, serialized_name: 'source', type: { name: 'Composite', class_name: 'ContentSource' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, configuration: { client_side_validation: true, required: true, serialized_name: 'configuration', type: { name: 'Composite', class_name: 'DscConfigurationAssociationProperty' } }, increment_node_configuration_build: { client_side_validation: true, required: false, serialized_name: 'incrementNodeConfigurationBuild', type: { name: 'Boolean' } } } } } end end end end