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
@@ -0,0 +1,62 @@
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
+ # ARM proxy resource.
10
+ #
11
+ class ProxyResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ #
17
+ # Mapper for ProxyResource class as Ruby Hash.
18
+ # This will be used for serialization/deserialization.
19
+ #
20
+ def self.mapper()
21
+ {
22
+ client_side_validation: true,
23
+ required: false,
24
+ serialized_name: 'ProxyResource',
25
+ type: {
26
+ name: 'Composite',
27
+ class_name: 'ProxyResource',
28
+ model_properties: {
29
+ id: {
30
+ client_side_validation: true,
31
+ required: false,
32
+ read_only: true,
33
+ serialized_name: 'id',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ },
38
+ name: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ type: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'type',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ end
@@ -6,27 +6,21 @@
6
6
  module Azure::Automation::Mgmt::V2015_10_31
7
7
  module Models
8
8
  #
9
- # The Resource definition.
9
+ # The core properties of ARM resources
10
10
  #
11
11
  class Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Resource Id
15
+ # @return [String] Fully qualified resource Id for the resource
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] Resource name
18
+ # @return [String] The name of the resource
19
19
  attr_accessor :name
20
20
 
21
- # @return [String] Resource type
21
+ # @return [String] The type of the resource.
22
22
  attr_accessor :type
23
23
 
24
- # @return [String] Resource location
25
- attr_accessor :location
26
-
27
- # @return [Hash{String => String}] Resource tags
28
- attr_accessor :tags
29
-
30
24
 
31
25
  #
32
26
  # Mapper for Resource class as Ruby Hash.
@@ -67,30 +61,6 @@ module Azure::Automation::Mgmt::V2015_10_31
67
61
  type: {
68
62
  name: 'String'
69
63
  }
70
- },
71
- location: {
72
- client_side_validation: true,
73
- required: true,
74
- serialized_name: 'location',
75
- type: {
76
- name: 'String'
77
- }
78
- },
79
- tags: {
80
- client_side_validation: true,
81
- required: false,
82
- serialized_name: 'tags',
83
- type: {
84
- name: 'Dictionary',
85
- value: {
86
- client_side_validation: true,
87
- required: false,
88
- serialized_name: 'StringElementType',
89
- type: {
90
- name: 'String'
91
- }
92
- }
93
- }
94
64
  }
95
65
  }
96
66
  }
@@ -8,7 +8,7 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the runbook type.
10
10
  #
11
- class Runbook < Resource
11
+ class Runbook < TrackedResource
12
12
 
13
13
  include MsRestAzure
14
14
 
@@ -107,14 +107,6 @@ module Azure::Automation::Mgmt::V2015_10_31
107
107
  name: 'String'
108
108
  }
109
109
  },
110
- location: {
111
- client_side_validation: true,
112
- required: true,
113
- serialized_name: 'location',
114
- type: {
115
- name: 'String'
116
- }
117
- },
118
110
  tags: {
119
111
  client_side_validation: true,
120
112
  required: false,
@@ -131,6 +123,14 @@ module Azure::Automation::Mgmt::V2015_10_31
131
123
  }
132
124
  }
133
125
  },
126
+ location: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'location',
130
+ type: {
131
+ name: 'String'
132
+ }
133
+ },
134
134
  runbook_type: {
135
135
  client_side_validation: true,
136
136
  required: false,
@@ -6,7 +6,8 @@
6
6
  module Azure::Automation::Mgmt::V2015_10_31
7
7
  module Models
8
8
  #
9
- # Definition of the runbook type.
9
+ # Model object.
10
+ #
10
11
  #
11
12
  class RunbookDraft
12
13
 
@@ -8,19 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the schedule.
10
10
  #
11
- class Schedule
11
+ class Schedule < ProxyResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets the id of the resource.
16
- attr_accessor :id
17
-
18
- # @return [String] Gets name of the schedule.
19
- attr_accessor :name
20
-
21
- # @return [String] Resource type
22
- attr_accessor :type
23
-
24
15
  # @return [DateTime] Gets or sets the start time of the schedule.
25
16
  attr_accessor :start_time
26
17
 
@@ -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 name of the schedule.
15
+ # @return [String] Gets or sets the name of the Schedule.
16
16
  attr_accessor :name
17
17
 
18
18
 
@@ -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 name of the schedule.
15
+ # @return [String] Gets or sets the name of the Schedule.
16
16
  attr_accessor :name
17
17
 
18
18
  # @return [String] Gets or sets the description of the schedule.
@@ -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 name of the schedule.
15
+ # @return [String] Gets or sets the name of the Schedule.
16
16
  attr_accessor :name
17
17
 
18
18
  # @return [String] Gets or sets the description of the schedule.
@@ -45,6 +45,9 @@ module Azure::Automation::Mgmt::V2015_10_31
45
45
  # test job.
46
46
  attr_accessor :parameters
47
47
 
48
+ # @return [Integer] The activity-level tracing options of the runbook.
49
+ attr_accessor :log_activity_trace
50
+
48
51
 
49
52
  #
50
53
  # Mapper for TestJob class as Ruby Hash.
@@ -146,6 +149,14 @@ module Azure::Automation::Mgmt::V2015_10_31
146
149
  }
147
150
  }
148
151
  }
152
+ },
153
+ log_activity_trace: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'logActivityTrace',
157
+ type: {
158
+ name: 'Number'
159
+ }
149
160
  }
150
161
  }
151
162
  }
@@ -12,9 +12,6 @@ module Azure::Automation::Mgmt::V2015_10_31
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets the runbook name.
16
- attr_accessor :runbook_name
17
-
18
15
  # @return [Hash{String => String}] Gets or sets the parameters of the
19
16
  # test job.
20
17
  attr_accessor :parameters
@@ -37,14 +34,6 @@ module Azure::Automation::Mgmt::V2015_10_31
37
34
  name: 'Composite',
38
35
  class_name: 'TestJobCreateParameters',
39
36
  model_properties: {
40
- runbook_name: {
41
- client_side_validation: true,
42
- required: true,
43
- serialized_name: 'runbookName',
44
- type: {
45
- name: 'String'
46
- }
47
- },
48
37
  parameters: {
49
38
  client_side_validation: true,
50
39
  required: false,
@@ -0,0 +1,92 @@
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 resource model definition for a ARM tracked top level resource
10
+ #
11
+ class TrackedResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Resource tags.
16
+ attr_accessor :tags
17
+
18
+ # @return [String] The Azure Region where the resource lives
19
+ attr_accessor :location
20
+
21
+
22
+ #
23
+ # Mapper for TrackedResource class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'TrackedResource',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'TrackedResource',
34
+ model_properties: {
35
+ id: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'id',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ name: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'type',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ tags: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'tags',
66
+ type: {
67
+ name: 'Dictionary',
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'StringElementType',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ },
78
+ location: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'location',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -8,19 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the varible.
10
10
  #
11
- class Variable
11
+ class Variable < ProxyResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets the id of the resource.
16
- attr_accessor :id
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
-
24
15
  # @return [String] Gets or sets the value of the variable.
25
16
  attr_accessor :value
26
17
 
@@ -8,16 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the webhook type.
10
10
  #
11
- class Webhook
11
+ class Webhook < ProxyResource
12
12
 
13
13
  include MsRestAzure
14
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 webhook.
19
- attr_accessor :name
20
-
21
15
  # @return [Boolean] Gets or sets the value of the enabled flag of the
22
16
  # webhook. Default value: false .
23
17
  attr_accessor :is_enabled
@@ -50,6 +44,9 @@ module Azure::Automation::Mgmt::V2015_10_31
50
44
  # @return [DateTime] Gets or sets the last modified time.
51
45
  attr_accessor :last_modified_time
52
46
 
47
+ # @return [String] Details of the user who last modified the Webhook
48
+ attr_accessor :last_modified_by
49
+
53
50
  # @return [String] Gets or sets the description.
54
51
  attr_accessor :description
55
52
 
@@ -70,6 +67,7 @@ module Azure::Automation::Mgmt::V2015_10_31
70
67
  id: {
71
68
  client_side_validation: true,
72
69
  required: false,
70
+ read_only: true,
73
71
  serialized_name: 'id',
74
72
  type: {
75
73
  name: 'String'
@@ -78,11 +76,21 @@ module Azure::Automation::Mgmt::V2015_10_31
78
76
  name: {
79
77
  client_side_validation: true,
80
78
  required: false,
79
+ read_only: true,
81
80
  serialized_name: 'name',
82
81
  type: {
83
82
  name: 'String'
84
83
  }
85
84
  },
85
+ type: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'type',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
86
94
  is_enabled: {
87
95
  client_side_validation: true,
88
96
  required: false,
@@ -165,6 +173,14 @@ module Azure::Automation::Mgmt::V2015_10_31
165
173
  name: 'DateTime'
166
174
  }
167
175
  },
176
+ last_modified_by: {
177
+ client_side_validation: true,
178
+ required: false,
179
+ serialized_name: 'properties.lastModifiedBy',
180
+ type: {
181
+ name: 'String'
182
+ }
183
+ },
168
184
  description: {
169
185
  client_side_validation: true,
170
186
  required: false,