azure_mgmt_automation 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-31/generated/azure_mgmt_automation.rb +54 -53
  3. data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +27 -31
  4. data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +18 -24
  5. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +54 -50
  6. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +7 -1
  7. data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +54 -68
  8. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +54 -68
  9. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +45 -55
  10. data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +54 -68
  11. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +45 -55
  12. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +54 -66
  13. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +45 -55
  14. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +45 -55
  15. data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +9 -11
  16. data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +45 -55
  17. data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +81 -99
  18. data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +45 -55
  19. data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +27 -31
  20. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +12 -0
  21. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
  22. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +12 -0
  23. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
  24. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +13 -0
  25. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
  26. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
  27. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +21 -0
  28. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +12 -0
  29. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
  30. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
  31. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +16 -2
  32. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +2 -2
  33. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
  34. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +16 -2
  35. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
  36. data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +54 -68
  37. data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +36 -42
  38. data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +18 -22
  39. data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
  40. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +53 -70
  41. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +63 -79
  42. data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +54 -68
  43. data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +6 -5
  44. data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +27 -31
  45. data/lib/2015-10-31/generated/azure_mgmt_automation/test_jobs.rb +45 -57
  46. data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +6 -5
  47. data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +54 -68
  48. data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +63 -79
  49. data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
  50. data/lib/profiles/latest/automation_module_definition.rb +0 -1
  51. data/lib/profiles/latest/modules/automation_profile_module.rb +494 -471
  52. data/lib/version.rb +1 -1
  53. metadata +3 -2
@@ -18,6 +18,9 @@ module Azure::Automation::Mgmt::V2015_10_31
18
18
  # @return [String] Gets the name of the certificate.
19
19
  attr_accessor :name
20
20
 
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
21
24
  # @return [String] Gets the thumbprint of the certificate.
22
25
  attr_accessor :thumbprint
23
26
 
@@ -68,6 +71,15 @@ module Azure::Automation::Mgmt::V2015_10_31
68
71
  name: 'String'
69
72
  }
70
73
  },
74
+ type: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'type',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
71
83
  thumbprint: {
72
84
  client_side_validation: true,
73
85
  required: false,
@@ -34,7 +34,7 @@ module Azure::Automation::Mgmt::V2015_10_31
34
34
  model_properties: {
35
35
  name: {
36
36
  client_side_validation: true,
37
- required: true,
37
+ required: false,
38
38
  serialized_name: 'name',
39
39
  type: {
40
40
  name: 'String'
@@ -18,6 +18,9 @@ module Azure::Automation::Mgmt::V2015_10_31
18
18
  # @return [String] Gets the name of the connection.
19
19
  attr_accessor :name
20
20
 
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
21
24
  # @return [ConnectionTypeAssociationProperty] Gets or sets the
22
25
  # connectionType of the connection.
23
26
  attr_accessor :connection_type
@@ -67,6 +70,15 @@ module Azure::Automation::Mgmt::V2015_10_31
67
70
  name: 'String'
68
71
  }
69
72
  },
73
+ type: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'type',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
70
82
  connection_type: {
71
83
  client_side_validation: true,
72
84
  required: false,
@@ -18,6 +18,9 @@ module Azure::Automation::Mgmt::V2015_10_31
18
18
  # @return [String] Gets the name of the connection type.
19
19
  attr_accessor :name
20
20
 
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
21
24
  # @return [Boolean] Gets or sets a Boolean value to indicate if the
22
25
  # connection type is global.
23
26
  attr_accessor :is_global
@@ -67,6 +70,15 @@ module Azure::Automation::Mgmt::V2015_10_31
67
70
  name: 'String'
68
71
  }
69
72
  },
73
+ type: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'type',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
70
82
  is_global: {
71
83
  client_side_validation: true,
72
84
  required: false,
@@ -18,6 +18,9 @@ module Azure::Automation::Mgmt::V2015_10_31
18
18
  # @return [String] Gets the name of the credential.
19
19
  attr_accessor :name
20
20
 
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
21
24
  # @return [String] Gets the user name of the credential.
22
25
  attr_accessor :user_name
23
26
 
@@ -56,11 +59,21 @@ module Azure::Automation::Mgmt::V2015_10_31
56
59
  name: {
57
60
  client_side_validation: true,
58
61
  required: false,
62
+ read_only: true,
59
63
  serialized_name: 'name',
60
64
  type: {
61
65
  name: 'String'
62
66
  }
63
67
  },
68
+ type: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'type',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
64
77
  user_name: {
65
78
  client_side_validation: true,
66
79
  required: false,
@@ -40,7 +40,7 @@ module Azure::Automation::Mgmt::V2015_10_31
40
40
  model_properties: {
41
41
  name: {
42
42
  client_side_validation: true,
43
- required: true,
43
+ required: false,
44
44
  serialized_name: 'name',
45
45
  type: {
46
46
  name: 'String'
@@ -20,6 +20,10 @@ module Azure::Automation::Mgmt::V2015_10_31
20
20
  # job.
21
21
  attr_accessor :parameters
22
22
 
23
+ # @return [Boolean] If a new build version of NodeConfiguration is
24
+ # required.
25
+ attr_accessor :new_node_configuration_build_version_required
26
+
23
27
  # @return [String] Gets or sets name of the resource.
24
28
  attr_accessor :name
25
29
 
@@ -69,6 +73,14 @@ module Azure::Automation::Mgmt::V2015_10_31
69
73
  }
70
74
  }
71
75
  },
76
+ new_node_configuration_build_version_required: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'properties.newNodeConfigurationBuildVersionRequired',
80
+ type: {
81
+ name: 'Boolean'
82
+ }
83
+ },
72
84
  name: {
73
85
  client_side_validation: true,
74
86
  required: false,
@@ -37,6 +37,10 @@ module Azure::Automation::Mgmt::V2015_10_31
37
37
  # @return [String] Gets or sets the etag of the resource.
38
38
  attr_accessor :etag
39
39
 
40
+ # @return [Array<DscNodeExtensionHandlerAssociationProperty>] Gets or
41
+ # sets the list of extensionHandler properties for a Node.
42
+ attr_accessor :extension_handler
43
+
40
44
 
41
45
  #
42
46
  # Mapper for DscNode class as Ruby Hash.
@@ -166,6 +170,23 @@ module Azure::Automation::Mgmt::V2015_10_31
166
170
  type: {
167
171
  name: 'String'
168
172
  }
173
+ },
174
+ extension_handler: {
175
+ client_side_validation: true,
176
+ required: false,
177
+ serialized_name: 'extensionHandler',
178
+ type: {
179
+ name: 'Sequence',
180
+ element: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ serialized_name: 'DscNodeExtensionHandlerAssociationPropertyElementType',
184
+ type: {
185
+ name: 'Composite',
186
+ class_name: 'DscNodeExtensionHandlerAssociationProperty'
187
+ }
188
+ }
189
+ }
169
190
  }
170
191
  }
171
192
  }
@@ -23,6 +23,10 @@ module Azure::Automation::Mgmt::V2015_10_31
23
23
  # configuration of the node.
24
24
  attr_accessor :configuration
25
25
 
26
+ # @return [Boolean] If a new build version of NodeConfiguration is
27
+ # required.
28
+ attr_accessor :new_node_configuration_build_version_required
29
+
26
30
 
27
31
  #
28
32
  # Mapper for DscNodeConfigurationCreateOrUpdateParameters class as Ruby
@@ -63,6 +67,14 @@ module Azure::Automation::Mgmt::V2015_10_31
63
67
  name: 'Composite',
64
68
  class_name: 'DscConfigurationAssociationProperty'
65
69
  }
70
+ },
71
+ new_node_configuration_build_version_required: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'newNodeConfigurationBuildVersionRequired',
75
+ type: {
76
+ name: 'Boolean'
77
+ }
66
78
  }
67
79
  }
68
80
  }
@@ -0,0 +1,58 @@
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
+ # The dsc extensionHandler property associated with the node
10
+ #
11
+ class DscNodeExtensionHandlerAssociationProperty
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the name of the extension handler.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Gets or sets the version of the extension handler.
19
+ attr_accessor :version
20
+
21
+
22
+ #
23
+ # Mapper for DscNodeExtensionHandlerAssociationProperty class as Ruby
24
+ # Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'DscNodeExtensionHandlerAssociationProperty',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'DscNodeExtensionHandlerAssociationProperty',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ version: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'version',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -12,9 +12,15 @@ 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] Gets the id of the resource.
16
16
  attr_accessor :id
17
17
 
18
+ # @return [String] Gets the name of the variable.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
18
24
  # @return [String] Gets or sets the id of job schedule.
19
25
  attr_accessor :job_schedule_id
20
26
 
@@ -49,11 +55,30 @@ module Azure::Automation::Mgmt::V2015_10_31
49
55
  id: {
50
56
  client_side_validation: true,
51
57
  required: false,
58
+ read_only: true,
52
59
  serialized_name: 'id',
53
60
  type: {
54
61
  name: 'String'
55
62
  }
56
63
  },
64
+ name: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'name',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ type: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'type',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
57
82
  job_schedule_id: {
58
83
  client_side_validation: true,
59
84
  required: false,
@@ -12,12 +12,15 @@ 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] Gets the id of the resource.
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] Gets or sets the name of the schedule.
18
+ # @return [String] Gets name of the schedule.
19
19
  attr_accessor :name
20
20
 
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
21
24
  # @return [DateTime] Gets or sets the start time of the schedule.
22
25
  attr_accessor :start_time
23
26
 
@@ -79,6 +82,7 @@ module Azure::Automation::Mgmt::V2015_10_31
79
82
  id: {
80
83
  client_side_validation: true,
81
84
  required: false,
85
+ read_only: true,
82
86
  serialized_name: 'id',
83
87
  type: {
84
88
  name: 'String'
@@ -87,11 +91,21 @@ module Azure::Automation::Mgmt::V2015_10_31
87
91
  name: {
88
92
  client_side_validation: true,
89
93
  required: false,
94
+ read_only: true,
90
95
  serialized_name: 'name',
91
96
  type: {
92
97
  name: 'String'
93
98
  }
94
99
  },
100
+ type: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'type',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
95
109
  start_time: {
96
110
  client_side_validation: true,
97
111
  required: false,
@@ -27,8 +27,8 @@ module Azure::Automation::Mgmt::V2015_10_31
27
27
  # @return Gets or sets the interval of the schedule.
28
28
  attr_accessor :interval
29
29
 
30
- # @return [ScheduleFrequency] Gets or sets the frequency of the schedule.
31
- # Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month'
30
+ # @return [ScheduleFrequency] Possible values include: 'OneTime', 'Day',
31
+ # 'Hour', 'Week', 'Month'
32
32
  attr_accessor :frequency
33
33
 
34
34
  # @return [String] Gets or sets the time zone of the schedule.
@@ -38,7 +38,7 @@ module Azure::Automation::Mgmt::V2015_10_31
38
38
  model_properties: {
39
39
  name: {
40
40
  client_side_validation: true,
41
- required: true,
41
+ required: false,
42
42
  serialized_name: 'name',
43
43
  type: {
44
44
  name: 'String'
@@ -12,12 +12,15 @@ 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] Gets the id of the resource.
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] Gets or sets the name of the variable.
18
+ # @return [String] Gets the name of the variable.
19
19
  attr_accessor :name
20
20
 
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
21
24
  # @return [String] Gets or sets the value of the variable.
22
25
  attr_accessor :value
23
26
 
@@ -50,6 +53,7 @@ module Azure::Automation::Mgmt::V2015_10_31
50
53
  id: {
51
54
  client_side_validation: true,
52
55
  required: false,
56
+ read_only: true,
53
57
  serialized_name: 'id',
54
58
  type: {
55
59
  name: 'String'
@@ -58,11 +62,21 @@ module Azure::Automation::Mgmt::V2015_10_31
58
62
  name: {
59
63
  client_side_validation: true,
60
64
  required: false,
65
+ read_only: true,
61
66
  serialized_name: 'name',
62
67
  type: {
63
68
  name: 'String'
64
69
  }
65
70
  },
71
+ type: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'type',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
66
80
  value: {
67
81
  client_side_validation: true,
68
82
  required: false,
@@ -37,7 +37,7 @@ module Azure::Automation::Mgmt::V2015_10_31
37
37
  model_properties: {
38
38
  name: {
39
39
  client_side_validation: true,
40
- required: true,
40
+ required: false,
41
41
  serialized_name: 'name',
42
42
  type: {
43
43
  name: 'String'