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 runbook type.
|
10
10
|
#
|
11
|
-
class Runbook <
|
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,
|
@@ -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
|
@@ -8,16 +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 or sets the id of the resource.
|
16
|
-
attr_accessor :id
|
17
|
-
|
18
|
-
# @return [String] Gets or sets the name of the schedule.
|
19
|
-
attr_accessor :name
|
20
|
-
|
21
15
|
# @return [DateTime] Gets or sets the start time of the schedule.
|
22
16
|
attr_accessor :start_time
|
23
17
|
|
@@ -79,6 +73,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
79
73
|
id: {
|
80
74
|
client_side_validation: true,
|
81
75
|
required: false,
|
76
|
+
read_only: true,
|
82
77
|
serialized_name: 'id',
|
83
78
|
type: {
|
84
79
|
name: 'String'
|
@@ -87,11 +82,21 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
87
82
|
name: {
|
88
83
|
client_side_validation: true,
|
89
84
|
required: false,
|
85
|
+
read_only: true,
|
90
86
|
serialized_name: 'name',
|
91
87
|
type: {
|
92
88
|
name: 'String'
|
93
89
|
}
|
94
90
|
},
|
91
|
+
type: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
read_only: true,
|
95
|
+
serialized_name: 'type',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
95
100
|
start_time: {
|
96
101
|
client_side_validation: true,
|
97
102
|
required: false,
|
data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb
CHANGED
@@ -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
|
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.
|
@@ -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]
|
31
|
-
#
|
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.
|
@@ -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
|
@@ -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
|
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.
|
@@ -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:
|
41
|
+
required: false,
|
42
42
|
serialized_name: 'name',
|
43
43
|
type: {
|
44
44
|
name: 'String'
|
@@ -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,16 +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 or sets the id of the resource.
|
16
|
-
attr_accessor :id
|
17
|
-
|
18
|
-
# @return [String] Gets or sets the name of the variable.
|
19
|
-
attr_accessor :name
|
20
|
-
|
21
15
|
# @return [String] Gets or sets the value of the variable.
|
22
16
|
attr_accessor :value
|
23
17
|
|
@@ -50,6 +44,7 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
50
44
|
id: {
|
51
45
|
client_side_validation: true,
|
52
46
|
required: false,
|
47
|
+
read_only: true,
|
53
48
|
serialized_name: 'id',
|
54
49
|
type: {
|
55
50
|
name: 'String'
|
@@ -58,11 +53,21 @@ module Azure::Automation::Mgmt::V2015_10_31
|
|
58
53
|
name: {
|
59
54
|
client_side_validation: true,
|
60
55
|
required: false,
|
56
|
+
read_only: true,
|
61
57
|
serialized_name: 'name',
|
62
58
|
type: {
|
63
59
|
name: 'String'
|
64
60
|
}
|
65
61
|
},
|
62
|
+
type: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'type',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
66
71
|
value: {
|
67
72
|
client_side_validation: true,
|
68
73
|
required: false,
|
@@ -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
|
@@ -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,
|
@@ -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
|