azure_mgmt_automation 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-31/generated/azure_mgmt_automation.rb +110 -97
  3. data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +36 -25
  4. data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +32 -22
  5. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +38 -31
  6. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +22 -12
  7. data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +84 -58
  8. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +84 -58
  9. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +68 -47
  10. data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +84 -58
  11. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +68 -47
  12. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb +124 -0
  13. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +218 -61
  14. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +69 -58
  15. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +68 -47
  16. data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +16 -11
  17. data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +73 -48
  18. data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +132 -91
  19. data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +73 -48
  20. data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +36 -25
  21. data/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb +120 -0
  22. data/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb +120 -0
  23. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +35 -2
  24. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb +47 -0
  25. data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
  26. data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +2 -2
  27. data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +2 -2
  28. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +9 -9
  29. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb +16 -0
  30. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb +16 -0
  31. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +1 -10
  32. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +1 -10
  33. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +1 -10
  34. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +44 -4
  35. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +3 -3
  36. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +20 -9
  37. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +12 -0
  38. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb +132 -0
  39. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +1 -25
  40. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +20 -15
  41. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +4 -4
  42. data/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb +16 -0
  43. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +11 -0
  44. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +12 -0
  45. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +37 -1
  46. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +0 -42
  47. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb +18 -0
  48. data/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb +73 -0
  49. data/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb +56 -0
  50. data/lib/2015-10-31/generated/azure_mgmt_automation/models/{sub_resource.rb → linked_workspace.rb} +7 -6
  51. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +20 -9
  52. data/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb +62 -0
  53. data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +4 -34
  54. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +9 -9
  55. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +2 -1
  56. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +1 -10
  57. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
  58. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +1 -1
  59. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
  60. data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +11 -0
  61. data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +0 -11
  62. data/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb +92 -0
  63. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +1 -10
  64. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +23 -7
  65. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
  66. data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +84 -58
  67. data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +53 -54
  68. data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +32 -22
  69. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +150 -107
  70. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +130 -78
  71. data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +96 -60
  72. data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +8 -6
  73. data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +87 -62
  74. data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +44 -30
  75. data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +8 -6
  76. data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +84 -58
  77. data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +100 -69
  78. data/lib/profiles/latest/modules/automation_profile_module.rb +364 -318
  79. data/lib/version.rb +1 -1
  80. metadata +19 -6
@@ -16,7 +16,7 @@ module Azure::Automation::Mgmt::V2015_10_31
16
16
  # @return [ContentSource] Gets or sets the source.
17
17
  attr_accessor :source
18
18
 
19
- # @return [String] Gets or sets the type of the parameter.
19
+ # @return [String] Name of the node configuration.
20
20
  attr_accessor :name
21
21
 
22
22
  # @return [DscConfigurationAssociationProperty] Gets or sets the
@@ -25,7 +25,7 @@ module Azure::Automation::Mgmt::V2015_10_31
25
25
 
26
26
  # @return [Boolean] If a new build version of NodeConfiguration is
27
27
  # required.
28
- attr_accessor :new_node_configuration_build_version_required
28
+ attr_accessor :increment_node_configuration_build
29
29
 
30
30
 
31
31
  #
@@ -68,10 +68,10 @@ module Azure::Automation::Mgmt::V2015_10_31
68
68
  class_name: 'DscConfigurationAssociationProperty'
69
69
  }
70
70
  },
71
- new_node_configuration_build_version_required: {
71
+ increment_node_configuration_build: {
72
72
  client_side_validation: true,
73
73
  required: false,
74
- serialized_name: 'newNodeConfigurationBuildVersionRequired',
74
+ serialized_name: 'incrementNodeConfigurationBuild',
75
75
  type: {
76
76
  name: 'Boolean'
77
77
  }
@@ -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::Automation::Mgmt::V2015_10_31
7
+ module Models
8
+ #
9
+ # Defines values for GroupTypeEnum
10
+ #
11
+ module GroupTypeEnum
12
+ User = "User"
13
+ System = "System"
14
+ end
15
+ end
16
+ end
@@ -22,6 +22,9 @@ module Azure::Automation::Mgmt::V2015_10_31
22
22
  # machine.
23
23
  attr_accessor :registration_time
24
24
 
25
+ # @return [DateTime] Last Heartbeat from the Worker
26
+ attr_accessor :last_seen_date_time
27
+
25
28
 
26
29
  #
27
30
  # Mapper for HybridRunbookWorker class as Ruby Hash.
@@ -59,6 +62,14 @@ module Azure::Automation::Mgmt::V2015_10_31
59
62
  type: {
60
63
  name: 'DateTime'
61
64
  }
65
+ },
66
+ last_seen_date_time: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'lastSeenDateTime',
70
+ type: {
71
+ name: 'DateTime'
72
+ }
62
73
  }
63
74
  }
64
75
  }
@@ -26,6 +26,10 @@ module Azure::Automation::Mgmt::V2015_10_31
26
26
  # worker group.
27
27
  attr_accessor :credential
28
28
 
29
+ # @return [GroupTypeEnum] Type of the HybridWorkerGroup. Possible values
30
+ # include: 'User', 'System'
31
+ attr_accessor :group_type
32
+
29
33
 
30
34
  #
31
35
  # Mapper for HybridRunbookWorkerGroup class as Ruby Hash.
@@ -81,6 +85,14 @@ module Azure::Automation::Mgmt::V2015_10_31
81
85
  name: 'Composite',
82
86
  class_name: 'RunAsCredentialAssociationProperty'
83
87
  }
88
+ },
89
+ group_type: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'groupType',
93
+ type: {
94
+ name: 'String'
95
+ }
84
96
  }
85
97
  }
86
98
  }
@@ -12,7 +12,7 @@ module Azure::Automation::Mgmt::V2015_10_31
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets the id of the resource.
15
+ # @return [String] Id of the resource.
16
16
  attr_accessor :id
17
17
 
18
18
  # @return [RunbookAssociationProperty] Gets or sets the runbook.
@@ -60,6 +60,17 @@ module Azure::Automation::Mgmt::V2015_10_31
60
60
  # job.
61
61
  attr_accessor :parameters
62
62
 
63
+ # @return [JobProvisioningState] The provisioning state of a resource.
64
+ # Possible values include: 'Failed', 'Succeeded', 'Suspended',
65
+ # 'Processing'
66
+ attr_accessor :provisioning_state
67
+
68
+ # @return [String] Gets or sets the id of job schedule.
69
+ attr_accessor :job_schedule_id
70
+
71
+ # @return [ScheduleAssociationProperty] Gets or sets the runbook.
72
+ attr_accessor :schedule
73
+
63
74
 
64
75
  #
65
76
  # Mapper for Job class as Ruby Hash.
@@ -194,6 +205,31 @@ module Azure::Automation::Mgmt::V2015_10_31
194
205
  }
195
206
  }
196
207
  }
208
+ },
209
+ provisioning_state: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'properties.provisioningState',
213
+ type: {
214
+ name: 'String'
215
+ }
216
+ },
217
+ job_schedule_id: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'properties.jobScheduleId',
221
+ type: {
222
+ name: 'String'
223
+ }
224
+ },
225
+ schedule: {
226
+ client_side_validation: true,
227
+ required: false,
228
+ serialized_name: 'properties.schedule',
229
+ type: {
230
+ name: 'Composite',
231
+ class_name: 'ScheduleAssociationProperty'
232
+ }
197
233
  }
198
234
  }
199
235
  }
@@ -23,16 +23,6 @@ module Azure::Automation::Mgmt::V2015_10_31
23
23
  # where the job is to be executed.
24
24
  attr_accessor :run_on
25
25
 
26
- # @return [String] Gets or sets name of the resource.
27
- attr_accessor :name
28
-
29
- # @return [String] Gets or sets the location of the resource.
30
- attr_accessor :location
31
-
32
- # @return [Hash{String => String}] Gets or sets the tags attached to the
33
- # resource.
34
- attr_accessor :tags
35
-
36
26
 
37
27
  #
38
28
  # Mapper for JobCreateParameters class as Ruby Hash.
@@ -79,38 +69,6 @@ module Azure::Automation::Mgmt::V2015_10_31
79
69
  type: {
80
70
  name: 'String'
81
71
  }
82
- },
83
- name: {
84
- client_side_validation: true,
85
- required: false,
86
- serialized_name: 'name',
87
- type: {
88
- name: 'String'
89
- }
90
- },
91
- location: {
92
- client_side_validation: true,
93
- required: false,
94
- serialized_name: 'location',
95
- type: {
96
- name: 'String'
97
- }
98
- },
99
- tags: {
100
- client_side_validation: true,
101
- required: false,
102
- serialized_name: 'tags',
103
- type: {
104
- name: 'Dictionary',
105
- value: {
106
- client_side_validation: true,
107
- required: false,
108
- serialized_name: 'StringElementType',
109
- type: {
110
- name: 'String'
111
- }
112
- }
113
- }
114
72
  }
115
73
  }
116
74
  }
@@ -0,0 +1,18 @@
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::Automation::Mgmt::V2015_10_31
7
+ module Models
8
+ #
9
+ # Defines values for JobProvisioningState
10
+ #
11
+ module JobProvisioningState
12
+ Failed = "Failed"
13
+ Succeeded = "Succeeded"
14
+ Suspended = "Suspended"
15
+ Processing = "Processing"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,73 @@
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::Automation::Mgmt::V2015_10_31
7
+ module Models
8
+ #
9
+ # Automation key which is used to register a DSC Node
10
+ #
11
+ class Key
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AutomationKeyName] Automation key name. Possible values
16
+ # include: 'Primary', 'Secondary'
17
+ attr_accessor :key_name
18
+
19
+ # @return [AutomationKeyPermissions] Automation key permissions. Possible
20
+ # values include: 'Read', 'Full'
21
+ attr_accessor :permissions
22
+
23
+ # @return [String] Value of the Automation Key used for registration.
24
+ attr_accessor :value
25
+
26
+
27
+ #
28
+ # Mapper for Key class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'Key',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'Key',
39
+ model_properties: {
40
+ key_name: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'KeyName',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ permissions: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'Permissions',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ value: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'Value',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,56 @@
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::Automation::Mgmt::V2015_10_31
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class KeyListResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<Key>] Lists the automation keys.
17
+ attr_accessor :keys
18
+
19
+
20
+ #
21
+ # Mapper for KeyListResult class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'KeyListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'KeyListResult',
32
+ model_properties: {
33
+ keys: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'keys',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'KeyElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Key'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -6,32 +6,33 @@
6
6
  module Azure::Automation::Mgmt::V2015_10_31
7
7
  module Models
8
8
  #
9
- # The Sub Resource definition.
9
+ # Definition of the linked workspace.
10
10
  #
11
- class SubResource
11
+ class LinkedWorkspace
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Resource Id
15
+ # @return [String] Gets the id of the linked workspace.
16
16
  attr_accessor :id
17
17
 
18
18
 
19
19
  #
20
- # Mapper for SubResource class as Ruby Hash.
20
+ # Mapper for LinkedWorkspace class as Ruby Hash.
21
21
  # This will be used for serialization/deserialization.
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
25
  client_side_validation: true,
26
26
  required: false,
27
- serialized_name: 'SubResource',
27
+ serialized_name: 'LinkedWorkspace',
28
28
  type: {
29
29
  name: 'Composite',
30
- class_name: 'SubResource',
30
+ class_name: 'LinkedWorkspace',
31
31
  model_properties: {
32
32
  id: {
33
33
  client_side_validation: true,
34
34
  required: false,
35
+ read_only: true,
35
36
  serialized_name: 'id',
36
37
  type: {
37
38
  name: 'String'
@@ -8,7 +8,7 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the module type.
10
10
  #
11
- class ModuleModel < Resource
11
+ class ModuleModel < TrackedResource
12
12
 
13
13
  include MsRestAzure
14
14
 
@@ -48,6 +48,9 @@ module Azure::Automation::Mgmt::V2015_10_31
48
48
  # @return [String] Gets or sets the description.
49
49
  attr_accessor :description
50
50
 
51
+ # @return [Boolean] Gets or sets type of module, if its composite or not.
52
+ attr_accessor :is_composite
53
+
51
54
  # @return [String] Gets or sets the etag of the resource.
52
55
  attr_accessor :etag
53
56
 
@@ -92,14 +95,6 @@ module Azure::Automation::Mgmt::V2015_10_31
92
95
  name: 'String'
93
96
  }
94
97
  },
95
- location: {
96
- client_side_validation: true,
97
- required: true,
98
- serialized_name: 'location',
99
- type: {
100
- name: 'String'
101
- }
102
- },
103
98
  tags: {
104
99
  client_side_validation: true,
105
100
  required: false,
@@ -116,6 +111,14 @@ module Azure::Automation::Mgmt::V2015_10_31
116
111
  }
117
112
  }
118
113
  },
114
+ location: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'location',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
119
122
  is_global: {
120
123
  client_side_validation: true,
121
124
  required: false,
@@ -199,6 +202,14 @@ module Azure::Automation::Mgmt::V2015_10_31
199
202
  name: 'String'
200
203
  }
201
204
  },
205
+ is_composite: {
206
+ client_side_validation: true,
207
+ required: false,
208
+ serialized_name: 'properties.isComposite',
209
+ type: {
210
+ name: 'Boolean'
211
+ }
212
+ },
202
213
  etag: {
203
214
  client_side_validation: true,
204
215
  required: false,