Class: Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportExecution

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb

Overview

A export execution.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#execution_typeExecutionType

values include: ‘OnDemand’, ‘Scheduled’

Returns:



17
18
19
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 17

def execution_type
  @execution_type
end

#file_nameString

Returns The name of the file export got written to.

Returns:

  • (String)

    The name of the file export got written to.



39
40
41
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 39

def file_name
  @file_name
end

#processing_end_timeDateTime

Returns The time when export execution finished.

Returns:

  • (DateTime)

    The time when export execution finished.



36
37
38
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 36

def processing_end_time
  @processing_end_time
end

#processing_start_timeDateTime

Returns The time when export was picked up to be executed.

Returns:

  • (DateTime)

    The time when export was picked up to be executed.



33
34
35
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 33

def processing_start_time
  @processing_start_time
end

#run_settingsCommonExportProperties



42
43
44
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 42

def run_settings
  @run_settings
end

#statusExecutionStatus

values include: ‘Queued’, ‘InProgress’, ‘Completed’, ‘Failed’, ‘Timeout’, ‘NewDataNotAvailable’, ‘DataNotAvailable’

Returns:



22
23
24
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 22

def status
  @status
end

#submitted_byString

export. For OnDemand executions, it is the email id. For Scheduled executions, it is the constant value - System.

Returns:

  • (String)

    The identifier for the entity that executed the



27
28
29
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 27

def 
  @submitted_by
end

#submitted_timeDateTime

Returns The time when export was queued to be executed.

Returns:

  • (DateTime)

    The time when export was queued to be executed.



30
31
32
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 30

def 
  @submitted_time
end

Class Method Details

.mapperObject

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



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# 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