class Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters

The parameters supplied to the create or update connection operation.

Attributes

connection_type[RW]

@return [ConnectionTypeAssociationProperty] Gets or sets the connectionType of the connection.

description[RW]

@return [String] Gets or sets the description of the connection.

field_definition_values[RW]

@return [Hash{String => String}] Gets or sets the field definition properties of the connection.

name[RW]

@return [String] Gets or sets the name of the connection.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'ConnectionCreateOrUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        connection_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.connectionType',
          type: {
            name: 'Composite',
            class_name: 'ConnectionTypeAssociationProperty'
          }
        },
        field_definition_values: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.fieldDefinitionValues',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end