class Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob

Definition of the Dsc Compilation job.

Attributes

configuration[RW]

@return [DscConfigurationAssociationProperty] Gets or sets the configuration.

creation_time[RW]

@return [DateTime] Gets the creation time of the job.

end_time[RW]

@return [DateTime] Gets the end time of the job.

exception[RW]

@return [String] Gets the exception of the job.

job_id[RW]

@return Gets the id of the job.

last_modified_time[RW]

@return [DateTime] Gets the last modified time of the job.

last_status_modified_time[RW]

@return [DateTime] Gets the last status modified time of the job.

parameters[RW]

@return [Hash{String => String}] Gets or sets the parameters of the job.

provisioning_state[RW]

@return [JobProvisioningState] The current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', 'Suspended', 'Processing'

run_on[RW]

@return [String] Gets or sets the runOn which specifies the group name where the job is to be executed.

start_time[RW]

@return [DateTime] Gets the start time of the job.

started_by[RW]

@return [String] Gets the compilation job started by.

status[RW]

@return [JobStatus] Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', 'Resuming', 'Removing'

status_details[RW]

@return [String] Gets or sets the status details of the job.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb, line 70
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DscCompilationJob',
    type: {
      name: 'Composite',
      class_name: 'DscCompilationJob',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.configuration',
          type: {
            name: 'Composite',
            class_name: 'DscConfigurationAssociationProperty'
          }
        },
        started_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.startedBy',
          type: {
            name: 'String'
          }
        },
        job_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.jobId',
          type: {
            name: 'String'
          }
        },
        creation_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationTime',
          type: {
            name: 'DateTime'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        run_on: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.runOn',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        status_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.statusDetails',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.endTime',
          type: {
            name: 'DateTime'
          }
        },
        exception: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.exception',
          type: {
            name: 'String'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        last_status_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastStatusModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end