class Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportExecution

A export execution.

Attributes

execution_type[RW]

@return [ExecutionType] The type of the export execution. Possible values include: 'OnDemand', 'Scheduled'

file_name[RW]

@return [String] The name of the file export got written to.

processing_end_time[RW]

@return [DateTime] The time when export execution finished.

processing_start_time[RW]

@return [DateTime] The time when export was picked up to be executed.

run_settings[RW]

@return [CommonExportProperties]

status[RW]

@return [ExecutionStatus] The status of the export execution. Possible values include: 'Queued', 'InProgress', 'Completed', 'Failed', 'Timeout', 'NewDataNotAvailable', 'DataNotAvailable'

submitted_by[RW]

@return [String] The identifier for the entity that executed the export. For OnDemand executions, it is the email id. For Scheduled executions, it is the constant value - System.

submitted_time[RW]

@return [DateTime] The time when export was queued to be executed.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb, line 49
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExportExecution',
    type: {
      name: 'Composite',
      class_name: 'ExportExecution',
      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'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        execution_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.executionType',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        submitted_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.submittedBy',
          type: {
            name: 'String'
          }
        },
        submitted_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.submittedTime',
          type: {
            name: 'DateTime'
          }
        },
        processing_start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.processingStartTime',
          type: {
            name: 'DateTime'
          }
        },
        processing_end_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.processingEndTime',
          type: {
            name: 'DateTime'
          }
        },
        file_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.fileName',
          type: {
            name: 'String'
          }
        },
        run_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.runSettings',
          type: {
            name: 'Composite',
            class_name: 'CommonExportProperties'
          }
        }
      }
    }
  }
end