class Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter

Definition of the configuration parameter type.

Attributes

default_value[RW]

@return [String] Gets or sets the default value of parameter.

is_mandatory[RW]

@return [Boolean] Gets or sets a Boolean value to indicate whether the parameter is madatory or not.

position[RW]

@return [Integer] Get or sets the position of the parameter.

type[RW]

@return [String] Gets or sets the type of the parameter.

Private Class Methods

mapper() click to toggle source

Mapper for DscConfigurationParameter class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DscConfigurationParameter',
    type: {
      name: 'Composite',
      class_name: 'DscConfigurationParameter',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        is_mandatory: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isMandatory',
          type: {
            name: 'Boolean'
          }
        },
        position: {
          client_side_validation: true,
          required: false,
          serialized_name: 'position',
          type: {
            name: 'Number'
          }
        },
        default_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'defaultValue',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end