azure_mgmt_automation 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,16 @@
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 ContentSourceType
10
+ #
11
+ module ContentSourceType
12
+ EmbeddedContent = "embeddedContent"
13
+ Uri = "uri"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,98 @@
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 credential.
10
+ #
11
+ class Credential
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Gets the name of the credential.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Gets the user name of the credential.
22
+ attr_accessor :user_name
23
+
24
+ # @return [DateTime] Gets the creation time.
25
+ attr_accessor :creation_time
26
+
27
+ # @return [DateTime] Gets the last modified time.
28
+ attr_accessor :last_modified_time
29
+
30
+ # @return [String] Gets or sets the description.
31
+ attr_accessor :description
32
+
33
+
34
+ #
35
+ # Mapper for Credential class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'Credential',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Credential',
45
+ model_properties: {
46
+ id: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'id',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ name: {
55
+ required: false,
56
+ serialized_name: 'name',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ user_name: {
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'properties.userName',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ creation_time: {
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'properties.creationTime',
73
+ type: {
74
+ name: 'DateTime'
75
+ }
76
+ },
77
+ last_modified_time: {
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'properties.lastModifiedTime',
81
+ type: {
82
+ name: 'DateTime'
83
+ }
84
+ },
85
+ description: {
86
+ required: false,
87
+ serialized_name: 'properties.description',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,74 @@
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 parameters supplied to the create or update credential operation.
10
+ #
11
+ class CredentialCreateOrUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the name of the credential.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Gets or sets the user name of the credential.
19
+ attr_accessor :user_name
20
+
21
+ # @return [String] Gets or sets the password of the credential.
22
+ attr_accessor :password
23
+
24
+ # @return [String] Gets or sets the description of the credential.
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for CredentialCreateOrUpdateParameters class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'CredentialCreateOrUpdateParameters',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'CredentialCreateOrUpdateParameters',
39
+ model_properties: {
40
+ name: {
41
+ required: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ user_name: {
48
+ required: true,
49
+ serialized_name: 'properties.userName',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ password: {
55
+ required: true,
56
+ serialized_name: 'properties.password',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ description: {
62
+ required: false,
63
+ serialized_name: 'properties.description',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,94 @@
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 credential operation.
10
+ #
11
+ class CredentialListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<Credential>] Gets or sets a list of credentials.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Gets or sets the next link.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<Credential>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [CredentialListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for CredentialListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ required: false,
61
+ serialized_name: 'CredentialListResult',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'CredentialListResult',
65
+ model_properties: {
66
+ value: {
67
+ required: false,
68
+ serialized_name: 'value',
69
+ type: {
70
+ name: 'Sequence',
71
+ element: {
72
+ required: false,
73
+ serialized_name: 'CredentialElementType',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'Credential'
77
+ }
78
+ }
79
+ }
80
+ },
81
+ next_link: {
82
+ required: false,
83
+ serialized_name: 'nextLink',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,74 @@
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 parameters supplied to the Update credential operation.
10
+ #
11
+ class CredentialUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the name of the credential.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Gets or sets the user name of the credential.
19
+ attr_accessor :user_name
20
+
21
+ # @return [String] Gets or sets the password of the credential.
22
+ attr_accessor :password
23
+
24
+ # @return [String] Gets or sets the description of the credential.
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for CredentialUpdateParameters class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'CredentialUpdateParameters',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'CredentialUpdateParameters',
39
+ model_properties: {
40
+ name: {
41
+ required: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ user_name: {
48
+ required: false,
49
+ serialized_name: 'properties.userName',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ password: {
55
+ required: false,
56
+ serialized_name: 'properties.password',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ description: {
62
+ required: false,
63
+ serialized_name: 'properties.description',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,186 @@
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 Dsc Compilation job.
10
+ #
11
+ class DscCompilationJob
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the id of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [DscConfigurationAssociationProperty] Gets or sets the
19
+ # configuration.
20
+ attr_accessor :configuration
21
+
22
+ # @return [String] Gets the compilation job started by.
23
+ attr_accessor :started_by
24
+
25
+ # @return Gets the id of the job.
26
+ attr_accessor :job_id
27
+
28
+ # @return [DateTime] Gets the creation time of the job.
29
+ attr_accessor :creation_time
30
+
31
+ # @return [JobStatus] Gets or sets the status of the job. Possible values
32
+ # include: 'New', 'Activating', 'Running', 'Completed', 'Failed',
33
+ # 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending',
34
+ # 'Stopping', 'Resuming', 'Removing'
35
+ attr_accessor :status
36
+
37
+ # @return [String] Gets or sets the status details of the job.
38
+ attr_accessor :status_details
39
+
40
+ # @return [DateTime] Gets the start time of the job.
41
+ attr_accessor :start_time
42
+
43
+ # @return [DateTime] Gets the end time of the job.
44
+ attr_accessor :end_time
45
+
46
+ # @return [String] Gets the exception of the job.
47
+ attr_accessor :exception
48
+
49
+ # @return [DateTime] Gets the last modified time of the job.
50
+ attr_accessor :last_modified_time
51
+
52
+ # @return [DateTime] Gets the last status modified time of the job.
53
+ attr_accessor :last_status_modified_time
54
+
55
+ # @return [Hash{String => String}] Gets or sets the parameters of the
56
+ # job.
57
+ attr_accessor :parameters
58
+
59
+
60
+ #
61
+ # Mapper for DscCompilationJob class as Ruby Hash.
62
+ # This will be used for serialization/deserialization.
63
+ #
64
+ def self.mapper()
65
+ {
66
+ required: false,
67
+ serialized_name: 'DscCompilationJob',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'DscCompilationJob',
71
+ model_properties: {
72
+ id: {
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'id',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ configuration: {
81
+ required: false,
82
+ serialized_name: 'properties.configuration',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'DscConfigurationAssociationProperty'
86
+ }
87
+ },
88
+ started_by: {
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'properties.startedBy',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ job_id: {
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'properties.jobId',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ creation_time: {
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'properties.creationTime',
108
+ type: {
109
+ name: 'DateTime'
110
+ }
111
+ },
112
+ status: {
113
+ required: false,
114
+ serialized_name: 'properties.status',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ status_details: {
120
+ required: false,
121
+ serialized_name: 'properties.statusDetails',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ start_time: {
127
+ required: false,
128
+ read_only: true,
129
+ serialized_name: 'properties.startTime',
130
+ type: {
131
+ name: 'DateTime'
132
+ }
133
+ },
134
+ end_time: {
135
+ required: false,
136
+ read_only: true,
137
+ serialized_name: 'properties.endTime',
138
+ type: {
139
+ name: 'DateTime'
140
+ }
141
+ },
142
+ exception: {
143
+ required: false,
144
+ read_only: true,
145
+ serialized_name: 'properties.exception',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ },
150
+ last_modified_time: {
151
+ required: false,
152
+ read_only: true,
153
+ serialized_name: 'properties.lastModifiedTime',
154
+ type: {
155
+ name: 'DateTime'
156
+ }
157
+ },
158
+ last_status_modified_time: {
159
+ required: false,
160
+ read_only: true,
161
+ serialized_name: 'properties.lastStatusModifiedTime',
162
+ type: {
163
+ name: 'DateTime'
164
+ }
165
+ },
166
+ parameters: {
167
+ required: false,
168
+ serialized_name: 'properties.parameters',
169
+ type: {
170
+ name: 'Dictionary',
171
+ value: {
172
+ required: false,
173
+ serialized_name: 'StringElementType',
174
+ type: {
175
+ name: 'String'
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ end
184
+ end
185
+ end
186
+ end