azure_mgmt_automation 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_mgmt_automation.rb +6 -0
  4. data/lib/generated/azure_mgmt_automation.rb +183 -0
  5. data/lib/generated/azure_mgmt_automation/activity_operations.rb +332 -0
  6. data/lib/generated/azure_mgmt_automation/agent_registration_information.rb +223 -0
  7. data/lib/generated/azure_mgmt_automation/automation_account_operations.rb +822 -0
  8. data/lib/generated/azure_mgmt_automation/automation_client.rb +245 -0
  9. data/lib/generated/azure_mgmt_automation/certificate_operations.rb +642 -0
  10. data/lib/generated/azure_mgmt_automation/connection_operations.rb +653 -0
  11. data/lib/generated/azure_mgmt_automation/connection_type_operations.rb +528 -0
  12. data/lib/generated/azure_mgmt_automation/credential_operations.rb +642 -0
  13. data/lib/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +534 -0
  14. data/lib/generated/azure_mgmt_automation/dsc_configuration_operations.rb +629 -0
  15. data/lib/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +532 -0
  16. data/lib/generated/azure_mgmt_automation/dsc_node_operations.rb +530 -0
  17. data/lib/generated/azure_mgmt_automation/fields.rb +124 -0
  18. data/lib/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +524 -0
  19. data/lib/generated/azure_mgmt_automation/job_operations.rb +888 -0
  20. data/lib/generated/azure_mgmt_automation/job_schedule_operations.rb +515 -0
  21. data/lib/generated/azure_mgmt_automation/job_stream_operations.rb +333 -0
  22. data/lib/generated/azure_mgmt_automation/models/activity.rb +133 -0
  23. data/lib/generated/azure_mgmt_automation/models/activity_list_result.rb +94 -0
  24. data/lib/generated/azure_mgmt_automation/models/activity_output_type.rb +54 -0
  25. data/lib/generated/azure_mgmt_automation/models/activity_parameter.rb +129 -0
  26. data/lib/generated/azure_mgmt_automation/models/activity_parameter_set.rb +63 -0
  27. data/lib/generated/azure_mgmt_automation/models/advanced_schedule.rb +89 -0
  28. data/lib/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +58 -0
  29. data/lib/generated/azure_mgmt_automation/models/agent_registration.rb +76 -0
  30. data/lib/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +16 -0
  31. data/lib/generated/azure_mgmt_automation/models/agent_registration_keys.rb +54 -0
  32. data/lib/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +84 -0
  33. data/lib/generated/azure_mgmt_automation/models/automation_account.rb +154 -0
  34. data/lib/generated/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb +85 -0
  35. data/lib/generated/azure_mgmt_automation/models/automation_account_list_result.rb +94 -0
  36. data/lib/generated/azure_mgmt_automation/models/automation_account_state.rb +17 -0
  37. data/lib/generated/azure_mgmt_automation/models/automation_account_update_parameters.rb +83 -0
  38. data/lib/generated/azure_mgmt_automation/models/certificate.rb +121 -0
  39. data/lib/generated/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb +87 -0
  40. data/lib/generated/azure_mgmt_automation/models/certificate_list_result.rb +94 -0
  41. data/lib/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +54 -0
  42. data/lib/generated/azure_mgmt_automation/models/connection.rb +119 -0
  43. data/lib/generated/azure_mgmt_automation/models/connection_create_or_update_parameters.rb +84 -0
  44. data/lib/generated/azure_mgmt_automation/models/connection_list_result.rb +94 -0
  45. data/lib/generated/azure_mgmt_automation/models/connection_type.rb +118 -0
  46. data/lib/generated/azure_mgmt_automation/models/connection_type_association_property.rb +44 -0
  47. data/lib/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb +75 -0
  48. data/lib/generated/azure_mgmt_automation/models/connection_type_list_result.rb +95 -0
  49. data/lib/generated/azure_mgmt_automation/models/connection_update_parameters.rb +72 -0
  50. data/lib/generated/azure_mgmt_automation/models/content_hash.rb +55 -0
  51. data/lib/generated/azure_mgmt_automation/models/content_link.rb +65 -0
  52. data/lib/generated/azure_mgmt_automation/models/content_source.rb +77 -0
  53. data/lib/generated/azure_mgmt_automation/models/content_source_type.rb +16 -0
  54. data/lib/generated/azure_mgmt_automation/models/credential.rb +98 -0
  55. data/lib/generated/azure_mgmt_automation/models/credential_create_or_update_parameters.rb +74 -0
  56. data/lib/generated/azure_mgmt_automation/models/credential_list_result.rb +94 -0
  57. data/lib/generated/azure_mgmt_automation/models/credential_update_parameters.rb +74 -0
  58. data/lib/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +186 -0
  59. data/lib/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +102 -0
  60. data/lib/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +95 -0
  61. data/lib/generated/azure_mgmt_automation/models/dsc_configuration.rb +193 -0
  62. data/lib/generated/azure_mgmt_automation/models/dsc_configuration_association_property.rb +44 -0
  63. data/lib/generated/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb +132 -0
  64. data/lib/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +95 -0
  65. data/lib/generated/azure_mgmt_automation/models/dsc_configuration_parameter.rb +75 -0
  66. data/lib/generated/azure_mgmt_automation/models/dsc_configuration_provisioning_state.rb +15 -0
  67. data/lib/generated/azure_mgmt_automation/models/dsc_configuration_state.rb +17 -0
  68. data/lib/generated/azure_mgmt_automation/models/dsc_meta_configuration.rb +111 -0
  69. data/lib/generated/azure_mgmt_automation/models/dsc_node.rb +161 -0
  70. data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +86 -0
  71. data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb +44 -0
  72. data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +69 -0
  73. data/lib/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +95 -0
  74. data/lib/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +94 -0
  75. data/lib/generated/azure_mgmt_automation/models/dsc_node_report.rb +265 -0
  76. data/lib/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +94 -0
  77. data/lib/generated/azure_mgmt_automation/models/dsc_node_update_parameters.rb +56 -0
  78. data/lib/generated/azure_mgmt_automation/models/dsc_report_error.rb +95 -0
  79. data/lib/generated/azure_mgmt_automation/models/dsc_report_resource.rb +143 -0
  80. data/lib/generated/azure_mgmt_automation/models/dsc_report_resource_navigation.rb +44 -0
  81. data/lib/generated/azure_mgmt_automation/models/error_response.rb +54 -0
  82. data/lib/generated/azure_mgmt_automation/models/field_definition.rb +67 -0
  83. data/lib/generated/azure_mgmt_automation/models/http_status_code.rb +61 -0
  84. data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +65 -0
  85. data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +85 -0
  86. data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb +46 -0
  87. data/lib/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +95 -0
  88. data/lib/generated/azure_mgmt_automation/models/job.rb +188 -0
  89. data/lib/generated/azure_mgmt_automation/models/job_create_parameters.rb +112 -0
  90. data/lib/generated/azure_mgmt_automation/models/job_list_result.rb +94 -0
  91. data/lib/generated/azure_mgmt_automation/models/job_schedule.rb +105 -0
  92. data/lib/generated/azure_mgmt_automation/models/job_schedule_create_parameters.rb +84 -0
  93. data/lib/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +94 -0
  94. data/lib/generated/azure_mgmt_automation/models/job_status.rb +27 -0
  95. data/lib/generated/azure_mgmt_automation/models/job_stream.rb +113 -0
  96. data/lib/generated/azure_mgmt_automation/models/job_stream_list_result.rb +94 -0
  97. data/lib/generated/azure_mgmt_automation/models/job_stream_type.rb +21 -0
  98. data/lib/generated/azure_mgmt_automation/models/module_create_or_update_parameters.rb +83 -0
  99. data/lib/generated/azure_mgmt_automation/models/module_error_info.rb +54 -0
  100. data/lib/generated/azure_mgmt_automation/models/module_list_result.rb +94 -0
  101. data/lib/generated/azure_mgmt_automation/models/module_model.rb +198 -0
  102. data/lib/generated/azure_mgmt_automation/models/module_provisioning_state.rb +30 -0
  103. data/lib/generated/azure_mgmt_automation/models/module_update_parameters.rb +83 -0
  104. data/lib/generated/azure_mgmt_automation/models/operation.rb +55 -0
  105. data/lib/generated/azure_mgmt_automation/models/operation_display.rb +65 -0
  106. data/lib/generated/azure_mgmt_automation/models/operation_list_result.rb +53 -0
  107. data/lib/generated/azure_mgmt_automation/models/resource.rb +94 -0
  108. data/lib/generated/azure_mgmt_automation/models/run_as_credential_association_property.rb +44 -0
  109. data/lib/generated/azure_mgmt_automation/models/runbook.rb +263 -0
  110. data/lib/generated/azure_mgmt_automation/models/runbook_association_property.rb +44 -0
  111. data/lib/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb +44 -0
  112. data/lib/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb +99 -0
  113. data/lib/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb +147 -0
  114. data/lib/generated/azure_mgmt_automation/models/runbook_draft.rb +112 -0
  115. data/lib/generated/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb +68 -0
  116. data/lib/generated/azure_mgmt_automation/models/runbook_list_result.rb +94 -0
  117. data/lib/generated/azure_mgmt_automation/models/runbook_parameter.rb +75 -0
  118. data/lib/generated/azure_mgmt_automation/models/runbook_provisioning_state.rb +15 -0
  119. data/lib/generated/azure_mgmt_automation/models/runbook_state.rb +17 -0
  120. data/lib/generated/azure_mgmt_automation/models/runbook_type_enum.rb +20 -0
  121. data/lib/generated/azure_mgmt_automation/models/runbook_update_parameters.rb +113 -0
  122. data/lib/generated/azure_mgmt_automation/models/schedule.rb +199 -0
  123. data/lib/generated/azure_mgmt_automation/models/schedule_association_property.rb +44 -0
  124. data/lib/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +116 -0
  125. data/lib/generated/azure_mgmt_automation/models/schedule_day.rb +21 -0
  126. data/lib/generated/azure_mgmt_automation/models/schedule_frequency.rb +19 -0
  127. data/lib/generated/azure_mgmt_automation/models/schedule_list_result.rb +94 -0
  128. data/lib/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +65 -0
  129. data/lib/generated/azure_mgmt_automation/models/sku.rb +65 -0
  130. data/lib/generated/azure_mgmt_automation/models/sku_name_enum.rb +16 -0
  131. data/lib/generated/azure_mgmt_automation/models/statistics.rb +89 -0
  132. data/lib/generated/azure_mgmt_automation/models/statistics_list_result.rb +52 -0
  133. data/lib/generated/azure_mgmt_automation/models/sub_resource.rb +44 -0
  134. data/lib/generated/azure_mgmt_automation/models/test_job.rb +144 -0
  135. data/lib/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +73 -0
  136. data/lib/generated/azure_mgmt_automation/models/type_field.rb +54 -0
  137. data/lib/generated/azure_mgmt_automation/models/type_field_list_result.rb +52 -0
  138. data/lib/generated/azure_mgmt_automation/models/usage.rb +95 -0
  139. data/lib/generated/azure_mgmt_automation/models/usage_counter_name.rb +54 -0
  140. data/lib/generated/azure_mgmt_automation/models/usage_list_result.rb +52 -0
  141. data/lib/generated/azure_mgmt_automation/models/variable.rb +104 -0
  142. data/lib/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb +74 -0
  143. data/lib/generated/azure_mgmt_automation/models/variable_list_result.rb +94 -0
  144. data/lib/generated/azure_mgmt_automation/models/variable_update_parameters.rb +64 -0
  145. data/lib/generated/azure_mgmt_automation/models/webhook.rb +168 -0
  146. data/lib/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb +115 -0
  147. data/lib/generated/azure_mgmt_automation/models/webhook_list_result.rb +94 -0
  148. data/lib/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +94 -0
  149. data/lib/generated/azure_mgmt_automation/module_definition.rb +8 -0
  150. data/lib/generated/azure_mgmt_automation/module_model_operations.rb +633 -0
  151. data/lib/generated/azure_mgmt_automation/node_reports.rb +438 -0
  152. data/lib/generated/azure_mgmt_automation/object_data_types.rb +219 -0
  153. data/lib/generated/azure_mgmt_automation/operations.rb +106 -0
  154. data/lib/generated/azure_mgmt_automation/runbook_draft_operations.rb +605 -0
  155. data/lib/generated/azure_mgmt_automation/runbook_operations.rb +719 -0
  156. data/lib/generated/azure_mgmt_automation/schedule_operations.rb +626 -0
  157. data/lib/generated/azure_mgmt_automation/statistics_operations.rb +119 -0
  158. data/lib/generated/azure_mgmt_automation/test_job_streams.rb +333 -0
  159. data/lib/generated/azure_mgmt_automation/test_jobs.rb +486 -0
  160. data/lib/generated/azure_mgmt_automation/usages.rb +116 -0
  161. data/lib/generated/azure_mgmt_automation/variable_operations.rb +636 -0
  162. data/lib/generated/azure_mgmt_automation/version.rb +8 -0
  163. data/lib/generated/azure_mgmt_automation/webhook_operations.rb +737 -0
  164. metadata +275 -0
@@ -0,0 +1,67 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Automation
7
+ module Models
8
+ #
9
+ # Definition of the connection fields.
10
+ #
11
+ class FieldDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Gets or sets the isEncrypted flag of the connection
16
+ # field definition.
17
+ attr_accessor :is_encrypted
18
+
19
+ # @return [Boolean] Gets or sets the isOptional flag of the connection
20
+ # field definition.
21
+ attr_accessor :is_optional
22
+
23
+ # @return [String] Gets or sets the type of the connection field
24
+ # definition.
25
+ attr_accessor :type
26
+
27
+
28
+ #
29
+ # Mapper for FieldDefinition class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'FieldDefinition',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'FieldDefinition',
39
+ model_properties: {
40
+ is_encrypted: {
41
+ required: false,
42
+ serialized_name: 'isEncrypted',
43
+ type: {
44
+ name: 'Boolean'
45
+ }
46
+ },
47
+ is_optional: {
48
+ required: false,
49
+ serialized_name: 'isOptional',
50
+ type: {
51
+ name: 'Boolean'
52
+ }
53
+ },
54
+ type: {
55
+ required: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,61 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Automation
7
+ module Models
8
+ #
9
+ # Defines values for HttpStatusCode
10
+ #
11
+ module HttpStatusCode
12
+ Continue = "Continue"
13
+ SwitchingProtocols = "SwitchingProtocols"
14
+ OK = "OK"
15
+ Created = "Created"
16
+ Accepted = "Accepted"
17
+ NonAuthoritativeInformation = "NonAuthoritativeInformation"
18
+ NoContent = "NoContent"
19
+ ResetContent = "ResetContent"
20
+ PartialContent = "PartialContent"
21
+ MultipleChoices = "MultipleChoices"
22
+ Ambiguous = "Ambiguous"
23
+ MovedPermanently = "MovedPermanently"
24
+ Moved = "Moved"
25
+ Found = "Found"
26
+ Redirect = "Redirect"
27
+ SeeOther = "SeeOther"
28
+ RedirectMethod = "RedirectMethod"
29
+ NotModified = "NotModified"
30
+ UseProxy = "UseProxy"
31
+ Unused = "Unused"
32
+ TemporaryRedirect = "TemporaryRedirect"
33
+ RedirectKeepVerb = "RedirectKeepVerb"
34
+ BadRequest = "BadRequest"
35
+ Unauthorized = "Unauthorized"
36
+ PaymentRequired = "PaymentRequired"
37
+ Forbidden = "Forbidden"
38
+ NotFound = "NotFound"
39
+ MethodNotAllowed = "MethodNotAllowed"
40
+ NotAcceptable = "NotAcceptable"
41
+ ProxyAuthenticationRequired = "ProxyAuthenticationRequired"
42
+ RequestTimeout = "RequestTimeout"
43
+ Conflict = "Conflict"
44
+ Gone = "Gone"
45
+ LengthRequired = "LengthRequired"
46
+ PreconditionFailed = "PreconditionFailed"
47
+ RequestEntityTooLarge = "RequestEntityTooLarge"
48
+ RequestUriTooLong = "RequestUriTooLong"
49
+ UnsupportedMediaType = "UnsupportedMediaType"
50
+ RequestedRangeNotSatisfiable = "RequestedRangeNotSatisfiable"
51
+ ExpectationFailed = "ExpectationFailed"
52
+ UpgradeRequired = "UpgradeRequired"
53
+ InternalServerError = "InternalServerError"
54
+ NotImplemented = "NotImplemented"
55
+ BadGateway = "BadGateway"
56
+ ServiceUnavailable = "ServiceUnavailable"
57
+ GatewayTimeout = "GatewayTimeout"
58
+ HttpVersionNotSupported = "HttpVersionNotSupported"
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,65 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Automation
7
+ module Models
8
+ #
9
+ # Definition of hybrid runbook worker.
10
+ #
11
+ class HybridRunbookWorker
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the worker machine name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Gets or sets the assigned machine IP address.
19
+ attr_accessor :ip
20
+
21
+ # @return [DateTime] Gets or sets the registration time of the worker
22
+ # machine.
23
+ attr_accessor :registration_time
24
+
25
+
26
+ #
27
+ # Mapper for HybridRunbookWorker class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'HybridRunbookWorker',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'HybridRunbookWorker',
37
+ model_properties: {
38
+ name: {
39
+ required: false,
40
+ serialized_name: 'name',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ ip: {
46
+ required: false,
47
+ serialized_name: 'ip',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ registration_time: {
53
+ required: false,
54
+ serialized_name: 'registrationTime',
55
+ type: {
56
+ name: 'DateTime'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,85 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Automation
7
+ module Models
8
+ #
9
+ # Definition of hybrid runbook worker group.
10
+ #
11
+ class HybridRunbookWorkerGroup
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Gets or sets the name of the group.
19
+ attr_accessor :name
20
+
21
+ # @return [Array<HybridRunbookWorker>] Gets or sets the list of hybrid
22
+ # runbook workers.
23
+ attr_accessor :hybrid_runbook_workers
24
+
25
+ # @return [RunAsCredentialAssociationProperty] Sets the credential of a
26
+ # worker group.
27
+ attr_accessor :credential
28
+
29
+
30
+ #
31
+ # Mapper for HybridRunbookWorkerGroup class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ required: false,
37
+ serialized_name: 'HybridRunbookWorkerGroup',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'HybridRunbookWorkerGroup',
41
+ model_properties: {
42
+ id: {
43
+ required: false,
44
+ serialized_name: 'id',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ name: {
50
+ required: false,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ hybrid_runbook_workers: {
57
+ required: false,
58
+ serialized_name: 'hybridRunbookWorkers',
59
+ type: {
60
+ name: 'Sequence',
61
+ element: {
62
+ required: false,
63
+ serialized_name: 'HybridRunbookWorkerElementType',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'HybridRunbookWorker'
67
+ }
68
+ }
69
+ }
70
+ },
71
+ credential: {
72
+ required: false,
73
+ serialized_name: 'credential',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'RunAsCredentialAssociationProperty'
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Automation
7
+ module Models
8
+ #
9
+ # Parameters supplied to the update operation.
10
+ #
11
+ class HybridRunbookWorkerGroupUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [RunAsCredentialAssociationProperty] Sets the credential of a
16
+ # worker group.
17
+ attr_accessor :credential
18
+
19
+
20
+ #
21
+ # Mapper for HybridRunbookWorkerGroupUpdateParameters class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'HybridRunbookWorkerGroupUpdateParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'HybridRunbookWorkerGroupUpdateParameters',
31
+ model_properties: {
32
+ credential: {
33
+ required: false,
34
+ serialized_name: 'credential',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'RunAsCredentialAssociationProperty'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,95 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Automation
7
+ module Models
8
+ #
9
+ # The response model for the list hybrid runbook worker groups.
10
+ #
11
+ class HybridRunbookWorkerGroupsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<HybridRunbookWorkerGroup>] Gets or sets a list of hybrid
17
+ # runbook worker groups.
18
+ attr_accessor :value
19
+
20
+ # @return [String] Gets or sets the next link.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<HybridRunbookWorkerGroup>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [HybridRunbookWorkerGroupsListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for HybridRunbookWorkerGroupsListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'HybridRunbookWorkerGroupsListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'HybridRunbookWorkerGroupsListResult',
66
+ model_properties: {
67
+ value: {
68
+ required: false,
69
+ serialized_name: 'value',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ required: false,
74
+ serialized_name: 'HybridRunbookWorkerGroupElementType',
75
+ type: {
76
+ name: 'Composite',
77
+ class_name: 'HybridRunbookWorkerGroup'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ next_link: {
83
+ required: false,
84
+ serialized_name: 'nextLink',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,188 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Automation
7
+ module Models
8
+ #
9
+ # Definition of the job.
10
+ #
11
+ class Job
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [RunbookAssociationProperty] Gets or sets the runbook.
19
+ attr_accessor :runbook
20
+
21
+ # @return [String] Gets or sets the job started by.
22
+ attr_accessor :started_by
23
+
24
+ # @return [String] Gets or sets the runOn which specifies the group name
25
+ # where the job is to be executed.
26
+ attr_accessor :run_on
27
+
28
+ # @return Gets or sets the id of the job.
29
+ attr_accessor :job_id
30
+
31
+ # @return [DateTime] Gets or sets the creation time of the job.
32
+ attr_accessor :creation_time
33
+
34
+ # @return [JobStatus] Gets or sets the status of the job. Possible values
35
+ # include: 'New', 'Activating', 'Running', 'Completed', 'Failed',
36
+ # 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending',
37
+ # 'Stopping', 'Resuming', 'Removing'
38
+ attr_accessor :status
39
+
40
+ # @return [String] Gets or sets the status details of the job.
41
+ attr_accessor :status_details
42
+
43
+ # @return [DateTime] Gets or sets the start time of the job.
44
+ attr_accessor :start_time
45
+
46
+ # @return [DateTime] Gets or sets the end time of the job.
47
+ attr_accessor :end_time
48
+
49
+ # @return [String] Gets or sets the exception of the job.
50
+ attr_accessor :exception
51
+
52
+ # @return [DateTime] Gets or sets the last modified time of the job.
53
+ attr_accessor :last_modified_time
54
+
55
+ # @return [DateTime] Gets or sets the last status modified time of the
56
+ # job.
57
+ attr_accessor :last_status_modified_time
58
+
59
+ # @return [Hash{String => String}] Gets or sets the parameters of the
60
+ # job.
61
+ attr_accessor :parameters
62
+
63
+
64
+ #
65
+ # Mapper for Job class as Ruby Hash.
66
+ # This will be used for serialization/deserialization.
67
+ #
68
+ def self.mapper()
69
+ {
70
+ required: false,
71
+ serialized_name: 'Job',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'Job',
75
+ model_properties: {
76
+ id: {
77
+ required: false,
78
+ serialized_name: 'id',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ runbook: {
84
+ required: false,
85
+ serialized_name: 'properties.runbook',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'RunbookAssociationProperty'
89
+ }
90
+ },
91
+ started_by: {
92
+ required: false,
93
+ serialized_name: 'properties.startedBy',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ run_on: {
99
+ required: false,
100
+ serialized_name: 'properties.runOn',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ job_id: {
106
+ required: false,
107
+ serialized_name: 'properties.jobId',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ creation_time: {
113
+ required: false,
114
+ serialized_name: 'properties.creationTime',
115
+ type: {
116
+ name: 'DateTime'
117
+ }
118
+ },
119
+ status: {
120
+ required: false,
121
+ serialized_name: 'properties.status',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ status_details: {
127
+ required: false,
128
+ serialized_name: 'properties.statusDetails',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ start_time: {
134
+ required: false,
135
+ serialized_name: 'properties.startTime',
136
+ type: {
137
+ name: 'DateTime'
138
+ }
139
+ },
140
+ end_time: {
141
+ required: false,
142
+ serialized_name: 'properties.endTime',
143
+ type: {
144
+ name: 'DateTime'
145
+ }
146
+ },
147
+ exception: {
148
+ required: false,
149
+ serialized_name: 'properties.exception',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ last_modified_time: {
155
+ required: false,
156
+ serialized_name: 'properties.lastModifiedTime',
157
+ type: {
158
+ name: 'DateTime'
159
+ }
160
+ },
161
+ last_status_modified_time: {
162
+ required: false,
163
+ serialized_name: 'properties.lastStatusModifiedTime',
164
+ type: {
165
+ name: 'DateTime'
166
+ }
167
+ },
168
+ parameters: {
169
+ required: false,
170
+ serialized_name: 'properties.parameters',
171
+ type: {
172
+ name: 'Dictionary',
173
+ value: {
174
+ required: false,
175
+ serialized_name: 'StringElementType',
176
+ type: {
177
+ name: 'String'
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+ }
185
+ end
186
+ end
187
+ end
188
+ end