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
@@ -8,19 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the certificate.
10
10
  #
11
- class Certificate
11
+ class Certificate < 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 certificate.
19
- attr_accessor :name
20
-
21
- # @return [String] Resource type
22
- attr_accessor :type
23
-
24
15
  # @return [String] Gets the thumbprint of the certificate.
25
16
  attr_accessor :thumbprint
26
17
 
@@ -8,19 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the connection.
10
10
  #
11
- class Connection
11
+ class Connection < 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 connection.
19
- attr_accessor :name
20
-
21
- # @return [String] Resource type
22
- attr_accessor :type
23
-
24
15
  # @return [ConnectionTypeAssociationProperty] Gets or sets the
25
16
  # connectionType of the connection.
26
17
  attr_accessor :connection_type
@@ -8,19 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the credential.
10
10
  #
11
- class Credential
11
+ class Credential < 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 credential.
19
- attr_accessor :name
20
-
21
- # @return [String] Resource type
22
- attr_accessor :type
23
-
24
15
  # @return [String] Gets the user name of the credential.
25
16
  attr_accessor :user_name
26
17
 
@@ -8,13 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the Dsc Compilation job.
10
10
  #
11
- class DscCompilationJob
11
+ class DscCompilationJob < ProxyResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets the id of the resource.
16
- attr_accessor :id
17
-
18
15
  # @return [DscConfigurationAssociationProperty] Gets or sets the
19
16
  # configuration.
20
17
  attr_accessor :configuration
@@ -28,6 +25,15 @@ module Azure::Automation::Mgmt::V2015_10_31
28
25
  # @return [DateTime] Gets the creation time of the job.
29
26
  attr_accessor :creation_time
30
27
 
28
+ # @return [JobProvisioningState] The current provisioning state of the
29
+ # job. Possible values include: 'Failed', 'Succeeded', 'Suspended',
30
+ # 'Processing'
31
+ attr_accessor :provisioning_state
32
+
33
+ # @return [String] Gets or sets the runOn which specifies the group name
34
+ # where the job is to be executed.
35
+ attr_accessor :run_on
36
+
31
37
  # @return [JobStatus] Gets or sets the status of the job. Possible values
32
38
  # include: 'New', 'Activating', 'Running', 'Completed', 'Failed',
33
39
  # 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending',
@@ -79,6 +85,24 @@ module Azure::Automation::Mgmt::V2015_10_31
79
85
  name: 'String'
80
86
  }
81
87
  },
88
+ name: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ read_only: true,
92
+ serialized_name: 'name',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ type: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'type',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
82
106
  configuration: {
83
107
  client_side_validation: true,
84
108
  required: false,
@@ -115,6 +139,22 @@ module Azure::Automation::Mgmt::V2015_10_31
115
139
  name: 'DateTime'
116
140
  }
117
141
  },
142
+ provisioning_state: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'properties.provisioningState',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ },
150
+ run_on: {
151
+ client_side_validation: true,
152
+ required: false,
153
+ serialized_name: 'properties.runOn',
154
+ type: {
155
+ name: 'String'
156
+ }
157
+ },
118
158
  status: {
119
159
  client_side_validation: true,
120
160
  required: false,
@@ -22,7 +22,7 @@ module Azure::Automation::Mgmt::V2015_10_31
22
22
 
23
23
  # @return [Boolean] If a new build version of NodeConfiguration is
24
24
  # required.
25
- attr_accessor :new_node_configuration_build_version_required
25
+ attr_accessor :increment_node_configuration_build
26
26
 
27
27
  # @return [String] Gets or sets name of the resource.
28
28
  attr_accessor :name
@@ -73,10 +73,10 @@ module Azure::Automation::Mgmt::V2015_10_31
73
73
  }
74
74
  }
75
75
  },
76
- new_node_configuration_build_version_required: {
76
+ increment_node_configuration_build: {
77
77
  client_side_validation: true,
78
78
  required: false,
79
- serialized_name: 'properties.newNodeConfigurationBuildVersionRequired',
79
+ serialized_name: 'properties.incrementNodeConfigurationBuild',
80
80
  type: {
81
81
  name: 'Boolean'
82
82
  }
@@ -8,7 +8,7 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the configuration type.
10
10
  #
11
- class DscConfiguration < Resource
11
+ class DscConfiguration < TrackedResource
12
12
 
13
13
  include MsRestAzure
14
14
 
@@ -40,6 +40,9 @@ module Azure::Automation::Mgmt::V2015_10_31
40
40
  # @return [DateTime] Gets or sets the last modified time.
41
41
  attr_accessor :last_modified_time
42
42
 
43
+ # @return [Integer] Gets the number of compiled node configurations.
44
+ attr_accessor :node_configuration_count
45
+
43
46
  # @return [String] Gets or sets the description.
44
47
  attr_accessor :description
45
48
 
@@ -87,14 +90,6 @@ module Azure::Automation::Mgmt::V2015_10_31
87
90
  name: 'String'
88
91
  }
89
92
  },
90
- location: {
91
- client_side_validation: true,
92
- required: true,
93
- serialized_name: 'location',
94
- type: {
95
- name: 'String'
96
- }
97
- },
98
93
  tags: {
99
94
  client_side_validation: true,
100
95
  required: false,
@@ -111,6 +106,14 @@ module Azure::Automation::Mgmt::V2015_10_31
111
106
  }
112
107
  }
113
108
  },
109
+ location: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'location',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
114
117
  provisioning_state: {
115
118
  client_side_validation: true,
116
119
  required: false,
@@ -186,6 +189,14 @@ module Azure::Automation::Mgmt::V2015_10_31
186
189
  name: 'DateTime'
187
190
  }
188
191
  },
192
+ node_configuration_count: {
193
+ client_side_validation: true,
194
+ required: false,
195
+ serialized_name: 'properties.nodeConfigurationCount',
196
+ type: {
197
+ name: 'Number'
198
+ }
199
+ },
189
200
  description: {
190
201
  client_side_validation: true,
191
202
  required: false,
@@ -20,6 +20,10 @@ module Azure::Automation::Mgmt::V2015_10_31
20
20
  # @return [String] Gets or sets the next link.
21
21
  attr_accessor :next_link
22
22
 
23
+ # @return [Integer] Gets the total number of configurations matching
24
+ # filter criteria.
25
+ attr_accessor :total_count
26
+
23
27
  # return [Proc] with next page method call.
24
28
  attr_accessor :next_method
25
29
 
@@ -89,6 +93,14 @@ module Azure::Automation::Mgmt::V2015_10_31
89
93
  type: {
90
94
  name: 'String'
91
95
  }
96
+ },
97
+ total_count: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'totalCount',
101
+ type: {
102
+ name: 'Number'
103
+ }
92
104
  }
93
105
  }
94
106
  }
@@ -0,0 +1,132 @@
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 parameters supplied to the create or update configuration operation.
10
+ #
11
+ class DscConfigurationUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Gets or sets verbose log option.
16
+ attr_accessor :log_verbose
17
+
18
+ # @return [Boolean] Gets or sets progress log option.
19
+ attr_accessor :log_progress
20
+
21
+ # @return [ContentSource] Gets or sets the source.
22
+ attr_accessor :source
23
+
24
+ # @return [Hash{String => DscConfigurationParameter}] Gets or sets the
25
+ # configuration parameters.
26
+ attr_accessor :parameters
27
+
28
+ # @return [String] Gets or sets the description of the configuration.
29
+ attr_accessor :description
30
+
31
+ # @return [String] Gets or sets name of the resource.
32
+ attr_accessor :name
33
+
34
+ # @return [Hash{String => String}] Gets or sets the tags attached to the
35
+ # resource.
36
+ attr_accessor :tags
37
+
38
+
39
+ #
40
+ # Mapper for DscConfigurationUpdateParameters class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'DscConfigurationUpdateParameters',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'DscConfigurationUpdateParameters',
51
+ model_properties: {
52
+ log_verbose: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'properties.logVerbose',
56
+ type: {
57
+ name: 'Boolean'
58
+ }
59
+ },
60
+ log_progress: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'properties.logProgress',
64
+ type: {
65
+ name: 'Boolean'
66
+ }
67
+ },
68
+ source: {
69
+ client_side_validation: true,
70
+ required: true,
71
+ serialized_name: 'properties.source',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'ContentSource'
75
+ }
76
+ },
77
+ parameters: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'properties.parameters',
81
+ type: {
82
+ name: 'Dictionary',
83
+ value: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'DscConfigurationParameterElementType',
87
+ type: {
88
+ name: 'Composite',
89
+ class_name: 'DscConfigurationParameter'
90
+ }
91
+ }
92
+ }
93
+ },
94
+ description: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'properties.description',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ name: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'name',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ tags: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'tags',
114
+ type: {
115
+ name: 'Dictionary',
116
+ value: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'StringElementType',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ end
130
+ end
131
+ end
132
+ end
@@ -8,7 +8,7 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the dsc node type.
10
10
  #
11
- class DscNode < Resource
11
+ class DscNode < ProxyResource
12
12
 
13
13
  include MsRestAzure
14
14
 
@@ -82,30 +82,6 @@ module Azure::Automation::Mgmt::V2015_10_31
82
82
  name: 'String'
83
83
  }
84
84
  },
85
- location: {
86
- client_side_validation: true,
87
- required: true,
88
- serialized_name: 'location',
89
- type: {
90
- name: 'String'
91
- }
92
- },
93
- tags: {
94
- client_side_validation: true,
95
- required: false,
96
- serialized_name: 'tags',
97
- type: {
98
- name: 'Dictionary',
99
- value: {
100
- client_side_validation: true,
101
- required: false,
102
- serialized_name: 'StringElementType',
103
- type: {
104
- name: 'String'
105
- }
106
- }
107
- }
108
- },
109
85
  last_seen: {
110
86
  client_side_validation: true,
111
87
  required: false,
@@ -8,13 +8,10 @@ module Azure::Automation::Mgmt::V2015_10_31
8
8
  #
9
9
  # Definition of the dsc node configuration.
10
10
  #
11
- class DscNodeConfiguration
11
+ class DscNodeConfiguration < ProxyResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets the node configuration name.
16
- attr_accessor :name
17
-
18
15
  # @return [DateTime] Gets or sets the last modified time.
19
16
  attr_accessor :last_modified_time
20
17
 
@@ -25,9 +22,6 @@ module Azure::Automation::Mgmt::V2015_10_31
25
22
  # configuration of the node.
26
23
  attr_accessor :configuration
27
24
 
28
- # @return [String] Gets or sets the id of the resource.
29
- attr_accessor :id
30
-
31
25
 
32
26
  #
33
27
  # Mapper for DscNodeConfiguration class as Ruby Hash.
@@ -42,14 +36,33 @@ module Azure::Automation::Mgmt::V2015_10_31
42
36
  name: 'Composite',
43
37
  class_name: 'DscNodeConfiguration',
44
38
  model_properties: {
39
+ id: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'id',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
45
48
  name: {
46
49
  client_side_validation: true,
47
50
  required: false,
51
+ read_only: true,
48
52
  serialized_name: 'name',
49
53
  type: {
50
54
  name: 'String'
51
55
  }
52
56
  },
57
+ type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'type',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
53
66
  last_modified_time: {
54
67
  client_side_validation: true,
55
68
  required: false,
@@ -74,14 +87,6 @@ module Azure::Automation::Mgmt::V2015_10_31
74
87
  name: 'Composite',
75
88
  class_name: 'DscConfigurationAssociationProperty'
76
89
  }
77
- },
78
- id: {
79
- client_side_validation: true,
80
- required: false,
81
- serialized_name: 'id',
82
- type: {
83
- name: 'String'
84
- }
85
90
  }
86
91
  }
87
92
  }