azure_mgmt_datalake_analytics 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/LICENSE.txt +21 -0
  4. data/Rakefile +5 -0
  5. data/azure_mgmt_datalake_analytics.gemspec +34 -0
  6. data/lib/azure_mgmt_datalake_analytics.rb +4 -0
  7. data/lib/generated/azure_mgmt_datalake_analytics_account.rb +51 -0
  8. data/lib/generated/azure_mgmt_datalake_analytics_account/account.rb +3209 -0
  9. data/lib/generated/azure_mgmt_datalake_analytics_account/data_lake_analytics_account_management_client.rb +68 -0
  10. data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_data_lake_store_parameters.rb +46 -0
  11. data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_storage_account_parameters.rb +46 -0
  12. data/lib/generated/azure_mgmt_datalake_analytics_account/models/azure_async_operation_result.rb +66 -0
  13. data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container.rb +79 -0
  14. data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container_properties.rb +45 -0
  15. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account.rb +107 -0
  16. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_data_lake_store_result.rb +109 -0
  17. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_result.rb +96 -0
  18. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_storage_accounts_result.rb +108 -0
  19. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_properties.rb +167 -0
  20. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_state.rb +16 -0
  21. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_status.rb +23 -0
  22. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info.rb +56 -0
  23. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info_properties.rb +44 -0
  24. data/lib/generated/azure_mgmt_datalake_analytics_account/models/error.rb +99 -0
  25. data/lib/generated/azure_mgmt_datalake_analytics_account/models/error_details.rb +69 -0
  26. data/lib/generated/azure_mgmt_datalake_analytics_account/models/inner_error.rb +56 -0
  27. data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_blob_containers_result.rb +96 -0
  28. data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_sas_tokens_result.rb +96 -0
  29. data/lib/generated/azure_mgmt_datalake_analytics_account/models/operation_status.rb +17 -0
  30. data/lib/generated/azure_mgmt_datalake_analytics_account/models/sas_token_info.rb +46 -0
  31. data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_info.rb +57 -0
  32. data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_properties.rb +55 -0
  33. data/lib/generated/azure_mgmt_datalake_analytics_account/module_definition.rb +9 -0
  34. data/lib/generated/azure_mgmt_datalake_analytics_account/version.rb +8 -0
  35. data/lib/generated/azure_mgmt_datalake_analytics_catalog.rb +70 -0
  36. data/lib/generated/azure_mgmt_datalake_analytics_catalog/catalog.rb +5600 -0
  37. data/lib/generated/azure_mgmt_datalake_analytics_catalog/data_lake_analytics_catalog_management_client.rb +67 -0
  38. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item.rb +54 -0
  39. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item_list.rb +54 -0
  40. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/data_lake_analytics_catalog_secret_create_or_update_parameters.rb +56 -0
  41. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/ddl_name.rb +78 -0
  42. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/entity_id.rb +56 -0
  43. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/external_table.rb +56 -0
  44. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/file_type.rb +16 -0
  45. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/type_field_info.rb +54 -0
  46. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly.rb +138 -0
  47. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_clr.rb +78 -0
  48. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_dependency_info.rb +45 -0
  49. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_file_info.rb +66 -0
  50. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_list.rb +98 -0
  51. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential.rb +88 -0
  52. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential_list.rb +98 -0
  53. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database.rb +58 -0
  54. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database_list.rb +98 -0
  55. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_directed_column.rb +55 -0
  56. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_distribution_info.rb +83 -0
  57. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source.rb +107 -0
  58. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source_list.rb +99 -0
  59. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_index.rb +168 -0
  60. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure.rb +89 -0
  61. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure_list.rb +99 -0
  62. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema.rb +68 -0
  63. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema_list.rb +98 -0
  64. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_secret.rb +100 -0
  65. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table.rb +154 -0
  66. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_column.rb +55 -0
  67. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_list.rb +99 -0
  68. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition.rb +128 -0
  69. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition_list.rb +99 -0
  70. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics.rb +190 -0
  71. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics_list.rb +99 -0
  72. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type.rb +173 -0
  73. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type_list.rb +99 -0
  74. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function.rb +88 -0
  75. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function_list.rb +99 -0
  76. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type.rb +203 -0
  77. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type_list.rb +99 -0
  78. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view.rb +89 -0
  79. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view_list.rb +99 -0
  80. data/lib/generated/azure_mgmt_datalake_analytics_catalog/module_definition.rb +9 -0
  81. data/lib/generated/azure_mgmt_datalake_analytics_job.rb +48 -0
  82. data/lib/generated/azure_mgmt_datalake_analytics_job/data_lake_analytics_job_management_client.rb +67 -0
  83. data/lib/generated/azure_mgmt_datalake_analytics_job/job.rb +938 -0
  84. data/lib/generated/azure_mgmt_datalake_analytics_job/models/compile_mode.rb +17 -0
  85. data/lib/generated/azure_mgmt_datalake_analytics_job/models/diagnostics.rb +102 -0
  86. data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_properties.rb +123 -0
  87. data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_statement_info.rb +74 -0
  88. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_data_path.rb +74 -0
  89. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_error_details.rb +198 -0
  90. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_info_list_result.rb +107 -0
  91. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_information.rb +245 -0
  92. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_inner_error.rb +162 -0
  93. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_properties.rb +77 -0
  94. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource.rb +68 -0
  95. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource_type.rb +20 -0
  96. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_result.rb +18 -0
  97. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state.rb +24 -0
  98. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state_audit_record.rb +79 -0
  99. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics.rb +65 -0
  100. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics_vertex_stage.rb +262 -0
  101. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_type.rb +16 -0
  102. data/lib/generated/azure_mgmt_datalake_analytics_job/models/severity_types.rb +17 -0
  103. data/lib/generated/azure_mgmt_datalake_analytics_job/models/usql_job_properties.rb +231 -0
  104. data/lib/generated/azure_mgmt_datalake_analytics_job/module_definition.rb +9 -0
  105. metadata +218 -0
@@ -0,0 +1,77 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # The common Data Lake Analytics job properties.
10
+ #
11
+ class JobProperties
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["USql"] = "USqlJobProperties"
17
+ @@discriminatorMap["Hive"] = "HiveJobProperties"
18
+
19
+ def initialize
20
+ @type = "JobProperties"
21
+ end
22
+
23
+ attr_accessor :type
24
+
25
+ # @return [String] the runtime version of the Data Lake Analytics engine
26
+ # to use for the specific type of job being run.
27
+ attr_accessor :runtime_version
28
+
29
+ # @return [String] the script to run
30
+ attr_accessor :script
31
+
32
+ # @return [String] Polymorhpic Discriminator
33
+ attr_accessor :type
34
+
35
+
36
+ #
37
+ # Mapper for JobProperties class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ required: false,
43
+ serialized_name: 'JobProperties',
44
+ type: {
45
+ name: 'Composite',
46
+ polymorphic_discriminator: 'type',
47
+ uber_parent: 'JobProperties',
48
+ class_name: 'JobProperties',
49
+ model_properties: {
50
+ runtime_version: {
51
+ required: false,
52
+ serialized_name: 'runtimeVersion',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ script: {
58
+ required: true,
59
+ serialized_name: 'script',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ type: {
65
+ required: true,
66
+ serialized_name: 'type',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,68 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # The Data Lake Analytics job resources.
10
+ #
11
+ class JobResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the name of the resource.
16
+ attr_accessor :name
17
+
18
+ # @return [String] the path to the resource.
19
+ attr_accessor :resource_path
20
+
21
+ # @return [JobResourceType] the job resource type. Possible values
22
+ # include: 'VertexResource', 'JobManagerResource',
23
+ # 'StatisticsResource', 'VertexResourceInUserFolder',
24
+ # 'JobManagerResourceInUserFolder', 'StatisticsResourceInUserFolder'
25
+ attr_accessor :type
26
+
27
+
28
+ #
29
+ # Mapper for JobResource class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'JobResource',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'JobResource',
39
+ model_properties: {
40
+ name: {
41
+ required: false,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ resource_path: {
48
+ required: false,
49
+ serialized_name: 'resourcePath',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ type: {
55
+ required: false,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'Enum',
59
+ module: 'JobResourceType'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,20 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # Defines values for JobResourceType
10
+ #
11
+ module JobResourceType
12
+ VertexResource = "VertexResource"
13
+ JobManagerResource = "JobManagerResource"
14
+ StatisticsResource = "StatisticsResource"
15
+ VertexResourceInUserFolder = "VertexResourceInUserFolder"
16
+ JobManagerResourceInUserFolder = "JobManagerResourceInUserFolder"
17
+ StatisticsResourceInUserFolder = "StatisticsResourceInUserFolder"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,18 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # Defines values for JobResult
10
+ #
11
+ module JobResult
12
+ None = "None"
13
+ Succeeded = "Succeeded"
14
+ Cancelled = "Cancelled"
15
+ Failed = "Failed"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,24 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # Defines values for JobState
10
+ #
11
+ module JobState
12
+ Accepted = "Accepted"
13
+ Compiling = "Compiling"
14
+ Ended = "Ended"
15
+ New = "New"
16
+ Queued = "Queued"
17
+ Running = "Running"
18
+ Scheduling = "Scheduling"
19
+ Starting = "Starting"
20
+ Paused = "Paused"
21
+ WaitingForCapacity = "WaitingForCapacity"
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,79 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # The Data Lake Analytics job state audit records for tracking the
10
+ # lifecycle of a job.
11
+ #
12
+ class JobStateAuditRecord
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] the new state the job is in.
17
+ attr_accessor :new_state
18
+
19
+ # @return [DateTime] the time stamp that the state change took place.
20
+ attr_accessor :time_stamp
21
+
22
+ # @return [String] the user who requests the change.
23
+ attr_accessor :requested_by_user
24
+
25
+ # @return [String] the details of the audit log.
26
+ attr_accessor :details
27
+
28
+
29
+ #
30
+ # Mapper for JobStateAuditRecord class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'JobStateAuditRecord',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'JobStateAuditRecord',
40
+ model_properties: {
41
+ new_state: {
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'newState',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ time_stamp: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'timeStamp',
53
+ type: {
54
+ name: 'DateTime'
55
+ }
56
+ },
57
+ requested_by_user: {
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'requestedByUser',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ details: {
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'details',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,65 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # The Data Lake Analytics job execution statistics.
10
+ #
11
+ class JobStatistics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DateTime] the last update time for the statistics.
16
+ attr_accessor :last_update_time_utc
17
+
18
+ # @return [Array<JobStatisticsVertexStage>] the list of stages for the
19
+ # job.
20
+ attr_accessor :stages
21
+
22
+
23
+ #
24
+ # Mapper for JobStatistics class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'JobStatistics',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'JobStatistics',
34
+ model_properties: {
35
+ last_update_time_utc: {
36
+ required: false,
37
+ read_only: true,
38
+ serialized_name: 'lastUpdateTimeUtc',
39
+ type: {
40
+ name: 'DateTime'
41
+ }
42
+ },
43
+ stages: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'stages',
47
+ type: {
48
+ name: 'Sequence',
49
+ element: {
50
+ required: false,
51
+ serialized_name: 'JobStatisticsVertexStageElementType',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'JobStatisticsVertexStage'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,262 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeAnalytics::Job
7
+ module Models
8
+ #
9
+ # The Data Lake Analytics job statistics vertex stage information.
10
+ #
11
+ class JobStatisticsVertexStage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] the amount of data read, in bytes.
16
+ attr_accessor :data_read
17
+
18
+ # @return [Integer] the amount of data read across multiple pods, in
19
+ # bytes.
20
+ attr_accessor :data_read_cross_pod
21
+
22
+ # @return [Integer] the amount of data read in one pod, in bytes.
23
+ attr_accessor :data_read_intra_pod
24
+
25
+ # @return [Integer] the amount of data remaining to be read, in bytes.
26
+ attr_accessor :data_to_read
27
+
28
+ # @return [Integer] the amount of data written, in bytes.
29
+ attr_accessor :data_written
30
+
31
+ # @return [Integer] the number of duplicates that were discarded.
32
+ attr_accessor :duplicate_discard_count
33
+
34
+ # @return [Integer] the number of failures that occured in this stage.
35
+ attr_accessor :failed_count
36
+
37
+ # @return [Integer] the maximum amount of data read in a single vertex,
38
+ # in bytes.
39
+ attr_accessor :max_vertex_data_read
40
+
41
+ # @return [Integer] the minimum amount of data read in a single vertex,
42
+ # in bytes.
43
+ attr_accessor :min_vertex_data_read
44
+
45
+ # @return [Integer] the number of read failures in this stage.
46
+ attr_accessor :read_failure_count
47
+
48
+ # @return [Integer] the number of vertices that were revoked during this
49
+ # stage.
50
+ attr_accessor :revocation_count
51
+
52
+ # @return [Integer] the number of currently running vertices in this
53
+ # stage.
54
+ attr_accessor :running_count
55
+
56
+ # @return [Integer] the number of currently scheduled vertices in this
57
+ # stage
58
+ attr_accessor :scheduled_count
59
+
60
+ # @return [String] the name of this stage in job execution.
61
+ attr_accessor :stage_name
62
+
63
+ # @return [Integer] the number of vertices that succeeded in this stage.
64
+ attr_accessor :succeeded_count
65
+
66
+ # @return [Integer] the amount of temporary data written, in bytes.
67
+ attr_accessor :temp_data_written
68
+
69
+ # @return [Integer] the total vertex count for this stage.
70
+ attr_accessor :total_count
71
+
72
+ # @return [Duration] the amount of time that failed vertices took up in
73
+ # this stage.
74
+ attr_accessor :total_failed_time
75
+
76
+ # @return [Integer] the current progress of this stage, as a percentage.
77
+ attr_accessor :total_progress
78
+
79
+ # @return [Duration] the amount of time all successful vertices took in
80
+ # this stage.
81
+ attr_accessor :total_succeeded_time
82
+
83
+
84
+ #
85
+ # Mapper for JobStatisticsVertexStage class as Ruby Hash.
86
+ # This will be used for serialization/deserialization.
87
+ #
88
+ def self.mapper()
89
+ {
90
+ required: false,
91
+ serialized_name: 'JobStatisticsVertexStage',
92
+ type: {
93
+ name: 'Composite',
94
+ class_name: 'JobStatisticsVertexStage',
95
+ model_properties: {
96
+ data_read: {
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'dataRead',
100
+ type: {
101
+ name: 'Number'
102
+ }
103
+ },
104
+ data_read_cross_pod: {
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'dataReadCrossPod',
108
+ type: {
109
+ name: 'Number'
110
+ }
111
+ },
112
+ data_read_intra_pod: {
113
+ required: false,
114
+ read_only: true,
115
+ serialized_name: 'dataReadIntraPod',
116
+ type: {
117
+ name: 'Number'
118
+ }
119
+ },
120
+ data_to_read: {
121
+ required: false,
122
+ read_only: true,
123
+ serialized_name: 'dataToRead',
124
+ type: {
125
+ name: 'Number'
126
+ }
127
+ },
128
+ data_written: {
129
+ required: false,
130
+ read_only: true,
131
+ serialized_name: 'dataWritten',
132
+ type: {
133
+ name: 'Number'
134
+ }
135
+ },
136
+ duplicate_discard_count: {
137
+ required: false,
138
+ read_only: true,
139
+ serialized_name: 'duplicateDiscardCount',
140
+ type: {
141
+ name: 'Number'
142
+ }
143
+ },
144
+ failed_count: {
145
+ required: false,
146
+ read_only: true,
147
+ serialized_name: 'failedCount',
148
+ type: {
149
+ name: 'Number'
150
+ }
151
+ },
152
+ max_vertex_data_read: {
153
+ required: false,
154
+ read_only: true,
155
+ serialized_name: 'maxVertexDataRead',
156
+ type: {
157
+ name: 'Number'
158
+ }
159
+ },
160
+ min_vertex_data_read: {
161
+ required: false,
162
+ read_only: true,
163
+ serialized_name: 'minVertexDataRead',
164
+ type: {
165
+ name: 'Number'
166
+ }
167
+ },
168
+ read_failure_count: {
169
+ required: false,
170
+ read_only: true,
171
+ serialized_name: 'readFailureCount',
172
+ type: {
173
+ name: 'Number'
174
+ }
175
+ },
176
+ revocation_count: {
177
+ required: false,
178
+ read_only: true,
179
+ serialized_name: 'revocationCount',
180
+ type: {
181
+ name: 'Number'
182
+ }
183
+ },
184
+ running_count: {
185
+ required: false,
186
+ read_only: true,
187
+ serialized_name: 'runningCount',
188
+ type: {
189
+ name: 'Number'
190
+ }
191
+ },
192
+ scheduled_count: {
193
+ required: false,
194
+ read_only: true,
195
+ serialized_name: 'scheduledCount',
196
+ type: {
197
+ name: 'Number'
198
+ }
199
+ },
200
+ stage_name: {
201
+ required: false,
202
+ read_only: true,
203
+ serialized_name: 'stageName',
204
+ type: {
205
+ name: 'String'
206
+ }
207
+ },
208
+ succeeded_count: {
209
+ required: false,
210
+ read_only: true,
211
+ serialized_name: 'succeededCount',
212
+ type: {
213
+ name: 'Number'
214
+ }
215
+ },
216
+ temp_data_written: {
217
+ required: false,
218
+ read_only: true,
219
+ serialized_name: 'tempDataWritten',
220
+ type: {
221
+ name: 'Number'
222
+ }
223
+ },
224
+ total_count: {
225
+ required: false,
226
+ read_only: true,
227
+ serialized_name: 'totalCount',
228
+ type: {
229
+ name: 'Number'
230
+ }
231
+ },
232
+ total_failed_time: {
233
+ required: false,
234
+ read_only: true,
235
+ serialized_name: 'totalFailedTime',
236
+ type: {
237
+ name: 'TimeSpan'
238
+ }
239
+ },
240
+ total_progress: {
241
+ required: false,
242
+ read_only: true,
243
+ serialized_name: 'totalProgress',
244
+ type: {
245
+ name: 'Number'
246
+ }
247
+ },
248
+ total_succeeded_time: {
249
+ required: false,
250
+ read_only: true,
251
+ serialized_name: 'totalSucceededTime',
252
+ type: {
253
+ name: 'TimeSpan'
254
+ }
255
+ }
256
+ }
257
+ }
258
+ }
259
+ end
260
+ end
261
+ end
262
+ end