Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptActionDetail

Inherits:
RuntimeScriptAction
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb

Overview

The execution details of a script action.

Instance Attribute Summary collapse

Attributes inherited from RuntimeScriptAction

#application_name, #name, #parameters, #roles, #uri

Class Method Summary collapse

Instance Attribute Details

#debug_informationString

Returns The script action execution debug information.

Returns:

  • (String)

    The script action execution debug information.



35
36
37
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 35

def debug_information
  @debug_information
end

#end_timeString

Returns The end time of script action execution.

Returns:

  • (String)

    The end time of script action execution.



22
23
24
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 22

def end_time
  @end_time
end

#execution_summaryArray<ScriptActionExecutionSummary>

action execution result.

Returns:



32
33
34
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 32

def execution_summary
  @execution_summary
end

#operationString

Returns The reason why the script action was executed.

Returns:

  • (String)

    The reason why the script action was executed.



28
29
30
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 28

def operation
  @operation
end

#script_execution_idInteger

Returns The execution id of the script action.

Returns:

  • (Integer)

    The execution id of the script action.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 16

def script_execution_id
  @script_execution_id
end

#start_timeString

Returns The start time of script action execution.

Returns:

  • (String)

    The start time of script action execution.



19
20
21
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 19

def start_time
  @start_time
end

#statusString

Returns The current execution status of the script action.

Returns:

  • (String)

    The current execution status of the script action.



25
26
27
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 25

def status
  @status
end

Class Method Details

.mapperObject

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



42
43
44
45
46
47
48
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
171
172
173
174
175
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RuntimeScriptActionDetail',
    type: {
      name: 'Composite',
      class_name: 'RuntimeScriptActionDetail',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'uri',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'String'
          }
        },
        roles: {
          client_side_validation: true,
          required: true,
          serialized_name: 'roles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        application_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'applicationName',
          type: {
            name: 'String'
          }
        },
        script_execution_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'scriptExecutionId',
          type: {
            name: 'Number'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startTime',
          type: {
            name: 'String'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endTime',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'operation',
          type: {
            name: 'String'
          }
        },
        execution_summary: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'executionSummary',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ScriptActionExecutionSummaryElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ScriptActionExecutionSummary'
                }
            }
          }
        },
        debug_information: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'debugInformation',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end