azure_mgmt_compute 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_compute.rb +48 -46
- data/lib/generated/azure_mgmt_compute/availability_sets.rb +16 -19
- data/lib/generated/azure_mgmt_compute/compute_management_client.rb +18 -5
- data/lib/generated/azure_mgmt_compute/container_services.rb +920 -0
- data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +9 -10
- data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/api_error.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/availability_set.rb +6 -5
- data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/caching_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/component_names.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service.rb +36 -13
- data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +18 -16
- data/lib/generated/azure_mgmt_compute/models/container_service_custom_profile.rb +44 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +5 -4
- data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +8 -5
- data/lib/generated/azure_mgmt_compute/models/container_service_list_result.rb +45 -3
- data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +8 -5
- data/lib/generated/azure_mgmt_compute/models/container_service_ochestrator_types.rb +3 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +7 -6
- data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/container_service_vmsize_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +10 -4
- data/lib/generated/azure_mgmt_compute/models/data_disk.rb +12 -12
- data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +4 -5
- data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +4 -2
- data/lib/generated/azure_mgmt_compute/models/disk_create_option_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/hardware_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/image_reference.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/inner_error.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/instance_view_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +6 -6
- data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +3 -2
- data/lib/generated/azure_mgmt_compute/models/network_profile.rb +4 -2
- data/lib/generated/azure_mgmt_compute/models/operating_system_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/osdisk.rb +12 -12
- data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/osprofile.rb +12 -9
- data/lib/generated/azure_mgmt_compute/models/pass_names.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/plan.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/protocol_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/setting_names.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/sku.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/status_level_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/upgrade_mode.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/usage.rb +6 -6
- data/lib/generated/azure_mgmt_compute/models/usage_name.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +18 -15
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +5 -5
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +4 -4
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +7 -7
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +3 -3
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +12 -8
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +1 -1
- data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +2 -2
- data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +5 -6
- data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +11 -10
- data/lib/generated/azure_mgmt_compute/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_compute/usage_operations.rb +51 -37
- data/lib/generated/azure_mgmt_compute/version.rb +2 -2
- data/lib/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machine_extensions.rb +131 -131
- data/lib/generated/azure_mgmt_compute/virtual_machine_images.rb +70 -58
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +430 -422
- data/lib/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +729 -747
- data/lib/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
- data/lib/generated/azure_mgmt_compute/virtual_machines.rb +526 -515
- metadata +7 -5
- data/lib/generated/azure_mgmt_compute/container_service_operations.rb +0 -508
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,7 +12,7 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<VirtualMachineSize>]
|
15
|
+
# @return [Array<VirtualMachineSize>] The list of virtual machine sizes.
|
16
16
|
attr_accessor :value
|
17
17
|
|
18
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,7 +12,7 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<WinRMListener>]
|
15
|
+
# @return [Array<WinRMListener>] The list of Windows Remote Management
|
16
16
|
# listeners
|
17
17
|
attr_accessor :listeners
|
18
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,13 +12,12 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [ProtocolTypes]
|
16
|
-
#
|
17
|
-
# 'Https'
|
15
|
+
# @return [ProtocolTypes] The Protocol used by the WinRM listener. Http
|
16
|
+
# and Https are supported. Possible values include: 'Http', 'Https'
|
18
17
|
attr_accessor :protocol
|
19
18
|
|
20
|
-
# @return [String]
|
21
|
-
#
|
19
|
+
# @return [String] The Certificate URL in KMS for Https listeners. Should
|
20
|
+
# be null for Http listeners.
|
22
21
|
attr_accessor :certificate_url
|
23
22
|
|
24
23
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,23 +12,24 @@ module Azure::ARM::Compute
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Boolean] whether
|
16
|
-
# Virtual Machine.
|
15
|
+
# @return [Boolean] Indicates whether the virtual machine agent should be
|
16
|
+
# provisioned on the Virtual Machine. If not specified, then the default
|
17
|
+
# behavior is to set it to true.
|
17
18
|
attr_accessor :provision_vmagent
|
18
19
|
|
19
|
-
# @return [Boolean] whether Windows updates are automatically
|
20
|
-
# on the VM
|
20
|
+
# @return [Boolean] Indicates whether Windows updates are automatically
|
21
|
+
# installed on the VM.
|
21
22
|
attr_accessor :enable_automatic_updates
|
22
23
|
|
23
|
-
# @return [String]
|
24
|
+
# @return [String] The time zone of the VM
|
24
25
|
attr_accessor :time_zone
|
25
26
|
|
26
|
-
# @return [Array<AdditionalUnattendContent>]
|
27
|
-
#
|
28
|
-
#
|
27
|
+
# @return [Array<AdditionalUnattendContent>] Additional base-64 encoded
|
28
|
+
# XML formatted information that can be included in the Unattend.xml
|
29
|
+
# file.
|
29
30
|
attr_accessor :additional_unattend_content
|
30
31
|
|
31
|
-
# @return [WinRMConfiguration]
|
32
|
+
# @return [WinRMConfiguration] The Windows Remote Management
|
32
33
|
# configuration of the VM
|
33
34
|
attr_accessor :win_rm
|
34
35
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -23,30 +23,11 @@ module Azure::ARM::Compute
|
|
23
23
|
attr_reader :client
|
24
24
|
|
25
25
|
#
|
26
|
-
#
|
26
|
+
# Gets, for the specified location, the current compute resource usage
|
27
|
+
# information as well as the limits for compute resources under the
|
28
|
+
# subscription.
|
27
29
|
#
|
28
|
-
# @param location [String] The location
|
29
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
30
|
-
# will be added to the HTTP request.
|
31
|
-
#
|
32
|
-
# @return [ListUsagesResult] which provide lazy access to pages of the
|
33
|
-
# response.
|
34
|
-
#
|
35
|
-
def list_as_lazy(location, custom_headers = nil)
|
36
|
-
response = list_async(location, custom_headers).value!
|
37
|
-
unless response.nil?
|
38
|
-
page = response.body
|
39
|
-
page.next_method = Proc.new do |next_page_link|
|
40
|
-
list_next_async(next_page_link, custom_headers)
|
41
|
-
end
|
42
|
-
page
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
#
|
47
|
-
# Lists compute usages for a subscription.
|
48
|
-
#
|
49
|
-
# @param location [String] The location upon which resource usage is queried.
|
30
|
+
# @param location [String] The location for which resource usage is queried.
|
50
31
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
51
32
|
# will be added to the HTTP request.
|
52
33
|
#
|
@@ -58,9 +39,11 @@ module Azure::ARM::Compute
|
|
58
39
|
end
|
59
40
|
|
60
41
|
#
|
61
|
-
#
|
42
|
+
# Gets, for the specified location, the current compute resource usage
|
43
|
+
# information as well as the limits for compute resources under the
|
44
|
+
# subscription.
|
62
45
|
#
|
63
|
-
# @param location [String] The location
|
46
|
+
# @param location [String] The location for which resource usage is queried.
|
64
47
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
65
48
|
# will be added to the HTTP request.
|
66
49
|
#
|
@@ -71,9 +54,11 @@ module Azure::ARM::Compute
|
|
71
54
|
end
|
72
55
|
|
73
56
|
#
|
74
|
-
#
|
57
|
+
# Gets, for the specified location, the current compute resource usage
|
58
|
+
# information as well as the limits for compute resources under the
|
59
|
+
# subscription.
|
75
60
|
#
|
76
|
-
# @param location [String] The location
|
61
|
+
# @param location [String] The location for which resource usage is queried.
|
77
62
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
78
63
|
# to the HTTP request.
|
79
64
|
#
|
@@ -131,10 +116,12 @@ module Azure::ARM::Compute
|
|
131
116
|
end
|
132
117
|
|
133
118
|
#
|
134
|
-
#
|
119
|
+
# Gets, for the specified location, the current compute resource usage
|
120
|
+
# information as well as the limits for compute resources under the
|
121
|
+
# subscription.
|
135
122
|
#
|
136
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
137
|
-
#
|
123
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
124
|
+
# to List operation.
|
138
125
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
139
126
|
# will be added to the HTTP request.
|
140
127
|
#
|
@@ -146,10 +133,12 @@ module Azure::ARM::Compute
|
|
146
133
|
end
|
147
134
|
|
148
135
|
#
|
149
|
-
#
|
136
|
+
# Gets, for the specified location, the current compute resource usage
|
137
|
+
# information as well as the limits for compute resources under the
|
138
|
+
# subscription.
|
150
139
|
#
|
151
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
152
|
-
#
|
140
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
141
|
+
# to List operation.
|
153
142
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
154
143
|
# will be added to the HTTP request.
|
155
144
|
#
|
@@ -160,10 +149,12 @@ module Azure::ARM::Compute
|
|
160
149
|
end
|
161
150
|
|
162
151
|
#
|
163
|
-
#
|
152
|
+
# Gets, for the specified location, the current compute resource usage
|
153
|
+
# information as well as the limits for compute resources under the
|
154
|
+
# subscription.
|
164
155
|
#
|
165
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
166
|
-
#
|
156
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
157
|
+
# to List operation.
|
167
158
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
168
159
|
# to the HTTP request.
|
169
160
|
#
|
@@ -217,5 +208,28 @@ module Azure::ARM::Compute
|
|
217
208
|
promise.execute
|
218
209
|
end
|
219
210
|
|
211
|
+
#
|
212
|
+
# Gets, for the specified location, the current compute resource usage
|
213
|
+
# information as well as the limits for compute resources under the
|
214
|
+
# subscription.
|
215
|
+
#
|
216
|
+
# @param location [String] The location for which resource usage is queried.
|
217
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
218
|
+
# will be added to the HTTP request.
|
219
|
+
#
|
220
|
+
# @return [ListUsagesResult] which provide lazy access to pages of the
|
221
|
+
# response.
|
222
|
+
#
|
223
|
+
def list_as_lazy(location, custom_headers = nil)
|
224
|
+
response = list_async(location, custom_headers).value!
|
225
|
+
unless response.nil?
|
226
|
+
page = response.body
|
227
|
+
page.next_method = Proc.new do |next_page_link|
|
228
|
+
list_next_async(next_page_link, custom_headers)
|
229
|
+
end
|
230
|
+
page
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
220
234
|
end
|
221
235
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Compute
|
7
|
-
VERSION = '0.
|
7
|
+
VERSION = '0.8.0'
|
8
8
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -73,61 +73,99 @@ module Azure::ARM::Compute
|
|
73
73
|
end
|
74
74
|
|
75
75
|
#
|
76
|
-
# The operation to
|
76
|
+
# The operation to delete the extension.
|
77
77
|
#
|
78
78
|
# @param resource_group_name [String] The name of the resource group.
|
79
79
|
# @param vm_name [String] The name of the virtual machine where the extension
|
80
|
-
# should be
|
80
|
+
# should be deleted.
|
81
81
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
82
|
-
# @param
|
83
|
-
#
|
82
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
83
|
+
# will be added to the HTTP request.
|
84
|
+
#
|
85
|
+
def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil)
|
86
|
+
response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value!
|
87
|
+
nil
|
88
|
+
end
|
89
|
+
|
90
|
+
#
|
91
|
+
# @param resource_group_name [String] The name of the resource group.
|
92
|
+
# @param vm_name [String] The name of the virtual machine where the extension
|
93
|
+
# should be deleted.
|
94
|
+
# @param vm_extension_name [String] The name of the virtual machine extension.
|
95
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
96
|
+
# will be added to the HTTP request.
|
97
|
+
#
|
98
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
99
|
+
# response.
|
100
|
+
#
|
101
|
+
def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil)
|
102
|
+
# Send request
|
103
|
+
promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers)
|
104
|
+
|
105
|
+
promise = promise.then do |response|
|
106
|
+
# Defining deserialization method.
|
107
|
+
deserialize_method = lambda do |parsed_response|
|
108
|
+
end
|
109
|
+
|
110
|
+
# Waiting for response.
|
111
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
112
|
+
end
|
113
|
+
|
114
|
+
promise
|
115
|
+
end
|
116
|
+
|
117
|
+
#
|
118
|
+
# The operation to get the extension.
|
119
|
+
#
|
120
|
+
# @param resource_group_name [String] The name of the resource group.
|
121
|
+
# @param vm_name [String] The name of the virtual machine containing the
|
122
|
+
# extension.
|
123
|
+
# @param vm_extension_name [String] The name of the virtual machine extension.
|
124
|
+
# @param expand [String] The expand expression to apply on the operation.
|
84
125
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
85
126
|
# will be added to the HTTP request.
|
86
127
|
#
|
87
128
|
# @return [VirtualMachineExtension] operation results.
|
88
129
|
#
|
89
|
-
def
|
90
|
-
response =
|
130
|
+
def get(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil)
|
131
|
+
response = get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value!
|
91
132
|
response.body unless response.nil?
|
92
133
|
end
|
93
134
|
|
94
135
|
#
|
95
|
-
# The operation to
|
136
|
+
# The operation to get the extension.
|
96
137
|
#
|
97
138
|
# @param resource_group_name [String] The name of the resource group.
|
98
|
-
# @param vm_name [String] The name of the virtual machine
|
99
|
-
#
|
139
|
+
# @param vm_name [String] The name of the virtual machine containing the
|
140
|
+
# extension.
|
100
141
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
101
|
-
# @param
|
102
|
-
# the Create Virtual Machine Extension operation.
|
142
|
+
# @param expand [String] The expand expression to apply on the operation.
|
103
143
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
104
144
|
# will be added to the HTTP request.
|
105
145
|
#
|
106
146
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
107
147
|
#
|
108
|
-
def
|
109
|
-
|
148
|
+
def get_with_http_info(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil)
|
149
|
+
get_async(resource_group_name, vm_name, vm_extension_name, expand, custom_headers).value!
|
110
150
|
end
|
111
151
|
|
112
152
|
#
|
113
|
-
# The operation to
|
153
|
+
# The operation to get the extension.
|
114
154
|
#
|
115
155
|
# @param resource_group_name [String] The name of the resource group.
|
116
|
-
# @param vm_name [String] The name of the virtual machine
|
117
|
-
#
|
156
|
+
# @param vm_name [String] The name of the virtual machine containing the
|
157
|
+
# extension.
|
118
158
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
119
|
-
# @param
|
120
|
-
# the Create Virtual Machine Extension operation.
|
159
|
+
# @param expand [String] The expand expression to apply on the operation.
|
121
160
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
122
161
|
# to the HTTP request.
|
123
162
|
#
|
124
163
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
125
164
|
#
|
126
|
-
def
|
165
|
+
def get_async(resource_group_name, vm_name, vm_extension_name, expand = nil, custom_headers = nil)
|
127
166
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
128
167
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
129
168
|
fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil?
|
130
|
-
fail ArgumentError, 'extension_parameters is nil' if extension_parameters.nil?
|
131
169
|
api_version = '2016-03-30'
|
132
170
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
133
171
|
|
@@ -137,14 +175,6 @@ module Azure::ARM::Compute
|
|
137
175
|
# Set Headers
|
138
176
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
139
177
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
140
|
-
|
141
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
142
|
-
|
143
|
-
# Serialize Request
|
144
|
-
request_mapper = VirtualMachineExtension.mapper()
|
145
|
-
request_content = @client.serialize(request_mapper, extension_parameters, 'extension_parameters')
|
146
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
147
|
-
|
148
178
|
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}'
|
149
179
|
|
150
180
|
request_url = @base_url || @client.base_url
|
@@ -152,18 +182,17 @@ module Azure::ARM::Compute
|
|
152
182
|
options = {
|
153
183
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
154
184
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'vmExtensionName' => vm_extension_name,'subscriptionId' => @client.subscription_id},
|
155
|
-
query_params: {'api-version' => api_version},
|
156
|
-
body: request_content,
|
185
|
+
query_params: {'$expand' => expand,'api-version' => api_version},
|
157
186
|
headers: request_headers.merge(custom_headers || {}),
|
158
187
|
base_url: request_url
|
159
188
|
}
|
160
|
-
promise = @client.make_request_async(:
|
189
|
+
promise = @client.make_request_async(:get, path_template, options)
|
161
190
|
|
162
191
|
promise = promise.then do |result|
|
163
192
|
http_response = result.response
|
164
193
|
status_code = http_response.status
|
165
194
|
response_content = http_response.body
|
166
|
-
unless status_code == 200
|
195
|
+
unless status_code == 200
|
167
196
|
error_model = JSON.load(response_content)
|
168
197
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
169
198
|
end
|
@@ -179,16 +208,6 @@ module Azure::ARM::Compute
|
|
179
208
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
180
209
|
end
|
181
210
|
end
|
182
|
-
# Deserialize Response
|
183
|
-
if status_code == 201
|
184
|
-
begin
|
185
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
186
|
-
result_mapper = VirtualMachineExtension.mapper()
|
187
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
188
|
-
rescue Exception => e
|
189
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
190
|
-
end
|
191
|
-
end
|
192
211
|
|
193
212
|
result
|
194
213
|
end
|
@@ -197,95 +216,61 @@ module Azure::ARM::Compute
|
|
197
216
|
end
|
198
217
|
|
199
218
|
#
|
200
|
-
# The operation to
|
201
|
-
#
|
202
|
-
# @param resource_group_name [String] The name of the resource group.
|
203
|
-
# @param vm_name [String] The name of the virtual machine where the extension
|
204
|
-
# should be deleted.
|
205
|
-
# @param vm_extension_name [String] The name of the virtual machine extension.
|
206
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
207
|
-
# will be added to the HTTP request.
|
208
|
-
#
|
209
|
-
def delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil)
|
210
|
-
response = delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value!
|
211
|
-
nil
|
212
|
-
end
|
213
|
-
|
214
|
-
#
|
215
|
-
# @param resource_group_name [String] The name of the resource group.
|
216
|
-
# @param vm_name [String] The name of the virtual machine where the extension
|
217
|
-
# should be deleted.
|
218
|
-
# @param vm_extension_name [String] The name of the virtual machine extension.
|
219
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
220
|
-
# will be added to the HTTP request.
|
221
|
-
#
|
222
|
-
# @return [Concurrent::Promise] promise which provides async access to http
|
223
|
-
# response.
|
224
|
-
#
|
225
|
-
def delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil)
|
226
|
-
# Send request
|
227
|
-
promise = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers)
|
228
|
-
|
229
|
-
promise = promise.then do |response|
|
230
|
-
# Defining deserialization method.
|
231
|
-
deserialize_method = lambda do |parsed_response|
|
232
|
-
end
|
233
|
-
|
234
|
-
# Waiting for response.
|
235
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
236
|
-
end
|
237
|
-
|
238
|
-
promise
|
239
|
-
end
|
240
|
-
|
241
|
-
#
|
242
|
-
# The operation to delete the extension.
|
219
|
+
# The operation to create or update the extension.
|
243
220
|
#
|
244
221
|
# @param resource_group_name [String] The name of the resource group.
|
245
222
|
# @param vm_name [String] The name of the virtual machine where the extension
|
246
|
-
# should be
|
223
|
+
# should be create or updated.
|
247
224
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
225
|
+
# @param extension_parameters [VirtualMachineExtension] Parameters supplied to
|
226
|
+
# the Create Virtual Machine Extension operation.
|
248
227
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
249
228
|
# will be added to the HTTP request.
|
250
229
|
#
|
230
|
+
# @return [VirtualMachineExtension] operation results.
|
251
231
|
#
|
252
|
-
def
|
253
|
-
response =
|
254
|
-
nil
|
232
|
+
def begin_create_or_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil)
|
233
|
+
response = begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value!
|
234
|
+
response.body unless response.nil?
|
255
235
|
end
|
256
236
|
|
257
237
|
#
|
258
|
-
# The operation to
|
238
|
+
# The operation to create or update the extension.
|
259
239
|
#
|
260
240
|
# @param resource_group_name [String] The name of the resource group.
|
261
241
|
# @param vm_name [String] The name of the virtual machine where the extension
|
262
|
-
# should be
|
242
|
+
# should be create or updated.
|
263
243
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
244
|
+
# @param extension_parameters [VirtualMachineExtension] Parameters supplied to
|
245
|
+
# the Create Virtual Machine Extension operation.
|
264
246
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
265
247
|
# will be added to the HTTP request.
|
266
248
|
#
|
267
249
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
268
250
|
#
|
269
|
-
def
|
270
|
-
|
251
|
+
def begin_create_or_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil)
|
252
|
+
begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers).value!
|
271
253
|
end
|
272
254
|
|
273
255
|
#
|
274
|
-
# The operation to
|
256
|
+
# The operation to create or update the extension.
|
275
257
|
#
|
276
258
|
# @param resource_group_name [String] The name of the resource group.
|
277
259
|
# @param vm_name [String] The name of the virtual machine where the extension
|
278
|
-
# should be
|
260
|
+
# should be create or updated.
|
279
261
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
262
|
+
# @param extension_parameters [VirtualMachineExtension] Parameters supplied to
|
263
|
+
# the Create Virtual Machine Extension operation.
|
280
264
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
281
265
|
# to the HTTP request.
|
282
266
|
#
|
283
267
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
284
268
|
#
|
285
|
-
def
|
269
|
+
def begin_create_or_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers = nil)
|
286
270
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
287
271
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
288
272
|
fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil?
|
273
|
+
fail ArgumentError, 'extension_parameters is nil' if extension_parameters.nil?
|
289
274
|
api_version = '2016-03-30'
|
290
275
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
291
276
|
|
@@ -295,6 +280,14 @@ module Azure::ARM::Compute
|
|
295
280
|
# Set Headers
|
296
281
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
297
282
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
283
|
+
|
284
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
285
|
+
|
286
|
+
# Serialize Request
|
287
|
+
request_mapper = VirtualMachineExtension.mapper()
|
288
|
+
request_content = @client.serialize(request_mapper, extension_parameters, 'extension_parameters')
|
289
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
290
|
+
|
298
291
|
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}'
|
299
292
|
|
300
293
|
request_url = @base_url || @client.base_url
|
@@ -303,21 +296,42 @@ module Azure::ARM::Compute
|
|
303
296
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
304
297
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'vmExtensionName' => vm_extension_name,'subscriptionId' => @client.subscription_id},
|
305
298
|
query_params: {'api-version' => api_version},
|
299
|
+
body: request_content,
|
306
300
|
headers: request_headers.merge(custom_headers || {}),
|
307
301
|
base_url: request_url
|
308
302
|
}
|
309
|
-
promise = @client.make_request_async(:
|
303
|
+
promise = @client.make_request_async(:put, path_template, options)
|
310
304
|
|
311
305
|
promise = promise.then do |result|
|
312
306
|
http_response = result.response
|
313
307
|
status_code = http_response.status
|
314
308
|
response_content = http_response.body
|
315
|
-
unless status_code ==
|
309
|
+
unless status_code == 200 || status_code == 201
|
316
310
|
error_model = JSON.load(response_content)
|
317
311
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
318
312
|
end
|
319
313
|
|
320
314
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
315
|
+
# Deserialize Response
|
316
|
+
if status_code == 200
|
317
|
+
begin
|
318
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
319
|
+
result_mapper = VirtualMachineExtension.mapper()
|
320
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
321
|
+
rescue Exception => e
|
322
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
323
|
+
end
|
324
|
+
end
|
325
|
+
# Deserialize Response
|
326
|
+
if status_code == 201
|
327
|
+
begin
|
328
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
329
|
+
result_mapper = VirtualMachineExtension.mapper()
|
330
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
331
|
+
rescue Exception => e
|
332
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
333
|
+
end
|
334
|
+
end
|
321
335
|
|
322
336
|
result
|
323
337
|
end
|
@@ -326,54 +340,50 @@ module Azure::ARM::Compute
|
|
326
340
|
end
|
327
341
|
|
328
342
|
#
|
329
|
-
# The operation to
|
343
|
+
# The operation to delete the extension.
|
330
344
|
#
|
331
345
|
# @param resource_group_name [String] The name of the resource group.
|
332
|
-
# @param vm_name [String] The name of the virtual machine
|
333
|
-
#
|
346
|
+
# @param vm_name [String] The name of the virtual machine where the extension
|
347
|
+
# should be deleted.
|
334
348
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
335
|
-
# @param expand [String] The expand expression to apply on the operation.
|
336
349
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
337
350
|
# will be added to the HTTP request.
|
338
351
|
#
|
339
|
-
# @return [VirtualMachineExtension] operation results.
|
340
352
|
#
|
341
|
-
def
|
342
|
-
response =
|
343
|
-
|
353
|
+
def begin_delete(resource_group_name, vm_name, vm_extension_name, custom_headers = nil)
|
354
|
+
response = begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value!
|
355
|
+
nil
|
344
356
|
end
|
345
357
|
|
346
358
|
#
|
347
|
-
# The operation to
|
359
|
+
# The operation to delete the extension.
|
348
360
|
#
|
349
361
|
# @param resource_group_name [String] The name of the resource group.
|
350
|
-
# @param vm_name [String] The name of the virtual machine
|
351
|
-
#
|
362
|
+
# @param vm_name [String] The name of the virtual machine where the extension
|
363
|
+
# should be deleted.
|
352
364
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
353
|
-
# @param expand [String] The expand expression to apply on the operation.
|
354
365
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
355
366
|
# will be added to the HTTP request.
|
356
367
|
#
|
357
368
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
358
369
|
#
|
359
|
-
def
|
360
|
-
|
370
|
+
def begin_delete_with_http_info(resource_group_name, vm_name, vm_extension_name, custom_headers = nil)
|
371
|
+
begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers).value!
|
361
372
|
end
|
362
373
|
|
363
374
|
#
|
364
|
-
# The operation to
|
375
|
+
# The operation to delete the extension.
|
365
376
|
#
|
366
377
|
# @param resource_group_name [String] The name of the resource group.
|
367
|
-
# @param vm_name [String] The name of the virtual machine
|
368
|
-
#
|
378
|
+
# @param vm_name [String] The name of the virtual machine where the extension
|
379
|
+
# should be deleted.
|
369
380
|
# @param vm_extension_name [String] The name of the virtual machine extension.
|
370
|
-
# @param expand [String] The expand expression to apply on the operation.
|
371
381
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
372
382
|
# to the HTTP request.
|
373
383
|
#
|
374
384
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
375
385
|
#
|
376
|
-
def
|
386
|
+
def begin_delete_async(resource_group_name, vm_name, vm_extension_name, custom_headers = nil)
|
377
387
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
378
388
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
379
389
|
fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil?
|
@@ -393,32 +403,22 @@ module Azure::ARM::Compute
|
|
393
403
|
options = {
|
394
404
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
395
405
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'vmExtensionName' => vm_extension_name,'subscriptionId' => @client.subscription_id},
|
396
|
-
query_params: {'
|
406
|
+
query_params: {'api-version' => api_version},
|
397
407
|
headers: request_headers.merge(custom_headers || {}),
|
398
408
|
base_url: request_url
|
399
409
|
}
|
400
|
-
promise = @client.make_request_async(:
|
410
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
401
411
|
|
402
412
|
promise = promise.then do |result|
|
403
413
|
http_response = result.response
|
404
414
|
status_code = http_response.status
|
405
415
|
response_content = http_response.body
|
406
|
-
unless status_code ==
|
416
|
+
unless status_code == 202 || status_code == 204
|
407
417
|
error_model = JSON.load(response_content)
|
408
418
|
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
409
419
|
end
|
410
420
|
|
411
421
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
412
|
-
# Deserialize Response
|
413
|
-
if status_code == 200
|
414
|
-
begin
|
415
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
416
|
-
result_mapper = VirtualMachineExtension.mapper()
|
417
|
-
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
418
|
-
rescue Exception => e
|
419
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
420
|
-
end
|
421
|
-
end
|
422
422
|
|
423
423
|
result
|
424
424
|
end
|