azure_mgmt_automation 0.15.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation.rb +111 -97
- data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +28 -24
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +92 -81
- data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +25 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_stream.rb +124 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +215 -70
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +68 -67
- data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +67 -56
- data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +123 -100
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +72 -57
- data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +39 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/keys.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/linked_workspace_operations.rb +120 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +35 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb +47 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +10 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +11 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +44 -4
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb +132 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +22 -25
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +20 -15
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +13 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb +16 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +12 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +37 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +0 -42
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb +18 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb +73 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb +56 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/{sub_resource.rb → linked_workspace.rb} +7 -6
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +20 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb +62 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +11 -32
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +9 -9
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +2 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +3 -3
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +2 -2
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +11 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +0 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb +92 -0
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +12 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +23 -7
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
- data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +54 -61
- data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +28 -22
- data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +144 -118
- data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +131 -95
- data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +93 -71
- data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +82 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +49 -39
- data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +14 -11
- data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +81 -69
- data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +95 -80
- data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/automation_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/automation_profile_module.rb +585 -516
- data/lib/version.rb +1 -1
- metadata +21 -7
@@ -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 <
|
11
|
+
class DscNode < ProxyResource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
@@ -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.
|
@@ -78,30 +82,6 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
78
82
|
name: 'String'
|
79
83
|
}
|
80
84
|
},
|
81
|
-
location: {
|
82
|
-
client_side_validation: true,
|
83
|
-
required: true,
|
84
|
-
serialized_name: 'location',
|
85
|
-
type: {
|
86
|
-
name: 'String'
|
87
|
-
}
|
88
|
-
},
|
89
|
-
tags: {
|
90
|
-
client_side_validation: true,
|
91
|
-
required: false,
|
92
|
-
serialized_name: 'tags',
|
93
|
-
type: {
|
94
|
-
name: 'Dictionary',
|
95
|
-
value: {
|
96
|
-
client_side_validation: true,
|
97
|
-
required: false,
|
98
|
-
serialized_name: 'StringElementType',
|
99
|
-
type: {
|
100
|
-
name: 'String'
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
},
|
105
85
|
last_seen: {
|
106
86
|
client_side_validation: true,
|
107
87
|
required: false,
|
@@ -166,6 +146,23 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
166
146
|
type: {
|
167
147
|
name: 'String'
|
168
148
|
}
|
149
|
+
},
|
150
|
+
extension_handler: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'extensionHandler',
|
154
|
+
type: {
|
155
|
+
name: 'Sequence',
|
156
|
+
element: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'DscNodeExtensionHandlerAssociationPropertyElementType',
|
160
|
+
type: {
|
161
|
+
name: 'Composite',
|
162
|
+
class_name: 'DscNodeExtensionHandlerAssociationProperty'
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
169
166
|
}
|
170
167
|
}
|
171
168
|
}
|
@@ -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
|
}
|
@@ -16,13 +16,17 @@ 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]
|
19
|
+
# @return [String] Name of the node configuration.
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
22
|
# @return [DscConfigurationAssociationProperty] Gets or sets the
|
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 :increment_node_configuration_build
|
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
|
+
increment_node_configuration_build: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'incrementNodeConfigurationBuild',
|
75
|
+
type: {
|
76
|
+
name: 'Boolean'
|
77
|
+
}
|
66
78
|
}
|
67
79
|
}
|
68
80
|
}
|
data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb
CHANGED
@@ -31,7 +31,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
31
31
|
def get_all_items
|
32
32
|
items = @value
|
33
33
|
page = self
|
34
|
-
while page.next_link != nil do
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
35
|
page = page.get_next_page
|
36
36
|
items.concat(page.value)
|
37
37
|
end
|
@@ -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
|
@@ -30,7 +30,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
30
30
|
def get_all_items
|
31
31
|
items = @value
|
32
32
|
page = self
|
33
|
-
while page.next_link != nil do
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
34
|
page = page.get_next_page
|
35
35
|
items.concat(page.value)
|
36
36
|
end
|
@@ -30,7 +30,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
30
30
|
def get_all_items
|
31
31
|
items = @value
|
32
32
|
page = self
|
33
|
-
while page.next_link != nil do
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
34
|
page = page.get_next_page
|
35
35
|
items.concat(page.value)
|
36
36
|
end
|
@@ -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
|
}
|
@@ -31,7 +31,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
31
31
|
def get_all_items
|
32
32
|
items = @value
|
33
33
|
page = self
|
34
|
-
while page.next_link != nil do
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
35
|
page = page.get_next_page
|
36
36
|
items.concat(page.value)
|
37
37
|
end
|
@@ -12,7 +12,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
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
|
}
|