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.
Files changed (108) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-10-31/generated/azure_mgmt_automation.rb +111 -97
  3. data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +39 -32
  4. data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +28 -24
  5. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +92 -81
  6. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +25 -9
  7. data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +81 -69
  8. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +81 -69
  9. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +67 -56
  10. data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +81 -69
  11. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +67 -56
  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 +215 -70
  14. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +68 -67
  15. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +67 -56
  16. data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +14 -11
  17. data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +72 -57
  18. data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +123 -100
  19. data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +72 -57
  20. data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +39 -32
  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_list_result.rb +1 -1
  24. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter.rb +35 -2
  25. data/lib/2015-10-31/generated/azure_mgmt_automation/models/activity_parameter_validation_set.rb +47 -0
  26. data/lib/2015-10-31/generated/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
  27. data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_key_name.rb +2 -2
  28. data/lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +2 -2
  29. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account.rb +9 -9
  30. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_account_list_result.rb +1 -1
  31. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_name.rb +16 -0
  32. data/lib/2015-10-31/generated/azure_mgmt_automation/models/automation_key_permissions.rb +16 -0
  33. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +10 -7
  34. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_list_result.rb +1 -1
  35. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
  36. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +10 -7
  37. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_list_result.rb +1 -1
  38. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
  39. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_list_result.rb +1 -1
  40. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +11 -7
  41. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_list_result.rb +1 -1
  42. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
  43. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job.rb +44 -4
  44. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
  45. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +1 -1
  46. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration.rb +20 -9
  47. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_list_result.rb +13 -1
  48. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_configuration_update_parameters.rb +132 -0
  49. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +22 -25
  50. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration.rb +20 -15
  51. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +13 -1
  52. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +1 -1
  53. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
  54. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_list_result.rb +1 -1
  55. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_report_list_result.rb +1 -1
  56. data/lib/2015-10-31/generated/azure_mgmt_automation/models/group_type_enum.rb +16 -0
  57. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker.rb +11 -0
  58. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +12 -0
  59. data/lib/2015-10-31/generated/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +1 -1
  60. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job.rb +37 -1
  61. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_create_parameters.rb +0 -42
  62. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_list_result.rb +1 -1
  63. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_provisioning_state.rb +18 -0
  64. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
  65. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule_list_result.rb +1 -1
  66. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_stream_list_result.rb +1 -1
  67. data/lib/2015-10-31/generated/azure_mgmt_automation/models/key.rb +73 -0
  68. data/lib/2015-10-31/generated/azure_mgmt_automation/models/key_list_result.rb +56 -0
  69. data/lib/2015-10-31/generated/azure_mgmt_automation/models/{sub_resource.rb → linked_workspace.rb} +7 -6
  70. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_list_result.rb +1 -1
  71. data/lib/2015-10-31/generated/azure_mgmt_automation/models/module_model.rb +20 -9
  72. data/lib/2015-10-31/generated/azure_mgmt_automation/models/proxy_resource.rb +62 -0
  73. data/lib/2015-10-31/generated/azure_mgmt_automation/models/resource.rb +11 -32
  74. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook.rb +9 -9
  75. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_draft.rb +2 -1
  76. data/lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_list_result.rb +1 -1
  77. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +12 -7
  78. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
  79. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +3 -3
  80. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_list_result.rb +1 -1
  81. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +2 -2
  82. data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job.rb +11 -0
  83. data/lib/2015-10-31/generated/azure_mgmt_automation/models/test_job_create_parameters.rb +0 -11
  84. data/lib/2015-10-31/generated/azure_mgmt_automation/models/tracked_resource.rb +92 -0
  85. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +12 -7
  86. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_list_result.rb +1 -1
  87. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
  88. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb +23 -7
  89. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_list_result.rb +1 -1
  90. data/lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
  91. data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +81 -69
  92. data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +54 -61
  93. data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +28 -22
  94. data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
  95. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +144 -118
  96. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +131 -95
  97. data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +93 -71
  98. data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +14 -11
  99. data/lib/2015-10-31/generated/azure_mgmt_automation/{test_jobs.rb → test_job_operations.rb} +82 -69
  100. data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +49 -39
  101. data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +14 -11
  102. data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +81 -69
  103. data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +95 -80
  104. data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
  105. data/lib/profiles/latest/automation_module_definition.rb +0 -1
  106. data/lib/profiles/latest/modules/automation_profile_module.rb +585 -516
  107. data/lib/version.rb +1 -1
  108. metadata +21 -7
@@ -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 AutomationKeyPermissions
10
+ #
11
+ module AutomationKeyPermissions
12
+ Read = "Read"
13
+ Full = "Full"
14
+ end
15
+ end
16
+ end
@@ -8,16 +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
15
  # @return [String] Gets the thumbprint of the certificate.
22
16
  attr_accessor :thumbprint
23
17
 
@@ -68,6 +62,15 @@ module Azure::Automation::Mgmt::V2015_10_31
68
62
  name: 'String'
69
63
  }
70
64
  },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
71
74
  thumbprint: {
72
75
  client_side_validation: true,
73
76
  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
@@ -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'
@@ -8,16 +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
15
  # @return [ConnectionTypeAssociationProperty] Gets or sets the
22
16
  # connectionType of the connection.
23
17
  attr_accessor :connection_type
@@ -67,6 +61,15 @@ module Azure::Automation::Mgmt::V2015_10_31
67
61
  name: 'String'
68
62
  }
69
63
  },
64
+ type: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'type',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
70
73
  connection_type: {
71
74
  client_side_validation: true,
72
75
  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
@@ -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,
@@ -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
@@ -8,16 +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
15
  # @return [String] Gets the user name of the credential.
22
16
  attr_accessor :user_name
23
17
 
@@ -56,11 +50,21 @@ module Azure::Automation::Mgmt::V2015_10_31
56
50
  name: {
57
51
  client_side_validation: true,
58
52
  required: false,
53
+ read_only: true,
59
54
  serialized_name: 'name',
60
55
  type: {
61
56
  name: 'String'
62
57
  }
63
58
  },
59
+ type: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
64
68
  user_name: {
65
69
  client_side_validation: true,
66
70
  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
@@ -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'
@@ -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,
@@ -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 :increment_node_configuration_build
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
+ increment_node_configuration_build: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'properties.incrementNodeConfigurationBuild',
80
+ type: {
81
+ name: 'Boolean'
82
+ }
83
+ },
72
84
  name: {
73
85
  client_side_validation: true,
74
86
  required: false,
@@ -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
@@ -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
 
@@ -31,7 +35,7 @@ module Azure::Automation::Mgmt::V2015_10_31
31
35
  def get_all_items
32
36
  items = @value
33
37
  page = self
34
- while page.next_link != nil do
38
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
39
  page = page.get_next_page
36
40
  items.concat(page.value)
37
41
  end
@@ -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