fog-vsphere 3.6.5 → 3.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fog/vsphere/compute.rb +12 -0
- data/lib/fog/vsphere/models/compute/nvmecontroller.rb +24 -0
- data/lib/fog/vsphere/models/compute/scsicontroller.rb +5 -1
- data/lib/fog/vsphere/models/compute/server.rb +33 -18
- data/lib/fog/vsphere/models/compute/volume.rb +1 -2
- data/lib/fog/vsphere/requests/compute/create_vm.rb +11 -4
- data/lib/fog/vsphere/requests/compute/get_vm_first_nvme_controller.rb +21 -0
- data/lib/fog/vsphere/requests/compute/list_vm_nvme_controllers.rb +29 -0
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +1 -1
- data/lib/fog/vsphere/version.rb +1 -1
- data/tests/class_from_string_tests.rb +33 -0
- data/tests/compute_tests.rb +53 -0
- data/tests/fixtures/vcr_cassettes/6_7/create_folder.yml +609 -0
- data/tests/fixtures/vcr_cassettes/6_7/folder_destroy.yml +823 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_cluster.yml +663 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_compute_resource.yml +1046 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_datacenter.yml +498 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_folder.yml +2038 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_host.yml +386 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_network.yml +932 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_storage_pod.yml +225 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_template.yml +329 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_virtual_machine.yml +329 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_vm_first_nvme_controller.yml +105 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_vm_first_sata_controller.yml +209 -0
- data/tests/fixtures/vcr_cassettes/6_7/get_vm_first_scsi_controller.yml +111 -0
- data/tests/fixtures/vcr_cassettes/6_7/shared.yml +164 -0
- data/tests/helper.rb +6 -0
- data/tests/helpers/mock_helper.rb +9 -0
- data/tests/models/compute/cluster_tests.rb +18 -0
- data/tests/models/compute/hosts_tests.rb +11 -0
- data/tests/models/compute/rules_tests.rb +28 -0
- data/tests/models/compute/server_tests.rb +74 -0
- data/tests/models/compute/server_unit_tests.rb +13 -0
- data/tests/models/compute/servers_tests.rb +14 -0
- data/tests/models/compute/ticket_tests.rb +12 -0
- data/tests/models/compute/tickets_tests.rb +8 -0
- data/tests/requests/compute/create_folder_tests.rb +19 -0
- data/tests/requests/compute/current_time_tests.rb +10 -0
- data/tests/requests/compute/folder_destroy_tests.rb +39 -0
- data/tests/requests/compute/get_cluster_tests.rb +19 -0
- data/tests/requests/compute/get_compute_resource_tests.rb +19 -0
- data/tests/requests/compute/get_datacenter_tests.rb +19 -0
- data/tests/requests/compute/get_folder_tests.rb +28 -0
- data/tests/requests/compute/get_host_tests.rb +19 -0
- data/tests/requests/compute/get_network_tests.rb +78 -0
- data/tests/requests/compute/get_storage_pod_tests.rb +19 -0
- data/tests/requests/compute/get_template_tests.rb +19 -0
- data/tests/requests/compute/get_virtual_machine_tests.rb +19 -0
- data/tests/requests/compute/get_vm_first_nvme_controller_tests.rb +19 -0
- data/tests/requests/compute/get_vm_first_sata_controller_tests.rb +19 -0
- data/tests/requests/compute/get_vm_first_scsi_controller_tests.rb +19 -0
- data/tests/requests/compute/list_child_snapshots_tests.rb +9 -0
- data/tests/requests/compute/list_clusters_tests.rb +10 -0
- data/tests/requests/compute/list_datastores_tests.rb +17 -0
- data/tests/requests/compute/list_hosts_tests.rb +10 -0
- data/tests/requests/compute/list_networks_tests.rb +17 -0
- data/tests/requests/compute/list_storage_pods_test.rb +9 -0
- data/tests/requests/compute/list_virtual_machines_tests.rb +34 -0
- data/tests/requests/compute/list_vm_cdroms_tests.rb +9 -0
- data/tests/requests/compute/list_vm_snapshots_tests.rb +9 -0
- data/tests/requests/compute/modify_vm_cdrom_tests.rb +20 -0
- data/tests/requests/compute/revert_to_snapshot_tests.rb +13 -0
- data/tests/requests/compute/set_vm_customvalue_tests.rb +18 -0
- data/tests/requests/compute/update_vm_tests.rb +13 -0
- data/tests/requests/compute/vm_clone_tests.rb +55 -0
- data/tests/requests/compute/vm_config_vnc_tests.rb +18 -0
- data/tests/requests/compute/vm_destroy_tests.rb +14 -0
- data/tests/requests/compute/vm_migrate_tests.rb +15 -0
- data/tests/requests/compute/vm_power_off_tests.rb +24 -0
- data/tests/requests/compute/vm_power_on_tests.rb +15 -0
- data/tests/requests/compute/vm_reboot_tests.rb +24 -0
- data/tests/requests/compute/vm_reconfig_cdrom_tests.rb +14 -0
- data/tests/requests/compute/vm_reconfig_cpus_tests.rb +17 -0
- data/tests/requests/compute/vm_reconfig_hardware_tests.rb +17 -0
- data/tests/requests/compute/vm_reconfig_memory_tests.rb +17 -0
- data/tests/requests/compute/vm_suspend_tests.rb +23 -0
- data/tests/requests/compute/vm_take_snapshot_tests.rb +17 -0
- data/tests/test_helper.rb +74 -0
- metadata +152 -19
- data/.github/workflows/ruby.yml +0 -42
- data/.gitignore +0 -25
- data/.rubocop.yml +0 -44
- data/.rubocop_todo.yml +0 -614
- data/CONTRIBUTING.md +0 -55
- data/Gemfile +0 -5
- data/Jenkinsfile +0 -10
- data/fog-vsphere.gemspec +0 -39
@@ -0,0 +1,823 @@
|
|
1
|
+
---
|
2
|
+
<% user_name = vsphere_username.split('@').reverse.join('\\') %>
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: https://<%= vsphere_server %>/sdk
|
7
|
+
body:
|
8
|
+
encoding: UTF-8
|
9
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
10
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
11
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
12
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Folder</type><pathSet>childEntity</pathSet></propSet><objectSet
|
13
|
+
xsi:type="ObjectSpec"><obj type="Folder">group-d1</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
14
|
+
headers:
|
15
|
+
Content-Type:
|
16
|
+
- text/xml; charset=utf-8
|
17
|
+
Soapaction:
|
18
|
+
- urn:vim25/6.7
|
19
|
+
Cookie:
|
20
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
21
|
+
Secure;
|
22
|
+
Accept-Encoding:
|
23
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
24
|
+
Accept:
|
25
|
+
- "*/*"
|
26
|
+
User-Agent:
|
27
|
+
- Ruby
|
28
|
+
response:
|
29
|
+
status:
|
30
|
+
code: 200
|
31
|
+
message: OK
|
32
|
+
headers:
|
33
|
+
Date:
|
34
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Connection:
|
38
|
+
- Keep-Alive
|
39
|
+
Content-Type:
|
40
|
+
- text/xml; charset=utf-8
|
41
|
+
X-Frame-Options:
|
42
|
+
- DENY
|
43
|
+
Content-Length:
|
44
|
+
- '666'
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: |-
|
48
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
49
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
50
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
51
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
52
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
53
|
+
<soapenv:Body>
|
54
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Folder">group-d1</obj><propSet><name>childEntity</name><val xsi:type="ArrayOfManagedObjectReference"><ManagedObjectReference type="Datacenter" xsi:type="ManagedObjectReference">datacenter-2</ManagedObjectReference></val></propSet></returnval></RetrievePropertiesResponse>
|
55
|
+
</soapenv:Body>
|
56
|
+
</soapenv:Envelope>
|
57
|
+
http_version:
|
58
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
59
|
+
- request:
|
60
|
+
method: post
|
61
|
+
uri: https://<%= vsphere_server %>/sdk
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
65
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
66
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
67
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>name</pathSet></propSet><objectSet
|
68
|
+
xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
69
|
+
headers:
|
70
|
+
Content-Type:
|
71
|
+
- text/xml; charset=utf-8
|
72
|
+
Soapaction:
|
73
|
+
- urn:vim25/6.7
|
74
|
+
Cookie:
|
75
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
76
|
+
Secure;
|
77
|
+
Accept-Encoding:
|
78
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
79
|
+
Accept:
|
80
|
+
- "*/*"
|
81
|
+
User-Agent:
|
82
|
+
- Ruby
|
83
|
+
response:
|
84
|
+
status:
|
85
|
+
code: 200
|
86
|
+
message: OK
|
87
|
+
headers:
|
88
|
+
Date:
|
89
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
90
|
+
Cache-Control:
|
91
|
+
- no-cache
|
92
|
+
Connection:
|
93
|
+
- Keep-Alive
|
94
|
+
Content-Type:
|
95
|
+
- text/xml; charset=utf-8
|
96
|
+
X-Frame-Options:
|
97
|
+
- DENY
|
98
|
+
Content-Length:
|
99
|
+
- '538'
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: |-
|
103
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
104
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
105
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
106
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
107
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
108
|
+
<soapenv:Body>
|
109
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>name</name><val xsi:type="xsd:string">BRQ</val></propSet></returnval></RetrievePropertiesResponse>
|
110
|
+
</soapenv:Body>
|
111
|
+
</soapenv:Envelope>
|
112
|
+
http_version:
|
113
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
114
|
+
- request:
|
115
|
+
method: post
|
116
|
+
uri: https://<%= vsphere_server %>/sdk
|
117
|
+
body:
|
118
|
+
encoding: UTF-8
|
119
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
120
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
121
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
122
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Datacenter</type><pathSet>vmFolder</pathSet></propSet><objectSet
|
123
|
+
xsi:type="ObjectSpec"><obj type="Datacenter">datacenter-2</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
124
|
+
headers:
|
125
|
+
Content-Type:
|
126
|
+
- text/xml; charset=utf-8
|
127
|
+
Soapaction:
|
128
|
+
- urn:vim25/6.7
|
129
|
+
Cookie:
|
130
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
131
|
+
Secure;
|
132
|
+
Accept-Encoding:
|
133
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
134
|
+
Accept:
|
135
|
+
- "*/*"
|
136
|
+
User-Agent:
|
137
|
+
- Ruby
|
138
|
+
response:
|
139
|
+
status:
|
140
|
+
code: 200
|
141
|
+
message: OK
|
142
|
+
headers:
|
143
|
+
Date:
|
144
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
145
|
+
Cache-Control:
|
146
|
+
- no-cache
|
147
|
+
Connection:
|
148
|
+
- Keep-Alive
|
149
|
+
Content-Type:
|
150
|
+
- text/xml; charset=utf-8
|
151
|
+
X-Frame-Options:
|
152
|
+
- DENY
|
153
|
+
Content-Length:
|
154
|
+
- '573'
|
155
|
+
body:
|
156
|
+
encoding: UTF-8
|
157
|
+
string: |-
|
158
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
159
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
160
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
161
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
162
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
163
|
+
<soapenv:Body>
|
164
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>vmFolder</name><val type="Folder" xsi:type="ManagedObjectReference">group-v3</val></propSet></returnval></RetrievePropertiesResponse>
|
165
|
+
</soapenv:Body>
|
166
|
+
</soapenv:Envelope>
|
167
|
+
http_version:
|
168
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
169
|
+
- request:
|
170
|
+
method: post
|
171
|
+
uri: https://<%= vsphere_server %>/sdk
|
172
|
+
body:
|
173
|
+
encoding: UTF-8
|
174
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
175
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
176
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
177
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ManagedEntity</type><pathSet>name</pathSet><pathSet>parent</pathSet></propSet><objectSet
|
178
|
+
xsi:type="ObjectSpec"><obj type="Folder">group-v3</obj><selectSet xsi:type="TraversalSpec"><name>tsME</name><type>ManagedEntity</type><path>parent</path><skip>0</skip><selectSet
|
179
|
+
xsi:type="SelectionSpec"><name>tsME</name></selectSet></selectSet></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
180
|
+
headers:
|
181
|
+
Content-Type:
|
182
|
+
- text/xml; charset=utf-8
|
183
|
+
Soapaction:
|
184
|
+
- urn:vim25/6.7
|
185
|
+
Cookie:
|
186
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
187
|
+
Secure;
|
188
|
+
Accept-Encoding:
|
189
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
190
|
+
Accept:
|
191
|
+
- "*/*"
|
192
|
+
User-Agent:
|
193
|
+
- Ruby
|
194
|
+
response:
|
195
|
+
status:
|
196
|
+
code: 200
|
197
|
+
message: OK
|
198
|
+
headers:
|
199
|
+
Date:
|
200
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
201
|
+
Cache-Control:
|
202
|
+
- no-cache
|
203
|
+
Connection:
|
204
|
+
- Keep-Alive
|
205
|
+
Content-Type:
|
206
|
+
- text/xml; charset=utf-8
|
207
|
+
X-Frame-Options:
|
208
|
+
- DENY
|
209
|
+
Content-Length:
|
210
|
+
- '1019'
|
211
|
+
body:
|
212
|
+
encoding: UTF-8
|
213
|
+
string: |-
|
214
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
215
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
216
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
217
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
218
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
219
|
+
<soapenv:Body>
|
220
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Folder">group-v3</obj><propSet><name>name</name><val xsi:type="xsd:string">vm</val></propSet><propSet><name>parent</name><val type="Datacenter" xsi:type="ManagedObjectReference">datacenter-2</val></propSet></returnval><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>name</name><val xsi:type="xsd:string">BRQ</val></propSet><propSet><name>parent</name><val type="Folder" xsi:type="ManagedObjectReference">group-d1</val></propSet></returnval><returnval><obj type="Folder">group-d1</obj><propSet><name>name</name><val xsi:type="xsd:string">Datacenters</val></propSet></returnval></RetrievePropertiesResponse>
|
221
|
+
</soapenv:Body>
|
222
|
+
</soapenv:Envelope>
|
223
|
+
http_version:
|
224
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
225
|
+
- request:
|
226
|
+
method: post
|
227
|
+
uri: https://<%= vsphere_server %>/sdk
|
228
|
+
body:
|
229
|
+
encoding: UTF-8
|
230
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
231
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
232
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
233
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>ManagedEntity</type><pathSet>name</pathSet><pathSet>parent</pathSet></propSet><objectSet
|
234
|
+
xsi:type="ObjectSpec"><obj type="Folder">group-v3</obj><selectSet xsi:type="TraversalSpec"><name>tsME</name><type>ManagedEntity</type><path>parent</path><skip>0</skip><selectSet
|
235
|
+
xsi:type="SelectionSpec"><name>tsME</name></selectSet></selectSet></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
236
|
+
headers:
|
237
|
+
Content-Type:
|
238
|
+
- text/xml; charset=utf-8
|
239
|
+
Soapaction:
|
240
|
+
- urn:vim25/6.7
|
241
|
+
Cookie:
|
242
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
243
|
+
Secure;
|
244
|
+
Accept-Encoding:
|
245
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
246
|
+
Accept:
|
247
|
+
- "*/*"
|
248
|
+
User-Agent:
|
249
|
+
- Ruby
|
250
|
+
response:
|
251
|
+
status:
|
252
|
+
code: 200
|
253
|
+
message: OK
|
254
|
+
headers:
|
255
|
+
Date:
|
256
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
257
|
+
Cache-Control:
|
258
|
+
- no-cache
|
259
|
+
Connection:
|
260
|
+
- Keep-Alive
|
261
|
+
Content-Type:
|
262
|
+
- text/xml; charset=utf-8
|
263
|
+
X-Frame-Options:
|
264
|
+
- DENY
|
265
|
+
Content-Length:
|
266
|
+
- '1019'
|
267
|
+
body:
|
268
|
+
encoding: UTF-8
|
269
|
+
string: |-
|
270
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
271
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
272
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
273
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
274
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
275
|
+
<soapenv:Body>
|
276
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Folder">group-v3</obj><propSet><name>name</name><val xsi:type="xsd:string">vm</val></propSet><propSet><name>parent</name><val type="Datacenter" xsi:type="ManagedObjectReference">datacenter-2</val></propSet></returnval><returnval><obj type="Datacenter">datacenter-2</obj><propSet><name>name</name><val xsi:type="xsd:string">BRQ</val></propSet><propSet><name>parent</name><val type="Folder" xsi:type="ManagedObjectReference">group-d1</val></propSet></returnval><returnval><obj type="Folder">group-d1</obj><propSet><name>name</name><val xsi:type="xsd:string">Datacenters</val></propSet></returnval></RetrievePropertiesResponse>
|
277
|
+
</soapenv:Body>
|
278
|
+
</soapenv:Envelope>
|
279
|
+
http_version:
|
280
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
281
|
+
- request:
|
282
|
+
method: post
|
283
|
+
uri: https://<%= vsphere_server %>/sdk
|
284
|
+
body:
|
285
|
+
encoding: UTF-8
|
286
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
287
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><FindChild
|
288
|
+
xmlns="urn:vim25"><_this type="SearchIndex">SearchIndex</_this><entity type="Folder">group-v3</entity><name>TestFolder</name></FindChild></env:Body></env:Envelope>
|
289
|
+
headers:
|
290
|
+
Content-Type:
|
291
|
+
- text/xml; charset=utf-8
|
292
|
+
Soapaction:
|
293
|
+
- urn:vim25/6.7
|
294
|
+
Cookie:
|
295
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
296
|
+
Secure;
|
297
|
+
Accept-Encoding:
|
298
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
299
|
+
Accept:
|
300
|
+
- "*/*"
|
301
|
+
User-Agent:
|
302
|
+
- Ruby
|
303
|
+
response:
|
304
|
+
status:
|
305
|
+
code: 200
|
306
|
+
message: OK
|
307
|
+
headers:
|
308
|
+
Date:
|
309
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
310
|
+
Cache-Control:
|
311
|
+
- no-cache
|
312
|
+
Connection:
|
313
|
+
- Keep-Alive
|
314
|
+
Content-Type:
|
315
|
+
- text/xml; charset=utf-8
|
316
|
+
X-Frame-Options:
|
317
|
+
- DENY
|
318
|
+
Content-Length:
|
319
|
+
- '430'
|
320
|
+
body:
|
321
|
+
encoding: UTF-8
|
322
|
+
string: |-
|
323
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
324
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
325
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
326
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
327
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
328
|
+
<soapenv:Body>
|
329
|
+
<FindChildResponse xmlns="urn:vim25"><returnval type="Folder">group-v48</returnval></FindChildResponse>
|
330
|
+
</soapenv:Body>
|
331
|
+
</soapenv:Envelope>
|
332
|
+
http_version:
|
333
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
334
|
+
- request:
|
335
|
+
method: post
|
336
|
+
uri: https://<%= vsphere_server %>/sdk
|
337
|
+
body:
|
338
|
+
encoding: UTF-8
|
339
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
340
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
341
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
342
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Folder</type><pathSet>childEntity</pathSet></propSet><objectSet
|
343
|
+
xsi:type="ObjectSpec"><obj type="Folder">group-v48</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
344
|
+
headers:
|
345
|
+
Content-Type:
|
346
|
+
- text/xml; charset=utf-8
|
347
|
+
Soapaction:
|
348
|
+
- urn:vim25/6.7
|
349
|
+
Cookie:
|
350
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
351
|
+
Secure;
|
352
|
+
Accept-Encoding:
|
353
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
354
|
+
Accept:
|
355
|
+
- "*/*"
|
356
|
+
User-Agent:
|
357
|
+
- Ruby
|
358
|
+
response:
|
359
|
+
status:
|
360
|
+
code: 200
|
361
|
+
message: OK
|
362
|
+
headers:
|
363
|
+
Date:
|
364
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
365
|
+
Cache-Control:
|
366
|
+
- no-cache
|
367
|
+
Connection:
|
368
|
+
- Keep-Alive
|
369
|
+
Content-Type:
|
370
|
+
- text/xml; charset=utf-8
|
371
|
+
X-Frame-Options:
|
372
|
+
- DENY
|
373
|
+
Content-Length:
|
374
|
+
- '554'
|
375
|
+
body:
|
376
|
+
encoding: UTF-8
|
377
|
+
string: |-
|
378
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
379
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
380
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
381
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
382
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
383
|
+
<soapenv:Body>
|
384
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Folder">group-v48</obj><propSet><name>childEntity</name><val xsi:type="ArrayOfManagedObjectReference"></val></propSet></returnval></RetrievePropertiesResponse>
|
385
|
+
</soapenv:Body>
|
386
|
+
</soapenv:Envelope>
|
387
|
+
http_version:
|
388
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
389
|
+
- request:
|
390
|
+
method: post
|
391
|
+
uri: https://<%= vsphere_server %>/sdk
|
392
|
+
body:
|
393
|
+
encoding: UTF-8
|
394
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
395
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><Destroy_Task
|
396
|
+
xmlns="urn:vim25"><_this type="Folder">group-v48</_this></Destroy_Task></env:Body></env:Envelope>
|
397
|
+
headers:
|
398
|
+
Content-Type:
|
399
|
+
- text/xml; charset=utf-8
|
400
|
+
Soapaction:
|
401
|
+
- urn:vim25/6.7
|
402
|
+
Cookie:
|
403
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
404
|
+
Secure;
|
405
|
+
Accept-Encoding:
|
406
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
407
|
+
Accept:
|
408
|
+
- "*/*"
|
409
|
+
User-Agent:
|
410
|
+
- Ruby
|
411
|
+
response:
|
412
|
+
status:
|
413
|
+
code: 200
|
414
|
+
message: OK
|
415
|
+
headers:
|
416
|
+
Date:
|
417
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
418
|
+
Cache-Control:
|
419
|
+
- no-cache
|
420
|
+
Connection:
|
421
|
+
- Keep-Alive
|
422
|
+
Content-Type:
|
423
|
+
- text/xml; charset=utf-8
|
424
|
+
X-Frame-Options:
|
425
|
+
- DENY
|
426
|
+
Content-Length:
|
427
|
+
- '433'
|
428
|
+
body:
|
429
|
+
encoding: UTF-8
|
430
|
+
string: |-
|
431
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
432
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
433
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
434
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
435
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
436
|
+
<soapenv:Body>
|
437
|
+
<Destroy_TaskResponse xmlns="urn:vim25"><returnval type="Task">task-469</returnval></Destroy_TaskResponse>
|
438
|
+
</soapenv:Body>
|
439
|
+
</soapenv:Envelope>
|
440
|
+
http_version:
|
441
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
442
|
+
- request:
|
443
|
+
method: post
|
444
|
+
uri: https://<%= vsphere_server %>/sdk
|
445
|
+
body:
|
446
|
+
encoding: UTF-8
|
447
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
448
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><CreateFilter
|
449
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><spec
|
450
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Task</type><all>0</all><pathSet>info.state</pathSet></propSet><objectSet
|
451
|
+
xsi:type="ObjectSpec"><obj type="Task">task-469</obj></objectSet></spec><partialUpdates>0</partialUpdates></CreateFilter></env:Body></env:Envelope>
|
452
|
+
headers:
|
453
|
+
Content-Type:
|
454
|
+
- text/xml; charset=utf-8
|
455
|
+
Soapaction:
|
456
|
+
- urn:vim25/6.7
|
457
|
+
Cookie:
|
458
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
459
|
+
Secure;
|
460
|
+
Accept-Encoding:
|
461
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
462
|
+
Accept:
|
463
|
+
- "*/*"
|
464
|
+
User-Agent:
|
465
|
+
- Ruby
|
466
|
+
response:
|
467
|
+
status:
|
468
|
+
code: 200
|
469
|
+
message: OK
|
470
|
+
headers:
|
471
|
+
Date:
|
472
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
473
|
+
Cache-Control:
|
474
|
+
- no-cache
|
475
|
+
Connection:
|
476
|
+
- Keep-Alive
|
477
|
+
Content-Type:
|
478
|
+
- text/xml; charset=utf-8
|
479
|
+
X-Frame-Options:
|
480
|
+
- DENY
|
481
|
+
Content-Length:
|
482
|
+
- '516'
|
483
|
+
body:
|
484
|
+
encoding: UTF-8
|
485
|
+
string: |-
|
486
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
487
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
488
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
489
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
490
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
491
|
+
<soapenv:Body>
|
492
|
+
<CreateFilterResponse xmlns="urn:vim25"><returnval type="PropertyFilter">session[52b40801-6eb4-bcdc-a1f0-196a22da8ed3]52db6e92-e4b2-0046-49ac-90f1b2175d9e</returnval></CreateFilterResponse>
|
493
|
+
</soapenv:Body>
|
494
|
+
</soapenv:Envelope>
|
495
|
+
http_version:
|
496
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
497
|
+
- request:
|
498
|
+
method: post
|
499
|
+
uri: https://<%= vsphere_server %>/sdk
|
500
|
+
body:
|
501
|
+
encoding: UTF-8
|
502
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
503
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><WaitForUpdates
|
504
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><version></version></WaitForUpdates></env:Body></env:Envelope>
|
505
|
+
headers:
|
506
|
+
Content-Type:
|
507
|
+
- text/xml; charset=utf-8
|
508
|
+
Soapaction:
|
509
|
+
- urn:vim25/6.7
|
510
|
+
Cookie:
|
511
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
512
|
+
Secure;
|
513
|
+
Accept-Encoding:
|
514
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
515
|
+
Accept:
|
516
|
+
- "*/*"
|
517
|
+
User-Agent:
|
518
|
+
- Ruby
|
519
|
+
response:
|
520
|
+
status:
|
521
|
+
code: 200
|
522
|
+
message: OK
|
523
|
+
headers:
|
524
|
+
Date:
|
525
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
526
|
+
Cache-Control:
|
527
|
+
- no-cache
|
528
|
+
Connection:
|
529
|
+
- Keep-Alive
|
530
|
+
Content-Type:
|
531
|
+
- text/xml; charset=utf-8
|
532
|
+
X-Frame-Options:
|
533
|
+
- DENY
|
534
|
+
Content-Length:
|
535
|
+
- '756'
|
536
|
+
body:
|
537
|
+
encoding: UTF-8
|
538
|
+
string: |-
|
539
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
540
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
541
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
542
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
543
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
544
|
+
<soapenv:Body>
|
545
|
+
<WaitForUpdatesResponse xmlns="urn:vim25"><returnval><version>1</version><filterSet><filter type="PropertyFilter">session[52b40801-6eb4-bcdc-a1f0-196a22da8ed3]52db6e92-e4b2-0046-49ac-90f1b2175d9e</filter><objectSet><kind>enter</kind><obj type="Task">task-469</obj><changeSet><name>info.state</name><op>assign</op><val xsi:type="TaskInfoState">success</val></changeSet></objectSet></filterSet></returnval></WaitForUpdatesResponse>
|
546
|
+
</soapenv:Body>
|
547
|
+
</soapenv:Envelope>
|
548
|
+
http_version:
|
549
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
550
|
+
- request:
|
551
|
+
method: post
|
552
|
+
uri: https://<%= vsphere_server %>/sdk
|
553
|
+
body:
|
554
|
+
encoding: UTF-8
|
555
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
556
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
557
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
558
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Task</type><pathSet>info</pathSet></propSet><objectSet
|
559
|
+
xsi:type="ObjectSpec"><obj type="Task">task-469</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
560
|
+
headers:
|
561
|
+
Content-Type:
|
562
|
+
- text/xml; charset=utf-8
|
563
|
+
Soapaction:
|
564
|
+
- urn:vim25/6.7
|
565
|
+
Cookie:
|
566
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
567
|
+
Secure;
|
568
|
+
Accept-Encoding:
|
569
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
570
|
+
Accept:
|
571
|
+
- "*/*"
|
572
|
+
User-Agent:
|
573
|
+
- Ruby
|
574
|
+
response:
|
575
|
+
status:
|
576
|
+
code: 200
|
577
|
+
message: OK
|
578
|
+
headers:
|
579
|
+
Date:
|
580
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
581
|
+
Cache-Control:
|
582
|
+
- no-cache
|
583
|
+
Connection:
|
584
|
+
- Keep-Alive
|
585
|
+
Content-Type:
|
586
|
+
- text/xml; charset=utf-8
|
587
|
+
X-Frame-Options:
|
588
|
+
- DENY
|
589
|
+
Content-Length:
|
590
|
+
- '1082'
|
591
|
+
body:
|
592
|
+
encoding: UTF-8
|
593
|
+
string: |-
|
594
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
595
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
596
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
597
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
598
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
599
|
+
<soapenv:Body>
|
600
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Task">task-469</obj><propSet><name>info</name><val xsi:type="TaskInfo"><key>task-469</key><task type="Task">task-469</task><name>Destroy_Task</name><descriptionId>Folder.destroy</descriptionId><entity type="Folder">group-v48</entity><entityName>TestFolder</entityName><state>success</state><cancelled>false</cancelled><cancelable>false</cancelable><reason xsi:type="TaskReasonUser"><userName><%= user_name %></userName></reason><queueTime>2019-04-16T13:50:43.404775Z</queueTime><startTime>2019-04-16T13:50:43.409684Z</startTime><completeTime>2019-04-16T13:50:43.436639Z</completeTime><eventChainId>2858</eventChainId></val></propSet></returnval></RetrievePropertiesResponse>
|
601
|
+
</soapenv:Body>
|
602
|
+
</soapenv:Envelope>
|
603
|
+
http_version:
|
604
|
+
recorded_at: Tue, 16 Apr 2019 13:50:43 GMT
|
605
|
+
- request:
|
606
|
+
method: post
|
607
|
+
uri: https://<%= vsphere_server %>/sdk
|
608
|
+
body:
|
609
|
+
encoding: UTF-8
|
610
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
611
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><DestroyPropertyFilter
|
612
|
+
xmlns="urn:vim25"><_this type="PropertyFilter">session[52b40801-6eb4-bcdc-a1f0-196a22da8ed3]52db6e92-e4b2-0046-49ac-90f1b2175d9e</_this></DestroyPropertyFilter></env:Body></env:Envelope>
|
613
|
+
headers:
|
614
|
+
Content-Type:
|
615
|
+
- text/xml; charset=utf-8
|
616
|
+
Soapaction:
|
617
|
+
- urn:vim25/6.7
|
618
|
+
Cookie:
|
619
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
620
|
+
Secure;
|
621
|
+
Accept-Encoding:
|
622
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
623
|
+
Accept:
|
624
|
+
- "*/*"
|
625
|
+
User-Agent:
|
626
|
+
- Ruby
|
627
|
+
response:
|
628
|
+
status:
|
629
|
+
code: 200
|
630
|
+
message: OK
|
631
|
+
headers:
|
632
|
+
Date:
|
633
|
+
- Tue, 16 Apr 2019 13:50:43 GMT
|
634
|
+
Cache-Control:
|
635
|
+
- no-cache
|
636
|
+
Connection:
|
637
|
+
- Keep-Alive
|
638
|
+
Content-Type:
|
639
|
+
- text/xml; charset=utf-8
|
640
|
+
X-Frame-Options:
|
641
|
+
- DENY
|
642
|
+
Content-Length:
|
643
|
+
- '408'
|
644
|
+
body:
|
645
|
+
encoding: UTF-8
|
646
|
+
string: |-
|
647
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
648
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
649
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
650
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
651
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
652
|
+
<soapenv:Body>
|
653
|
+
<DestroyPropertyFilterResponse xmlns="urn:vim25"></DestroyPropertyFilterResponse>
|
654
|
+
</soapenv:Body>
|
655
|
+
</soapenv:Envelope>
|
656
|
+
http_version:
|
657
|
+
recorded_at: Tue, 16 Apr 2019 13:50:44 GMT
|
658
|
+
- request:
|
659
|
+
method: post
|
660
|
+
uri: https://<%= vsphere_server %>/sdk
|
661
|
+
body:
|
662
|
+
encoding: UTF-8
|
663
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
664
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
665
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
666
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Task</type><pathSet>info</pathSet></propSet><objectSet
|
667
|
+
xsi:type="ObjectSpec"><obj type="Task">task-469</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
668
|
+
headers:
|
669
|
+
Content-Type:
|
670
|
+
- text/xml; charset=utf-8
|
671
|
+
Soapaction:
|
672
|
+
- urn:vim25/6.7
|
673
|
+
Cookie:
|
674
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
675
|
+
Secure;
|
676
|
+
Accept-Encoding:
|
677
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
678
|
+
Accept:
|
679
|
+
- "*/*"
|
680
|
+
User-Agent:
|
681
|
+
- Ruby
|
682
|
+
response:
|
683
|
+
status:
|
684
|
+
code: 200
|
685
|
+
message: OK
|
686
|
+
headers:
|
687
|
+
Date:
|
688
|
+
- Tue, 16 Apr 2019 13:50:44 GMT
|
689
|
+
Cache-Control:
|
690
|
+
- no-cache
|
691
|
+
Connection:
|
692
|
+
- Keep-Alive
|
693
|
+
Content-Type:
|
694
|
+
- text/xml; charset=utf-8
|
695
|
+
X-Frame-Options:
|
696
|
+
- DENY
|
697
|
+
Content-Length:
|
698
|
+
- '1082'
|
699
|
+
body:
|
700
|
+
encoding: UTF-8
|
701
|
+
string: |-
|
702
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
703
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
704
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
705
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
706
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
707
|
+
<soapenv:Body>
|
708
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Task">task-469</obj><propSet><name>info</name><val xsi:type="TaskInfo"><key>task-469</key><task type="Task">task-469</task><name>Destroy_Task</name><descriptionId>Folder.destroy</descriptionId><entity type="Folder">group-v48</entity><entityName>TestFolder</entityName><state>success</state><cancelled>false</cancelled><cancelable>false</cancelable><reason xsi:type="TaskReasonUser"><userName><%= user_name %></userName></reason><queueTime>2019-04-16T13:50:43.404775Z</queueTime><startTime>2019-04-16T13:50:43.409684Z</startTime><completeTime>2019-04-16T13:50:43.436639Z</completeTime><eventChainId>2858</eventChainId></val></propSet></returnval></RetrievePropertiesResponse>
|
709
|
+
</soapenv:Body>
|
710
|
+
</soapenv:Envelope>
|
711
|
+
http_version:
|
712
|
+
recorded_at: Tue, 16 Apr 2019 13:50:44 GMT
|
713
|
+
- request:
|
714
|
+
method: post
|
715
|
+
uri: https://<%= vsphere_server %>/sdk
|
716
|
+
body:
|
717
|
+
encoding: UTF-8
|
718
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
719
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
720
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
721
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Task</type><pathSet>info</pathSet></propSet><objectSet
|
722
|
+
xsi:type="ObjectSpec"><obj type="Task">task-469</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
723
|
+
headers:
|
724
|
+
Content-Type:
|
725
|
+
- text/xml; charset=utf-8
|
726
|
+
Soapaction:
|
727
|
+
- urn:vim25/6.7
|
728
|
+
Cookie:
|
729
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
730
|
+
Secure;
|
731
|
+
Accept-Encoding:
|
732
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
733
|
+
Accept:
|
734
|
+
- "*/*"
|
735
|
+
User-Agent:
|
736
|
+
- Ruby
|
737
|
+
response:
|
738
|
+
status:
|
739
|
+
code: 200
|
740
|
+
message: OK
|
741
|
+
headers:
|
742
|
+
Date:
|
743
|
+
- Tue, 16 Apr 2019 13:50:44 GMT
|
744
|
+
Cache-Control:
|
745
|
+
- no-cache
|
746
|
+
Connection:
|
747
|
+
- Keep-Alive
|
748
|
+
Content-Type:
|
749
|
+
- text/xml; charset=utf-8
|
750
|
+
X-Frame-Options:
|
751
|
+
- DENY
|
752
|
+
Content-Length:
|
753
|
+
- '1082'
|
754
|
+
body:
|
755
|
+
encoding: UTF-8
|
756
|
+
string: |-
|
757
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
758
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
759
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
760
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
761
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
762
|
+
<soapenv:Body>
|
763
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Task">task-469</obj><propSet><name>info</name><val xsi:type="TaskInfo"><key>task-469</key><task type="Task">task-469</task><name>Destroy_Task</name><descriptionId>Folder.destroy</descriptionId><entity type="Folder">group-v48</entity><entityName>TestFolder</entityName><state>success</state><cancelled>false</cancelled><cancelable>false</cancelable><reason xsi:type="TaskReasonUser"><userName><%= user_name %></userName></reason><queueTime>2019-04-16T13:50:43.404775Z</queueTime><startTime>2019-04-16T13:50:43.409684Z</startTime><completeTime>2019-04-16T13:50:43.436639Z</completeTime><eventChainId>2858</eventChainId></val></propSet></returnval></RetrievePropertiesResponse>
|
764
|
+
</soapenv:Body>
|
765
|
+
</soapenv:Envelope>
|
766
|
+
http_version:
|
767
|
+
recorded_at: Tue, 16 Apr 2019 13:50:44 GMT
|
768
|
+
- request:
|
769
|
+
method: post
|
770
|
+
uri: https://<%= vsphere_server %>/sdk
|
771
|
+
body:
|
772
|
+
encoding: UTF-8
|
773
|
+
string: <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
|
774
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><RetrieveProperties
|
775
|
+
xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet
|
776
|
+
xsi:type="PropertyFilterSpec"><propSet xsi:type="PropertySpec"><type>Task</type><pathSet>info</pathSet></propSet><objectSet
|
777
|
+
xsi:type="ObjectSpec"><obj type="Task">task-469</obj></objectSet></specSet></RetrieveProperties></env:Body></env:Envelope>
|
778
|
+
headers:
|
779
|
+
Content-Type:
|
780
|
+
- text/xml; charset=utf-8
|
781
|
+
Soapaction:
|
782
|
+
- urn:vim25/6.7
|
783
|
+
Cookie:
|
784
|
+
- vmware_soap_session="60f0d066da76a20900e6fd3cd99b2d8a0c7135ab"; Path=/; HttpOnly;
|
785
|
+
Secure;
|
786
|
+
Accept-Encoding:
|
787
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
788
|
+
Accept:
|
789
|
+
- "*/*"
|
790
|
+
User-Agent:
|
791
|
+
- Ruby
|
792
|
+
response:
|
793
|
+
status:
|
794
|
+
code: 200
|
795
|
+
message: OK
|
796
|
+
headers:
|
797
|
+
Date:
|
798
|
+
- Tue, 16 Apr 2019 13:50:44 GMT
|
799
|
+
Cache-Control:
|
800
|
+
- no-cache
|
801
|
+
Connection:
|
802
|
+
- Keep-Alive
|
803
|
+
Content-Type:
|
804
|
+
- text/xml; charset=utf-8
|
805
|
+
X-Frame-Options:
|
806
|
+
- DENY
|
807
|
+
Content-Length:
|
808
|
+
- '1082'
|
809
|
+
body:
|
810
|
+
encoding: UTF-8
|
811
|
+
string: |-
|
812
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
813
|
+
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
814
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
815
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
816
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
817
|
+
<soapenv:Body>
|
818
|
+
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Task">task-469</obj><propSet><name>info</name><val xsi:type="TaskInfo"><key>task-469</key><task type="Task">task-469</task><name>Destroy_Task</name><descriptionId>Folder.destroy</descriptionId><entity type="Folder">group-v48</entity><entityName>TestFolder</entityName><state>success</state><cancelled>false</cancelled><cancelable>false</cancelable><reason xsi:type="TaskReasonUser"><userName><%= user_name %></userName></reason><queueTime>2019-04-16T13:50:43.404775Z</queueTime><startTime>2019-04-16T13:50:43.409684Z</startTime><completeTime>2019-04-16T13:50:43.436639Z</completeTime><eventChainId>2858</eventChainId></val></propSet></returnval></RetrievePropertiesResponse>
|
819
|
+
</soapenv:Body>
|
820
|
+
</soapenv:Envelope>
|
821
|
+
http_version:
|
822
|
+
recorded_at: Tue, 16 Apr 2019 13:50:44 GMT
|
823
|
+
recorded_with: VCR 4.0.0
|