| 1 | package VMOMI::SoapStub; | ||
| 2 | use parent 'VMOMI::SoapBase'; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | sub AbdicateDomOwnership { | ||
| 8 | my ($self, %args) = @_; | ||
| 9 | my $x_args = [ | ||
| 10 | ['_this', 'ManagedObjectReference'], | ||
| 11 | ['uuids', undef], | ||
| 12 | ]; | ||
| 13 | return $self->soap_call('AbdicateDomOwnership', undef, 1, $x_args, \%args); | ||
| 14 | } | ||
| 15 | |||
| 16 | sub AcknowledgeAlarm { | ||
| 17 | my ($self, %args) = @_; | ||
| 18 | my $x_args = [ | ||
| 19 | ['_this', 'ManagedObjectReference'], | ||
| 20 | ['alarm', 'ManagedObjectReference'], | ||
| 21 | ['entity', 'ManagedObjectReference'], | ||
| 22 | ]; | ||
| 23 | return $self->soap_call('AcknowledgeAlarm', undef, 0, $x_args, \%args); | ||
| 24 | } | ||
| 25 | |||
| 26 | sub AcquireCimServicesTicket { | ||
| 27 | my ($self, %args) = @_; | ||
| 28 | my $x_args = [ | ||
| 29 | ['_this', 'ManagedObjectReference'], | ||
| 30 | ]; | ||
| 31 | return $self->soap_call('AcquireCimServicesTicket', 'HostServiceTicket', 0, $x_args, \%args); | ||
| 32 | } | ||
| 33 | |||
| 34 | sub AcquireCloneTicket { | ||
| 35 | my ($self, %args) = @_; | ||
| 36 | my $x_args = [ | ||
| 37 | ['_this', 'ManagedObjectReference'], | ||
| 38 | ]; | ||
| 39 | return $self->soap_call('AcquireCloneTicket', undef, 0, $x_args, \%args); | ||
| 40 | } | ||
| 41 | |||
| 42 | sub AcquireCredentialsInGuest { | ||
| 43 | my ($self, %args) = @_; | ||
| 44 | my $x_args = [ | ||
| 45 | ['_this', 'ManagedObjectReference'], | ||
| 46 | ['vm', 'ManagedObjectReference'], | ||
| 47 | ['requestedAuth', 'GuestAuthentication'], | ||
| 48 | ['sessionID', undef], | ||
| 49 | ]; | ||
| 50 | return $self->soap_call('AcquireCredentialsInGuest', 'GuestAuthentication', 0, $x_args, \%args); | ||
| 51 | } | ||
| 52 | |||
| 53 | sub AcquireGenericServiceTicket { | ||
| 54 | my ($self, %args) = @_; | ||
| 55 | my $x_args = [ | ||
| 56 | ['_this', 'ManagedObjectReference'], | ||
| 57 | ['spec', 'SessionManagerServiceRequestSpec'], | ||
| 58 | ]; | ||
| 59 | return $self->soap_call('AcquireGenericServiceTicket', 'SessionManagerGenericServiceTicket', 0, $x_args, \%args); | ||
| 60 | } | ||
| 61 | |||
| 62 | sub AcquireLocalTicket { | ||
| 63 | my ($self, %args) = @_; | ||
| 64 | my $x_args = [ | ||
| 65 | ['_this', 'ManagedObjectReference'], | ||
| 66 | ['userName', undef], | ||
| 67 | ]; | ||
| 68 | return $self->soap_call('AcquireLocalTicket', 'SessionManagerLocalTicket', 0, $x_args, \%args); | ||
| 69 | } | ||
| 70 | |||
| 71 | sub AcquireMksTicket { | ||
| 72 | my ($self, %args) = @_; | ||
| 73 | my $x_args = [ | ||
| 74 | ['_this', 'ManagedObjectReference'], | ||
| 75 | ]; | ||
| 76 | return $self->soap_call('AcquireMksTicket', 'VirtualMachineMksTicket', 0, $x_args, \%args); | ||
| 77 | } | ||
| 78 | |||
| 79 | sub AcquireTicket { | ||
| 80 | my ($self, %args) = @_; | ||
| 81 | my $x_args = [ | ||
| 82 | ['_this', 'ManagedObjectReference'], | ||
| 83 | ['ticketType', undef], | ||
| 84 | ]; | ||
| 85 | return $self->soap_call('AcquireTicket', 'VirtualMachineTicket', 0, $x_args, \%args); | ||
| 86 | } | ||
| 87 | |||
| 88 | sub AddAuthorizationRole { | ||
| 89 | my ($self, %args) = @_; | ||
| 90 | my $x_args = [ | ||
| 91 | ['_this', 'ManagedObjectReference'], | ||
| 92 | ['name', undef], | ||
| 93 | ['privIds', undef], | ||
| 94 | ]; | ||
| 95 | return $self->soap_call('AddAuthorizationRole', undef, 0, $x_args, \%args); | ||
| 96 | } | ||
| 97 | |||
| 98 | sub AddCustomFieldDef { | ||
| 99 | my ($self, %args) = @_; | ||
| 100 | my $x_args = [ | ||
| 101 | ['_this', 'ManagedObjectReference'], | ||
| 102 | ['name', undef], | ||
| 103 | ['moType', undef], | ||
| 104 | ['fieldDefPolicy', 'PrivilegePolicyDef'], | ||
| 105 | ['fieldPolicy', 'PrivilegePolicyDef'], | ||
| 106 | ]; | ||
| 107 | return $self->soap_call('AddCustomFieldDef', 'CustomFieldDef', 0, $x_args, \%args); | ||
| 108 | } | ||
| 109 | |||
| 110 | sub AddDVPortgroup_Task { | ||
| 111 | my ($self, %args) = @_; | ||
| 112 | my $x_args = [ | ||
| 113 | ['_this', 'ManagedObjectReference'], | ||
| 114 | ['spec', 'DVPortgroupConfigSpec'], | ||
| 115 | ]; | ||
| 116 | return $self->soap_call('AddDVPortgroup_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 117 | } | ||
| 118 | |||
| 119 | sub AddDisks_Task { | ||
| 120 | my ($self, %args) = @_; | ||
| 121 | my $x_args = [ | ||
| 122 | ['_this', 'ManagedObjectReference'], | ||
| 123 | ['disk', 'HostScsiDisk'], | ||
| 124 | ]; | ||
| 125 | return $self->soap_call('AddDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 126 | } | ||
| 127 | |||
| 128 | sub AddFilter { | ||
| 129 | my ($self, %args) = @_; | ||
| 130 | my $x_args = [ | ||
| 131 | ['_this', 'ManagedObjectReference'], | ||
| 132 | ['providerId', undef], | ||
| 133 | ['filterName', undef], | ||
| 134 | ['infoIds', undef], | ||
| 135 | ]; | ||
| 136 | return $self->soap_call('AddFilter', undef, 0, $x_args, \%args); | ||
| 137 | } | ||
| 138 | |||
| 139 | sub AddFilterEntities { | ||
| 140 | my ($self, %args) = @_; | ||
| 141 | my $x_args = [ | ||
| 142 | ['_this', 'ManagedObjectReference'], | ||
| 143 | ['filterId', undef], | ||
| 144 | ['entities', 'ManagedObjectReference'], | ||
| 145 | ]; | ||
| 146 | return $self->soap_call('AddFilterEntities', undef, 0, $x_args, \%args); | ||
| 147 | } | ||
| 148 | |||
| 149 | sub AddGuestAlias { | ||
| 150 | my ($self, %args) = @_; | ||
| 151 | my $x_args = [ | ||
| 152 | ['_this', 'ManagedObjectReference'], | ||
| 153 | ['vm', 'ManagedObjectReference'], | ||
| 154 | ['auth', 'GuestAuthentication'], | ||
| 155 | ['username', undef], | ||
| 156 | ['mapCert', 'boolean'], | ||
| 157 | ['base64Cert', undef], | ||
| 158 | ['aliasInfo', 'GuestAuthAliasInfo'], | ||
| 159 | ]; | ||
| 160 | return $self->soap_call('AddGuestAlias', undef, 0, $x_args, \%args); | ||
| 161 | } | ||
| 162 | |||
| 163 | sub AddHost_Task { | ||
| 164 | my ($self, %args) = @_; | ||
| 165 | my $x_args = [ | ||
| 166 | ['_this', 'ManagedObjectReference'], | ||
| 167 | ['spec', 'HostConnectSpec'], | ||
| 168 | ['asConnected', 'boolean'], | ||
| 169 | ['resourcePool', 'ManagedObjectReference'], | ||
| 170 | ['license', undef], | ||
| 171 | ]; | ||
| 172 | return $self->soap_call('AddHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 173 | } | ||
| 174 | |||
| 175 | sub AddInternetScsiSendTargets { | ||
| 176 | my ($self, %args) = @_; | ||
| 177 | my $x_args = [ | ||
| 178 | ['_this', 'ManagedObjectReference'], | ||
| 179 | ['iScsiHbaDevice', undef], | ||
| 180 | ['targets', 'HostInternetScsiHbaSendTarget'], | ||
| 181 | ]; | ||
| 182 | return $self->soap_call('AddInternetScsiSendTargets', undef, 0, $x_args, \%args); | ||
| 183 | } | ||
| 184 | |||
| 185 | sub AddInternetScsiStaticTargets { | ||
| 186 | my ($self, %args) = @_; | ||
| 187 | my $x_args = [ | ||
| 188 | ['_this', 'ManagedObjectReference'], | ||
| 189 | ['iScsiHbaDevice', undef], | ||
| 190 | ['targets', 'HostInternetScsiHbaStaticTarget'], | ||
| 191 | ]; | ||
| 192 | return $self->soap_call('AddInternetScsiStaticTargets', undef, 0, $x_args, \%args); | ||
| 193 | } | ||
| 194 | |||
| 195 | sub AddKey { | ||
| 196 | my ($self, %args) = @_; | ||
| 197 | my $x_args = [ | ||
| 198 | ['_this', 'ManagedObjectReference'], | ||
| 199 | ['key', 'CryptoKeyPlain'], | ||
| 200 | ]; | ||
| 201 | return $self->soap_call('AddKey', undef, 0, $x_args, \%args); | ||
| 202 | } | ||
| 203 | |||
| 204 | sub AddKeys { | ||
| 205 | my ($self, %args) = @_; | ||
| 206 | my $x_args = [ | ||
| 207 | ['_this', 'ManagedObjectReference'], | ||
| 208 | ['keys', 'CryptoKeyPlain'], | ||
| 209 | ]; | ||
| 210 | return $self->soap_call('AddKeys', 'CryptoKeyResult', 1, $x_args, \%args); | ||
| 211 | } | ||
| 212 | |||
| 213 | sub AddLicense { | ||
| 214 | my ($self, %args) = @_; | ||
| 215 | my $x_args = [ | ||
| 216 | ['_this', 'ManagedObjectReference'], | ||
| 217 | ['licenseKey', undef], | ||
| 218 | ['labels', 'KeyValue'], | ||
| 219 | ]; | ||
| 220 | return $self->soap_call('AddLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 221 | } | ||
| 222 | |||
| 223 | sub AddMonitoredEntities { | ||
| 224 | my ($self, %args) = @_; | ||
| 225 | my $x_args = [ | ||
| 226 | ['_this', 'ManagedObjectReference'], | ||
| 227 | ['providerId', undef], | ||
| 228 | ['entities', 'ManagedObjectReference'], | ||
| 229 | ]; | ||
| 230 | return $self->soap_call('AddMonitoredEntities', undef, 0, $x_args, \%args); | ||
| 231 | } | ||
| 232 | |||
| 233 | sub AddNetworkResourcePool { | ||
| 234 | my ($self, %args) = @_; | ||
| 235 | my $x_args = [ | ||
| 236 | ['_this', 'ManagedObjectReference'], | ||
| 237 | ['configSpec', 'DVSNetworkResourcePoolConfigSpec'], | ||
| 238 | ]; | ||
| 239 | return $self->soap_call('AddNetworkResourcePool', undef, 0, $x_args, \%args); | ||
| 240 | } | ||
| 241 | |||
| 242 | sub AddPortGroup { | ||
| 243 | my ($self, %args) = @_; | ||
| 244 | my $x_args = [ | ||
| 245 | ['_this', 'ManagedObjectReference'], | ||
| 246 | ['portgrp', 'HostPortGroupSpec'], | ||
| 247 | ]; | ||
| 248 | return $self->soap_call('AddPortGroup', undef, 0, $x_args, \%args); | ||
| 249 | } | ||
| 250 | |||
| 251 | sub AddServiceConsoleVirtualNic { | ||
| 252 | my ($self, %args) = @_; | ||
| 253 | my $x_args = [ | ||
| 254 | ['_this', 'ManagedObjectReference'], | ||
| 255 | ['portgroup', undef], | ||
| 256 | ['nic', 'HostVirtualNicSpec'], | ||
| 257 | ]; | ||
| 258 | return $self->soap_call('AddServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 259 | } | ||
| 260 | |||
| 261 | sub AddStandaloneHost_Task { | ||
| 262 | my ($self, %args) = @_; | ||
| 263 | my $x_args = [ | ||
| 264 | ['_this', 'ManagedObjectReference'], | ||
| 265 | ['spec', 'HostConnectSpec'], | ||
| 266 | ['compResSpec', 'ComputeResourceConfigSpec'], | ||
| 267 | ['addConnected', 'boolean'], | ||
| 268 | ['license', undef], | ||
| 269 | ]; | ||
| 270 | return $self->soap_call('AddStandaloneHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 271 | } | ||
| 272 | |||
| 273 | sub AddVirtualNic { | ||
| 274 | my ($self, %args) = @_; | ||
| 275 | my $x_args = [ | ||
| 276 | ['_this', 'ManagedObjectReference'], | ||
| 277 | ['portgroup', undef], | ||
| 278 | ['nic', 'HostVirtualNicSpec'], | ||
| 279 | ]; | ||
| 280 | return $self->soap_call('AddVirtualNic', undef, 0, $x_args, \%args); | ||
| 281 | } | ||
| 282 | |||
| 283 | sub AddVirtualSwitch { | ||
| 284 | my ($self, %args) = @_; | ||
| 285 | my $x_args = [ | ||
| 286 | ['_this', 'ManagedObjectReference'], | ||
| 287 | ['vswitchName', undef], | ||
| 288 | ['spec', 'HostVirtualSwitchSpec'], | ||
| 289 | ]; | ||
| 290 | return $self->soap_call('AddVirtualSwitch', undef, 0, $x_args, \%args); | ||
| 291 | } | ||
| 292 | |||
| 293 | sub AllocateIpv4Address { | ||
| 294 | my ($self, %args) = @_; | ||
| 295 | my $x_args = [ | ||
| 296 | ['_this', 'ManagedObjectReference'], | ||
| 297 | ['dc', 'ManagedObjectReference'], | ||
| 298 | ['poolId', undef], | ||
| 299 | ['allocationId', undef], | ||
| 300 | ]; | ||
| 301 | return $self->soap_call('AllocateIpv4Address', undef, 0, $x_args, \%args); | ||
| 302 | } | ||
| 303 | |||
| 304 | sub AllocateIpv6Address { | ||
| 305 | my ($self, %args) = @_; | ||
| 306 | my $x_args = [ | ||
| 307 | ['_this', 'ManagedObjectReference'], | ||
| 308 | ['dc', 'ManagedObjectReference'], | ||
| 309 | ['poolId', undef], | ||
| 310 | ['allocationId', undef], | ||
| 311 | ]; | ||
| 312 | return $self->soap_call('AllocateIpv6Address', undef, 0, $x_args, \%args); | ||
| 313 | } | ||
| 314 | |||
| 315 | sub AnswerVM { | ||
| 316 | my ($self, %args) = @_; | ||
| 317 | my $x_args = [ | ||
| 318 | ['_this', 'ManagedObjectReference'], | ||
| 319 | ['questionId', undef], | ||
| 320 | ['answerChoice', undef], | ||
| 321 | ]; | ||
| 322 | return $self->soap_call('AnswerVM', undef, 0, $x_args, \%args); | ||
| 323 | } | ||
| 324 | |||
| 325 | sub ApplyEntitiesConfig_Task { | ||
| 326 | my ($self, %args) = @_; | ||
| 327 | my $x_args = [ | ||
| 328 | ['_this', 'ManagedObjectReference'], | ||
| 329 | ['applyConfigSpecs', 'ApplyHostProfileConfigurationSpec'], | ||
| 330 | ]; | ||
| 331 | return $self->soap_call('ApplyEntitiesConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 332 | } | ||
| 333 | |||
| 334 | sub ApplyHostConfig_Task { | ||
| 335 | my ($self, %args) = @_; | ||
| 336 | my $x_args = [ | ||
| 337 | ['_this', 'ManagedObjectReference'], | ||
| 338 | ['host', 'ManagedObjectReference'], | ||
| 339 | ['configSpec', 'HostConfigSpec'], | ||
| 340 | ['userInput', 'ProfileDeferredPolicyOptionParameter'], | ||
| 341 | ]; | ||
| 342 | return $self->soap_call('ApplyHostConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 343 | } | ||
| 344 | |||
| 345 | sub ApplyRecommendation { | ||
| 346 | my ($self, %args) = @_; | ||
| 347 | my $x_args = [ | ||
| 348 | ['_this', 'ManagedObjectReference'], | ||
| 349 | ['key', undef], | ||
| 350 | ]; | ||
| 351 | return $self->soap_call('ApplyRecommendation', undef, 0, $x_args, \%args); | ||
| 352 | } | ||
| 353 | |||
| 354 | sub ApplyStorageDrsRecommendationToPod_Task { | ||
| 355 | my ($self, %args) = @_; | ||
| 356 | my $x_args = [ | ||
| 357 | ['_this', 'ManagedObjectReference'], | ||
| 358 | ['pod', 'ManagedObjectReference'], | ||
| 359 | ['key', undef], | ||
| 360 | ]; | ||
| 361 | return $self->soap_call('ApplyStorageDrsRecommendationToPod_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 362 | } | ||
| 363 | |||
| 364 | sub ApplyStorageDrsRecommendation_Task { | ||
| 365 | my ($self, %args) = @_; | ||
| 366 | my $x_args = [ | ||
| 367 | ['_this', 'ManagedObjectReference'], | ||
| 368 | ['key', undef], | ||
| 369 | ]; | ||
| 370 | return $self->soap_call('ApplyStorageDrsRecommendation_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 371 | } | ||
| 372 | |||
| 373 | sub AreAlarmActionsEnabled { | ||
| 374 | my ($self, %args) = @_; | ||
| 375 | my $x_args = [ | ||
| 376 | ['_this', 'ManagedObjectReference'], | ||
| 377 | ['entity', 'ManagedObjectReference'], | ||
| 378 | ]; | ||
| 379 | return $self->soap_call('AreAlarmActionsEnabled', 'boolean', 0, $x_args, \%args); | ||
| 380 | } | ||
| 381 | |||
| 382 | sub AssignUserToGroup { | ||
| 383 | my ($self, %args) = @_; | ||
| 384 | my $x_args = [ | ||
| 385 | ['_this', 'ManagedObjectReference'], | ||
| 386 | ['user', undef], | ||
| 387 | ['group', undef], | ||
| 388 | ]; | ||
| 389 | return $self->soap_call('AssignUserToGroup', undef, 0, $x_args, \%args); | ||
| 390 | } | ||
| 391 | |||
| 392 | sub AssociateProfile { | ||
| 393 | my ($self, %args) = @_; | ||
| 394 | my $x_args = [ | ||
| 395 | ['_this', 'ManagedObjectReference'], | ||
| 396 | ['entity', 'ManagedObjectReference'], | ||
| 397 | ]; | ||
| 398 | return $self->soap_call('AssociateProfile', undef, 0, $x_args, \%args); | ||
| 399 | } | ||
| 400 | |||
| 401 | sub AttachDisk_Task { | ||
| 402 | my ($self, %args) = @_; | ||
| 403 | my $x_args = [ | ||
| 404 | ['_this', 'ManagedObjectReference'], | ||
| 405 | ['diskId', 'ID'], | ||
| 406 | ['datastore', 'ManagedObjectReference'], | ||
| 407 | ['controllerKey', undef], | ||
| 408 | ['unitNumber', undef], | ||
| 409 | ]; | ||
| 410 | return $self->soap_call('AttachDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 411 | } | ||
| 412 | |||
| 413 | sub AttachScsiLun { | ||
| 414 | my ($self, %args) = @_; | ||
| 415 | my $x_args = [ | ||
| 416 | ['_this', 'ManagedObjectReference'], | ||
| 417 | ['lunUuid', undef], | ||
| 418 | ]; | ||
| 419 | return $self->soap_call('AttachScsiLun', undef, 0, $x_args, \%args); | ||
| 420 | } | ||
| 421 | |||
| 422 | sub AttachScsiLunEx_Task { | ||
| 423 | my ($self, %args) = @_; | ||
| 424 | my $x_args = [ | ||
| 425 | ['_this', 'ManagedObjectReference'], | ||
| 426 | ['lunUuid', undef], | ||
| 427 | ]; | ||
| 428 | return $self->soap_call('AttachScsiLunEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 429 | } | ||
| 430 | |||
| 431 | sub AttachTagToVStorageObject { | ||
| 432 | my ($self, %args) = @_; | ||
| 433 | my $x_args = [ | ||
| 434 | ['_this', 'ManagedObjectReference'], | ||
| 435 | ['id', 'ID'], | ||
| 436 | ['category', undef], | ||
| 437 | ['tag', undef], | ||
| 438 | ]; | ||
| 439 | return $self->soap_call('AttachTagToVStorageObject', undef, 0, $x_args, \%args); | ||
| 440 | } | ||
| 441 | |||
| 442 | sub AttachVmfsExtent { | ||
| 443 | my ($self, %args) = @_; | ||
| 444 | my $x_args = [ | ||
| 445 | ['_this', 'ManagedObjectReference'], | ||
| 446 | ['vmfsPath', undef], | ||
| 447 | ['extent', 'HostScsiDiskPartition'], | ||
| 448 | ]; | ||
| 449 | return $self->soap_call('AttachVmfsExtent', undef, 0, $x_args, \%args); | ||
| 450 | } | ||
| 451 | |||
| 452 | sub AutoStartPowerOff { | ||
| 453 | my ($self, %args) = @_; | ||
| 454 | my $x_args = [ | ||
| 455 | ['_this', 'ManagedObjectReference'], | ||
| 456 | ]; | ||
| 457 | return $self->soap_call('AutoStartPowerOff', undef, 0, $x_args, \%args); | ||
| 458 | } | ||
| 459 | |||
| 460 | sub AutoStartPowerOn { | ||
| 461 | my ($self, %args) = @_; | ||
| 462 | my $x_args = [ | ||
| 463 | ['_this', 'ManagedObjectReference'], | ||
| 464 | ]; | ||
| 465 | return $self->soap_call('AutoStartPowerOn', undef, 0, $x_args, \%args); | ||
| 466 | } | ||
| 467 | |||
| 468 | sub BackupFirmwareConfiguration { | ||
| 469 | my ($self, %args) = @_; | ||
| 470 | my $x_args = [ | ||
| 471 | ['_this', 'ManagedObjectReference'], | ||
| 472 | ]; | ||
| 473 | return $self->soap_call('BackupFirmwareConfiguration', undef, 0, $x_args, \%args); | ||
| 474 | } | ||
| 475 | |||
| 476 | sub BindVnic { | ||
| 477 | my ($self, %args) = @_; | ||
| 478 | my $x_args = [ | ||
| 479 | ['_this', 'ManagedObjectReference'], | ||
| 480 | ['iScsiHbaName', undef], | ||
| 481 | ['vnicDevice', undef], | ||
| 482 | ]; | ||
| 483 | return $self->soap_call('BindVnic', undef, 0, $x_args, \%args); | ||
| 484 | } | ||
| 485 | |||
| 486 | sub BrowseDiagnosticLog { | ||
| 487 | my ($self, %args) = @_; | ||
| 488 | my $x_args = [ | ||
| 489 | ['_this', 'ManagedObjectReference'], | ||
| 490 | ['host', 'ManagedObjectReference'], | ||
| 491 | ['key', undef], | ||
| 492 | ['start', undef], | ||
| 493 | ['lines', undef], | ||
| 494 | ]; | ||
| 495 | return $self->soap_call('BrowseDiagnosticLog', 'DiagnosticManagerLogHeader', 0, $x_args, \%args); | ||
| 496 | } | ||
| 497 | |||
| 498 | sub CanProvisionObjects { | ||
| 499 | my ($self, %args) = @_; | ||
| 500 | my $x_args = [ | ||
| 501 | ['_this', 'ManagedObjectReference'], | ||
| 502 | ['npbs', 'VsanNewPolicyBatch'], | ||
| 503 | ['ignoreSatisfiability', 'boolean'], | ||
| 504 | ]; | ||
| 505 | return $self->soap_call('CanProvisionObjects', 'VsanPolicySatisfiability', 1, $x_args, \%args); | ||
| 506 | } | ||
| 507 | |||
| 508 | sub CancelRecommendation { | ||
| 509 | my ($self, %args) = @_; | ||
| 510 | my $x_args = [ | ||
| 511 | ['_this', 'ManagedObjectReference'], | ||
| 512 | ['key', undef], | ||
| 513 | ]; | ||
| 514 | return $self->soap_call('CancelRecommendation', undef, 0, $x_args, \%args); | ||
| 515 | } | ||
| 516 | |||
| 517 | sub CancelRetrievePropertiesEx { | ||
| 518 | my ($self, %args) = @_; | ||
| 519 | my $x_args = [ | ||
| 520 | ['_this', 'ManagedObjectReference'], | ||
| 521 | ['token', undef], | ||
| 522 | ]; | ||
| 523 | return $self->soap_call('CancelRetrievePropertiesEx', undef, 0, $x_args, \%args); | ||
| 524 | } | ||
| 525 | |||
| 526 | sub CancelStorageDrsRecommendation { | ||
| 527 | my ($self, %args) = @_; | ||
| 528 | my $x_args = [ | ||
| 529 | ['_this', 'ManagedObjectReference'], | ||
| 530 | ['key', undef], | ||
| 531 | ]; | ||
| 532 | return $self->soap_call('CancelStorageDrsRecommendation', undef, 0, $x_args, \%args); | ||
| 533 | } | ||
| 534 | |||
| 535 | sub CancelTask { | ||
| 536 | my ($self, %args) = @_; | ||
| 537 | my $x_args = [ | ||
| 538 | ['_this', 'ManagedObjectReference'], | ||
| 539 | ]; | ||
| 540 | return $self->soap_call('CancelTask', undef, 0, $x_args, \%args); | ||
| 541 | } | ||
| 542 | |||
| 543 | sub CancelWaitForUpdates { | ||
| 544 | my ($self, %args) = @_; | ||
| 545 | my $x_args = [ | ||
| 546 | ['_this', 'ManagedObjectReference'], | ||
| 547 | ]; | ||
| 548 | return $self->soap_call('CancelWaitForUpdates', undef, 0, $x_args, \%args); | ||
| 549 | } | ||
| 550 | |||
| 551 | sub CertMgrRefreshCACertificatesAndCRLs_Task { | ||
| 552 | my ($self, %args) = @_; | ||
| 553 | my $x_args = [ | ||
| 554 | ['_this', 'ManagedObjectReference'], | ||
| 555 | ['host', 'ManagedObjectReference'], | ||
| 556 | ]; | ||
| 557 | return $self->soap_call('CertMgrRefreshCACertificatesAndCRLs_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 558 | } | ||
| 559 | |||
| 560 | sub CertMgrRefreshCertificates_Task { | ||
| 561 | my ($self, %args) = @_; | ||
| 562 | my $x_args = [ | ||
| 563 | ['_this', 'ManagedObjectReference'], | ||
| 564 | ['host', 'ManagedObjectReference'], | ||
| 565 | ]; | ||
| 566 | return $self->soap_call('CertMgrRefreshCertificates_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 567 | } | ||
| 568 | |||
| 569 | sub CertMgrRevokeCertificates_Task { | ||
| 570 | my ($self, %args) = @_; | ||
| 571 | my $x_args = [ | ||
| 572 | ['_this', 'ManagedObjectReference'], | ||
| 573 | ['host', 'ManagedObjectReference'], | ||
| 574 | ]; | ||
| 575 | return $self->soap_call('CertMgrRevokeCertificates_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 576 | } | ||
| 577 | |||
| 578 | sub ChangeAccessMode { | ||
| 579 | my ($self, %args) = @_; | ||
| 580 | my $x_args = [ | ||
| 581 | ['_this', 'ManagedObjectReference'], | ||
| 582 | ['principal', undef], | ||
| 583 | ['isGroup', 'boolean'], | ||
| 584 | ['accessMode', 'HostAccessMode'], | ||
| 585 | ]; | ||
| 586 | return $self->soap_call('ChangeAccessMode', undef, 0, $x_args, \%args); | ||
| 587 | } | ||
| 588 | |||
| 589 | sub ChangeFileAttributesInGuest { | ||
| 590 | my ($self, %args) = @_; | ||
| 591 | my $x_args = [ | ||
| 592 | ['_this', 'ManagedObjectReference'], | ||
| 593 | ['vm', 'ManagedObjectReference'], | ||
| 594 | ['auth', 'GuestAuthentication'], | ||
| 595 | ['guestFilePath', undef], | ||
| 596 | ['fileAttributes', 'GuestFileAttributes'], | ||
| 597 | ]; | ||
| 598 | return $self->soap_call('ChangeFileAttributesInGuest', undef, 0, $x_args, \%args); | ||
| 599 | } | ||
| 600 | |||
| 601 | sub ChangeLockdownMode { | ||
| 602 | my ($self, %args) = @_; | ||
| 603 | my $x_args = [ | ||
| 604 | ['_this', 'ManagedObjectReference'], | ||
| 605 | ['mode', 'HostLockdownMode'], | ||
| 606 | ]; | ||
| 607 | return $self->soap_call('ChangeLockdownMode', undef, 0, $x_args, \%args); | ||
| 608 | } | ||
| 609 | |||
| 610 | sub ChangeNFSUserPassword { | ||
| 611 | my ($self, %args) = @_; | ||
| 612 | my $x_args = [ | ||
| 613 | ['_this', 'ManagedObjectReference'], | ||
| 614 | ['password', undef], | ||
| 615 | ]; | ||
| 616 | return $self->soap_call('ChangeNFSUserPassword', undef, 0, $x_args, \%args); | ||
| 617 | } | ||
| 618 | |||
| 619 | sub ChangeOwner { | ||
| 620 | my ($self, %args) = @_; | ||
| 621 | my $x_args = [ | ||
| 622 | ['_this', 'ManagedObjectReference'], | ||
| 623 | ['name', undef], | ||
| 624 | ['datacenter', 'ManagedObjectReference'], | ||
| 625 | ['owner', undef], | ||
| 626 | ]; | ||
| 627 | return $self->soap_call('ChangeOwner', undef, 0, $x_args, \%args); | ||
| 628 | } | ||
| 629 | |||
| 630 | sub CheckAddHostEvc_Task { | ||
| 631 | my ($self, %args) = @_; | ||
| 632 | my $x_args = [ | ||
| 633 | ['_this', 'ManagedObjectReference'], | ||
| 634 | ['cnxSpec', 'HostConnectSpec'], | ||
| 635 | ]; | ||
| 636 | return $self->soap_call('CheckAddHostEvc_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 637 | } | ||
| 638 | |||
| 639 | sub CheckAnswerFileStatus_Task { | ||
| 640 | my ($self, %args) = @_; | ||
| 641 | my $x_args = [ | ||
| 642 | ['_this', 'ManagedObjectReference'], | ||
| 643 | ['host', 'ManagedObjectReference'], | ||
| 644 | ]; | ||
| 645 | return $self->soap_call('CheckAnswerFileStatus_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 646 | } | ||
| 647 | |||
| 648 | sub CheckCompatibility_Task { | ||
| 649 | my ($self, %args) = @_; | ||
| 650 | my $x_args = [ | ||
| 651 | ['_this', 'ManagedObjectReference'], | ||
| 652 | ['vm', 'ManagedObjectReference'], | ||
| 653 | ['host', 'ManagedObjectReference'], | ||
| 654 | ['pool', 'ManagedObjectReference'], | ||
| 655 | ['testType', undef], | ||
| 656 | ]; | ||
| 657 | return $self->soap_call('CheckCompatibility_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 658 | } | ||
| 659 | |||
| 660 | sub CheckCompliance_Task { | ||
| 661 | my ($self, %args) = @_; | ||
| 662 | my $x_args = [ | ||
| 663 | ['_this', 'ManagedObjectReference'], | ||
| 664 | ['profile', 'ManagedObjectReference'], | ||
| 665 | ['entity', 'ManagedObjectReference'], | ||
| 666 | ]; | ||
| 667 | return $self->soap_call('CheckCompliance_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 668 | } | ||
| 669 | |||
| 670 | sub CheckConfigureEvcMode_Task { | ||
| 671 | my ($self, %args) = @_; | ||
| 672 | my $x_args = [ | ||
| 673 | ['_this', 'ManagedObjectReference'], | ||
| 674 | ['evcModeKey', undef], | ||
| 675 | ]; | ||
| 676 | return $self->soap_call('CheckConfigureEvcMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 677 | } | ||
| 678 | |||
| 679 | sub CheckCustomizationResources { | ||
| 680 | my ($self, %args) = @_; | ||
| 681 | my $x_args = [ | ||
| 682 | ['_this', 'ManagedObjectReference'], | ||
| 683 | ['guestOs', undef], | ||
| 684 | ]; | ||
| 685 | return $self->soap_call('CheckCustomizationResources', undef, 0, $x_args, \%args); | ||
| 686 | } | ||
| 687 | |||
| 688 | sub CheckCustomizationSpec { | ||
| 689 | my ($self, %args) = @_; | ||
| 690 | my $x_args = [ | ||
| 691 | ['_this', 'ManagedObjectReference'], | ||
| 692 | ['spec', 'CustomizationSpec'], | ||
| 693 | ]; | ||
| 694 | return $self->soap_call('CheckCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 695 | } | ||
| 696 | |||
| 697 | sub CheckForUpdates { | ||
| 698 | my ($self, %args) = @_; | ||
| 699 | my $x_args = [ | ||
| 700 | ['_this', 'ManagedObjectReference'], | ||
| 701 | ['version', undef], | ||
| 702 | ]; | ||
| 703 | return $self->soap_call('CheckForUpdates', 'UpdateSet', 0, $x_args, \%args); | ||
| 704 | } | ||
| 705 | |||
| 706 | sub CheckHostPatch_Task { | ||
| 707 | my ($self, %args) = @_; | ||
| 708 | my $x_args = [ | ||
| 709 | ['_this', 'ManagedObjectReference'], | ||
| 710 | ['metaUrls', undef], | ||
| 711 | ['bundleUrls', undef], | ||
| 712 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 713 | ]; | ||
| 714 | return $self->soap_call('CheckHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 715 | } | ||
| 716 | |||
| 717 | sub CheckLicenseFeature { | ||
| 718 | my ($self, %args) = @_; | ||
| 719 | my $x_args = [ | ||
| 720 | ['_this', 'ManagedObjectReference'], | ||
| 721 | ['host', 'ManagedObjectReference'], | ||
| 722 | ['featureKey', undef], | ||
| 723 | ]; | ||
| 724 | return $self->soap_call('CheckLicenseFeature', 'boolean', 0, $x_args, \%args); | ||
| 725 | } | ||
| 726 | |||
| 727 | sub CheckMigrate_Task { | ||
| 728 | my ($self, %args) = @_; | ||
| 729 | my $x_args = [ | ||
| 730 | ['_this', 'ManagedObjectReference'], | ||
| 731 | ['vm', 'ManagedObjectReference'], | ||
| 732 | ['host', 'ManagedObjectReference'], | ||
| 733 | ['pool', 'ManagedObjectReference'], | ||
| 734 | ['state', 'VirtualMachinePowerState'], | ||
| 735 | ['testType', undef], | ||
| 736 | ]; | ||
| 737 | return $self->soap_call('CheckMigrate_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 738 | } | ||
| 739 | |||
| 740 | sub CheckProfileCompliance_Task { | ||
| 741 | my ($self, %args) = @_; | ||
| 742 | my $x_args = [ | ||
| 743 | ['_this', 'ManagedObjectReference'], | ||
| 744 | ['entity', 'ManagedObjectReference'], | ||
| 745 | ]; | ||
| 746 | return $self->soap_call('CheckProfileCompliance_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 747 | } | ||
| 748 | |||
| 749 | sub CheckRelocate_Task { | ||
| 750 | my ($self, %args) = @_; | ||
| 751 | my $x_args = [ | ||
| 752 | ['_this', 'ManagedObjectReference'], | ||
| 753 | ['vm', 'ManagedObjectReference'], | ||
| 754 | ['spec', 'VirtualMachineRelocateSpec'], | ||
| 755 | ['testType', undef], | ||
| 756 | ]; | ||
| 757 | return $self->soap_call('CheckRelocate_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 758 | } | ||
| 759 | |||
| 760 | sub ClearComplianceStatus { | ||
| 761 | my ($self, %args) = @_; | ||
| 762 | my $x_args = [ | ||
| 763 | ['_this', 'ManagedObjectReference'], | ||
| 764 | ['profile', 'ManagedObjectReference'], | ||
| 765 | ['entity', 'ManagedObjectReference'], | ||
| 766 | ]; | ||
| 767 | return $self->soap_call('ClearComplianceStatus', undef, 0, $x_args, \%args); | ||
| 768 | } | ||
| 769 | |||
| 770 | sub ClearNFSUser { | ||
| 771 | my ($self, %args) = @_; | ||
| 772 | my $x_args = [ | ||
| 773 | ['_this', 'ManagedObjectReference'], | ||
| 774 | ]; | ||
| 775 | return $self->soap_call('ClearNFSUser', undef, 0, $x_args, \%args); | ||
| 776 | } | ||
| 777 | |||
| 778 | sub ClearSystemEventLog { | ||
| 779 | my ($self, %args) = @_; | ||
| 780 | my $x_args = [ | ||
| 781 | ['_this', 'ManagedObjectReference'], | ||
| 782 | ]; | ||
| 783 | return $self->soap_call('ClearSystemEventLog', undef, 0, $x_args, \%args); | ||
| 784 | } | ||
| 785 | |||
| 786 | sub CloneSession { | ||
| 787 | my ($self, %args) = @_; | ||
| 788 | my $x_args = [ | ||
| 789 | ['_this', 'ManagedObjectReference'], | ||
| 790 | ['cloneTicket', undef], | ||
| 791 | ]; | ||
| 792 | return $self->soap_call('CloneSession', 'UserSession', 0, $x_args, \%args); | ||
| 793 | } | ||
| 794 | |||
| 795 | sub CloneVApp_Task { | ||
| 796 | my ($self, %args) = @_; | ||
| 797 | my $x_args = [ | ||
| 798 | ['_this', 'ManagedObjectReference'], | ||
| 799 | ['name', undef], | ||
| 800 | ['target', 'ManagedObjectReference'], | ||
| 801 | ['spec', 'VAppCloneSpec'], | ||
| 802 | ]; | ||
| 803 | return $self->soap_call('CloneVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 804 | } | ||
| 805 | |||
| 806 | sub CloneVM_Task { | ||
| 807 | my ($self, %args) = @_; | ||
| 808 | my $x_args = [ | ||
| 809 | ['_this', 'ManagedObjectReference'], | ||
| 810 | ['folder', 'ManagedObjectReference'], | ||
| 811 | ['name', undef], | ||
| 812 | ['spec', 'VirtualMachineCloneSpec'], | ||
| 813 | ]; | ||
| 814 | return $self->soap_call('CloneVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 815 | } | ||
| 816 | |||
| 817 | sub CloneVStorageObject_Task { | ||
| 818 | my ($self, %args) = @_; | ||
| 819 | my $x_args = [ | ||
| 820 | ['_this', 'ManagedObjectReference'], | ||
| 821 | ['id', 'ID'], | ||
| 822 | ['datastore', 'ManagedObjectReference'], | ||
| 823 | ['spec', 'VslmCloneSpec'], | ||
| 824 | ]; | ||
| 825 | return $self->soap_call('CloneVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 826 | } | ||
| 827 | |||
| 828 | sub CloseInventoryViewFolder { | ||
| 829 | my ($self, %args) = @_; | ||
| 830 | my $x_args = [ | ||
| 831 | ['_this', 'ManagedObjectReference'], | ||
| 832 | ['entity', 'ManagedObjectReference'], | ||
| 833 | ]; | ||
| 834 | return $self->soap_call('CloseInventoryViewFolder', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 835 | } | ||
| 836 | |||
| 837 | sub ClusterEnterMaintenanceMode { | ||
| 838 | my ($self, %args) = @_; | ||
| 839 | my $x_args = [ | ||
| 840 | ['_this', 'ManagedObjectReference'], | ||
| 841 | ['host', 'ManagedObjectReference'], | ||
| 842 | ['option', 'OptionValue'], | ||
| 843 | ]; | ||
| 844 | return $self->soap_call('ClusterEnterMaintenanceMode', 'ClusterEnterMaintenanceResult', 0, $x_args, \%args); | ||
| 845 | } | ||
| 846 | |||
| 847 | sub ComputeDiskPartitionInfo { | ||
| 848 | my ($self, %args) = @_; | ||
| 849 | my $x_args = [ | ||
| 850 | ['_this', 'ManagedObjectReference'], | ||
| 851 | ['devicePath', undef], | ||
| 852 | ['layout', 'HostDiskPartitionLayout'], | ||
| 853 | ['partitionFormat', undef], | ||
| 854 | ]; | ||
| 855 | return $self->soap_call('ComputeDiskPartitionInfo', 'HostDiskPartitionInfo', 0, $x_args, \%args); | ||
| 856 | } | ||
| 857 | |||
| 858 | sub ComputeDiskPartitionInfoForResize { | ||
| 859 | my ($self, %args) = @_; | ||
| 860 | my $x_args = [ | ||
| 861 | ['_this', 'ManagedObjectReference'], | ||
| 862 | ['partition', 'HostScsiDiskPartition'], | ||
| 863 | ['blockRange', 'HostDiskPartitionBlockRange'], | ||
| 864 | ['partitionFormat', undef], | ||
| 865 | ]; | ||
| 866 | return $self->soap_call('ComputeDiskPartitionInfoForResize', 'HostDiskPartitionInfo', 0, $x_args, \%args); | ||
| 867 | } | ||
| 868 | |||
| 869 | sub ConfigureCryptoKey { | ||
| 870 | my ($self, %args) = @_; | ||
| 871 | my $x_args = [ | ||
| 872 | ['_this', 'ManagedObjectReference'], | ||
| 873 | ['keyId', 'CryptoKeyId'], | ||
| 874 | ]; | ||
| 875 | return $self->soap_call('ConfigureCryptoKey', undef, 0, $x_args, \%args); | ||
| 876 | } | ||
| 877 | |||
| 878 | sub ConfigureDatastoreIORM_Task { | ||
| 879 | my ($self, %args) = @_; | ||
| 880 | my $x_args = [ | ||
| 881 | ['_this', 'ManagedObjectReference'], | ||
| 882 | ['datastore', 'ManagedObjectReference'], | ||
| 883 | ['spec', 'StorageIORMConfigSpec'], | ||
| 884 | ]; | ||
| 885 | return $self->soap_call('ConfigureDatastoreIORM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 886 | } | ||
| 887 | |||
| 888 | sub ConfigureDatastorePrincipal { | ||
| 889 | my ($self, %args) = @_; | ||
| 890 | my $x_args = [ | ||
| 891 | ['_this', 'ManagedObjectReference'], | ||
| 892 | ['userName', undef], | ||
| 893 | ['password', undef], | ||
| 894 | ]; | ||
| 895 | return $self->soap_call('ConfigureDatastorePrincipal', undef, 0, $x_args, \%args); | ||
| 896 | } | ||
| 897 | |||
| 898 | sub ConfigureEvcMode_Task { | ||
| 899 | my ($self, %args) = @_; | ||
| 900 | my $x_args = [ | ||
| 901 | ['_this', 'ManagedObjectReference'], | ||
| 902 | ['evcModeKey', undef], | ||
| 903 | ]; | ||
| 904 | return $self->soap_call('ConfigureEvcMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 905 | } | ||
| 906 | |||
| 907 | sub ConfigureHostCache_Task { | ||
| 908 | my ($self, %args) = @_; | ||
| 909 | my $x_args = [ | ||
| 910 | ['_this', 'ManagedObjectReference'], | ||
| 911 | ['spec', 'HostCacheConfigurationSpec'], | ||
| 912 | ]; | ||
| 913 | return $self->soap_call('ConfigureHostCache_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 914 | } | ||
| 915 | |||
| 916 | sub ConfigureLicenseSource { | ||
| 917 | my ($self, %args) = @_; | ||
| 918 | my $x_args = [ | ||
| 919 | ['_this', 'ManagedObjectReference'], | ||
| 920 | ['host', 'ManagedObjectReference'], | ||
| 921 | ['licenseSource', 'LicenseSource'], | ||
| 922 | ]; | ||
| 923 | return $self->soap_call('ConfigureLicenseSource', undef, 0, $x_args, \%args); | ||
| 924 | } | ||
| 925 | |||
| 926 | sub ConfigurePowerPolicy { | ||
| 927 | my ($self, %args) = @_; | ||
| 928 | my $x_args = [ | ||
| 929 | ['_this', 'ManagedObjectReference'], | ||
| 930 | ['key', undef], | ||
| 931 | ]; | ||
| 932 | return $self->soap_call('ConfigurePowerPolicy', undef, 0, $x_args, \%args); | ||
| 933 | } | ||
| 934 | |||
| 935 | sub ConfigureStorageDrsForPod_Task { | ||
| 936 | my ($self, %args) = @_; | ||
| 937 | my $x_args = [ | ||
| 938 | ['_this', 'ManagedObjectReference'], | ||
| 939 | ['pod', 'ManagedObjectReference'], | ||
| 940 | ['spec', 'StorageDrsConfigSpec'], | ||
| 941 | ['modify', 'boolean'], | ||
| 942 | ]; | ||
| 943 | return $self->soap_call('ConfigureStorageDrsForPod_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 944 | } | ||
| 945 | |||
| 946 | sub ConfigureVFlashResourceEx_Task { | ||
| 947 | my ($self, %args) = @_; | ||
| 948 | my $x_args = [ | ||
| 949 | ['_this', 'ManagedObjectReference'], | ||
| 950 | ['devicePath', undef], | ||
| 951 | ]; | ||
| 952 | return $self->soap_call('ConfigureVFlashResourceEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 953 | } | ||
| 954 | |||
| 955 | sub ConsolidateVMDisks_Task { | ||
| 956 | my ($self, %args) = @_; | ||
| 957 | my $x_args = [ | ||
| 958 | ['_this', 'ManagedObjectReference'], | ||
| 959 | ]; | ||
| 960 | return $self->soap_call('ConsolidateVMDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 961 | } | ||
| 962 | |||
| 963 | sub ContinueRetrievePropertiesEx { | ||
| 964 | my ($self, %args) = @_; | ||
| 965 | my $x_args = [ | ||
| 966 | ['_this', 'ManagedObjectReference'], | ||
| 967 | ['token', undef], | ||
| 968 | ]; | ||
| 969 | return $self->soap_call('ContinueRetrievePropertiesEx', 'RetrieveResult', 0, $x_args, \%args); | ||
| 970 | } | ||
| 971 | |||
| 972 | sub ConvertNamespacePathToUuidPath { | ||
| 973 | my ($self, %args) = @_; | ||
| 974 | my $x_args = [ | ||
| 975 | ['_this', 'ManagedObjectReference'], | ||
| 976 | ['datacenter', 'ManagedObjectReference'], | ||
| 977 | ['namespaceUrl', undef], | ||
| 978 | ]; | ||
| 979 | return $self->soap_call('ConvertNamespacePathToUuidPath', undef, 0, $x_args, \%args); | ||
| 980 | } | ||
| 981 | |||
| 982 | sub CopyDatastoreFile_Task { | ||
| 983 | my ($self, %args) = @_; | ||
| 984 | my $x_args = [ | ||
| 985 | ['_this', 'ManagedObjectReference'], | ||
| 986 | ['sourceName', undef], | ||
| 987 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 988 | ['destinationName', undef], | ||
| 989 | ['destinationDatacenter', 'ManagedObjectReference'], | ||
| 990 | ['force', 'boolean'], | ||
| 991 | ]; | ||
| 992 | return $self->soap_call('CopyDatastoreFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 993 | } | ||
| 994 | |||
| 995 | sub CopyVirtualDisk_Task { | ||
| 996 | my ($self, %args) = @_; | ||
| 997 | my $x_args = [ | ||
| 998 | ['_this', 'ManagedObjectReference'], | ||
| 999 | ['sourceName', undef], | ||
| 1000 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 1001 | ['destName', undef], | ||
| 1002 | ['destDatacenter', 'ManagedObjectReference'], | ||
| 1003 | ['destSpec', 'VirtualDiskSpec'], | ||
| 1004 | ['force', 'boolean'], | ||
| 1005 | ]; | ||
| 1006 | return $self->soap_call('CopyVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1007 | } | ||
| 1008 | |||
| 1009 | sub CreateAlarm { | ||
| 1010 | my ($self, %args) = @_; | ||
| 1011 | my $x_args = [ | ||
| 1012 | ['_this', 'ManagedObjectReference'], | ||
| 1013 | ['entity', 'ManagedObjectReference'], | ||
| 1014 | ['spec', 'AlarmSpec'], | ||
| 1015 | ]; | ||
| 1016 | return $self->soap_call('CreateAlarm', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1017 | } | ||
| 1018 | |||
| 1019 | sub CreateChildVM_Task { | ||
| 1020 | my ($self, %args) = @_; | ||
| 1021 | my $x_args = [ | ||
| 1022 | ['_this', 'ManagedObjectReference'], | ||
| 1023 | ['config', 'VirtualMachineConfigSpec'], | ||
| 1024 | ['host', 'ManagedObjectReference'], | ||
| 1025 | ]; | ||
| 1026 | return $self->soap_call('CreateChildVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1027 | } | ||
| 1028 | |||
| 1029 | sub CreateCluster { | ||
| 1030 | my ($self, %args) = @_; | ||
| 1031 | my $x_args = [ | ||
| 1032 | ['_this', 'ManagedObjectReference'], | ||
| 1033 | ['name', undef], | ||
| 1034 | ['spec', 'ClusterConfigSpec'], | ||
| 1035 | ]; | ||
| 1036 | return $self->soap_call('CreateCluster', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1037 | } | ||
| 1038 | |||
| 1039 | sub CreateClusterEx { | ||
| 1040 | my ($self, %args) = @_; | ||
| 1041 | my $x_args = [ | ||
| 1042 | ['_this', 'ManagedObjectReference'], | ||
| 1043 | ['name', undef], | ||
| 1044 | ['spec', 'ClusterConfigSpecEx'], | ||
| 1045 | ]; | ||
| 1046 | return $self->soap_call('CreateClusterEx', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1047 | } | ||
| 1048 | |||
| 1049 | sub CreateCollectorForEvents { | ||
| 1050 | my ($self, %args) = @_; | ||
| 1051 | my $x_args = [ | ||
| 1052 | ['_this', 'ManagedObjectReference'], | ||
| 1053 | ['filter', 'EventFilterSpec'], | ||
| 1054 | ]; | ||
| 1055 | return $self->soap_call('CreateCollectorForEvents', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1056 | } | ||
| 1057 | |||
| 1058 | sub CreateCollectorForTasks { | ||
| 1059 | my ($self, %args) = @_; | ||
| 1060 | my $x_args = [ | ||
| 1061 | ['_this', 'ManagedObjectReference'], | ||
| 1062 | ['filter', 'TaskFilterSpec'], | ||
| 1063 | ]; | ||
| 1064 | return $self->soap_call('CreateCollectorForTasks', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1065 | } | ||
| 1066 | |||
| 1067 | sub CreateContainerView { | ||
| 1068 | my ($self, %args) = @_; | ||
| 1069 | my $x_args = [ | ||
| 1070 | ['_this', 'ManagedObjectReference'], | ||
| 1071 | ['container', 'ManagedObjectReference'], | ||
| 1072 | ['type', undef], | ||
| 1073 | ['recursive', 'boolean'], | ||
| 1074 | ]; | ||
| 1075 | return $self->soap_call('CreateContainerView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1076 | } | ||
| 1077 | |||
| 1078 | sub CreateCustomizationSpec { | ||
| 1079 | my ($self, %args) = @_; | ||
| 1080 | my $x_args = [ | ||
| 1081 | ['_this', 'ManagedObjectReference'], | ||
| 1082 | ['item', 'CustomizationSpecItem'], | ||
| 1083 | ]; | ||
| 1084 | return $self->soap_call('CreateCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 1085 | } | ||
| 1086 | |||
| 1087 | sub CreateDVPortgroup_Task { | ||
| 1088 | my ($self, %args) = @_; | ||
| 1089 | my $x_args = [ | ||
| 1090 | ['_this', 'ManagedObjectReference'], | ||
| 1091 | ['spec', 'DVPortgroupConfigSpec'], | ||
| 1092 | ]; | ||
| 1093 | return $self->soap_call('CreateDVPortgroup_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1094 | } | ||
| 1095 | |||
| 1096 | sub CreateDVS_Task { | ||
| 1097 | my ($self, %args) = @_; | ||
| 1098 | my $x_args = [ | ||
| 1099 | ['_this', 'ManagedObjectReference'], | ||
| 1100 | ['spec', 'DVSCreateSpec'], | ||
| 1101 | ]; | ||
| 1102 | return $self->soap_call('CreateDVS_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1103 | } | ||
| 1104 | |||
| 1105 | sub CreateDatacenter { | ||
| 1106 | my ($self, %args) = @_; | ||
| 1107 | my $x_args = [ | ||
| 1108 | ['_this', 'ManagedObjectReference'], | ||
| 1109 | ['name', undef], | ||
| 1110 | ]; | ||
| 1111 | return $self->soap_call('CreateDatacenter', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1112 | } | ||
| 1113 | |||
| 1114 | sub CreateDefaultProfile { | ||
| 1115 | my ($self, %args) = @_; | ||
| 1116 | my $x_args = [ | ||
| 1117 | ['_this', 'ManagedObjectReference'], | ||
| 1118 | ['profileType', undef], | ||
| 1119 | ['profileTypeName', undef], | ||
| 1120 | ['profile', 'ManagedObjectReference'], | ||
| 1121 | ]; | ||
| 1122 | return $self->soap_call('CreateDefaultProfile', 'ApplyProfile', 0, $x_args, \%args); | ||
| 1123 | } | ||
| 1124 | |||
| 1125 | sub CreateDescriptor { | ||
| 1126 | my ($self, %args) = @_; | ||
| 1127 | my $x_args = [ | ||
| 1128 | ['_this', 'ManagedObjectReference'], | ||
| 1129 | ['obj', 'ManagedObjectReference'], | ||
| 1130 | ['cdp', 'OvfCreateDescriptorParams'], | ||
| 1131 | ]; | ||
| 1132 | return $self->soap_call('CreateDescriptor', 'OvfCreateDescriptorResult', 0, $x_args, \%args); | ||
| 1133 | } | ||
| 1134 | |||
| 1135 | sub CreateDiagnosticPartition { | ||
| 1136 | my ($self, %args) = @_; | ||
| 1137 | my $x_args = [ | ||
| 1138 | ['_this', 'ManagedObjectReference'], | ||
| 1139 | ['spec', 'HostDiagnosticPartitionCreateSpec'], | ||
| 1140 | ]; | ||
| 1141 | return $self->soap_call('CreateDiagnosticPartition', undef, 0, $x_args, \%args); | ||
| 1142 | } | ||
| 1143 | |||
| 1144 | sub CreateDirectory { | ||
| 1145 | my ($self, %args) = @_; | ||
| 1146 | my $x_args = [ | ||
| 1147 | ['_this', 'ManagedObjectReference'], | ||
| 1148 | ['datastore', 'ManagedObjectReference'], | ||
| 1149 | ['displayName', undef], | ||
| 1150 | ['policy', undef], | ||
| 1151 | ]; | ||
| 1152 | return $self->soap_call('CreateDirectory', undef, 0, $x_args, \%args); | ||
| 1153 | } | ||
| 1154 | |||
| 1155 | sub CreateDisk_Task { | ||
| 1156 | my ($self, %args) = @_; | ||
| 1157 | my $x_args = [ | ||
| 1158 | ['_this', 'ManagedObjectReference'], | ||
| 1159 | ['spec', 'VslmCreateSpec'], | ||
| 1160 | ]; | ||
| 1161 | return $self->soap_call('CreateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1162 | } | ||
| 1163 | |||
| 1164 | sub CreateFilter { | ||
| 1165 | my ($self, %args) = @_; | ||
| 1166 | my $x_args = [ | ||
| 1167 | ['_this', 'ManagedObjectReference'], | ||
| 1168 | ['spec', 'PropertyFilterSpec'], | ||
| 1169 | ['partialUpdates', 'boolean'], | ||
| 1170 | ]; | ||
| 1171 | return $self->soap_call('CreateFilter', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1172 | } | ||
| 1173 | |||
| 1174 | sub CreateFolder { | ||
| 1175 | my ($self, %args) = @_; | ||
| 1176 | my $x_args = [ | ||
| 1177 | ['_this', 'ManagedObjectReference'], | ||
| 1178 | ['name', undef], | ||
| 1179 | ]; | ||
| 1180 | return $self->soap_call('CreateFolder', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1181 | } | ||
| 1182 | |||
| 1183 | sub CreateGroup { | ||
| 1184 | my ($self, %args) = @_; | ||
| 1185 | my $x_args = [ | ||
| 1186 | ['_this', 'ManagedObjectReference'], | ||
| 1187 | ['group', 'HostAccountSpec'], | ||
| 1188 | ]; | ||
| 1189 | return $self->soap_call('CreateGroup', undef, 0, $x_args, \%args); | ||
| 1190 | } | ||
| 1191 | |||
| 1192 | sub CreateImportSpec { | ||
| 1193 | my ($self, %args) = @_; | ||
| 1194 | my $x_args = [ | ||
| 1195 | ['_this', 'ManagedObjectReference'], | ||
| 1196 | ['ovfDescriptor', undef], | ||
| 1197 | ['resourcePool', 'ManagedObjectReference'], | ||
| 1198 | ['datastore', 'ManagedObjectReference'], | ||
| 1199 | ['cisp', 'OvfCreateImportSpecParams'], | ||
| 1200 | ]; | ||
| 1201 | return $self->soap_call('CreateImportSpec', 'OvfCreateImportSpecResult', 0, $x_args, \%args); | ||
| 1202 | } | ||
| 1203 | |||
| 1204 | sub CreateInventoryView { | ||
| 1205 | my ($self, %args) = @_; | ||
| 1206 | my $x_args = [ | ||
| 1207 | ['_this', 'ManagedObjectReference'], | ||
| 1208 | ]; | ||
| 1209 | return $self->soap_call('CreateInventoryView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1210 | } | ||
| 1211 | |||
| 1212 | sub CreateIpPool { | ||
| 1213 | my ($self, %args) = @_; | ||
| 1214 | my $x_args = [ | ||
| 1215 | ['_this', 'ManagedObjectReference'], | ||
| 1216 | ['dc', 'ManagedObjectReference'], | ||
| 1217 | ['pool', 'IpPool'], | ||
| 1218 | ]; | ||
| 1219 | return $self->soap_call('CreateIpPool', undef, 0, $x_args, \%args); | ||
| 1220 | } | ||
| 1221 | |||
| 1222 | sub CreateListView { | ||
| 1223 | my ($self, %args) = @_; | ||
| 1224 | my $x_args = [ | ||
| 1225 | ['_this', 'ManagedObjectReference'], | ||
| 1226 | ['obj', 'ManagedObjectReference'], | ||
| 1227 | ]; | ||
| 1228 | return $self->soap_call('CreateListView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1229 | } | ||
| 1230 | |||
| 1231 | sub CreateListViewFromView { | ||
| 1232 | my ($self, %args) = @_; | ||
| 1233 | my $x_args = [ | ||
| 1234 | ['_this', 'ManagedObjectReference'], | ||
| 1235 | ['view', 'ManagedObjectReference'], | ||
| 1236 | ]; | ||
| 1237 | return $self->soap_call('CreateListViewFromView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1238 | } | ||
| 1239 | |||
| 1240 | sub CreateLocalDatastore { | ||
| 1241 | my ($self, %args) = @_; | ||
| 1242 | my $x_args = [ | ||
| 1243 | ['_this', 'ManagedObjectReference'], | ||
| 1244 | ['name', undef], | ||
| 1245 | ['path', undef], | ||
| 1246 | ]; | ||
| 1247 | return $self->soap_call('CreateLocalDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1248 | } | ||
| 1249 | |||
| 1250 | sub CreateNasDatastore { | ||
| 1251 | my ($self, %args) = @_; | ||
| 1252 | my $x_args = [ | ||
| 1253 | ['_this', 'ManagedObjectReference'], | ||
| 1254 | ['spec', 'HostNasVolumeSpec'], | ||
| 1255 | ]; | ||
| 1256 | return $self->soap_call('CreateNasDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1257 | } | ||
| 1258 | |||
| 1259 | sub CreateObjectScheduledTask { | ||
| 1260 | my ($self, %args) = @_; | ||
| 1261 | my $x_args = [ | ||
| 1262 | ['_this', 'ManagedObjectReference'], | ||
| 1263 | ['obj', 'ManagedObjectReference'], | ||
| 1264 | ['spec', 'ScheduledTaskSpec'], | ||
| 1265 | ]; | ||
| 1266 | return $self->soap_call('CreateObjectScheduledTask', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1267 | } | ||
| 1268 | |||
| 1269 | sub CreatePerfInterval { | ||
| 1270 | my ($self, %args) = @_; | ||
| 1271 | my $x_args = [ | ||
| 1272 | ['_this', 'ManagedObjectReference'], | ||
| 1273 | ['intervalId', 'PerfInterval'], | ||
| 1274 | ]; | ||
| 1275 | return $self->soap_call('CreatePerfInterval', undef, 0, $x_args, \%args); | ||
| 1276 | } | ||
| 1277 | |||
| 1278 | sub CreateProfile { | ||
| 1279 | my ($self, %args) = @_; | ||
| 1280 | my $x_args = [ | ||
| 1281 | ['_this', 'ManagedObjectReference'], | ||
| 1282 | ['createSpec', 'ProfileCreateSpec'], | ||
| 1283 | ]; | ||
| 1284 | return $self->soap_call('CreateProfile', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1285 | } | ||
| 1286 | |||
| 1287 | sub CreatePropertyCollector { | ||
| 1288 | my ($self, %args) = @_; | ||
| 1289 | my $x_args = [ | ||
| 1290 | ['_this', 'ManagedObjectReference'], | ||
| 1291 | ]; | ||
| 1292 | return $self->soap_call('CreatePropertyCollector', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1293 | } | ||
| 1294 | |||
| 1295 | sub CreateRegistryKeyInGuest { | ||
| 1296 | my ($self, %args) = @_; | ||
| 1297 | my $x_args = [ | ||
| 1298 | ['_this', 'ManagedObjectReference'], | ||
| 1299 | ['vm', 'ManagedObjectReference'], | ||
| 1300 | ['auth', 'GuestAuthentication'], | ||
| 1301 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 1302 | ['isVolatile', 'boolean'], | ||
| 1303 | ['classType', undef], | ||
| 1304 | ]; | ||
| 1305 | return $self->soap_call('CreateRegistryKeyInGuest', undef, 0, $x_args, \%args); | ||
| 1306 | } | ||
| 1307 | |||
| 1308 | sub CreateResourcePool { | ||
| 1309 | my ($self, %args) = @_; | ||
| 1310 | my $x_args = [ | ||
| 1311 | ['_this', 'ManagedObjectReference'], | ||
| 1312 | ['name', undef], | ||
| 1313 | ['spec', 'ResourceConfigSpec'], | ||
| 1314 | ]; | ||
| 1315 | return $self->soap_call('CreateResourcePool', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1316 | } | ||
| 1317 | |||
| 1318 | sub CreateScheduledTask { | ||
| 1319 | my ($self, %args) = @_; | ||
| 1320 | my $x_args = [ | ||
| 1321 | ['_this', 'ManagedObjectReference'], | ||
| 1322 | ['entity', 'ManagedObjectReference'], | ||
| 1323 | ['spec', 'ScheduledTaskSpec'], | ||
| 1324 | ]; | ||
| 1325 | return $self->soap_call('CreateScheduledTask', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1326 | } | ||
| 1327 | |||
| 1328 | sub CreateScreenshot_Task { | ||
| 1329 | my ($self, %args) = @_; | ||
| 1330 | my $x_args = [ | ||
| 1331 | ['_this', 'ManagedObjectReference'], | ||
| 1332 | ]; | ||
| 1333 | return $self->soap_call('CreateScreenshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1334 | } | ||
| 1335 | |||
| 1336 | sub CreateSecondaryVMEx_Task { | ||
| 1337 | my ($self, %args) = @_; | ||
| 1338 | my $x_args = [ | ||
| 1339 | ['_this', 'ManagedObjectReference'], | ||
| 1340 | ['host', 'ManagedObjectReference'], | ||
| 1341 | ['spec', 'FaultToleranceConfigSpec'], | ||
| 1342 | ]; | ||
| 1343 | return $self->soap_call('CreateSecondaryVMEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1344 | } | ||
| 1345 | |||
| 1346 | sub CreateSecondaryVM_Task { | ||
| 1347 | my ($self, %args) = @_; | ||
| 1348 | my $x_args = [ | ||
| 1349 | ['_this', 'ManagedObjectReference'], | ||
| 1350 | ['host', 'ManagedObjectReference'], | ||
| 1351 | ]; | ||
| 1352 | return $self->soap_call('CreateSecondaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1353 | } | ||
| 1354 | |||
| 1355 | sub CreateSnapshotEx_Task { | ||
| 1356 | my ($self, %args) = @_; | ||
| 1357 | my $x_args = [ | ||
| 1358 | ['_this', 'ManagedObjectReference'], | ||
| 1359 | ['name', undef], | ||
| 1360 | ['description', undef], | ||
| 1361 | ['memory', 'boolean'], | ||
| 1362 | ['quiesceSpec', 'VirtualMachineGuestQuiesceSpec'], | ||
| 1363 | ]; | ||
| 1364 | return $self->soap_call('CreateSnapshotEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1365 | } | ||
| 1366 | |||
| 1367 | sub CreateSnapshot_Task { | ||
| 1368 | my ($self, %args) = @_; | ||
| 1369 | my $x_args = [ | ||
| 1370 | ['_this', 'ManagedObjectReference'], | ||
| 1371 | ['name', undef], | ||
| 1372 | ['description', undef], | ||
| 1373 | ['memory', 'boolean'], | ||
| 1374 | ['quiesce', 'boolean'], | ||
| 1375 | ]; | ||
| 1376 | return $self->soap_call('CreateSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1377 | } | ||
| 1378 | |||
| 1379 | sub CreateStoragePod { | ||
| 1380 | my ($self, %args) = @_; | ||
| 1381 | my $x_args = [ | ||
| 1382 | ['_this', 'ManagedObjectReference'], | ||
| 1383 | ['name', undef], | ||
| 1384 | ]; | ||
| 1385 | return $self->soap_call('CreateStoragePod', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1386 | } | ||
| 1387 | |||
| 1388 | sub CreateTask { | ||
| 1389 | my ($self, %args) = @_; | ||
| 1390 | my $x_args = [ | ||
| 1391 | ['_this', 'ManagedObjectReference'], | ||
| 1392 | ['obj', 'ManagedObjectReference'], | ||
| 1393 | ['taskTypeId', undef], | ||
| 1394 | ['initiatedBy', undef], | ||
| 1395 | ['cancelable', 'boolean'], | ||
| 1396 | ['parentTaskKey', undef], | ||
| 1397 | ['activationId', undef], | ||
| 1398 | ]; | ||
| 1399 | return $self->soap_call('CreateTask', 'TaskInfo', 0, $x_args, \%args); | ||
| 1400 | } | ||
| 1401 | |||
| 1402 | sub CreateTemporaryDirectoryInGuest { | ||
| 1403 | my ($self, %args) = @_; | ||
| 1404 | my $x_args = [ | ||
| 1405 | ['_this', 'ManagedObjectReference'], | ||
| 1406 | ['vm', 'ManagedObjectReference'], | ||
| 1407 | ['auth', 'GuestAuthentication'], | ||
| 1408 | ['prefix', undef], | ||
| 1409 | ['suffix', undef], | ||
| 1410 | ['directoryPath', undef], | ||
| 1411 | ]; | ||
| 1412 | return $self->soap_call('CreateTemporaryDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 1413 | } | ||
| 1414 | |||
| 1415 | sub CreateTemporaryFileInGuest { | ||
| 1416 | my ($self, %args) = @_; | ||
| 1417 | my $x_args = [ | ||
| 1418 | ['_this', 'ManagedObjectReference'], | ||
| 1419 | ['vm', 'ManagedObjectReference'], | ||
| 1420 | ['auth', 'GuestAuthentication'], | ||
| 1421 | ['prefix', undef], | ||
| 1422 | ['suffix', undef], | ||
| 1423 | ['directoryPath', undef], | ||
| 1424 | ]; | ||
| 1425 | return $self->soap_call('CreateTemporaryFileInGuest', undef, 0, $x_args, \%args); | ||
| 1426 | } | ||
| 1427 | |||
| 1428 | sub CreateUser { | ||
| 1429 | my ($self, %args) = @_; | ||
| 1430 | my $x_args = [ | ||
| 1431 | ['_this', 'ManagedObjectReference'], | ||
| 1432 | ['user', 'HostAccountSpec'], | ||
| 1433 | ]; | ||
| 1434 | return $self->soap_call('CreateUser', undef, 0, $x_args, \%args); | ||
| 1435 | } | ||
| 1436 | |||
| 1437 | sub CreateVApp { | ||
| 1438 | my ($self, %args) = @_; | ||
| 1439 | my $x_args = [ | ||
| 1440 | ['_this', 'ManagedObjectReference'], | ||
| 1441 | ['name', undef], | ||
| 1442 | ['resSpec', 'ResourceConfigSpec'], | ||
| 1443 | ['configSpec', 'VAppConfigSpec'], | ||
| 1444 | ['vmFolder', 'ManagedObjectReference'], | ||
| 1445 | ]; | ||
| 1446 | return $self->soap_call('CreateVApp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1447 | } | ||
| 1448 | |||
| 1449 | sub CreateVM_Task { | ||
| 1450 | my ($self, %args) = @_; | ||
| 1451 | my $x_args = [ | ||
| 1452 | ['_this', 'ManagedObjectReference'], | ||
| 1453 | ['config', 'VirtualMachineConfigSpec'], | ||
| 1454 | ['pool', 'ManagedObjectReference'], | ||
| 1455 | ['host', 'ManagedObjectReference'], | ||
| 1456 | ]; | ||
| 1457 | return $self->soap_call('CreateVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1458 | } | ||
| 1459 | |||
| 1460 | sub CreateVirtualDisk_Task { | ||
| 1461 | my ($self, %args) = @_; | ||
| 1462 | my $x_args = [ | ||
| 1463 | ['_this', 'ManagedObjectReference'], | ||
| 1464 | ['name', undef], | ||
| 1465 | ['datacenter', 'ManagedObjectReference'], | ||
| 1466 | ['spec', 'VirtualDiskSpec'], | ||
| 1467 | ]; | ||
| 1468 | return $self->soap_call('CreateVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1469 | } | ||
| 1470 | |||
| 1471 | sub CreateVmfsDatastore { | ||
| 1472 | my ($self, %args) = @_; | ||
| 1473 | my $x_args = [ | ||
| 1474 | ['_this', 'ManagedObjectReference'], | ||
| 1475 | ['spec', 'VmfsDatastoreCreateSpec'], | ||
| 1476 | ]; | ||
| 1477 | return $self->soap_call('CreateVmfsDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1478 | } | ||
| 1479 | |||
| 1480 | sub CreateVvolDatastore { | ||
| 1481 | my ($self, %args) = @_; | ||
| 1482 | my $x_args = [ | ||
| 1483 | ['_this', 'ManagedObjectReference'], | ||
| 1484 | ['spec', 'HostDatastoreSystemVvolDatastoreSpec'], | ||
| 1485 | ]; | ||
| 1486 | return $self->soap_call('CreateVvolDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1487 | } | ||
| 1488 | |||
| 1489 | sub CurrentTime { | ||
| 1490 | my ($self, %args) = @_; | ||
| 1491 | my $x_args = [ | ||
| 1492 | ['_this', 'ManagedObjectReference'], | ||
| 1493 | ]; | ||
| 1494 | return $self->soap_call('CurrentTime', undef, 0, $x_args, \%args); | ||
| 1495 | } | ||
| 1496 | |||
| 1497 | sub CustomizationSpecItemToXml { | ||
| 1498 | my ($self, %args) = @_; | ||
| 1499 | my $x_args = [ | ||
| 1500 | ['_this', 'ManagedObjectReference'], | ||
| 1501 | ['item', 'CustomizationSpecItem'], | ||
| 1502 | ]; | ||
| 1503 | return $self->soap_call('CustomizationSpecItemToXml', undef, 0, $x_args, \%args); | ||
| 1504 | } | ||
| 1505 | |||
| 1506 | sub CustomizeVM_Task { | ||
| 1507 | my ($self, %args) = @_; | ||
| 1508 | my $x_args = [ | ||
| 1509 | ['_this', 'ManagedObjectReference'], | ||
| 1510 | ['spec', 'CustomizationSpec'], | ||
| 1511 | ]; | ||
| 1512 | return $self->soap_call('CustomizeVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1513 | } | ||
| 1514 | |||
| 1515 | sub DVPortgroupRollback_Task { | ||
| 1516 | my ($self, %args) = @_; | ||
| 1517 | my $x_args = [ | ||
| 1518 | ['_this', 'ManagedObjectReference'], | ||
| 1519 | ['entityBackup', 'EntityBackupConfig'], | ||
| 1520 | ]; | ||
| 1521 | return $self->soap_call('DVPortgroupRollback_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1522 | } | ||
| 1523 | |||
| 1524 | sub DVSManagerExportEntity_Task { | ||
| 1525 | my ($self, %args) = @_; | ||
| 1526 | my $x_args = [ | ||
| 1527 | ['_this', 'ManagedObjectReference'], | ||
| 1528 | ['selectionSet', 'SelectionSet'], | ||
| 1529 | ]; | ||
| 1530 | return $self->soap_call('DVSManagerExportEntity_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1531 | } | ||
| 1532 | |||
| 1533 | sub DVSManagerImportEntity_Task { | ||
| 1534 | my ($self, %args) = @_; | ||
| 1535 | my $x_args = [ | ||
| 1536 | ['_this', 'ManagedObjectReference'], | ||
| 1537 | ['entityBackup', 'EntityBackupConfig'], | ||
| 1538 | ['importType', undef], | ||
| 1539 | ]; | ||
| 1540 | return $self->soap_call('DVSManagerImportEntity_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1541 | } | ||
| 1542 | |||
| 1543 | sub DVSManagerLookupDvPortGroup { | ||
| 1544 | my ($self, %args) = @_; | ||
| 1545 | my $x_args = [ | ||
| 1546 | ['_this', 'ManagedObjectReference'], | ||
| 1547 | ['switchUuid', undef], | ||
| 1548 | ['portgroupKey', undef], | ||
| 1549 | ]; | ||
| 1550 | return $self->soap_call('DVSManagerLookupDvPortGroup', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1551 | } | ||
| 1552 | |||
| 1553 | sub DVSRollback_Task { | ||
| 1554 | my ($self, %args) = @_; | ||
| 1555 | my $x_args = [ | ||
| 1556 | ['_this', 'ManagedObjectReference'], | ||
| 1557 | ['entityBackup', 'EntityBackupConfig'], | ||
| 1558 | ]; | ||
| 1559 | return $self->soap_call('DVSRollback_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1560 | } | ||
| 1561 | |||
| 1562 | sub DatastoreEnterMaintenanceMode { | ||
| 1563 | my ($self, %args) = @_; | ||
| 1564 | my $x_args = [ | ||
| 1565 | ['_this', 'ManagedObjectReference'], | ||
| 1566 | ]; | ||
| 1567 | return $self->soap_call('DatastoreEnterMaintenanceMode', 'StoragePlacementResult', 0, $x_args, \%args); | ||
| 1568 | } | ||
| 1569 | |||
| 1570 | sub DatastoreExitMaintenanceMode_Task { | ||
| 1571 | my ($self, %args) = @_; | ||
| 1572 | my $x_args = [ | ||
| 1573 | ['_this', 'ManagedObjectReference'], | ||
| 1574 | ]; | ||
| 1575 | return $self->soap_call('DatastoreExitMaintenanceMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1576 | } | ||
| 1577 | |||
| 1578 | sub DecodeLicense { | ||
| 1579 | my ($self, %args) = @_; | ||
| 1580 | my $x_args = [ | ||
| 1581 | ['_this', 'ManagedObjectReference'], | ||
| 1582 | ['licenseKey', undef], | ||
| 1583 | ]; | ||
| 1584 | return $self->soap_call('DecodeLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 1585 | } | ||
| 1586 | |||
| 1587 | sub DefragmentAllDisks { | ||
| 1588 | my ($self, %args) = @_; | ||
| 1589 | my $x_args = [ | ||
| 1590 | ['_this', 'ManagedObjectReference'], | ||
| 1591 | ]; | ||
| 1592 | return $self->soap_call('DefragmentAllDisks', undef, 0, $x_args, \%args); | ||
| 1593 | } | ||
| 1594 | |||
| 1595 | sub DefragmentVirtualDisk_Task { | ||
| 1596 | my ($self, %args) = @_; | ||
| 1597 | my $x_args = [ | ||
| 1598 | ['_this', 'ManagedObjectReference'], | ||
| 1599 | ['name', undef], | ||
| 1600 | ['datacenter', 'ManagedObjectReference'], | ||
| 1601 | ]; | ||
| 1602 | return $self->soap_call('DefragmentVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1603 | } | ||
| 1604 | |||
| 1605 | sub DeleteCustomizationSpec { | ||
| 1606 | my ($self, %args) = @_; | ||
| 1607 | my $x_args = [ | ||
| 1608 | ['_this', 'ManagedObjectReference'], | ||
| 1609 | ['name', undef], | ||
| 1610 | ]; | ||
| 1611 | return $self->soap_call('DeleteCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 1612 | } | ||
| 1613 | |||
| 1614 | sub DeleteDatastoreFile_Task { | ||
| 1615 | my ($self, %args) = @_; | ||
| 1616 | my $x_args = [ | ||
| 1617 | ['_this', 'ManagedObjectReference'], | ||
| 1618 | ['name', undef], | ||
| 1619 | ['datacenter', 'ManagedObjectReference'], | ||
| 1620 | ]; | ||
| 1621 | return $self->soap_call('DeleteDatastoreFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1622 | } | ||
| 1623 | |||
| 1624 | sub DeleteDirectory { | ||
| 1625 | my ($self, %args) = @_; | ||
| 1626 | my $x_args = [ | ||
| 1627 | ['_this', 'ManagedObjectReference'], | ||
| 1628 | ['datacenter', 'ManagedObjectReference'], | ||
| 1629 | ['datastorePath', undef], | ||
| 1630 | ]; | ||
| 1631 | return $self->soap_call('DeleteDirectory', undef, 0, $x_args, \%args); | ||
| 1632 | } | ||
| 1633 | |||
| 1634 | sub DeleteDirectoryInGuest { | ||
| 1635 | my ($self, %args) = @_; | ||
| 1636 | my $x_args = [ | ||
| 1637 | ['_this', 'ManagedObjectReference'], | ||
| 1638 | ['vm', 'ManagedObjectReference'], | ||
| 1639 | ['auth', 'GuestAuthentication'], | ||
| 1640 | ['directoryPath', undef], | ||
| 1641 | ['recursive', 'boolean'], | ||
| 1642 | ]; | ||
| 1643 | return $self->soap_call('DeleteDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 1644 | } | ||
| 1645 | |||
| 1646 | sub DeleteFile { | ||
| 1647 | my ($self, %args) = @_; | ||
| 1648 | my $x_args = [ | ||
| 1649 | ['_this', 'ManagedObjectReference'], | ||
| 1650 | ['datastorePath', undef], | ||
| 1651 | ]; | ||
| 1652 | return $self->soap_call('DeleteFile', undef, 0, $x_args, \%args); | ||
| 1653 | } | ||
| 1654 | |||
| 1655 | sub DeleteFileInGuest { | ||
| 1656 | my ($self, %args) = @_; | ||
| 1657 | my $x_args = [ | ||
| 1658 | ['_this', 'ManagedObjectReference'], | ||
| 1659 | ['vm', 'ManagedObjectReference'], | ||
| 1660 | ['auth', 'GuestAuthentication'], | ||
| 1661 | ['filePath', undef], | ||
| 1662 | ]; | ||
| 1663 | return $self->soap_call('DeleteFileInGuest', undef, 0, $x_args, \%args); | ||
| 1664 | } | ||
| 1665 | |||
| 1666 | sub DeleteHostSpecification { | ||
| 1667 | my ($self, %args) = @_; | ||
| 1668 | my $x_args = [ | ||
| 1669 | ['_this', 'ManagedObjectReference'], | ||
| 1670 | ['host', 'ManagedObjectReference'], | ||
| 1671 | ]; | ||
| 1672 | return $self->soap_call('DeleteHostSpecification', undef, 0, $x_args, \%args); | ||
| 1673 | } | ||
| 1674 | |||
| 1675 | sub DeleteHostSubSpecification { | ||
| 1676 | my ($self, %args) = @_; | ||
| 1677 | my $x_args = [ | ||
| 1678 | ['_this', 'ManagedObjectReference'], | ||
| 1679 | ['host', 'ManagedObjectReference'], | ||
| 1680 | ['subSpecName', undef], | ||
| 1681 | ]; | ||
| 1682 | return $self->soap_call('DeleteHostSubSpecification', undef, 0, $x_args, \%args); | ||
| 1683 | } | ||
| 1684 | |||
| 1685 | sub DeleteRegistryKeyInGuest { | ||
| 1686 | my ($self, %args) = @_; | ||
| 1687 | my $x_args = [ | ||
| 1688 | ['_this', 'ManagedObjectReference'], | ||
| 1689 | ['vm', 'ManagedObjectReference'], | ||
| 1690 | ['auth', 'GuestAuthentication'], | ||
| 1691 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 1692 | ['recursive', 'boolean'], | ||
| 1693 | ]; | ||
| 1694 | return $self->soap_call('DeleteRegistryKeyInGuest', undef, 0, $x_args, \%args); | ||
| 1695 | } | ||
| 1696 | |||
| 1697 | sub DeleteRegistryValueInGuest { | ||
| 1698 | my ($self, %args) = @_; | ||
| 1699 | my $x_args = [ | ||
| 1700 | ['_this', 'ManagedObjectReference'], | ||
| 1701 | ['vm', 'ManagedObjectReference'], | ||
| 1702 | ['auth', 'GuestAuthentication'], | ||
| 1703 | ['valueName', 'GuestRegValueNameSpec'], | ||
| 1704 | ]; | ||
| 1705 | return $self->soap_call('DeleteRegistryValueInGuest', undef, 0, $x_args, \%args); | ||
| 1706 | } | ||
| 1707 | |||
| 1708 | sub DeleteScsiLunState { | ||
| 1709 | my ($self, %args) = @_; | ||
| 1710 | my $x_args = [ | ||
| 1711 | ['_this', 'ManagedObjectReference'], | ||
| 1712 | ['lunCanonicalName', undef], | ||
| 1713 | ]; | ||
| 1714 | return $self->soap_call('DeleteScsiLunState', undef, 0, $x_args, \%args); | ||
| 1715 | } | ||
| 1716 | |||
| 1717 | sub DeleteVStorageObject_Task { | ||
| 1718 | my ($self, %args) = @_; | ||
| 1719 | my $x_args = [ | ||
| 1720 | ['_this', 'ManagedObjectReference'], | ||
| 1721 | ['id', 'ID'], | ||
| 1722 | ['datastore', 'ManagedObjectReference'], | ||
| 1723 | ]; | ||
| 1724 | return $self->soap_call('DeleteVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1725 | } | ||
| 1726 | |||
| 1727 | sub DeleteVffsVolumeState { | ||
| 1728 | my ($self, %args) = @_; | ||
| 1729 | my $x_args = [ | ||
| 1730 | ['_this', 'ManagedObjectReference'], | ||
| 1731 | ['vffsUuid', undef], | ||
| 1732 | ]; | ||
| 1733 | return $self->soap_call('DeleteVffsVolumeState', undef, 0, $x_args, \%args); | ||
| 1734 | } | ||
| 1735 | |||
| 1736 | sub DeleteVirtualDisk_Task { | ||
| 1737 | my ($self, %args) = @_; | ||
| 1738 | my $x_args = [ | ||
| 1739 | ['_this', 'ManagedObjectReference'], | ||
| 1740 | ['name', undef], | ||
| 1741 | ['datacenter', 'ManagedObjectReference'], | ||
| 1742 | ]; | ||
| 1743 | return $self->soap_call('DeleteVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1744 | } | ||
| 1745 | |||
| 1746 | sub DeleteVmfsVolumeState { | ||
| 1747 | my ($self, %args) = @_; | ||
| 1748 | my $x_args = [ | ||
| 1749 | ['_this', 'ManagedObjectReference'], | ||
| 1750 | ['vmfsUuid', undef], | ||
| 1751 | ]; | ||
| 1752 | return $self->soap_call('DeleteVmfsVolumeState', undef, 0, $x_args, \%args); | ||
| 1753 | } | ||
| 1754 | |||
| 1755 | sub DeleteVsanObjects { | ||
| 1756 | my ($self, %args) = @_; | ||
| 1757 | my $x_args = [ | ||
| 1758 | ['_this', 'ManagedObjectReference'], | ||
| 1759 | ['uuids', undef], | ||
| 1760 | ['force', 'boolean'], | ||
| 1761 | ]; | ||
| 1762 | return $self->soap_call('DeleteVsanObjects', 'HostVsanInternalSystemDeleteVsanObjectsResult', 1, $x_args, \%args); | ||
| 1763 | } | ||
| 1764 | |||
| 1765 | sub DeselectVnic { | ||
| 1766 | my ($self, %args) = @_; | ||
| 1767 | my $x_args = [ | ||
| 1768 | ['_this', 'ManagedObjectReference'], | ||
| 1769 | ]; | ||
| 1770 | return $self->soap_call('DeselectVnic', undef, 0, $x_args, \%args); | ||
| 1771 | } | ||
| 1772 | |||
| 1773 | sub DeselectVnicForNicType { | ||
| 1774 | my ($self, %args) = @_; | ||
| 1775 | my $x_args = [ | ||
| 1776 | ['_this', 'ManagedObjectReference'], | ||
| 1777 | ['nicType', undef], | ||
| 1778 | ['device', undef], | ||
| 1779 | ]; | ||
| 1780 | return $self->soap_call('DeselectVnicForNicType', undef, 0, $x_args, \%args); | ||
| 1781 | } | ||
| 1782 | |||
| 1783 | sub DestroyChildren { | ||
| 1784 | my ($self, %args) = @_; | ||
| 1785 | my $x_args = [ | ||
| 1786 | ['_this', 'ManagedObjectReference'], | ||
| 1787 | ]; | ||
| 1788 | return $self->soap_call('DestroyChildren', undef, 0, $x_args, \%args); | ||
| 1789 | } | ||
| 1790 | |||
| 1791 | sub DestroyCollector { | ||
| 1792 | my ($self, %args) = @_; | ||
| 1793 | my $x_args = [ | ||
| 1794 | ['_this', 'ManagedObjectReference'], | ||
| 1795 | ]; | ||
| 1796 | return $self->soap_call('DestroyCollector', undef, 0, $x_args, \%args); | ||
| 1797 | } | ||
| 1798 | |||
| 1799 | sub DestroyDatastore { | ||
| 1800 | my ($self, %args) = @_; | ||
| 1801 | my $x_args = [ | ||
| 1802 | ['_this', 'ManagedObjectReference'], | ||
| 1803 | ]; | ||
| 1804 | return $self->soap_call('DestroyDatastore', undef, 0, $x_args, \%args); | ||
| 1805 | } | ||
| 1806 | |||
| 1807 | sub DestroyIpPool { | ||
| 1808 | my ($self, %args) = @_; | ||
| 1809 | my $x_args = [ | ||
| 1810 | ['_this', 'ManagedObjectReference'], | ||
| 1811 | ['dc', 'ManagedObjectReference'], | ||
| 1812 | ['id', undef], | ||
| 1813 | ['force', 'boolean'], | ||
| 1814 | ]; | ||
| 1815 | return $self->soap_call('DestroyIpPool', undef, 0, $x_args, \%args); | ||
| 1816 | } | ||
| 1817 | |||
| 1818 | sub DestroyNetwork { | ||
| 1819 | my ($self, %args) = @_; | ||
| 1820 | my $x_args = [ | ||
| 1821 | ['_this', 'ManagedObjectReference'], | ||
| 1822 | ]; | ||
| 1823 | return $self->soap_call('DestroyNetwork', undef, 0, $x_args, \%args); | ||
| 1824 | } | ||
| 1825 | |||
| 1826 | sub DestroyProfile { | ||
| 1827 | my ($self, %args) = @_; | ||
| 1828 | my $x_args = [ | ||
| 1829 | ['_this', 'ManagedObjectReference'], | ||
| 1830 | ]; | ||
| 1831 | return $self->soap_call('DestroyProfile', undef, 0, $x_args, \%args); | ||
| 1832 | } | ||
| 1833 | |||
| 1834 | sub DestroyPropertyCollector { | ||
| 1835 | my ($self, %args) = @_; | ||
| 1836 | my $x_args = [ | ||
| 1837 | ['_this', 'ManagedObjectReference'], | ||
| 1838 | ]; | ||
| 1839 | return $self->soap_call('DestroyPropertyCollector', undef, 0, $x_args, \%args); | ||
| 1840 | } | ||
| 1841 | |||
| 1842 | sub DestroyPropertyFilter { | ||
| 1843 | my ($self, %args) = @_; | ||
| 1844 | my $x_args = [ | ||
| 1845 | ['_this', 'ManagedObjectReference'], | ||
| 1846 | ]; | ||
| 1847 | return $self->soap_call('DestroyPropertyFilter', undef, 0, $x_args, \%args); | ||
| 1848 | } | ||
| 1849 | |||
| 1850 | sub DestroyVffs { | ||
| 1851 | my ($self, %args) = @_; | ||
| 1852 | my $x_args = [ | ||
| 1853 | ['_this', 'ManagedObjectReference'], | ||
| 1854 | ['vffsPath', undef], | ||
| 1855 | ]; | ||
| 1856 | return $self->soap_call('DestroyVffs', undef, 0, $x_args, \%args); | ||
| 1857 | } | ||
| 1858 | |||
| 1859 | sub DestroyView { | ||
| 1860 | my ($self, %args) = @_; | ||
| 1861 | my $x_args = [ | ||
| 1862 | ['_this', 'ManagedObjectReference'], | ||
| 1863 | ]; | ||
| 1864 | return $self->soap_call('DestroyView', undef, 0, $x_args, \%args); | ||
| 1865 | } | ||
| 1866 | |||
| 1867 | sub Destroy_Task { | ||
| 1868 | my ($self, %args) = @_; | ||
| 1869 | my $x_args = [ | ||
| 1870 | ['_this', 'ManagedObjectReference'], | ||
| 1871 | ]; | ||
| 1872 | return $self->soap_call('Destroy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1873 | } | ||
| 1874 | |||
| 1875 | sub DetachDisk_Task { | ||
| 1876 | my ($self, %args) = @_; | ||
| 1877 | my $x_args = [ | ||
| 1878 | ['_this', 'ManagedObjectReference'], | ||
| 1879 | ['diskId', 'ID'], | ||
| 1880 | ]; | ||
| 1881 | return $self->soap_call('DetachDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1882 | } | ||
| 1883 | |||
| 1884 | sub DetachScsiLun { | ||
| 1885 | my ($self, %args) = @_; | ||
| 1886 | my $x_args = [ | ||
| 1887 | ['_this', 'ManagedObjectReference'], | ||
| 1888 | ['lunUuid', undef], | ||
| 1889 | ]; | ||
| 1890 | return $self->soap_call('DetachScsiLun', undef, 0, $x_args, \%args); | ||
| 1891 | } | ||
| 1892 | |||
| 1893 | sub DetachScsiLunEx_Task { | ||
| 1894 | my ($self, %args) = @_; | ||
| 1895 | my $x_args = [ | ||
| 1896 | ['_this', 'ManagedObjectReference'], | ||
| 1897 | ['lunUuid', undef], | ||
| 1898 | ]; | ||
| 1899 | return $self->soap_call('DetachScsiLunEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1900 | } | ||
| 1901 | |||
| 1902 | sub DetachTagFromVStorageObject { | ||
| 1903 | my ($self, %args) = @_; | ||
| 1904 | my $x_args = [ | ||
| 1905 | ['_this', 'ManagedObjectReference'], | ||
| 1906 | ['id', 'ID'], | ||
| 1907 | ['category', undef], | ||
| 1908 | ['tag', undef], | ||
| 1909 | ]; | ||
| 1910 | return $self->soap_call('DetachTagFromVStorageObject', undef, 0, $x_args, \%args); | ||
| 1911 | } | ||
| 1912 | |||
| 1913 | sub DisableEvcMode_Task { | ||
| 1914 | my ($self, %args) = @_; | ||
| 1915 | my $x_args = [ | ||
| 1916 | ['_this', 'ManagedObjectReference'], | ||
| 1917 | ]; | ||
| 1918 | return $self->soap_call('DisableEvcMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1919 | } | ||
| 1920 | |||
| 1921 | sub DisableFeature { | ||
| 1922 | my ($self, %args) = @_; | ||
| 1923 | my $x_args = [ | ||
| 1924 | ['_this', 'ManagedObjectReference'], | ||
| 1925 | ['host', 'ManagedObjectReference'], | ||
| 1926 | ['featureKey', undef], | ||
| 1927 | ]; | ||
| 1928 | return $self->soap_call('DisableFeature', 'boolean', 0, $x_args, \%args); | ||
| 1929 | } | ||
| 1930 | |||
| 1931 | sub DisableHyperThreading { | ||
| 1932 | my ($self, %args) = @_; | ||
| 1933 | my $x_args = [ | ||
| 1934 | ['_this', 'ManagedObjectReference'], | ||
| 1935 | ]; | ||
| 1936 | return $self->soap_call('DisableHyperThreading', undef, 0, $x_args, \%args); | ||
| 1937 | } | ||
| 1938 | |||
| 1939 | sub DisableMultipathPath { | ||
| 1940 | my ($self, %args) = @_; | ||
| 1941 | my $x_args = [ | ||
| 1942 | ['_this', 'ManagedObjectReference'], | ||
| 1943 | ['pathName', undef], | ||
| 1944 | ]; | ||
| 1945 | return $self->soap_call('DisableMultipathPath', undef, 0, $x_args, \%args); | ||
| 1946 | } | ||
| 1947 | |||
| 1948 | sub DisableRuleset { | ||
| 1949 | my ($self, %args) = @_; | ||
| 1950 | my $x_args = [ | ||
| 1951 | ['_this', 'ManagedObjectReference'], | ||
| 1952 | ['id', undef], | ||
| 1953 | ]; | ||
| 1954 | return $self->soap_call('DisableRuleset', undef, 0, $x_args, \%args); | ||
| 1955 | } | ||
| 1956 | |||
| 1957 | sub DisableSecondaryVM_Task { | ||
| 1958 | my ($self, %args) = @_; | ||
| 1959 | my $x_args = [ | ||
| 1960 | ['_this', 'ManagedObjectReference'], | ||
| 1961 | ['vm', 'ManagedObjectReference'], | ||
| 1962 | ]; | ||
| 1963 | return $self->soap_call('DisableSecondaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1964 | } | ||
| 1965 | |||
| 1966 | sub DisableSmartCardAuthentication { | ||
| 1967 | my ($self, %args) = @_; | ||
| 1968 | my $x_args = [ | ||
| 1969 | ['_this', 'ManagedObjectReference'], | ||
| 1970 | ]; | ||
| 1971 | return $self->soap_call('DisableSmartCardAuthentication', undef, 0, $x_args, \%args); | ||
| 1972 | } | ||
| 1973 | |||
| 1974 | sub DisconnectHost_Task { | ||
| 1975 | my ($self, %args) = @_; | ||
| 1976 | my $x_args = [ | ||
| 1977 | ['_this', 'ManagedObjectReference'], | ||
| 1978 | ]; | ||
| 1979 | return $self->soap_call('DisconnectHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1980 | } | ||
| 1981 | |||
| 1982 | sub DiscoverFcoeHbas { | ||
| 1983 | my ($self, %args) = @_; | ||
| 1984 | my $x_args = [ | ||
| 1985 | ['_this', 'ManagedObjectReference'], | ||
| 1986 | ['fcoeSpec', 'FcoeConfigFcoeSpecification'], | ||
| 1987 | ]; | ||
| 1988 | return $self->soap_call('DiscoverFcoeHbas', undef, 0, $x_args, \%args); | ||
| 1989 | } | ||
| 1990 | |||
| 1991 | sub DissociateProfile { | ||
| 1992 | my ($self, %args) = @_; | ||
| 1993 | my $x_args = [ | ||
| 1994 | ['_this', 'ManagedObjectReference'], | ||
| 1995 | ['entity', 'ManagedObjectReference'], | ||
| 1996 | ]; | ||
| 1997 | return $self->soap_call('DissociateProfile', undef, 0, $x_args, \%args); | ||
| 1998 | } | ||
| 1999 | |||
| 2000 | sub DoesCustomizationSpecExist { | ||
| 2001 | my ($self, %args) = @_; | ||
| 2002 | my $x_args = [ | ||
| 2003 | ['_this', 'ManagedObjectReference'], | ||
| 2004 | ['name', undef], | ||
| 2005 | ]; | ||
| 2006 | return $self->soap_call('DoesCustomizationSpecExist', 'boolean', 0, $x_args, \%args); | ||
| 2007 | } | ||
| 2008 | |||
| 2009 | sub DuplicateCustomizationSpec { | ||
| 2010 | my ($self, %args) = @_; | ||
| 2011 | my $x_args = [ | ||
| 2012 | ['_this', 'ManagedObjectReference'], | ||
| 2013 | ['name', undef], | ||
| 2014 | ['newName', undef], | ||
| 2015 | ]; | ||
| 2016 | return $self->soap_call('DuplicateCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 2017 | } | ||
| 2018 | |||
| 2019 | sub DvsReconfigureVmVnicNetworkResourcePool_Task { | ||
| 2020 | my ($self, %args) = @_; | ||
| 2021 | my $x_args = [ | ||
| 2022 | ['_this', 'ManagedObjectReference'], | ||
| 2023 | ['configSpec', 'DvsVmVnicResourcePoolConfigSpec'], | ||
| 2024 | ]; | ||
| 2025 | return $self->soap_call('DvsReconfigureVmVnicNetworkResourcePool_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2026 | } | ||
| 2027 | |||
| 2028 | sub EagerZeroVirtualDisk_Task { | ||
| 2029 | my ($self, %args) = @_; | ||
| 2030 | my $x_args = [ | ||
| 2031 | ['_this', 'ManagedObjectReference'], | ||
| 2032 | ['name', undef], | ||
| 2033 | ['datacenter', 'ManagedObjectReference'], | ||
| 2034 | ]; | ||
| 2035 | return $self->soap_call('EagerZeroVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2036 | } | ||
| 2037 | |||
| 2038 | sub EnableAlarmActions { | ||
| 2039 | my ($self, %args) = @_; | ||
| 2040 | my $x_args = [ | ||
| 2041 | ['_this', 'ManagedObjectReference'], | ||
| 2042 | ['entity', 'ManagedObjectReference'], | ||
| 2043 | ['enabled', 'boolean'], | ||
| 2044 | ]; | ||
| 2045 | return $self->soap_call('EnableAlarmActions', undef, 0, $x_args, \%args); | ||
| 2046 | } | ||
| 2047 | |||
| 2048 | sub EnableCrypto { | ||
| 2049 | my ($self, %args) = @_; | ||
| 2050 | my $x_args = [ | ||
| 2051 | ['_this', 'ManagedObjectReference'], | ||
| 2052 | ['keyPlain', 'CryptoKeyPlain'], | ||
| 2053 | ]; | ||
| 2054 | return $self->soap_call('EnableCrypto', undef, 0, $x_args, \%args); | ||
| 2055 | } | ||
| 2056 | |||
| 2057 | sub EnableFeature { | ||
| 2058 | my ($self, %args) = @_; | ||
| 2059 | my $x_args = [ | ||
| 2060 | ['_this', 'ManagedObjectReference'], | ||
| 2061 | ['host', 'ManagedObjectReference'], | ||
| 2062 | ['featureKey', undef], | ||
| 2063 | ]; | ||
| 2064 | return $self->soap_call('EnableFeature', 'boolean', 0, $x_args, \%args); | ||
| 2065 | } | ||
| 2066 | |||
| 2067 | sub EnableHyperThreading { | ||
| 2068 | my ($self, %args) = @_; | ||
| 2069 | my $x_args = [ | ||
| 2070 | ['_this', 'ManagedObjectReference'], | ||
| 2071 | ]; | ||
| 2072 | return $self->soap_call('EnableHyperThreading', undef, 0, $x_args, \%args); | ||
| 2073 | } | ||
| 2074 | |||
| 2075 | sub EnableMultipathPath { | ||
| 2076 | my ($self, %args) = @_; | ||
| 2077 | my $x_args = [ | ||
| 2078 | ['_this', 'ManagedObjectReference'], | ||
| 2079 | ['pathName', undef], | ||
| 2080 | ]; | ||
| 2081 | return $self->soap_call('EnableMultipathPath', undef, 0, $x_args, \%args); | ||
| 2082 | } | ||
| 2083 | |||
| 2084 | sub EnableNetworkResourceManagement { | ||
| 2085 | my ($self, %args) = @_; | ||
| 2086 | my $x_args = [ | ||
| 2087 | ['_this', 'ManagedObjectReference'], | ||
| 2088 | ['enable', 'boolean'], | ||
| 2089 | ]; | ||
| 2090 | return $self->soap_call('EnableNetworkResourceManagement', undef, 0, $x_args, \%args); | ||
| 2091 | } | ||
| 2092 | |||
| 2093 | sub EnableRuleset { | ||
| 2094 | my ($self, %args) = @_; | ||
| 2095 | my $x_args = [ | ||
| 2096 | ['_this', 'ManagedObjectReference'], | ||
| 2097 | ['id', undef], | ||
| 2098 | ]; | ||
| 2099 | return $self->soap_call('EnableRuleset', undef, 0, $x_args, \%args); | ||
| 2100 | } | ||
| 2101 | |||
| 2102 | sub EnableSecondaryVM_Task { | ||
| 2103 | my ($self, %args) = @_; | ||
| 2104 | my $x_args = [ | ||
| 2105 | ['_this', 'ManagedObjectReference'], | ||
| 2106 | ['vm', 'ManagedObjectReference'], | ||
| 2107 | ['host', 'ManagedObjectReference'], | ||
| 2108 | ]; | ||
| 2109 | return $self->soap_call('EnableSecondaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2110 | } | ||
| 2111 | |||
| 2112 | sub EnableSmartCardAuthentication { | ||
| 2113 | my ($self, %args) = @_; | ||
| 2114 | my $x_args = [ | ||
| 2115 | ['_this', 'ManagedObjectReference'], | ||
| 2116 | ]; | ||
| 2117 | return $self->soap_call('EnableSmartCardAuthentication', undef, 0, $x_args, \%args); | ||
| 2118 | } | ||
| 2119 | |||
| 2120 | sub EnterLockdownMode { | ||
| 2121 | my ($self, %args) = @_; | ||
| 2122 | my $x_args = [ | ||
| 2123 | ['_this', 'ManagedObjectReference'], | ||
| 2124 | ]; | ||
| 2125 | return $self->soap_call('EnterLockdownMode', undef, 0, $x_args, \%args); | ||
| 2126 | } | ||
| 2127 | |||
| 2128 | sub EnterMaintenanceMode_Task { | ||
| 2129 | my ($self, %args) = @_; | ||
| 2130 | my $x_args = [ | ||
| 2131 | ['_this', 'ManagedObjectReference'], | ||
| 2132 | ['timeout', undef], | ||
| 2133 | ['evacuatePoweredOffVms', 'boolean'], | ||
| 2134 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 2135 | ]; | ||
| 2136 | return $self->soap_call('EnterMaintenanceMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2137 | } | ||
| 2138 | |||
| 2139 | sub EstimateDatabaseSize { | ||
| 2140 | my ($self, %args) = @_; | ||
| 2141 | my $x_args = [ | ||
| 2142 | ['_this', 'ManagedObjectReference'], | ||
| 2143 | ['dbSizeParam', 'DatabaseSizeParam'], | ||
| 2144 | ]; | ||
| 2145 | return $self->soap_call('EstimateDatabaseSize', 'DatabaseSizeEstimate', 0, $x_args, \%args); | ||
| 2146 | } | ||
| 2147 | |||
| 2148 | sub EstimateStorageForConsolidateSnapshots_Task { | ||
| 2149 | my ($self, %args) = @_; | ||
| 2150 | my $x_args = [ | ||
| 2151 | ['_this', 'ManagedObjectReference'], | ||
| 2152 | ]; | ||
| 2153 | return $self->soap_call('EstimateStorageForConsolidateSnapshots_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2154 | } | ||
| 2155 | |||
| 2156 | sub EsxAgentHostManagerUpdateConfig { | ||
| 2157 | my ($self, %args) = @_; | ||
| 2158 | my $x_args = [ | ||
| 2159 | ['_this', 'ManagedObjectReference'], | ||
| 2160 | ['configInfo', 'HostEsxAgentHostManagerConfigInfo'], | ||
| 2161 | ]; | ||
| 2162 | return $self->soap_call('EsxAgentHostManagerUpdateConfig', undef, 0, $x_args, \%args); | ||
| 2163 | } | ||
| 2164 | |||
| 2165 | sub EvacuateVsanNode_Task { | ||
| 2166 | my ($self, %args) = @_; | ||
| 2167 | my $x_args = [ | ||
| 2168 | ['_this', 'ManagedObjectReference'], | ||
| 2169 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 2170 | ['timeout', undef], | ||
| 2171 | ]; | ||
| 2172 | return $self->soap_call('EvacuateVsanNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2173 | } | ||
| 2174 | |||
| 2175 | sub EvcManager { | ||
| 2176 | my ($self, %args) = @_; | ||
| 2177 | my $x_args = [ | ||
| 2178 | ['_this', 'ManagedObjectReference'], | ||
| 2179 | ]; | ||
| 2180 | return $self->soap_call('EvcManager', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2181 | } | ||
| 2182 | |||
| 2183 | sub ExecuteHostProfile { | ||
| 2184 | my ($self, %args) = @_; | ||
| 2185 | my $x_args = [ | ||
| 2186 | ['_this', 'ManagedObjectReference'], | ||
| 2187 | ['host', 'ManagedObjectReference'], | ||
| 2188 | ['deferredParam', 'ProfileDeferredPolicyOptionParameter'], | ||
| 2189 | ]; | ||
| 2190 | return $self->soap_call('ExecuteHostProfile', 'ProfileExecuteResult', 0, $x_args, \%args); | ||
| 2191 | } | ||
| 2192 | |||
| 2193 | sub ExecuteSimpleCommand { | ||
| 2194 | my ($self, %args) = @_; | ||
| 2195 | my $x_args = [ | ||
| 2196 | ['_this', 'ManagedObjectReference'], | ||
| 2197 | ['arguments', undef], | ||
| 2198 | ]; | ||
| 2199 | return $self->soap_call('ExecuteSimpleCommand', undef, 0, $x_args, \%args); | ||
| 2200 | } | ||
| 2201 | |||
| 2202 | sub ExitLockdownMode { | ||
| 2203 | my ($self, %args) = @_; | ||
| 2204 | my $x_args = [ | ||
| 2205 | ['_this', 'ManagedObjectReference'], | ||
| 2206 | ]; | ||
| 2207 | return $self->soap_call('ExitLockdownMode', undef, 0, $x_args, \%args); | ||
| 2208 | } | ||
| 2209 | |||
| 2210 | sub ExitMaintenanceMode_Task { | ||
| 2211 | my ($self, %args) = @_; | ||
| 2212 | my $x_args = [ | ||
| 2213 | ['_this', 'ManagedObjectReference'], | ||
| 2214 | ['timeout', undef], | ||
| 2215 | ]; | ||
| 2216 | return $self->soap_call('ExitMaintenanceMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2217 | } | ||
| 2218 | |||
| 2219 | sub ExpandVmfsDatastore { | ||
| 2220 | my ($self, %args) = @_; | ||
| 2221 | my $x_args = [ | ||
| 2222 | ['_this', 'ManagedObjectReference'], | ||
| 2223 | ['datastore', 'ManagedObjectReference'], | ||
| 2224 | ['spec', 'VmfsDatastoreExpandSpec'], | ||
| 2225 | ]; | ||
| 2226 | return $self->soap_call('ExpandVmfsDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2227 | } | ||
| 2228 | |||
| 2229 | sub ExpandVmfsExtent { | ||
| 2230 | my ($self, %args) = @_; | ||
| 2231 | my $x_args = [ | ||
| 2232 | ['_this', 'ManagedObjectReference'], | ||
| 2233 | ['vmfsPath', undef], | ||
| 2234 | ['extent', 'HostScsiDiskPartition'], | ||
| 2235 | ]; | ||
| 2236 | return $self->soap_call('ExpandVmfsExtent', undef, 0, $x_args, \%args); | ||
| 2237 | } | ||
| 2238 | |||
| 2239 | sub ExportAnswerFile_Task { | ||
| 2240 | my ($self, %args) = @_; | ||
| 2241 | my $x_args = [ | ||
| 2242 | ['_this', 'ManagedObjectReference'], | ||
| 2243 | ['host', 'ManagedObjectReference'], | ||
| 2244 | ]; | ||
| 2245 | return $self->soap_call('ExportAnswerFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2246 | } | ||
| 2247 | |||
| 2248 | sub ExportProfile { | ||
| 2249 | my ($self, %args) = @_; | ||
| 2250 | my $x_args = [ | ||
| 2251 | ['_this', 'ManagedObjectReference'], | ||
| 2252 | ]; | ||
| 2253 | return $self->soap_call('ExportProfile', undef, 0, $x_args, \%args); | ||
| 2254 | } | ||
| 2255 | |||
| 2256 | sub ExportSnapshot { | ||
| 2257 | my ($self, %args) = @_; | ||
| 2258 | my $x_args = [ | ||
| 2259 | ['_this', 'ManagedObjectReference'], | ||
| 2260 | ]; | ||
| 2261 | return $self->soap_call('ExportSnapshot', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2262 | } | ||
| 2263 | |||
| 2264 | sub ExportVApp { | ||
| 2265 | my ($self, %args) = @_; | ||
| 2266 | my $x_args = [ | ||
| 2267 | ['_this', 'ManagedObjectReference'], | ||
| 2268 | ]; | ||
| 2269 | return $self->soap_call('ExportVApp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2270 | } | ||
| 2271 | |||
| 2272 | sub ExportVm { | ||
| 2273 | my ($self, %args) = @_; | ||
| 2274 | my $x_args = [ | ||
| 2275 | ['_this', 'ManagedObjectReference'], | ||
| 2276 | ]; | ||
| 2277 | return $self->soap_call('ExportVm', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2278 | } | ||
| 2279 | |||
| 2280 | sub ExtendDisk_Task { | ||
| 2281 | my ($self, %args) = @_; | ||
| 2282 | my $x_args = [ | ||
| 2283 | ['_this', 'ManagedObjectReference'], | ||
| 2284 | ['id', 'ID'], | ||
| 2285 | ['datastore', 'ManagedObjectReference'], | ||
| 2286 | ['newCapacityInMB', undef], | ||
| 2287 | ]; | ||
| 2288 | return $self->soap_call('ExtendDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2289 | } | ||
| 2290 | |||
| 2291 | sub ExtendVffs { | ||
| 2292 | my ($self, %args) = @_; | ||
| 2293 | my $x_args = [ | ||
| 2294 | ['_this', 'ManagedObjectReference'], | ||
| 2295 | ['vffsPath', undef], | ||
| 2296 | ['devicePath', undef], | ||
| 2297 | ['spec', 'HostDiskPartitionSpec'], | ||
| 2298 | ]; | ||
| 2299 | return $self->soap_call('ExtendVffs', undef, 0, $x_args, \%args); | ||
| 2300 | } | ||
| 2301 | |||
| 2302 | sub ExtendVirtualDisk_Task { | ||
| 2303 | my ($self, %args) = @_; | ||
| 2304 | my $x_args = [ | ||
| 2305 | ['_this', 'ManagedObjectReference'], | ||
| 2306 | ['name', undef], | ||
| 2307 | ['datacenter', 'ManagedObjectReference'], | ||
| 2308 | ['newCapacityKb', undef], | ||
| 2309 | ['eagerZero', 'boolean'], | ||
| 2310 | ]; | ||
| 2311 | return $self->soap_call('ExtendVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2312 | } | ||
| 2313 | |||
| 2314 | sub ExtendVmfsDatastore { | ||
| 2315 | my ($self, %args) = @_; | ||
| 2316 | my $x_args = [ | ||
| 2317 | ['_this', 'ManagedObjectReference'], | ||
| 2318 | ['datastore', 'ManagedObjectReference'], | ||
| 2319 | ['spec', 'VmfsDatastoreExtendSpec'], | ||
| 2320 | ]; | ||
| 2321 | return $self->soap_call('ExtendVmfsDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2322 | } | ||
| 2323 | |||
| 2324 | sub ExtractOvfEnvironment { | ||
| 2325 | my ($self, %args) = @_; | ||
| 2326 | my $x_args = [ | ||
| 2327 | ['_this', 'ManagedObjectReference'], | ||
| 2328 | ]; | ||
| 2329 | return $self->soap_call('ExtractOvfEnvironment', undef, 0, $x_args, \%args); | ||
| 2330 | } | ||
| 2331 | |||
| 2332 | sub FetchDVPortKeys { | ||
| 2333 | my ($self, %args) = @_; | ||
| 2334 | my $x_args = [ | ||
| 2335 | ['_this', 'ManagedObjectReference'], | ||
| 2336 | ['criteria', 'DistributedVirtualSwitchPortCriteria'], | ||
| 2337 | ]; | ||
| 2338 | return $self->soap_call('FetchDVPortKeys', undef, 1, $x_args, \%args); | ||
| 2339 | } | ||
| 2340 | |||
| 2341 | sub FetchDVPorts { | ||
| 2342 | my ($self, %args) = @_; | ||
| 2343 | my $x_args = [ | ||
| 2344 | ['_this', 'ManagedObjectReference'], | ||
| 2345 | ['criteria', 'DistributedVirtualSwitchPortCriteria'], | ||
| 2346 | ]; | ||
| 2347 | return $self->soap_call('FetchDVPorts', 'DistributedVirtualPort', 1, $x_args, \%args); | ||
| 2348 | } | ||
| 2349 | |||
| 2350 | sub FetchSystemEventLog { | ||
| 2351 | my ($self, %args) = @_; | ||
| 2352 | my $x_args = [ | ||
| 2353 | ['_this', 'ManagedObjectReference'], | ||
| 2354 | ]; | ||
| 2355 | return $self->soap_call('FetchSystemEventLog', 'SystemEventInfo', 1, $x_args, \%args); | ||
| 2356 | } | ||
| 2357 | |||
| 2358 | sub FetchUserPrivilegeOnEntities { | ||
| 2359 | my ($self, %args) = @_; | ||
| 2360 | my $x_args = [ | ||
| 2361 | ['_this', 'ManagedObjectReference'], | ||
| 2362 | ['entities', 'ManagedObjectReference'], | ||
| 2363 | ['userName', undef], | ||
| 2364 | ]; | ||
| 2365 | return $self->soap_call('FetchUserPrivilegeOnEntities', 'UserPrivilegeResult', 1, $x_args, \%args); | ||
| 2366 | } | ||
| 2367 | |||
| 2368 | sub FindAllByDnsName { | ||
| 2369 | my ($self, %args) = @_; | ||
| 2370 | my $x_args = [ | ||
| 2371 | ['_this', 'ManagedObjectReference'], | ||
| 2372 | ['datacenter', 'ManagedObjectReference'], | ||
| 2373 | ['dnsName', undef], | ||
| 2374 | ['vmSearch', 'boolean'], | ||
| 2375 | ]; | ||
| 2376 | return $self->soap_call('FindAllByDnsName', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2377 | } | ||
| 2378 | |||
| 2379 | sub FindAllByIp { | ||
| 2380 | my ($self, %args) = @_; | ||
| 2381 | my $x_args = [ | ||
| 2382 | ['_this', 'ManagedObjectReference'], | ||
| 2383 | ['datacenter', 'ManagedObjectReference'], | ||
| 2384 | ['ip', undef], | ||
| 2385 | ['vmSearch', 'boolean'], | ||
| 2386 | ]; | ||
| 2387 | return $self->soap_call('FindAllByIp', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2388 | } | ||
| 2389 | |||
| 2390 | sub FindAllByUuid { | ||
| 2391 | my ($self, %args) = @_; | ||
| 2392 | my $x_args = [ | ||
| 2393 | ['_this', 'ManagedObjectReference'], | ||
| 2394 | ['datacenter', 'ManagedObjectReference'], | ||
| 2395 | ['uuid', undef], | ||
| 2396 | ['vmSearch', 'boolean'], | ||
| 2397 | ['instanceUuid', 'boolean'], | ||
| 2398 | ]; | ||
| 2399 | return $self->soap_call('FindAllByUuid', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2400 | } | ||
| 2401 | |||
| 2402 | sub FindAssociatedProfile { | ||
| 2403 | my ($self, %args) = @_; | ||
| 2404 | my $x_args = [ | ||
| 2405 | ['_this', 'ManagedObjectReference'], | ||
| 2406 | ['entity', 'ManagedObjectReference'], | ||
| 2407 | ]; | ||
| 2408 | return $self->soap_call('FindAssociatedProfile', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2409 | } | ||
| 2410 | |||
| 2411 | sub FindByDatastorePath { | ||
| 2412 | my ($self, %args) = @_; | ||
| 2413 | my $x_args = [ | ||
| 2414 | ['_this', 'ManagedObjectReference'], | ||
| 2415 | ['datacenter', 'ManagedObjectReference'], | ||
| 2416 | ['path', undef], | ||
| 2417 | ]; | ||
| 2418 | return $self->soap_call('FindByDatastorePath', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2419 | } | ||
| 2420 | |||
| 2421 | sub FindByDnsName { | ||
| 2422 | my ($self, %args) = @_; | ||
| 2423 | my $x_args = [ | ||
| 2424 | ['_this', 'ManagedObjectReference'], | ||
| 2425 | ['datacenter', 'ManagedObjectReference'], | ||
| 2426 | ['dnsName', undef], | ||
| 2427 | ['vmSearch', 'boolean'], | ||
| 2428 | ]; | ||
| 2429 | return $self->soap_call('FindByDnsName', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2430 | } | ||
| 2431 | |||
| 2432 | sub FindByInventoryPath { | ||
| 2433 | my ($self, %args) = @_; | ||
| 2434 | my $x_args = [ | ||
| 2435 | ['_this', 'ManagedObjectReference'], | ||
| 2436 | ['inventoryPath', undef], | ||
| 2437 | ]; | ||
| 2438 | return $self->soap_call('FindByInventoryPath', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2439 | } | ||
| 2440 | |||
| 2441 | sub FindByIp { | ||
| 2442 | my ($self, %args) = @_; | ||
| 2443 | my $x_args = [ | ||
| 2444 | ['_this', 'ManagedObjectReference'], | ||
| 2445 | ['datacenter', 'ManagedObjectReference'], | ||
| 2446 | ['ip', undef], | ||
| 2447 | ['vmSearch', 'boolean'], | ||
| 2448 | ]; | ||
| 2449 | return $self->soap_call('FindByIp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2450 | } | ||
| 2451 | |||
| 2452 | sub FindByUuid { | ||
| 2453 | my ($self, %args) = @_; | ||
| 2454 | my $x_args = [ | ||
| 2455 | ['_this', 'ManagedObjectReference'], | ||
| 2456 | ['datacenter', 'ManagedObjectReference'], | ||
| 2457 | ['uuid', undef], | ||
| 2458 | ['vmSearch', 'boolean'], | ||
| 2459 | ['instanceUuid', 'boolean'], | ||
| 2460 | ]; | ||
| 2461 | return $self->soap_call('FindByUuid', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2462 | } | ||
| 2463 | |||
| 2464 | sub FindChild { | ||
| 2465 | my ($self, %args) = @_; | ||
| 2466 | my $x_args = [ | ||
| 2467 | ['_this', 'ManagedObjectReference'], | ||
| 2468 | ['entity', 'ManagedObjectReference'], | ||
| 2469 | ['name', undef], | ||
| 2470 | ]; | ||
| 2471 | return $self->soap_call('FindChild', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2472 | } | ||
| 2473 | |||
| 2474 | sub FindExtension { | ||
| 2475 | my ($self, %args) = @_; | ||
| 2476 | my $x_args = [ | ||
| 2477 | ['_this', 'ManagedObjectReference'], | ||
| 2478 | ['extensionKey', undef], | ||
| 2479 | ]; | ||
| 2480 | return $self->soap_call('FindExtension', 'Extension', 0, $x_args, \%args); | ||
| 2481 | } | ||
| 2482 | |||
| 2483 | sub FindRulesForVm { | ||
| 2484 | my ($self, %args) = @_; | ||
| 2485 | my $x_args = [ | ||
| 2486 | ['_this', 'ManagedObjectReference'], | ||
| 2487 | ['vm', 'ManagedObjectReference'], | ||
| 2488 | ]; | ||
| 2489 | return $self->soap_call('FindRulesForVm', 'ClusterRuleInfo', 1, $x_args, \%args); | ||
| 2490 | } | ||
| 2491 | |||
| 2492 | sub FormatVffs { | ||
| 2493 | my ($self, %args) = @_; | ||
| 2494 | my $x_args = [ | ||
| 2495 | ['_this', 'ManagedObjectReference'], | ||
| 2496 | ['createSpec', 'HostVffsSpec'], | ||
| 2497 | ]; | ||
| 2498 | return $self->soap_call('FormatVffs', 'HostVffsVolume', 0, $x_args, \%args); | ||
| 2499 | } | ||
| 2500 | |||
| 2501 | sub FormatVmfs { | ||
| 2502 | my ($self, %args) = @_; | ||
| 2503 | my $x_args = [ | ||
| 2504 | ['_this', 'ManagedObjectReference'], | ||
| 2505 | ['createSpec', 'HostVmfsSpec'], | ||
| 2506 | ]; | ||
| 2507 | return $self->soap_call('FormatVmfs', 'HostVmfsVolume', 0, $x_args, \%args); | ||
| 2508 | } | ||
| 2509 | |||
| 2510 | sub GenerateCertificateSigningRequest { | ||
| 2511 | my ($self, %args) = @_; | ||
| 2512 | my $x_args = [ | ||
| 2513 | ['_this', 'ManagedObjectReference'], | ||
| 2514 | ['useIpAddressAsCommonName', 'boolean'], | ||
| 2515 | ]; | ||
| 2516 | return $self->soap_call('GenerateCertificateSigningRequest', undef, 0, $x_args, \%args); | ||
| 2517 | } | ||
| 2518 | |||
| 2519 | sub GenerateCertificateSigningRequestByDn { | ||
| 2520 | my ($self, %args) = @_; | ||
| 2521 | my $x_args = [ | ||
| 2522 | ['_this', 'ManagedObjectReference'], | ||
| 2523 | ['distinguishedName', undef], | ||
| 2524 | ]; | ||
| 2525 | return $self->soap_call('GenerateCertificateSigningRequestByDn', undef, 0, $x_args, \%args); | ||
| 2526 | } | ||
| 2527 | |||
| 2528 | sub GenerateClientCsr { | ||
| 2529 | my ($self, %args) = @_; | ||
| 2530 | my $x_args = [ | ||
| 2531 | ['_this', 'ManagedObjectReference'], | ||
| 2532 | ['cluster', 'KeyProviderId'], | ||
| 2533 | ]; | ||
| 2534 | return $self->soap_call('GenerateClientCsr', undef, 0, $x_args, \%args); | ||
| 2535 | } | ||
| 2536 | |||
| 2537 | sub GenerateConfigTaskList { | ||
| 2538 | my ($self, %args) = @_; | ||
| 2539 | my $x_args = [ | ||
| 2540 | ['_this', 'ManagedObjectReference'], | ||
| 2541 | ['configSpec', 'HostConfigSpec'], | ||
| 2542 | ['host', 'ManagedObjectReference'], | ||
| 2543 | ]; | ||
| 2544 | return $self->soap_call('GenerateConfigTaskList', 'HostProfileManagerConfigTaskList', 0, $x_args, \%args); | ||
| 2545 | } | ||
| 2546 | |||
| 2547 | sub GenerateHostConfigTaskSpec_Task { | ||
| 2548 | my ($self, %args) = @_; | ||
| 2549 | my $x_args = [ | ||
| 2550 | ['_this', 'ManagedObjectReference'], | ||
| 2551 | ['hostsInfo', 'StructuredCustomizations'], | ||
| 2552 | ]; | ||
| 2553 | return $self->soap_call('GenerateHostConfigTaskSpec_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2554 | } | ||
| 2555 | |||
| 2556 | sub GenerateHostProfileTaskList_Task { | ||
| 2557 | my ($self, %args) = @_; | ||
| 2558 | my $x_args = [ | ||
| 2559 | ['_this', 'ManagedObjectReference'], | ||
| 2560 | ['configSpec', 'HostConfigSpec'], | ||
| 2561 | ['host', 'ManagedObjectReference'], | ||
| 2562 | ]; | ||
| 2563 | return $self->soap_call('GenerateHostProfileTaskList_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2564 | } | ||
| 2565 | |||
| 2566 | sub GenerateKey { | ||
| 2567 | my ($self, %args) = @_; | ||
| 2568 | my $x_args = [ | ||
| 2569 | ['_this', 'ManagedObjectReference'], | ||
| 2570 | ['keyProvider', 'KeyProviderId'], | ||
| 2571 | ]; | ||
| 2572 | return $self->soap_call('GenerateKey', 'CryptoKeyResult', 0, $x_args, \%args); | ||
| 2573 | } | ||
| 2574 | |||
| 2575 | sub GenerateLogBundles_Task { | ||
| 2576 | my ($self, %args) = @_; | ||
| 2577 | my $x_args = [ | ||
| 2578 | ['_this', 'ManagedObjectReference'], | ||
| 2579 | ['includeDefault', 'boolean'], | ||
| 2580 | ['host', 'ManagedObjectReference'], | ||
| 2581 | ]; | ||
| 2582 | return $self->soap_call('GenerateLogBundles_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2583 | } | ||
| 2584 | |||
| 2585 | sub GenerateSelfSignedClientCert { | ||
| 2586 | my ($self, %args) = @_; | ||
| 2587 | my $x_args = [ | ||
| 2588 | ['_this', 'ManagedObjectReference'], | ||
| 2589 | ['cluster', 'KeyProviderId'], | ||
| 2590 | ]; | ||
| 2591 | return $self->soap_call('GenerateSelfSignedClientCert', undef, 0, $x_args, \%args); | ||
| 2592 | } | ||
| 2593 | |||
| 2594 | sub GetAlarm { | ||
| 2595 | my ($self, %args) = @_; | ||
| 2596 | my $x_args = [ | ||
| 2597 | ['_this', 'ManagedObjectReference'], | ||
| 2598 | ['entity', 'ManagedObjectReference'], | ||
| 2599 | ]; | ||
| 2600 | return $self->soap_call('GetAlarm', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2601 | } | ||
| 2602 | |||
| 2603 | sub GetAlarmState { | ||
| 2604 | my ($self, %args) = @_; | ||
| 2605 | my $x_args = [ | ||
| 2606 | ['_this', 'ManagedObjectReference'], | ||
| 2607 | ['entity', 'ManagedObjectReference'], | ||
| 2608 | ]; | ||
| 2609 | return $self->soap_call('GetAlarmState', 'AlarmState', 1, $x_args, \%args); | ||
| 2610 | } | ||
| 2611 | |||
| 2612 | sub GetCustomizationSpec { | ||
| 2613 | my ($self, %args) = @_; | ||
| 2614 | my $x_args = [ | ||
| 2615 | ['_this', 'ManagedObjectReference'], | ||
| 2616 | ['name', undef], | ||
| 2617 | ]; | ||
| 2618 | return $self->soap_call('GetCustomizationSpec', 'CustomizationSpecItem', 0, $x_args, \%args); | ||
| 2619 | } | ||
| 2620 | |||
| 2621 | sub GetPublicKey { | ||
| 2622 | my ($self, %args) = @_; | ||
| 2623 | my $x_args = [ | ||
| 2624 | ['_this', 'ManagedObjectReference'], | ||
| 2625 | ]; | ||
| 2626 | return $self->soap_call('GetPublicKey', undef, 0, $x_args, \%args); | ||
| 2627 | } | ||
| 2628 | |||
| 2629 | sub GetResourceUsage { | ||
| 2630 | my ($self, %args) = @_; | ||
| 2631 | my $x_args = [ | ||
| 2632 | ['_this', 'ManagedObjectReference'], | ||
| 2633 | ]; | ||
| 2634 | return $self->soap_call('GetResourceUsage', 'ClusterResourceUsageSummary', 0, $x_args, \%args); | ||
| 2635 | } | ||
| 2636 | |||
| 2637 | sub GetVchaClusterHealth { | ||
| 2638 | my ($self, %args) = @_; | ||
| 2639 | my $x_args = [ | ||
| 2640 | ['_this', 'ManagedObjectReference'], | ||
| 2641 | ]; | ||
| 2642 | return $self->soap_call('GetVchaClusterHealth', 'VchaClusterHealth', 0, $x_args, \%args); | ||
| 2643 | } | ||
| 2644 | |||
| 2645 | sub GetVsanObjExtAttrs { | ||
| 2646 | my ($self, %args) = @_; | ||
| 2647 | my $x_args = [ | ||
| 2648 | ['_this', 'ManagedObjectReference'], | ||
| 2649 | ['uuids', undef], | ||
| 2650 | ]; | ||
| 2651 | return $self->soap_call('GetVsanObjExtAttrs', undef, 0, $x_args, \%args); | ||
| 2652 | } | ||
| 2653 | |||
| 2654 | sub HasMonitoredEntity { | ||
| 2655 | my ($self, %args) = @_; | ||
| 2656 | my $x_args = [ | ||
| 2657 | ['_this', 'ManagedObjectReference'], | ||
| 2658 | ['providerId', undef], | ||
| 2659 | ['entity', 'ManagedObjectReference'], | ||
| 2660 | ]; | ||
| 2661 | return $self->soap_call('HasMonitoredEntity', 'boolean', 0, $x_args, \%args); | ||
| 2662 | } | ||
| 2663 | |||
| 2664 | sub HasPrivilegeOnEntities { | ||
| 2665 | my ($self, %args) = @_; | ||
| 2666 | my $x_args = [ | ||
| 2667 | ['_this', 'ManagedObjectReference'], | ||
| 2668 | ['entity', 'ManagedObjectReference'], | ||
| 2669 | ['sessionId', undef], | ||
| 2670 | ['privId', undef], | ||
| 2671 | ]; | ||
| 2672 | return $self->soap_call('HasPrivilegeOnEntities', 'EntityPrivilege', 1, $x_args, \%args); | ||
| 2673 | } | ||
| 2674 | |||
| 2675 | sub HasPrivilegeOnEntity { | ||
| 2676 | my ($self, %args) = @_; | ||
| 2677 | my $x_args = [ | ||
| 2678 | ['_this', 'ManagedObjectReference'], | ||
| 2679 | ['entity', 'ManagedObjectReference'], | ||
| 2680 | ['sessionId', undef], | ||
| 2681 | ['privId', undef], | ||
| 2682 | ]; | ||
| 2683 | return $self->soap_call('HasPrivilegeOnEntity', 'boolean', 1, $x_args, \%args); | ||
| 2684 | } | ||
| 2685 | |||
| 2686 | sub HasProvider { | ||
| 2687 | my ($self, %args) = @_; | ||
| 2688 | my $x_args = [ | ||
| 2689 | ['_this', 'ManagedObjectReference'], | ||
| 2690 | ['id', undef], | ||
| 2691 | ]; | ||
| 2692 | return $self->soap_call('HasProvider', 'boolean', 0, $x_args, \%args); | ||
| 2693 | } | ||
| 2694 | |||
| 2695 | sub HasUserPrivilegeOnEntities { | ||
| 2696 | my ($self, %args) = @_; | ||
| 2697 | my $x_args = [ | ||
| 2698 | ['_this', 'ManagedObjectReference'], | ||
| 2699 | ['entities', 'ManagedObjectReference'], | ||
| 2700 | ['userName', undef], | ||
| 2701 | ['privId', undef], | ||
| 2702 | ]; | ||
| 2703 | return $self->soap_call('HasUserPrivilegeOnEntities', 'EntityPrivilege', 1, $x_args, \%args); | ||
| 2704 | } | ||
| 2705 | |||
| 2706 | sub HostCloneVStorageObject_Task { | ||
| 2707 | my ($self, %args) = @_; | ||
| 2708 | my $x_args = [ | ||
| 2709 | ['_this', 'ManagedObjectReference'], | ||
| 2710 | ['id', 'ID'], | ||
| 2711 | ['datastore', 'ManagedObjectReference'], | ||
| 2712 | ['spec', 'VslmCloneSpec'], | ||
| 2713 | ]; | ||
| 2714 | return $self->soap_call('HostCloneVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2715 | } | ||
| 2716 | |||
| 2717 | sub HostConfigVFlashCache { | ||
| 2718 | my ($self, %args) = @_; | ||
| 2719 | my $x_args = [ | ||
| 2720 | ['_this', 'ManagedObjectReference'], | ||
| 2721 | ['spec', 'HostVFlashManagerVFlashCacheConfigSpec'], | ||
| 2722 | ]; | ||
| 2723 | return $self->soap_call('HostConfigVFlashCache', undef, 0, $x_args, \%args); | ||
| 2724 | } | ||
| 2725 | |||
| 2726 | sub HostConfigureVFlashResource { | ||
| 2727 | my ($self, %args) = @_; | ||
| 2728 | my $x_args = [ | ||
| 2729 | ['_this', 'ManagedObjectReference'], | ||
| 2730 | ['spec', 'HostVFlashManagerVFlashResourceConfigSpec'], | ||
| 2731 | ]; | ||
| 2732 | return $self->soap_call('HostConfigureVFlashResource', undef, 0, $x_args, \%args); | ||
| 2733 | } | ||
| 2734 | |||
| 2735 | sub HostCreateDisk_Task { | ||
| 2736 | my ($self, %args) = @_; | ||
| 2737 | my $x_args = [ | ||
| 2738 | ['_this', 'ManagedObjectReference'], | ||
| 2739 | ['spec', 'VslmCreateSpec'], | ||
| 2740 | ]; | ||
| 2741 | return $self->soap_call('HostCreateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2742 | } | ||
| 2743 | |||
| 2744 | sub HostDeleteVStorageObject_Task { | ||
| 2745 | my ($self, %args) = @_; | ||
| 2746 | my $x_args = [ | ||
| 2747 | ['_this', 'ManagedObjectReference'], | ||
| 2748 | ['id', 'ID'], | ||
| 2749 | ['datastore', 'ManagedObjectReference'], | ||
| 2750 | ]; | ||
| 2751 | return $self->soap_call('HostDeleteVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2752 | } | ||
| 2753 | |||
| 2754 | sub HostExtendDisk_Task { | ||
| 2755 | my ($self, %args) = @_; | ||
| 2756 | my $x_args = [ | ||
| 2757 | ['_this', 'ManagedObjectReference'], | ||
| 2758 | ['id', 'ID'], | ||
| 2759 | ['datastore', 'ManagedObjectReference'], | ||
| 2760 | ['newCapacityInMB', undef], | ||
| 2761 | ]; | ||
| 2762 | return $self->soap_call('HostExtendDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2763 | } | ||
| 2764 | |||
| 2765 | sub HostGetVFlashModuleDefaultConfig { | ||
| 2766 | my ($self, %args) = @_; | ||
| 2767 | my $x_args = [ | ||
| 2768 | ['_this', 'ManagedObjectReference'], | ||
| 2769 | ['vFlashModule', undef], | ||
| 2770 | ]; | ||
| 2771 | return $self->soap_call('HostGetVFlashModuleDefaultConfig', 'VirtualDiskVFlashCacheConfigInfo', 0, $x_args, \%args); | ||
| 2772 | } | ||
| 2773 | |||
| 2774 | sub HostImageConfigGetAcceptance { | ||
| 2775 | my ($self, %args) = @_; | ||
| 2776 | my $x_args = [ | ||
| 2777 | ['_this', 'ManagedObjectReference'], | ||
| 2778 | ]; | ||
| 2779 | return $self->soap_call('HostImageConfigGetAcceptance', undef, 0, $x_args, \%args); | ||
| 2780 | } | ||
| 2781 | |||
| 2782 | sub HostImageConfigGetProfile { | ||
| 2783 | my ($self, %args) = @_; | ||
| 2784 | my $x_args = [ | ||
| 2785 | ['_this', 'ManagedObjectReference'], | ||
| 2786 | ]; | ||
| 2787 | return $self->soap_call('HostImageConfigGetProfile', 'HostImageProfileSummary', 0, $x_args, \%args); | ||
| 2788 | } | ||
| 2789 | |||
| 2790 | sub HostInflateDisk_Task { | ||
| 2791 | my ($self, %args) = @_; | ||
| 2792 | my $x_args = [ | ||
| 2793 | ['_this', 'ManagedObjectReference'], | ||
| 2794 | ['id', 'ID'], | ||
| 2795 | ['datastore', 'ManagedObjectReference'], | ||
| 2796 | ]; | ||
| 2797 | return $self->soap_call('HostInflateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2798 | } | ||
| 2799 | |||
| 2800 | sub HostListVStorageObject { | ||
| 2801 | my ($self, %args) = @_; | ||
| 2802 | my $x_args = [ | ||
| 2803 | ['_this', 'ManagedObjectReference'], | ||
| 2804 | ['datastore', 'ManagedObjectReference'], | ||
| 2805 | ]; | ||
| 2806 | return $self->soap_call('HostListVStorageObject', 'ID', 1, $x_args, \%args); | ||
| 2807 | } | ||
| 2808 | |||
| 2809 | sub HostReconcileDatastoreInventory_Task { | ||
| 2810 | my ($self, %args) = @_; | ||
| 2811 | my $x_args = [ | ||
| 2812 | ['_this', 'ManagedObjectReference'], | ||
| 2813 | ['datastore', 'ManagedObjectReference'], | ||
| 2814 | ]; | ||
| 2815 | return $self->soap_call('HostReconcileDatastoreInventory_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2816 | } | ||
| 2817 | |||
| 2818 | sub HostRegisterDisk { | ||
| 2819 | my ($self, %args) = @_; | ||
| 2820 | my $x_args = [ | ||
| 2821 | ['_this', 'ManagedObjectReference'], | ||
| 2822 | ['path', undef], | ||
| 2823 | ['name', undef], | ||
| 2824 | ]; | ||
| 2825 | return $self->soap_call('HostRegisterDisk', 'VStorageObject', 0, $x_args, \%args); | ||
| 2826 | } | ||
| 2827 | |||
| 2828 | sub HostRelocateVStorageObject_Task { | ||
| 2829 | my ($self, %args) = @_; | ||
| 2830 | my $x_args = [ | ||
| 2831 | ['_this', 'ManagedObjectReference'], | ||
| 2832 | ['id', 'ID'], | ||
| 2833 | ['datastore', 'ManagedObjectReference'], | ||
| 2834 | ['spec', 'VslmRelocateSpec'], | ||
| 2835 | ]; | ||
| 2836 | return $self->soap_call('HostRelocateVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2837 | } | ||
| 2838 | |||
| 2839 | sub HostRemoveVFlashResource { | ||
| 2840 | my ($self, %args) = @_; | ||
| 2841 | my $x_args = [ | ||
| 2842 | ['_this', 'ManagedObjectReference'], | ||
| 2843 | ]; | ||
| 2844 | return $self->soap_call('HostRemoveVFlashResource', undef, 0, $x_args, \%args); | ||
| 2845 | } | ||
| 2846 | |||
| 2847 | sub HostRenameVStorageObject { | ||
| 2848 | my ($self, %args) = @_; | ||
| 2849 | my $x_args = [ | ||
| 2850 | ['_this', 'ManagedObjectReference'], | ||
| 2851 | ['id', 'ID'], | ||
| 2852 | ['datastore', 'ManagedObjectReference'], | ||
| 2853 | ['name', undef], | ||
| 2854 | ]; | ||
| 2855 | return $self->soap_call('HostRenameVStorageObject', undef, 0, $x_args, \%args); | ||
| 2856 | } | ||
| 2857 | |||
| 2858 | sub HostRetrieveVStorageObject { | ||
| 2859 | my ($self, %args) = @_; | ||
| 2860 | my $x_args = [ | ||
| 2861 | ['_this', 'ManagedObjectReference'], | ||
| 2862 | ['id', 'ID'], | ||
| 2863 | ['datastore', 'ManagedObjectReference'], | ||
| 2864 | ]; | ||
| 2865 | return $self->soap_call('HostRetrieveVStorageObject', 'VStorageObject', 0, $x_args, \%args); | ||
| 2866 | } | ||
| 2867 | |||
| 2868 | sub HostRetrieveVStorageObjectState { | ||
| 2869 | my ($self, %args) = @_; | ||
| 2870 | my $x_args = [ | ||
| 2871 | ['_this', 'ManagedObjectReference'], | ||
| 2872 | ['id', 'ID'], | ||
| 2873 | ['datastore', 'ManagedObjectReference'], | ||
| 2874 | ]; | ||
| 2875 | return $self->soap_call('HostRetrieveVStorageObjectState', 'VStorageObjectStateInfo', 0, $x_args, \%args); | ||
| 2876 | } | ||
| 2877 | |||
| 2878 | sub HostScheduleReconcileDatastoreInventory { | ||
| 2879 | my ($self, %args) = @_; | ||
| 2880 | my $x_args = [ | ||
| 2881 | ['_this', 'ManagedObjectReference'], | ||
| 2882 | ['datastore', 'ManagedObjectReference'], | ||
| 2883 | ]; | ||
| 2884 | return $self->soap_call('HostScheduleReconcileDatastoreInventory', undef, 0, $x_args, \%args); | ||
| 2885 | } | ||
| 2886 | |||
| 2887 | sub HostSpecGetUpdatedHosts { | ||
| 2888 | my ($self, %args) = @_; | ||
| 2889 | my $x_args = [ | ||
| 2890 | ['_this', 'ManagedObjectReference'], | ||
| 2891 | ['startChangeID', undef], | ||
| 2892 | ['endChangeID', undef], | ||
| 2893 | ]; | ||
| 2894 | return $self->soap_call('HostSpecGetUpdatedHosts', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2895 | } | ||
| 2896 | |||
| 2897 | sub HttpNfcLeaseAbort { | ||
| 2898 | my ($self, %args) = @_; | ||
| 2899 | my $x_args = [ | ||
| 2900 | ['_this', 'ManagedObjectReference'], | ||
| 2901 | ['fault', 'LocalizedMethodFault'], | ||
| 2902 | ]; | ||
| 2903 | return $self->soap_call('HttpNfcLeaseAbort', undef, 0, $x_args, \%args); | ||
| 2904 | } | ||
| 2905 | |||
| 2906 | sub HttpNfcLeaseComplete { | ||
| 2907 | my ($self, %args) = @_; | ||
| 2908 | my $x_args = [ | ||
| 2909 | ['_this', 'ManagedObjectReference'], | ||
| 2910 | ]; | ||
| 2911 | return $self->soap_call('HttpNfcLeaseComplete', undef, 0, $x_args, \%args); | ||
| 2912 | } | ||
| 2913 | |||
| 2914 | sub HttpNfcLeaseGetManifest { | ||
| 2915 | my ($self, %args) = @_; | ||
| 2916 | my $x_args = [ | ||
| 2917 | ['_this', 'ManagedObjectReference'], | ||
| 2918 | ]; | ||
| 2919 | return $self->soap_call('HttpNfcLeaseGetManifest', 'HttpNfcLeaseManifestEntry', 1, $x_args, \%args); | ||
| 2920 | } | ||
| 2921 | |||
| 2922 | sub HttpNfcLeaseProgress { | ||
| 2923 | my ($self, %args) = @_; | ||
| 2924 | my $x_args = [ | ||
| 2925 | ['_this', 'ManagedObjectReference'], | ||
| 2926 | ['percent', undef], | ||
| 2927 | ]; | ||
| 2928 | return $self->soap_call('HttpNfcLeaseProgress', undef, 0, $x_args, \%args); | ||
| 2929 | } | ||
| 2930 | |||
| 2931 | sub ImpersonateUser { | ||
| 2932 | my ($self, %args) = @_; | ||
| 2933 | my $x_args = [ | ||
| 2934 | ['_this', 'ManagedObjectReference'], | ||
| 2935 | ['userName', undef], | ||
| 2936 | ['locale', undef], | ||
| 2937 | ]; | ||
| 2938 | return $self->soap_call('ImpersonateUser', 'UserSession', 0, $x_args, \%args); | ||
| 2939 | } | ||
| 2940 | |||
| 2941 | sub ImportCertificateForCAM_Task { | ||
| 2942 | my ($self, %args) = @_; | ||
| 2943 | my $x_args = [ | ||
| 2944 | ['_this', 'ManagedObjectReference'], | ||
| 2945 | ['certPath', undef], | ||
| 2946 | ['camServer', undef], | ||
| 2947 | ]; | ||
| 2948 | return $self->soap_call('ImportCertificateForCAM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2949 | } | ||
| 2950 | |||
| 2951 | sub ImportUnmanagedSnapshot { | ||
| 2952 | my ($self, %args) = @_; | ||
| 2953 | my $x_args = [ | ||
| 2954 | ['_this', 'ManagedObjectReference'], | ||
| 2955 | ['vdisk', undef], | ||
| 2956 | ['datacenter', 'ManagedObjectReference'], | ||
| 2957 | ['vvolId', undef], | ||
| 2958 | ]; | ||
| 2959 | return $self->soap_call('ImportUnmanagedSnapshot', undef, 0, $x_args, \%args); | ||
| 2960 | } | ||
| 2961 | |||
| 2962 | sub ImportVApp { | ||
| 2963 | my ($self, %args) = @_; | ||
| 2964 | my $x_args = [ | ||
| 2965 | ['_this', 'ManagedObjectReference'], | ||
| 2966 | ['spec', 'ImportSpec'], | ||
| 2967 | ['folder', 'ManagedObjectReference'], | ||
| 2968 | ['host', 'ManagedObjectReference'], | ||
| 2969 | ]; | ||
| 2970 | return $self->soap_call('ImportVApp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2971 | } | ||
| 2972 | |||
| 2973 | sub InflateDisk_Task { | ||
| 2974 | my ($self, %args) = @_; | ||
| 2975 | my $x_args = [ | ||
| 2976 | ['_this', 'ManagedObjectReference'], | ||
| 2977 | ['id', 'ID'], | ||
| 2978 | ['datastore', 'ManagedObjectReference'], | ||
| 2979 | ]; | ||
| 2980 | return $self->soap_call('InflateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2981 | } | ||
| 2982 | |||
| 2983 | sub InflateVirtualDisk_Task { | ||
| 2984 | my ($self, %args) = @_; | ||
| 2985 | my $x_args = [ | ||
| 2986 | ['_this', 'ManagedObjectReference'], | ||
| 2987 | ['name', undef], | ||
| 2988 | ['datacenter', 'ManagedObjectReference'], | ||
| 2989 | ]; | ||
| 2990 | return $self->soap_call('InflateVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2991 | } | ||
| 2992 | |||
| 2993 | sub InitializeDisks_Task { | ||
| 2994 | my ($self, %args) = @_; | ||
| 2995 | my $x_args = [ | ||
| 2996 | ['_this', 'ManagedObjectReference'], | ||
| 2997 | ['mapping', 'VsanHostDiskMapping'], | ||
| 2998 | ]; | ||
| 2999 | return $self->soap_call('InitializeDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3000 | } | ||
| 3001 | |||
| 3002 | sub InitiateFileTransferFromGuest { | ||
| 3003 | my ($self, %args) = @_; | ||
| 3004 | my $x_args = [ | ||
| 3005 | ['_this', 'ManagedObjectReference'], | ||
| 3006 | ['vm', 'ManagedObjectReference'], | ||
| 3007 | ['auth', 'GuestAuthentication'], | ||
| 3008 | ['guestFilePath', undef], | ||
| 3009 | ]; | ||
| 3010 | return $self->soap_call('InitiateFileTransferFromGuest', 'FileTransferInformation', 0, $x_args, \%args); | ||
| 3011 | } | ||
| 3012 | |||
| 3013 | sub InitiateFileTransferToGuest { | ||
| 3014 | my ($self, %args) = @_; | ||
| 3015 | my $x_args = [ | ||
| 3016 | ['_this', 'ManagedObjectReference'], | ||
| 3017 | ['vm', 'ManagedObjectReference'], | ||
| 3018 | ['auth', 'GuestAuthentication'], | ||
| 3019 | ['guestFilePath', undef], | ||
| 3020 | ['fileAttributes', 'GuestFileAttributes'], | ||
| 3021 | ['fileSize', undef], | ||
| 3022 | ['overwrite', 'boolean'], | ||
| 3023 | ]; | ||
| 3024 | return $self->soap_call('InitiateFileTransferToGuest', undef, 0, $x_args, \%args); | ||
| 3025 | } | ||
| 3026 | |||
| 3027 | sub InstallHostPatchV2_Task { | ||
| 3028 | my ($self, %args) = @_; | ||
| 3029 | my $x_args = [ | ||
| 3030 | ['_this', 'ManagedObjectReference'], | ||
| 3031 | ['metaUrls', undef], | ||
| 3032 | ['bundleUrls', undef], | ||
| 3033 | ['vibUrls', undef], | ||
| 3034 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 3035 | ]; | ||
| 3036 | return $self->soap_call('InstallHostPatchV2_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3037 | } | ||
| 3038 | |||
| 3039 | sub InstallHostPatch_Task { | ||
| 3040 | my ($self, %args) = @_; | ||
| 3041 | my $x_args = [ | ||
| 3042 | ['_this', 'ManagedObjectReference'], | ||
| 3043 | ['repository', 'HostPatchManagerLocator'], | ||
| 3044 | ['updateID', undef], | ||
| 3045 | ['force', 'boolean'], | ||
| 3046 | ]; | ||
| 3047 | return $self->soap_call('InstallHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3048 | } | ||
| 3049 | |||
| 3050 | sub InstallIoFilter_Task { | ||
| 3051 | my ($self, %args) = @_; | ||
| 3052 | my $x_args = [ | ||
| 3053 | ['_this', 'ManagedObjectReference'], | ||
| 3054 | ['vibUrl', undef], | ||
| 3055 | ['compRes', 'ManagedObjectReference'], | ||
| 3056 | ]; | ||
| 3057 | return $self->soap_call('InstallIoFilter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3058 | } | ||
| 3059 | |||
| 3060 | sub InstallServerCertificate { | ||
| 3061 | my ($self, %args) = @_; | ||
| 3062 | my $x_args = [ | ||
| 3063 | ['_this', 'ManagedObjectReference'], | ||
| 3064 | ['cert', undef], | ||
| 3065 | ]; | ||
| 3066 | return $self->soap_call('InstallServerCertificate', undef, 0, $x_args, \%args); | ||
| 3067 | } | ||
| 3068 | |||
| 3069 | sub InstallSmartCardTrustAnchor { | ||
| 3070 | my ($self, %args) = @_; | ||
| 3071 | my $x_args = [ | ||
| 3072 | ['_this', 'ManagedObjectReference'], | ||
| 3073 | ['cert', undef], | ||
| 3074 | ]; | ||
| 3075 | return $self->soap_call('InstallSmartCardTrustAnchor', undef, 0, $x_args, \%args); | ||
| 3076 | } | ||
| 3077 | |||
| 3078 | sub IsSharedGraphicsActive { | ||
| 3079 | my ($self, %args) = @_; | ||
| 3080 | my $x_args = [ | ||
| 3081 | ['_this', 'ManagedObjectReference'], | ||
| 3082 | ]; | ||
| 3083 | return $self->soap_call('IsSharedGraphicsActive', 'boolean', 0, $x_args, \%args); | ||
| 3084 | } | ||
| 3085 | |||
| 3086 | sub JoinDomainWithCAM_Task { | ||
| 3087 | my ($self, %args) = @_; | ||
| 3088 | my $x_args = [ | ||
| 3089 | ['_this', 'ManagedObjectReference'], | ||
| 3090 | ['domainName', undef], | ||
| 3091 | ['camServer', undef], | ||
| 3092 | ]; | ||
| 3093 | return $self->soap_call('JoinDomainWithCAM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3094 | } | ||
| 3095 | |||
| 3096 | sub JoinDomain_Task { | ||
| 3097 | my ($self, %args) = @_; | ||
| 3098 | my $x_args = [ | ||
| 3099 | ['_this', 'ManagedObjectReference'], | ||
| 3100 | ['domainName', undef], | ||
| 3101 | ['userName', undef], | ||
| 3102 | ['password', undef], | ||
| 3103 | ]; | ||
| 3104 | return $self->soap_call('JoinDomain_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3105 | } | ||
| 3106 | |||
| 3107 | sub LeaveCurrentDomain_Task { | ||
| 3108 | my ($self, %args) = @_; | ||
| 3109 | my $x_args = [ | ||
| 3110 | ['_this', 'ManagedObjectReference'], | ||
| 3111 | ['force', 'boolean'], | ||
| 3112 | ]; | ||
| 3113 | return $self->soap_call('LeaveCurrentDomain_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3114 | } | ||
| 3115 | |||
| 3116 | sub ListCACertificateRevocationLists { | ||
| 3117 | my ($self, %args) = @_; | ||
| 3118 | my $x_args = [ | ||
| 3119 | ['_this', 'ManagedObjectReference'], | ||
| 3120 | ]; | ||
| 3121 | return $self->soap_call('ListCACertificateRevocationLists', undef, 1, $x_args, \%args); | ||
| 3122 | } | ||
| 3123 | |||
| 3124 | sub ListCACertificates { | ||
| 3125 | my ($self, %args) = @_; | ||
| 3126 | my $x_args = [ | ||
| 3127 | ['_this', 'ManagedObjectReference'], | ||
| 3128 | ]; | ||
| 3129 | return $self->soap_call('ListCACertificates', undef, 1, $x_args, \%args); | ||
| 3130 | } | ||
| 3131 | |||
| 3132 | sub ListFilesInGuest { | ||
| 3133 | my ($self, %args) = @_; | ||
| 3134 | my $x_args = [ | ||
| 3135 | ['_this', 'ManagedObjectReference'], | ||
| 3136 | ['vm', 'ManagedObjectReference'], | ||
| 3137 | ['auth', 'GuestAuthentication'], | ||
| 3138 | ['filePath', undef], | ||
| 3139 | ['index', undef], | ||
| 3140 | ['maxResults', undef], | ||
| 3141 | ['matchPattern', undef], | ||
| 3142 | ]; | ||
| 3143 | return $self->soap_call('ListFilesInGuest', 'GuestListFileInfo', 0, $x_args, \%args); | ||
| 3144 | } | ||
| 3145 | |||
| 3146 | sub ListGuestAliases { | ||
| 3147 | my ($self, %args) = @_; | ||
| 3148 | my $x_args = [ | ||
| 3149 | ['_this', 'ManagedObjectReference'], | ||
| 3150 | ['vm', 'ManagedObjectReference'], | ||
| 3151 | ['auth', 'GuestAuthentication'], | ||
| 3152 | ['username', undef], | ||
| 3153 | ]; | ||
| 3154 | return $self->soap_call('ListGuestAliases', 'GuestAliases', 1, $x_args, \%args); | ||
| 3155 | } | ||
| 3156 | |||
| 3157 | sub ListGuestMappedAliases { | ||
| 3158 | my ($self, %args) = @_; | ||
| 3159 | my $x_args = [ | ||
| 3160 | ['_this', 'ManagedObjectReference'], | ||
| 3161 | ['vm', 'ManagedObjectReference'], | ||
| 3162 | ['auth', 'GuestAuthentication'], | ||
| 3163 | ]; | ||
| 3164 | return $self->soap_call('ListGuestMappedAliases', 'GuestMappedAliases', 1, $x_args, \%args); | ||
| 3165 | } | ||
| 3166 | |||
| 3167 | sub ListKeys { | ||
| 3168 | my ($self, %args) = @_; | ||
| 3169 | my $x_args = [ | ||
| 3170 | ['_this', 'ManagedObjectReference'], | ||
| 3171 | ['limit', undef], | ||
| 3172 | ]; | ||
| 3173 | return $self->soap_call('ListKeys', 'CryptoKeyId', 1, $x_args, \%args); | ||
| 3174 | } | ||
| 3175 | |||
| 3176 | sub ListKmipServers { | ||
| 3177 | my ($self, %args) = @_; | ||
| 3178 | my $x_args = [ | ||
| 3179 | ['_this', 'ManagedObjectReference'], | ||
| 3180 | ['limit', undef], | ||
| 3181 | ]; | ||
| 3182 | return $self->soap_call('ListKmipServers', 'KmipClusterInfo', 1, $x_args, \%args); | ||
| 3183 | } | ||
| 3184 | |||
| 3185 | sub ListProcessesInGuest { | ||
| 3186 | my ($self, %args) = @_; | ||
| 3187 | my $x_args = [ | ||
| 3188 | ['_this', 'ManagedObjectReference'], | ||
| 3189 | ['vm', 'ManagedObjectReference'], | ||
| 3190 | ['auth', 'GuestAuthentication'], | ||
| 3191 | ['pids', undef], | ||
| 3192 | ]; | ||
| 3193 | return $self->soap_call('ListProcessesInGuest', 'GuestProcessInfo', 1, $x_args, \%args); | ||
| 3194 | } | ||
| 3195 | |||
| 3196 | sub ListRegistryKeysInGuest { | ||
| 3197 | my ($self, %args) = @_; | ||
| 3198 | my $x_args = [ | ||
| 3199 | ['_this', 'ManagedObjectReference'], | ||
| 3200 | ['vm', 'ManagedObjectReference'], | ||
| 3201 | ['auth', 'GuestAuthentication'], | ||
| 3202 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 3203 | ['recursive', 'boolean'], | ||
| 3204 | ['matchPattern', undef], | ||
| 3205 | ]; | ||
| 3206 | return $self->soap_call('ListRegistryKeysInGuest', 'GuestRegKeyRecordSpec', 1, $x_args, \%args); | ||
| 3207 | } | ||
| 3208 | |||
| 3209 | sub ListRegistryValuesInGuest { | ||
| 3210 | my ($self, %args) = @_; | ||
| 3211 | my $x_args = [ | ||
| 3212 | ['_this', 'ManagedObjectReference'], | ||
| 3213 | ['vm', 'ManagedObjectReference'], | ||
| 3214 | ['auth', 'GuestAuthentication'], | ||
| 3215 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 3216 | ['expandStrings', 'boolean'], | ||
| 3217 | ['matchPattern', undef], | ||
| 3218 | ]; | ||
| 3219 | return $self->soap_call('ListRegistryValuesInGuest', 'GuestRegValueSpec', 1, $x_args, \%args); | ||
| 3220 | } | ||
| 3221 | |||
| 3222 | sub ListSmartCardTrustAnchors { | ||
| 3223 | my ($self, %args) = @_; | ||
| 3224 | my $x_args = [ | ||
| 3225 | ['_this', 'ManagedObjectReference'], | ||
| 3226 | ]; | ||
| 3227 | return $self->soap_call('ListSmartCardTrustAnchors', undef, 1, $x_args, \%args); | ||
| 3228 | } | ||
| 3229 | |||
| 3230 | sub ListTagsAttachedToVStorageObject { | ||
| 3231 | my ($self, %args) = @_; | ||
| 3232 | my $x_args = [ | ||
| 3233 | ['_this', 'ManagedObjectReference'], | ||
| 3234 | ['id', 'ID'], | ||
| 3235 | ]; | ||
| 3236 | return $self->soap_call('ListTagsAttachedToVStorageObject', 'VslmTagEntry', 1, $x_args, \%args); | ||
| 3237 | } | ||
| 3238 | |||
| 3239 | sub ListVStorageObject { | ||
| 3240 | my ($self, %args) = @_; | ||
| 3241 | my $x_args = [ | ||
| 3242 | ['_this', 'ManagedObjectReference'], | ||
| 3243 | ['datastore', 'ManagedObjectReference'], | ||
| 3244 | ]; | ||
| 3245 | return $self->soap_call('ListVStorageObject', 'ID', 1, $x_args, \%args); | ||
| 3246 | } | ||
| 3247 | |||
| 3248 | sub ListVStorageObjectsAttachedToTag { | ||
| 3249 | my ($self, %args) = @_; | ||
| 3250 | my $x_args = [ | ||
| 3251 | ['_this', 'ManagedObjectReference'], | ||
| 3252 | ['category', undef], | ||
| 3253 | ['tag', undef], | ||
| 3254 | ]; | ||
| 3255 | return $self->soap_call('ListVStorageObjectsAttachedToTag', 'ID', 1, $x_args, \%args); | ||
| 3256 | } | ||
| 3257 | |||
| 3258 | sub LogUserEvent { | ||
| 3259 | my ($self, %args) = @_; | ||
| 3260 | my $x_args = [ | ||
| 3261 | ['_this', 'ManagedObjectReference'], | ||
| 3262 | ['entity', 'ManagedObjectReference'], | ||
| 3263 | ['msg', undef], | ||
| 3264 | ]; | ||
| 3265 | return $self->soap_call('LogUserEvent', undef, 0, $x_args, \%args); | ||
| 3266 | } | ||
| 3267 | |||
| 3268 | sub Login { | ||
| 3269 | my ($self, %args) = @_; | ||
| 3270 | my $x_args = [ | ||
| 3271 | ['_this', 'ManagedObjectReference'], | ||
| 3272 | ['userName', undef], | ||
| 3273 | ['password', undef], | ||
| 3274 | ['locale', undef], | ||
| 3275 | ]; | ||
| 3276 | return $self->soap_call('Login', 'UserSession', 0, $x_args, \%args); | ||
| 3277 | } | ||
| 3278 | |||
| 3279 | sub LoginBySSPI { | ||
| 3280 | my ($self, %args) = @_; | ||
| 3281 | my $x_args = [ | ||
| 3282 | ['_this', 'ManagedObjectReference'], | ||
| 3283 | ['base64Token', undef], | ||
| 3284 | ['locale', undef], | ||
| 3285 | ]; | ||
| 3286 | return $self->soap_call('LoginBySSPI', 'UserSession', 0, $x_args, \%args); | ||
| 3287 | } | ||
| 3288 | |||
| 3289 | sub LoginByToken { | ||
| 3290 | my ($self, %args) = @_; | ||
| 3291 | my $x_args = [ | ||
| 3292 | ['_this', 'ManagedObjectReference'], | ||
| 3293 | ['locale', undef], | ||
| 3294 | ]; | ||
| 3295 | return $self->soap_call('LoginByToken', 'UserSession', 0, $x_args, \%args); | ||
| 3296 | } | ||
| 3297 | |||
| 3298 | sub LoginExtensionByCertificate { | ||
| 3299 | my ($self, %args) = @_; | ||
| 3300 | my $x_args = [ | ||
| 3301 | ['_this', 'ManagedObjectReference'], | ||
| 3302 | ['extensionKey', undef], | ||
| 3303 | ['locale', undef], | ||
| 3304 | ]; | ||
| 3305 | return $self->soap_call('LoginExtensionByCertificate', 'UserSession', 0, $x_args, \%args); | ||
| 3306 | } | ||
| 3307 | |||
| 3308 | sub LoginExtensionBySubjectName { | ||
| 3309 | my ($self, %args) = @_; | ||
| 3310 | my $x_args = [ | ||
| 3311 | ['_this', 'ManagedObjectReference'], | ||
| 3312 | ['extensionKey', undef], | ||
| 3313 | ['locale', undef], | ||
| 3314 | ]; | ||
| 3315 | return $self->soap_call('LoginExtensionBySubjectName', 'UserSession', 0, $x_args, \%args); | ||
| 3316 | } | ||
| 3317 | |||
| 3318 | sub Logout { | ||
| 3319 | my ($self, %args) = @_; | ||
| 3320 | my $x_args = [ | ||
| 3321 | ['_this', 'ManagedObjectReference'], | ||
| 3322 | ]; | ||
| 3323 | return $self->soap_call('Logout', undef, 0, $x_args, \%args); | ||
| 3324 | } | ||
| 3325 | |||
| 3326 | sub LookupDvPortGroup { | ||
| 3327 | my ($self, %args) = @_; | ||
| 3328 | my $x_args = [ | ||
| 3329 | ['_this', 'ManagedObjectReference'], | ||
| 3330 | ['portgroupKey', undef], | ||
| 3331 | ]; | ||
| 3332 | return $self->soap_call('LookupDvPortGroup', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3333 | } | ||
| 3334 | |||
| 3335 | sub LookupVmOverheadMemory { | ||
| 3336 | my ($self, %args) = @_; | ||
| 3337 | my $x_args = [ | ||
| 3338 | ['_this', 'ManagedObjectReference'], | ||
| 3339 | ['vm', 'ManagedObjectReference'], | ||
| 3340 | ['host', 'ManagedObjectReference'], | ||
| 3341 | ]; | ||
| 3342 | return $self->soap_call('LookupVmOverheadMemory', undef, 0, $x_args, \%args); | ||
| 3343 | } | ||
| 3344 | |||
| 3345 | sub MakeDirectory { | ||
| 3346 | my ($self, %args) = @_; | ||
| 3347 | my $x_args = [ | ||
| 3348 | ['_this', 'ManagedObjectReference'], | ||
| 3349 | ['name', undef], | ||
| 3350 | ['datacenter', 'ManagedObjectReference'], | ||
| 3351 | ['createParentDirectories', 'boolean'], | ||
| 3352 | ]; | ||
| 3353 | return $self->soap_call('MakeDirectory', undef, 0, $x_args, \%args); | ||
| 3354 | } | ||
| 3355 | |||
| 3356 | sub MakeDirectoryInGuest { | ||
| 3357 | my ($self, %args) = @_; | ||
| 3358 | my $x_args = [ | ||
| 3359 | ['_this', 'ManagedObjectReference'], | ||
| 3360 | ['vm', 'ManagedObjectReference'], | ||
| 3361 | ['auth', 'GuestAuthentication'], | ||
| 3362 | ['directoryPath', undef], | ||
| 3363 | ['createParentDirectories', 'boolean'], | ||
| 3364 | ]; | ||
| 3365 | return $self->soap_call('MakeDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 3366 | } | ||
| 3367 | |||
| 3368 | sub MakePrimaryVM_Task { | ||
| 3369 | my ($self, %args) = @_; | ||
| 3370 | my $x_args = [ | ||
| 3371 | ['_this', 'ManagedObjectReference'], | ||
| 3372 | ['vm', 'ManagedObjectReference'], | ||
| 3373 | ]; | ||
| 3374 | return $self->soap_call('MakePrimaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3375 | } | ||
| 3376 | |||
| 3377 | sub MarkAsLocal_Task { | ||
| 3378 | my ($self, %args) = @_; | ||
| 3379 | my $x_args = [ | ||
| 3380 | ['_this', 'ManagedObjectReference'], | ||
| 3381 | ['scsiDiskUuid', undef], | ||
| 3382 | ]; | ||
| 3383 | return $self->soap_call('MarkAsLocal_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3384 | } | ||
| 3385 | |||
| 3386 | sub MarkAsNonLocal_Task { | ||
| 3387 | my ($self, %args) = @_; | ||
| 3388 | my $x_args = [ | ||
| 3389 | ['_this', 'ManagedObjectReference'], | ||
| 3390 | ['scsiDiskUuid', undef], | ||
| 3391 | ]; | ||
| 3392 | return $self->soap_call('MarkAsNonLocal_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3393 | } | ||
| 3394 | |||
| 3395 | sub MarkAsNonSsd_Task { | ||
| 3396 | my ($self, %args) = @_; | ||
| 3397 | my $x_args = [ | ||
| 3398 | ['_this', 'ManagedObjectReference'], | ||
| 3399 | ['scsiDiskUuid', undef], | ||
| 3400 | ]; | ||
| 3401 | return $self->soap_call('MarkAsNonSsd_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3402 | } | ||
| 3403 | |||
| 3404 | sub MarkAsSsd_Task { | ||
| 3405 | my ($self, %args) = @_; | ||
| 3406 | my $x_args = [ | ||
| 3407 | ['_this', 'ManagedObjectReference'], | ||
| 3408 | ['scsiDiskUuid', undef], | ||
| 3409 | ]; | ||
| 3410 | return $self->soap_call('MarkAsSsd_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3411 | } | ||
| 3412 | |||
| 3413 | sub MarkAsTemplate { | ||
| 3414 | my ($self, %args) = @_; | ||
| 3415 | my $x_args = [ | ||
| 3416 | ['_this', 'ManagedObjectReference'], | ||
| 3417 | ]; | ||
| 3418 | return $self->soap_call('MarkAsTemplate', undef, 0, $x_args, \%args); | ||
| 3419 | } | ||
| 3420 | |||
| 3421 | sub MarkAsVirtualMachine { | ||
| 3422 | my ($self, %args) = @_; | ||
| 3423 | my $x_args = [ | ||
| 3424 | ['_this', 'ManagedObjectReference'], | ||
| 3425 | ['pool', 'ManagedObjectReference'], | ||
| 3426 | ['host', 'ManagedObjectReference'], | ||
| 3427 | ]; | ||
| 3428 | return $self->soap_call('MarkAsVirtualMachine', undef, 0, $x_args, \%args); | ||
| 3429 | } | ||
| 3430 | |||
| 3431 | sub MarkDefault { | ||
| 3432 | my ($self, %args) = @_; | ||
| 3433 | my $x_args = [ | ||
| 3434 | ['_this', 'ManagedObjectReference'], | ||
| 3435 | ['clusterId', 'KeyProviderId'], | ||
| 3436 | ]; | ||
| 3437 | return $self->soap_call('MarkDefault', undef, 0, $x_args, \%args); | ||
| 3438 | } | ||
| 3439 | |||
| 3440 | sub MarkForRemoval { | ||
| 3441 | my ($self, %args) = @_; | ||
| 3442 | my $x_args = [ | ||
| 3443 | ['_this', 'ManagedObjectReference'], | ||
| 3444 | ['hbaName', undef], | ||
| 3445 | ['remove', 'boolean'], | ||
| 3446 | ]; | ||
| 3447 | return $self->soap_call('MarkForRemoval', undef, 0, $x_args, \%args); | ||
| 3448 | } | ||
| 3449 | |||
| 3450 | sub MergeDvs_Task { | ||
| 3451 | my ($self, %args) = @_; | ||
| 3452 | my $x_args = [ | ||
| 3453 | ['_this', 'ManagedObjectReference'], | ||
| 3454 | ['dvs', 'ManagedObjectReference'], | ||
| 3455 | ]; | ||
| 3456 | return $self->soap_call('MergeDvs_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3457 | } | ||
| 3458 | |||
| 3459 | sub MergePermissions { | ||
| 3460 | my ($self, %args) = @_; | ||
| 3461 | my $x_args = [ | ||
| 3462 | ['_this', 'ManagedObjectReference'], | ||
| 3463 | ['srcRoleId', undef], | ||
| 3464 | ['dstRoleId', undef], | ||
| 3465 | ]; | ||
| 3466 | return $self->soap_call('MergePermissions', undef, 0, $x_args, \%args); | ||
| 3467 | } | ||
| 3468 | |||
| 3469 | sub MigrateVM_Task { | ||
| 3470 | my ($self, %args) = @_; | ||
| 3471 | my $x_args = [ | ||
| 3472 | ['_this', 'ManagedObjectReference'], | ||
| 3473 | ['pool', 'ManagedObjectReference'], | ||
| 3474 | ['host', 'ManagedObjectReference'], | ||
| 3475 | ['priority', 'VirtualMachineMovePriority'], | ||
| 3476 | ['state', 'VirtualMachinePowerState'], | ||
| 3477 | ]; | ||
| 3478 | return $self->soap_call('MigrateVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3479 | } | ||
| 3480 | |||
| 3481 | sub ModifyListView { | ||
| 3482 | my ($self, %args) = @_; | ||
| 3483 | my $x_args = [ | ||
| 3484 | ['_this', 'ManagedObjectReference'], | ||
| 3485 | ['add', 'ManagedObjectReference'], | ||
| 3486 | ['remove', 'ManagedObjectReference'], | ||
| 3487 | ]; | ||
| 3488 | return $self->soap_call('ModifyListView', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3489 | } | ||
| 3490 | |||
| 3491 | sub MountToolsInstaller { | ||
| 3492 | my ($self, %args) = @_; | ||
| 3493 | my $x_args = [ | ||
| 3494 | ['_this', 'ManagedObjectReference'], | ||
| 3495 | ]; | ||
| 3496 | return $self->soap_call('MountToolsInstaller', undef, 0, $x_args, \%args); | ||
| 3497 | } | ||
| 3498 | |||
| 3499 | sub MountVffsVolume { | ||
| 3500 | my ($self, %args) = @_; | ||
| 3501 | my $x_args = [ | ||
| 3502 | ['_this', 'ManagedObjectReference'], | ||
| 3503 | ['vffsUuid', undef], | ||
| 3504 | ]; | ||
| 3505 | return $self->soap_call('MountVffsVolume', undef, 0, $x_args, \%args); | ||
| 3506 | } | ||
| 3507 | |||
| 3508 | sub MountVmfsVolume { | ||
| 3509 | my ($self, %args) = @_; | ||
| 3510 | my $x_args = [ | ||
| 3511 | ['_this', 'ManagedObjectReference'], | ||
| 3512 | ['vmfsUuid', undef], | ||
| 3513 | ]; | ||
| 3514 | return $self->soap_call('MountVmfsVolume', undef, 0, $x_args, \%args); | ||
| 3515 | } | ||
| 3516 | |||
| 3517 | sub MountVmfsVolumeEx_Task { | ||
| 3518 | my ($self, %args) = @_; | ||
| 3519 | my $x_args = [ | ||
| 3520 | ['_this', 'ManagedObjectReference'], | ||
| 3521 | ['vmfsUuid', undef], | ||
| 3522 | ]; | ||
| 3523 | return $self->soap_call('MountVmfsVolumeEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3524 | } | ||
| 3525 | |||
| 3526 | sub MoveDVPort_Task { | ||
| 3527 | my ($self, %args) = @_; | ||
| 3528 | my $x_args = [ | ||
| 3529 | ['_this', 'ManagedObjectReference'], | ||
| 3530 | ['portKey', undef], | ||
| 3531 | ['destinationPortgroupKey', undef], | ||
| 3532 | ]; | ||
| 3533 | return $self->soap_call('MoveDVPort_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3534 | } | ||
| 3535 | |||
| 3536 | sub MoveDatastoreFile_Task { | ||
| 3537 | my ($self, %args) = @_; | ||
| 3538 | my $x_args = [ | ||
| 3539 | ['_this', 'ManagedObjectReference'], | ||
| 3540 | ['sourceName', undef], | ||
| 3541 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 3542 | ['destinationName', undef], | ||
| 3543 | ['destinationDatacenter', 'ManagedObjectReference'], | ||
| 3544 | ['force', 'boolean'], | ||
| 3545 | ]; | ||
| 3546 | return $self->soap_call('MoveDatastoreFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3547 | } | ||
| 3548 | |||
| 3549 | sub MoveDirectoryInGuest { | ||
| 3550 | my ($self, %args) = @_; | ||
| 3551 | my $x_args = [ | ||
| 3552 | ['_this', 'ManagedObjectReference'], | ||
| 3553 | ['vm', 'ManagedObjectReference'], | ||
| 3554 | ['auth', 'GuestAuthentication'], | ||
| 3555 | ['srcDirectoryPath', undef], | ||
| 3556 | ['dstDirectoryPath', undef], | ||
| 3557 | ]; | ||
| 3558 | return $self->soap_call('MoveDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 3559 | } | ||
| 3560 | |||
| 3561 | sub MoveFileInGuest { | ||
| 3562 | my ($self, %args) = @_; | ||
| 3563 | my $x_args = [ | ||
| 3564 | ['_this', 'ManagedObjectReference'], | ||
| 3565 | ['vm', 'ManagedObjectReference'], | ||
| 3566 | ['auth', 'GuestAuthentication'], | ||
| 3567 | ['srcFilePath', undef], | ||
| 3568 | ['dstFilePath', undef], | ||
| 3569 | ['overwrite', 'boolean'], | ||
| 3570 | ]; | ||
| 3571 | return $self->soap_call('MoveFileInGuest', undef, 0, $x_args, \%args); | ||
| 3572 | } | ||
| 3573 | |||
| 3574 | sub MoveHostInto_Task { | ||
| 3575 | my ($self, %args) = @_; | ||
| 3576 | my $x_args = [ | ||
| 3577 | ['_this', 'ManagedObjectReference'], | ||
| 3578 | ['host', 'ManagedObjectReference'], | ||
| 3579 | ['resourcePool', 'ManagedObjectReference'], | ||
| 3580 | ]; | ||
| 3581 | return $self->soap_call('MoveHostInto_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3582 | } | ||
| 3583 | |||
| 3584 | sub MoveIntoFolder_Task { | ||
| 3585 | my ($self, %args) = @_; | ||
| 3586 | my $x_args = [ | ||
| 3587 | ['_this', 'ManagedObjectReference'], | ||
| 3588 | ['list', 'ManagedObjectReference'], | ||
| 3589 | ]; | ||
| 3590 | return $self->soap_call('MoveIntoFolder_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3591 | } | ||
| 3592 | |||
| 3593 | sub MoveIntoResourcePool { | ||
| 3594 | my ($self, %args) = @_; | ||
| 3595 | my $x_args = [ | ||
| 3596 | ['_this', 'ManagedObjectReference'], | ||
| 3597 | ['list', 'ManagedObjectReference'], | ||
| 3598 | ]; | ||
| 3599 | return $self->soap_call('MoveIntoResourcePool', undef, 0, $x_args, \%args); | ||
| 3600 | } | ||
| 3601 | |||
| 3602 | sub MoveInto_Task { | ||
| 3603 | my ($self, %args) = @_; | ||
| 3604 | my $x_args = [ | ||
| 3605 | ['_this', 'ManagedObjectReference'], | ||
| 3606 | ['host', 'ManagedObjectReference'], | ||
| 3607 | ]; | ||
| 3608 | return $self->soap_call('MoveInto_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3609 | } | ||
| 3610 | |||
| 3611 | sub MoveVirtualDisk_Task { | ||
| 3612 | my ($self, %args) = @_; | ||
| 3613 | my $x_args = [ | ||
| 3614 | ['_this', 'ManagedObjectReference'], | ||
| 3615 | ['sourceName', undef], | ||
| 3616 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 3617 | ['destName', undef], | ||
| 3618 | ['destDatacenter', 'ManagedObjectReference'], | ||
| 3619 | ['force', 'boolean'], | ||
| 3620 | ['profile', 'VirtualMachineProfileSpec'], | ||
| 3621 | ]; | ||
| 3622 | return $self->soap_call('MoveVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3623 | } | ||
| 3624 | |||
| 3625 | sub OpenInventoryViewFolder { | ||
| 3626 | my ($self, %args) = @_; | ||
| 3627 | my $x_args = [ | ||
| 3628 | ['_this', 'ManagedObjectReference'], | ||
| 3629 | ['entity', 'ManagedObjectReference'], | ||
| 3630 | ]; | ||
| 3631 | return $self->soap_call('OpenInventoryViewFolder', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3632 | } | ||
| 3633 | |||
| 3634 | sub OverwriteCustomizationSpec { | ||
| 3635 | my ($self, %args) = @_; | ||
| 3636 | my $x_args = [ | ||
| 3637 | ['_this', 'ManagedObjectReference'], | ||
| 3638 | ['item', 'CustomizationSpecItem'], | ||
| 3639 | ]; | ||
| 3640 | return $self->soap_call('OverwriteCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 3641 | } | ||
| 3642 | |||
| 3643 | sub ParseDescriptor { | ||
| 3644 | my ($self, %args) = @_; | ||
| 3645 | my $x_args = [ | ||
| 3646 | ['_this', 'ManagedObjectReference'], | ||
| 3647 | ['ovfDescriptor', undef], | ||
| 3648 | ['pdp', 'OvfParseDescriptorParams'], | ||
| 3649 | ]; | ||
| 3650 | return $self->soap_call('ParseDescriptor', 'OvfParseDescriptorResult', 0, $x_args, \%args); | ||
| 3651 | } | ||
| 3652 | |||
| 3653 | sub PerformDvsProductSpecOperation_Task { | ||
| 3654 | my ($self, %args) = @_; | ||
| 3655 | my $x_args = [ | ||
| 3656 | ['_this', 'ManagedObjectReference'], | ||
| 3657 | ['operation', undef], | ||
| 3658 | ['productSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 3659 | ]; | ||
| 3660 | return $self->soap_call('PerformDvsProductSpecOperation_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3661 | } | ||
| 3662 | |||
| 3663 | sub PerformVsanUpgradePreflightCheck { | ||
| 3664 | my ($self, %args) = @_; | ||
| 3665 | my $x_args = [ | ||
| 3666 | ['_this', 'ManagedObjectReference'], | ||
| 3667 | ['cluster', 'ManagedObjectReference'], | ||
| 3668 | ['downgradeFormat', 'boolean'], | ||
| 3669 | ]; | ||
| 3670 | return $self->soap_call('PerformVsanUpgradePreflightCheck', 'VsanUpgradeSystemPreflightCheckResult', 0, $x_args, \%args); | ||
| 3671 | } | ||
| 3672 | |||
| 3673 | sub PerformVsanUpgrade_Task { | ||
| 3674 | my ($self, %args) = @_; | ||
| 3675 | my $x_args = [ | ||
| 3676 | ['_this', 'ManagedObjectReference'], | ||
| 3677 | ['cluster', 'ManagedObjectReference'], | ||
| 3678 | ['performObjectUpgrade', 'boolean'], | ||
| 3679 | ['downgradeFormat', 'boolean'], | ||
| 3680 | ['allowReducedRedundancy', 'boolean'], | ||
| 3681 | ['excludeHosts', 'ManagedObjectReference'], | ||
| 3682 | ]; | ||
| 3683 | return $self->soap_call('PerformVsanUpgrade_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3684 | } | ||
| 3685 | |||
| 3686 | sub PlaceVm { | ||
| 3687 | my ($self, %args) = @_; | ||
| 3688 | my $x_args = [ | ||
| 3689 | ['_this', 'ManagedObjectReference'], | ||
| 3690 | ['placementSpec', 'PlacementSpec'], | ||
| 3691 | ]; | ||
| 3692 | return $self->soap_call('PlaceVm', 'PlacementResult', 0, $x_args, \%args); | ||
| 3693 | } | ||
| 3694 | |||
| 3695 | sub PostEvent { | ||
| 3696 | my ($self, %args) = @_; | ||
| 3697 | my $x_args = [ | ||
| 3698 | ['_this', 'ManagedObjectReference'], | ||
| 3699 | ['eventToPost', 'Event'], | ||
| 3700 | ['taskInfo', 'TaskInfo'], | ||
| 3701 | ]; | ||
| 3702 | return $self->soap_call('PostEvent', undef, 0, $x_args, \%args); | ||
| 3703 | } | ||
| 3704 | |||
| 3705 | sub PostHealthUpdates { | ||
| 3706 | my ($self, %args) = @_; | ||
| 3707 | my $x_args = [ | ||
| 3708 | ['_this', 'ManagedObjectReference'], | ||
| 3709 | ['providerId', undef], | ||
| 3710 | ['updates', 'HealthUpdate'], | ||
| 3711 | ]; | ||
| 3712 | return $self->soap_call('PostHealthUpdates', undef, 0, $x_args, \%args); | ||
| 3713 | } | ||
| 3714 | |||
| 3715 | sub PowerDownHostToStandBy_Task { | ||
| 3716 | my ($self, %args) = @_; | ||
| 3717 | my $x_args = [ | ||
| 3718 | ['_this', 'ManagedObjectReference'], | ||
| 3719 | ['timeoutSec', undef], | ||
| 3720 | ['evacuatePoweredOffVms', 'boolean'], | ||
| 3721 | ]; | ||
| 3722 | return $self->soap_call('PowerDownHostToStandBy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3723 | } | ||
| 3724 | |||
| 3725 | sub PowerOffVApp_Task { | ||
| 3726 | my ($self, %args) = @_; | ||
| 3727 | my $x_args = [ | ||
| 3728 | ['_this', 'ManagedObjectReference'], | ||
| 3729 | ['force', 'boolean'], | ||
| 3730 | ]; | ||
| 3731 | return $self->soap_call('PowerOffVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3732 | } | ||
| 3733 | |||
| 3734 | sub PowerOffVM_Task { | ||
| 3735 | my ($self, %args) = @_; | ||
| 3736 | my $x_args = [ | ||
| 3737 | ['_this', 'ManagedObjectReference'], | ||
| 3738 | ]; | ||
| 3739 | return $self->soap_call('PowerOffVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3740 | } | ||
| 3741 | |||
| 3742 | sub PowerOnMultiVM_Task { | ||
| 3743 | my ($self, %args) = @_; | ||
| 3744 | my $x_args = [ | ||
| 3745 | ['_this', 'ManagedObjectReference'], | ||
| 3746 | ['vm', 'ManagedObjectReference'], | ||
| 3747 | ['option', 'OptionValue'], | ||
| 3748 | ]; | ||
| 3749 | return $self->soap_call('PowerOnMultiVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3750 | } | ||
| 3751 | |||
| 3752 | sub PowerOnVApp_Task { | ||
| 3753 | my ($self, %args) = @_; | ||
| 3754 | my $x_args = [ | ||
| 3755 | ['_this', 'ManagedObjectReference'], | ||
| 3756 | ]; | ||
| 3757 | return $self->soap_call('PowerOnVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3758 | } | ||
| 3759 | |||
| 3760 | sub PowerOnVM_Task { | ||
| 3761 | my ($self, %args) = @_; | ||
| 3762 | my $x_args = [ | ||
| 3763 | ['_this', 'ManagedObjectReference'], | ||
| 3764 | ['host', 'ManagedObjectReference'], | ||
| 3765 | ]; | ||
| 3766 | return $self->soap_call('PowerOnVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3767 | } | ||
| 3768 | |||
| 3769 | sub PowerUpHostFromStandBy_Task { | ||
| 3770 | my ($self, %args) = @_; | ||
| 3771 | my $x_args = [ | ||
| 3772 | ['_this', 'ManagedObjectReference'], | ||
| 3773 | ['timeoutSec', undef], | ||
| 3774 | ]; | ||
| 3775 | return $self->soap_call('PowerUpHostFromStandBy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3776 | } | ||
| 3777 | |||
| 3778 | sub PrepareCrypto { | ||
| 3779 | my ($self, %args) = @_; | ||
| 3780 | my $x_args = [ | ||
| 3781 | ['_this', 'ManagedObjectReference'], | ||
| 3782 | ]; | ||
| 3783 | return $self->soap_call('PrepareCrypto', undef, 0, $x_args, \%args); | ||
| 3784 | } | ||
| 3785 | |||
| 3786 | sub PromoteDisks_Task { | ||
| 3787 | my ($self, %args) = @_; | ||
| 3788 | my $x_args = [ | ||
| 3789 | ['_this', 'ManagedObjectReference'], | ||
| 3790 | ['unlink', 'boolean'], | ||
| 3791 | ['disks', 'VirtualDisk'], | ||
| 3792 | ]; | ||
| 3793 | return $self->soap_call('PromoteDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3794 | } | ||
| 3795 | |||
| 3796 | sub PutUsbScanCodes { | ||
| 3797 | my ($self, %args) = @_; | ||
| 3798 | my $x_args = [ | ||
| 3799 | ['_this', 'ManagedObjectReference'], | ||
| 3800 | ['spec', 'UsbScanCodeSpec'], | ||
| 3801 | ]; | ||
| 3802 | return $self->soap_call('PutUsbScanCodes', undef, 0, $x_args, \%args); | ||
| 3803 | } | ||
| 3804 | |||
| 3805 | sub QueryAnswerFileStatus { | ||
| 3806 | my ($self, %args) = @_; | ||
| 3807 | my $x_args = [ | ||
| 3808 | ['_this', 'ManagedObjectReference'], | ||
| 3809 | ['host', 'ManagedObjectReference'], | ||
| 3810 | ]; | ||
| 3811 | return $self->soap_call('QueryAnswerFileStatus', 'AnswerFileStatusResult', 1, $x_args, \%args); | ||
| 3812 | } | ||
| 3813 | |||
| 3814 | sub QueryAssignedLicenses { | ||
| 3815 | my ($self, %args) = @_; | ||
| 3816 | my $x_args = [ | ||
| 3817 | ['_this', 'ManagedObjectReference'], | ||
| 3818 | ['entityId', undef], | ||
| 3819 | ]; | ||
| 3820 | return $self->soap_call('QueryAssignedLicenses', 'LicenseAssignmentManagerLicenseAssignment', 1, $x_args, \%args); | ||
| 3821 | } | ||
| 3822 | |||
| 3823 | sub QueryAvailableDisksForVmfs { | ||
| 3824 | my ($self, %args) = @_; | ||
| 3825 | my $x_args = [ | ||
| 3826 | ['_this', 'ManagedObjectReference'], | ||
| 3827 | ['datastore', 'ManagedObjectReference'], | ||
| 3828 | ]; | ||
| 3829 | return $self->soap_call('QueryAvailableDisksForVmfs', 'HostScsiDisk', 1, $x_args, \%args); | ||
| 3830 | } | ||
| 3831 | |||
| 3832 | sub QueryAvailableDvsSpec { | ||
| 3833 | my ($self, %args) = @_; | ||
| 3834 | my $x_args = [ | ||
| 3835 | ['_this', 'ManagedObjectReference'], | ||
| 3836 | ['recommended', 'boolean'], | ||
| 3837 | ]; | ||
| 3838 | return $self->soap_call('QueryAvailableDvsSpec', 'DistributedVirtualSwitchProductSpec', 1, $x_args, \%args); | ||
| 3839 | } | ||
| 3840 | |||
| 3841 | sub QueryAvailablePartition { | ||
| 3842 | my ($self, %args) = @_; | ||
| 3843 | my $x_args = [ | ||
| 3844 | ['_this', 'ManagedObjectReference'], | ||
| 3845 | ]; | ||
| 3846 | return $self->soap_call('QueryAvailablePartition', 'HostDiagnosticPartition', 1, $x_args, \%args); | ||
| 3847 | } | ||
| 3848 | |||
| 3849 | sub QueryAvailablePerfMetric { | ||
| 3850 | my ($self, %args) = @_; | ||
| 3851 | my $x_args = [ | ||
| 3852 | ['_this', 'ManagedObjectReference'], | ||
| 3853 | ['entity', 'ManagedObjectReference'], | ||
| 3854 | ['beginTime', undef], | ||
| 3855 | ['endTime', undef], | ||
| 3856 | ['intervalId', undef], | ||
| 3857 | ]; | ||
| 3858 | return $self->soap_call('QueryAvailablePerfMetric', 'PerfMetricId', 1, $x_args, \%args); | ||
| 3859 | } | ||
| 3860 | |||
| 3861 | sub QueryAvailableSsds { | ||
| 3862 | my ($self, %args) = @_; | ||
| 3863 | my $x_args = [ | ||
| 3864 | ['_this', 'ManagedObjectReference'], | ||
| 3865 | ['vffsPath', undef], | ||
| 3866 | ]; | ||
| 3867 | return $self->soap_call('QueryAvailableSsds', 'HostScsiDisk', 1, $x_args, \%args); | ||
| 3868 | } | ||
| 3869 | |||
| 3870 | sub QueryAvailableTimeZones { | ||
| 3871 | my ($self, %args) = @_; | ||
| 3872 | my $x_args = [ | ||
| 3873 | ['_this', 'ManagedObjectReference'], | ||
| 3874 | ]; | ||
| 3875 | return $self->soap_call('QueryAvailableTimeZones', 'HostDateTimeSystemTimeZone', 1, $x_args, \%args); | ||
| 3876 | } | ||
| 3877 | |||
| 3878 | sub QueryBootDevices { | ||
| 3879 | my ($self, %args) = @_; | ||
| 3880 | my $x_args = [ | ||
| 3881 | ['_this', 'ManagedObjectReference'], | ||
| 3882 | ]; | ||
| 3883 | return $self->soap_call('QueryBootDevices', 'HostBootDeviceInfo', 0, $x_args, \%args); | ||
| 3884 | } | ||
| 3885 | |||
| 3886 | sub QueryBoundVnics { | ||
| 3887 | my ($self, %args) = @_; | ||
| 3888 | my $x_args = [ | ||
| 3889 | ['_this', 'ManagedObjectReference'], | ||
| 3890 | ['iScsiHbaName', undef], | ||
| 3891 | ]; | ||
| 3892 | return $self->soap_call('QueryBoundVnics', 'IscsiPortInfo', 1, $x_args, \%args); | ||
| 3893 | } | ||
| 3894 | |||
| 3895 | sub QueryCandidateNics { | ||
| 3896 | my ($self, %args) = @_; | ||
| 3897 | my $x_args = [ | ||
| 3898 | ['_this', 'ManagedObjectReference'], | ||
| 3899 | ['iScsiHbaName', undef], | ||
| 3900 | ]; | ||
| 3901 | return $self->soap_call('QueryCandidateNics', 'IscsiPortInfo', 1, $x_args, \%args); | ||
| 3902 | } | ||
| 3903 | |||
| 3904 | sub QueryChangedDiskAreas { | ||
| 3905 | my ($self, %args) = @_; | ||
| 3906 | my $x_args = [ | ||
| 3907 | ['_this', 'ManagedObjectReference'], | ||
| 3908 | ['snapshot', 'ManagedObjectReference'], | ||
| 3909 | ['deviceKey', undef], | ||
| 3910 | ['startOffset', undef], | ||
| 3911 | ['changeId', undef], | ||
| 3912 | ]; | ||
| 3913 | return $self->soap_call('QueryChangedDiskAreas', 'DiskChangeInfo', 0, $x_args, \%args); | ||
| 3914 | } | ||
| 3915 | |||
| 3916 | sub QueryCmmds { | ||
| 3917 | my ($self, %args) = @_; | ||
| 3918 | my $x_args = [ | ||
| 3919 | ['_this', 'ManagedObjectReference'], | ||
| 3920 | ['queries', 'HostVsanInternalSystemCmmdsQuery'], | ||
| 3921 | ]; | ||
| 3922 | return $self->soap_call('QueryCmmds', undef, 0, $x_args, \%args); | ||
| 3923 | } | ||
| 3924 | |||
| 3925 | sub QueryCompatibleHostForExistingDvs { | ||
| 3926 | my ($self, %args) = @_; | ||
| 3927 | my $x_args = [ | ||
| 3928 | ['_this', 'ManagedObjectReference'], | ||
| 3929 | ['container', 'ManagedObjectReference'], | ||
| 3930 | ['recursive', 'boolean'], | ||
| 3931 | ['dvs', 'ManagedObjectReference'], | ||
| 3932 | ]; | ||
| 3933 | return $self->soap_call('QueryCompatibleHostForExistingDvs', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3934 | } | ||
| 3935 | |||
| 3936 | sub QueryCompatibleHostForNewDvs { | ||
| 3937 | my ($self, %args) = @_; | ||
| 3938 | my $x_args = [ | ||
| 3939 | ['_this', 'ManagedObjectReference'], | ||
| 3940 | ['container', 'ManagedObjectReference'], | ||
| 3941 | ['recursive', 'boolean'], | ||
| 3942 | ['switchProductSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 3943 | ]; | ||
| 3944 | return $self->soap_call('QueryCompatibleHostForNewDvs', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3945 | } | ||
| 3946 | |||
| 3947 | sub QueryComplianceStatus { | ||
| 3948 | my ($self, %args) = @_; | ||
| 3949 | my $x_args = [ | ||
| 3950 | ['_this', 'ManagedObjectReference'], | ||
| 3951 | ['profile', 'ManagedObjectReference'], | ||
| 3952 | ['entity', 'ManagedObjectReference'], | ||
| 3953 | ]; | ||
| 3954 | return $self->soap_call('QueryComplianceStatus', 'ComplianceResult', 1, $x_args, \%args); | ||
| 3955 | } | ||
| 3956 | |||
| 3957 | sub QueryConfigOption { | ||
| 3958 | my ($self, %args) = @_; | ||
| 3959 | my $x_args = [ | ||
| 3960 | ['_this', 'ManagedObjectReference'], | ||
| 3961 | ['key', undef], | ||
| 3962 | ['host', 'ManagedObjectReference'], | ||
| 3963 | ]; | ||
| 3964 | return $self->soap_call('QueryConfigOption', 'VirtualMachineConfigOption', 0, $x_args, \%args); | ||
| 3965 | } | ||
| 3966 | |||
| 3967 | sub QueryConfigOptionDescriptor { | ||
| 3968 | my ($self, %args) = @_; | ||
| 3969 | my $x_args = [ | ||
| 3970 | ['_this', 'ManagedObjectReference'], | ||
| 3971 | ]; | ||
| 3972 | return $self->soap_call('QueryConfigOptionDescriptor', 'VirtualMachineConfigOptionDescriptor', 1, $x_args, \%args); | ||
| 3973 | } | ||
| 3974 | |||
| 3975 | sub QueryConfigOptionEx { | ||
| 3976 | my ($self, %args) = @_; | ||
| 3977 | my $x_args = [ | ||
| 3978 | ['_this', 'ManagedObjectReference'], | ||
| 3979 | ['spec', 'EnvironmentBrowserConfigOptionQuerySpec'], | ||
| 3980 | ]; | ||
| 3981 | return $self->soap_call('QueryConfigOptionEx', 'VirtualMachineConfigOption', 0, $x_args, \%args); | ||
| 3982 | } | ||
| 3983 | |||
| 3984 | sub QueryConfigTarget { | ||
| 3985 | my ($self, %args) = @_; | ||
| 3986 | my $x_args = [ | ||
| 3987 | ['_this', 'ManagedObjectReference'], | ||
| 3988 | ['host', 'ManagedObjectReference'], | ||
| 3989 | ]; | ||
| 3990 | return $self->soap_call('QueryConfigTarget', 'ConfigTarget', 0, $x_args, \%args); | ||
| 3991 | } | ||
| 3992 | |||
| 3993 | sub QueryConfiguredModuleOptionString { | ||
| 3994 | my ($self, %args) = @_; | ||
| 3995 | my $x_args = [ | ||
| 3996 | ['_this', 'ManagedObjectReference'], | ||
| 3997 | ['name', undef], | ||
| 3998 | ]; | ||
| 3999 | return $self->soap_call('QueryConfiguredModuleOptionString', undef, 0, $x_args, \%args); | ||
| 4000 | } | ||
| 4001 | |||
| 4002 | sub QueryConnectionInfo { | ||
| 4003 | my ($self, %args) = @_; | ||
| 4004 | my $x_args = [ | ||
| 4005 | ['_this', 'ManagedObjectReference'], | ||
| 4006 | ['hostname', undef], | ||
| 4007 | ['port', undef], | ||
| 4008 | ['username', undef], | ||
| 4009 | ['password', undef], | ||
| 4010 | ['sslThumbprint', undef], | ||
| 4011 | ]; | ||
| 4012 | return $self->soap_call('QueryConnectionInfo', 'HostConnectInfo', 0, $x_args, \%args); | ||
| 4013 | } | ||
| 4014 | |||
| 4015 | sub QueryConnectionInfoViaSpec { | ||
| 4016 | my ($self, %args) = @_; | ||
| 4017 | my $x_args = [ | ||
| 4018 | ['_this', 'ManagedObjectReference'], | ||
| 4019 | ['spec', 'HostConnectSpec'], | ||
| 4020 | ]; | ||
| 4021 | return $self->soap_call('QueryConnectionInfoViaSpec', 'HostConnectInfo', 0, $x_args, \%args); | ||
| 4022 | } | ||
| 4023 | |||
| 4024 | sub QueryDatastorePerformanceSummary { | ||
| 4025 | my ($self, %args) = @_; | ||
| 4026 | my $x_args = [ | ||
| 4027 | ['_this', 'ManagedObjectReference'], | ||
| 4028 | ['datastore', 'ManagedObjectReference'], | ||
| 4029 | ]; | ||
| 4030 | return $self->soap_call('QueryDatastorePerformanceSummary', 'StoragePerformanceSummary', 1, $x_args, \%args); | ||
| 4031 | } | ||
| 4032 | |||
| 4033 | sub QueryDateTime { | ||
| 4034 | my ($self, %args) = @_; | ||
| 4035 | my $x_args = [ | ||
| 4036 | ['_this', 'ManagedObjectReference'], | ||
| 4037 | ]; | ||
| 4038 | return $self->soap_call('QueryDateTime', undef, 0, $x_args, \%args); | ||
| 4039 | } | ||
| 4040 | |||
| 4041 | sub QueryDescriptions { | ||
| 4042 | my ($self, %args) = @_; | ||
| 4043 | my $x_args = [ | ||
| 4044 | ['_this', 'ManagedObjectReference'], | ||
| 4045 | ['host', 'ManagedObjectReference'], | ||
| 4046 | ]; | ||
| 4047 | return $self->soap_call('QueryDescriptions', 'DiagnosticManagerLogDescriptor', 1, $x_args, \%args); | ||
| 4048 | } | ||
| 4049 | |||
| 4050 | sub QueryDisksForVsan { | ||
| 4051 | my ($self, %args) = @_; | ||
| 4052 | my $x_args = [ | ||
| 4053 | ['_this', 'ManagedObjectReference'], | ||
| 4054 | ['canonicalName', undef], | ||
| 4055 | ]; | ||
| 4056 | return $self->soap_call('QueryDisksForVsan', 'VsanHostDiskResult', 1, $x_args, \%args); | ||
| 4057 | } | ||
| 4058 | |||
| 4059 | sub QueryDisksUsingFilter { | ||
| 4060 | my ($self, %args) = @_; | ||
| 4061 | my $x_args = [ | ||
| 4062 | ['_this', 'ManagedObjectReference'], | ||
| 4063 | ['filterId', undef], | ||
| 4064 | ['compRes', 'ManagedObjectReference'], | ||
| 4065 | ]; | ||
| 4066 | return $self->soap_call('QueryDisksUsingFilter', 'VirtualDiskId', 1, $x_args, \%args); | ||
| 4067 | } | ||
| 4068 | |||
| 4069 | sub QueryDvsByUuid { | ||
| 4070 | my ($self, %args) = @_; | ||
| 4071 | my $x_args = [ | ||
| 4072 | ['_this', 'ManagedObjectReference'], | ||
| 4073 | ['uuid', undef], | ||
| 4074 | ]; | ||
| 4075 | return $self->soap_call('QueryDvsByUuid', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4076 | } | ||
| 4077 | |||
| 4078 | sub QueryDvsCheckCompatibility { | ||
| 4079 | my ($self, %args) = @_; | ||
| 4080 | my $x_args = [ | ||
| 4081 | ['_this', 'ManagedObjectReference'], | ||
| 4082 | ['hostContainer', 'DistributedVirtualSwitchManagerHostContainer'], | ||
| 4083 | ['dvsProductSpec', 'DistributedVirtualSwitchManagerDvsProductSpec'], | ||
| 4084 | ['hostFilterSpec', 'DistributedVirtualSwitchManagerHostDvsFilterSpec'], | ||
| 4085 | ]; | ||
| 4086 | return $self->soap_call('QueryDvsCheckCompatibility', 'DistributedVirtualSwitchManagerCompatibilityResult', 1, $x_args, \%args); | ||
| 4087 | } | ||
| 4088 | |||
| 4089 | sub QueryDvsCompatibleHostSpec { | ||
| 4090 | my ($self, %args) = @_; | ||
| 4091 | my $x_args = [ | ||
| 4092 | ['_this', 'ManagedObjectReference'], | ||
| 4093 | ['switchProductSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 4094 | ]; | ||
| 4095 | return $self->soap_call('QueryDvsCompatibleHostSpec', 'DistributedVirtualSwitchHostProductSpec', 1, $x_args, \%args); | ||
| 4096 | } | ||
| 4097 | |||
| 4098 | sub QueryDvsConfigTarget { | ||
| 4099 | my ($self, %args) = @_; | ||
| 4100 | my $x_args = [ | ||
| 4101 | ['_this', 'ManagedObjectReference'], | ||
| 4102 | ['host', 'ManagedObjectReference'], | ||
| 4103 | ['dvs', 'ManagedObjectReference'], | ||
| 4104 | ]; | ||
| 4105 | return $self->soap_call('QueryDvsConfigTarget', 'DVSManagerDvsConfigTarget', 0, $x_args, \%args); | ||
| 4106 | } | ||
| 4107 | |||
| 4108 | sub QueryDvsFeatureCapability { | ||
| 4109 | my ($self, %args) = @_; | ||
| 4110 | my $x_args = [ | ||
| 4111 | ['_this', 'ManagedObjectReference'], | ||
| 4112 | ['switchProductSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 4113 | ]; | ||
| 4114 | return $self->soap_call('QueryDvsFeatureCapability', 'DVSFeatureCapability', 0, $x_args, \%args); | ||
| 4115 | } | ||
| 4116 | |||
| 4117 | sub QueryEvents { | ||
| 4118 | my ($self, %args) = @_; | ||
| 4119 | my $x_args = [ | ||
| 4120 | ['_this', 'ManagedObjectReference'], | ||
| 4121 | ['filter', 'EventFilterSpec'], | ||
| 4122 | ]; | ||
| 4123 | return $self->soap_call('QueryEvents', 'Event', 1, $x_args, \%args); | ||
| 4124 | } | ||
| 4125 | |||
| 4126 | sub QueryExpressionMetadata { | ||
| 4127 | my ($self, %args) = @_; | ||
| 4128 | my $x_args = [ | ||
| 4129 | ['_this', 'ManagedObjectReference'], | ||
| 4130 | ['expressionName', undef], | ||
| 4131 | ['profile', 'ManagedObjectReference'], | ||
| 4132 | ]; | ||
| 4133 | return $self->soap_call('QueryExpressionMetadata', 'ProfileExpressionMetadata', 1, $x_args, \%args); | ||
| 4134 | } | ||
| 4135 | |||
| 4136 | sub QueryExtensionIpAllocationUsage { | ||
| 4137 | my ($self, %args) = @_; | ||
| 4138 | my $x_args = [ | ||
| 4139 | ['_this', 'ManagedObjectReference'], | ||
| 4140 | ['extensionKeys', undef], | ||
| 4141 | ]; | ||
| 4142 | return $self->soap_call('QueryExtensionIpAllocationUsage', 'ExtensionManagerIpAllocationUsage', 1, $x_args, \%args); | ||
| 4143 | } | ||
| 4144 | |||
| 4145 | sub QueryFaultToleranceCompatibility { | ||
| 4146 | my ($self, %args) = @_; | ||
| 4147 | my $x_args = [ | ||
| 4148 | ['_this', 'ManagedObjectReference'], | ||
| 4149 | ]; | ||
| 4150 | return $self->soap_call('QueryFaultToleranceCompatibility', 'LocalizedMethodFault', 1, $x_args, \%args); | ||
| 4151 | } | ||
| 4152 | |||
| 4153 | sub QueryFaultToleranceCompatibilityEx { | ||
| 4154 | my ($self, %args) = @_; | ||
| 4155 | my $x_args = [ | ||
| 4156 | ['_this', 'ManagedObjectReference'], | ||
| 4157 | ['forLegacyFt', 'boolean'], | ||
| 4158 | ]; | ||
| 4159 | return $self->soap_call('QueryFaultToleranceCompatibilityEx', 'LocalizedMethodFault', 1, $x_args, \%args); | ||
| 4160 | } | ||
| 4161 | |||
| 4162 | sub QueryFilterEntities { | ||
| 4163 | my ($self, %args) = @_; | ||
| 4164 | my $x_args = [ | ||
| 4165 | ['_this', 'ManagedObjectReference'], | ||
| 4166 | ['filterId', undef], | ||
| 4167 | ]; | ||
| 4168 | return $self->soap_call('QueryFilterEntities', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4169 | } | ||
| 4170 | |||
| 4171 | sub QueryFilterInfoIds { | ||
| 4172 | my ($self, %args) = @_; | ||
| 4173 | my $x_args = [ | ||
| 4174 | ['_this', 'ManagedObjectReference'], | ||
| 4175 | ['filterId', undef], | ||
| 4176 | ]; | ||
| 4177 | return $self->soap_call('QueryFilterInfoIds', undef, 1, $x_args, \%args); | ||
| 4178 | } | ||
| 4179 | |||
| 4180 | sub QueryFilterList { | ||
| 4181 | my ($self, %args) = @_; | ||
| 4182 | my $x_args = [ | ||
| 4183 | ['_this', 'ManagedObjectReference'], | ||
| 4184 | ['providerId', undef], | ||
| 4185 | ]; | ||
| 4186 | return $self->soap_call('QueryFilterList', undef, 1, $x_args, \%args); | ||
| 4187 | } | ||
| 4188 | |||
| 4189 | sub QueryFilterName { | ||
| 4190 | my ($self, %args) = @_; | ||
| 4191 | my $x_args = [ | ||
| 4192 | ['_this', 'ManagedObjectReference'], | ||
| 4193 | ['filterId', undef], | ||
| 4194 | ]; | ||
| 4195 | return $self->soap_call('QueryFilterName', undef, 0, $x_args, \%args); | ||
| 4196 | } | ||
| 4197 | |||
| 4198 | sub QueryFirmwareConfigUploadURL { | ||
| 4199 | my ($self, %args) = @_; | ||
| 4200 | my $x_args = [ | ||
| 4201 | ['_this', 'ManagedObjectReference'], | ||
| 4202 | ]; | ||
| 4203 | return $self->soap_call('QueryFirmwareConfigUploadURL', undef, 0, $x_args, \%args); | ||
| 4204 | } | ||
| 4205 | |||
| 4206 | sub QueryHealthUpdateInfos { | ||
| 4207 | my ($self, %args) = @_; | ||
| 4208 | my $x_args = [ | ||
| 4209 | ['_this', 'ManagedObjectReference'], | ||
| 4210 | ['providerId', undef], | ||
| 4211 | ]; | ||
| 4212 | return $self->soap_call('QueryHealthUpdateInfos', 'HealthUpdateInfo', 1, $x_args, \%args); | ||
| 4213 | } | ||
| 4214 | |||
| 4215 | sub QueryHealthUpdates { | ||
| 4216 | my ($self, %args) = @_; | ||
| 4217 | my $x_args = [ | ||
| 4218 | ['_this', 'ManagedObjectReference'], | ||
| 4219 | ['providerId', undef], | ||
| 4220 | ]; | ||
| 4221 | return $self->soap_call('QueryHealthUpdates', 'HealthUpdate', 1, $x_args, \%args); | ||
| 4222 | } | ||
| 4223 | |||
| 4224 | sub QueryHostConnectionInfo { | ||
| 4225 | my ($self, %args) = @_; | ||
| 4226 | my $x_args = [ | ||
| 4227 | ['_this', 'ManagedObjectReference'], | ||
| 4228 | ]; | ||
| 4229 | return $self->soap_call('QueryHostConnectionInfo', 'HostConnectInfo', 0, $x_args, \%args); | ||
| 4230 | } | ||
| 4231 | |||
| 4232 | sub QueryHostPatch_Task { | ||
| 4233 | my ($self, %args) = @_; | ||
| 4234 | my $x_args = [ | ||
| 4235 | ['_this', 'ManagedObjectReference'], | ||
| 4236 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 4237 | ]; | ||
| 4238 | return $self->soap_call('QueryHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4239 | } | ||
| 4240 | |||
| 4241 | sub QueryHostProfileMetadata { | ||
| 4242 | my ($self, %args) = @_; | ||
| 4243 | my $x_args = [ | ||
| 4244 | ['_this', 'ManagedObjectReference'], | ||
| 4245 | ['profileName', undef], | ||
| 4246 | ['profile', 'ManagedObjectReference'], | ||
| 4247 | ]; | ||
| 4248 | return $self->soap_call('QueryHostProfileMetadata', 'ProfileMetadata', 1, $x_args, \%args); | ||
| 4249 | } | ||
| 4250 | |||
| 4251 | sub QueryHostStatus { | ||
| 4252 | my ($self, %args) = @_; | ||
| 4253 | my $x_args = [ | ||
| 4254 | ['_this', 'ManagedObjectReference'], | ||
| 4255 | ]; | ||
| 4256 | return $self->soap_call('QueryHostStatus', 'VsanHostClusterStatus', 0, $x_args, \%args); | ||
| 4257 | } | ||
| 4258 | |||
| 4259 | sub QueryIORMConfigOption { | ||
| 4260 | my ($self, %args) = @_; | ||
| 4261 | my $x_args = [ | ||
| 4262 | ['_this', 'ManagedObjectReference'], | ||
| 4263 | ['host', 'ManagedObjectReference'], | ||
| 4264 | ]; | ||
| 4265 | return $self->soap_call('QueryIORMConfigOption', 'StorageIORMConfigOption', 0, $x_args, \%args); | ||
| 4266 | } | ||
| 4267 | |||
| 4268 | sub QueryIPAllocations { | ||
| 4269 | my ($self, %args) = @_; | ||
| 4270 | my $x_args = [ | ||
| 4271 | ['_this', 'ManagedObjectReference'], | ||
| 4272 | ['dc', 'ManagedObjectReference'], | ||
| 4273 | ['poolId', undef], | ||
| 4274 | ['extensionKey', undef], | ||
| 4275 | ]; | ||
| 4276 | return $self->soap_call('QueryIPAllocations', 'IpPoolManagerIpAllocation', 1, $x_args, \%args); | ||
| 4277 | } | ||
| 4278 | |||
| 4279 | sub QueryIoFilterInfo { | ||
| 4280 | my ($self, %args) = @_; | ||
| 4281 | my $x_args = [ | ||
| 4282 | ['_this', 'ManagedObjectReference'], | ||
| 4283 | ['compRes', 'ManagedObjectReference'], | ||
| 4284 | ]; | ||
| 4285 | return $self->soap_call('QueryIoFilterInfo', 'ClusterIoFilterInfo', 1, $x_args, \%args); | ||
| 4286 | } | ||
| 4287 | |||
| 4288 | sub QueryIoFilterIssues { | ||
| 4289 | my ($self, %args) = @_; | ||
| 4290 | my $x_args = [ | ||
| 4291 | ['_this', 'ManagedObjectReference'], | ||
| 4292 | ['filterId', undef], | ||
| 4293 | ['compRes', 'ManagedObjectReference'], | ||
| 4294 | ]; | ||
| 4295 | return $self->soap_call('QueryIoFilterIssues', 'IoFilterQueryIssueResult', 0, $x_args, \%args); | ||
| 4296 | } | ||
| 4297 | |||
| 4298 | sub QueryIpPools { | ||
| 4299 | my ($self, %args) = @_; | ||
| 4300 | my $x_args = [ | ||
| 4301 | ['_this', 'ManagedObjectReference'], | ||
| 4302 | ['dc', 'ManagedObjectReference'], | ||
| 4303 | ]; | ||
| 4304 | return $self->soap_call('QueryIpPools', 'IpPool', 1, $x_args, \%args); | ||
| 4305 | } | ||
| 4306 | |||
| 4307 | sub QueryLicenseSourceAvailability { | ||
| 4308 | my ($self, %args) = @_; | ||
| 4309 | my $x_args = [ | ||
| 4310 | ['_this', 'ManagedObjectReference'], | ||
| 4311 | ['host', 'ManagedObjectReference'], | ||
| 4312 | ]; | ||
| 4313 | return $self->soap_call('QueryLicenseSourceAvailability', 'LicenseAvailabilityInfo', 1, $x_args, \%args); | ||
| 4314 | } | ||
| 4315 | |||
| 4316 | sub QueryLicenseUsage { | ||
| 4317 | my ($self, %args) = @_; | ||
| 4318 | my $x_args = [ | ||
| 4319 | ['_this', 'ManagedObjectReference'], | ||
| 4320 | ['host', 'ManagedObjectReference'], | ||
| 4321 | ]; | ||
| 4322 | return $self->soap_call('QueryLicenseUsage', 'LicenseUsageInfo', 0, $x_args, \%args); | ||
| 4323 | } | ||
| 4324 | |||
| 4325 | sub QueryLockdownExceptions { | ||
| 4326 | my ($self, %args) = @_; | ||
| 4327 | my $x_args = [ | ||
| 4328 | ['_this', 'ManagedObjectReference'], | ||
| 4329 | ]; | ||
| 4330 | return $self->soap_call('QueryLockdownExceptions', undef, 1, $x_args, \%args); | ||
| 4331 | } | ||
| 4332 | |||
| 4333 | sub QueryManagedBy { | ||
| 4334 | my ($self, %args) = @_; | ||
| 4335 | my $x_args = [ | ||
| 4336 | ['_this', 'ManagedObjectReference'], | ||
| 4337 | ['extensionKey', undef], | ||
| 4338 | ]; | ||
| 4339 | return $self->soap_call('QueryManagedBy', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4340 | } | ||
| 4341 | |||
| 4342 | sub QueryMemoryOverhead { | ||
| 4343 | my ($self, %args) = @_; | ||
| 4344 | my $x_args = [ | ||
| 4345 | ['_this', 'ManagedObjectReference'], | ||
| 4346 | ['memorySize', undef], | ||
| 4347 | ['videoRamSize', undef], | ||
| 4348 | ['numVcpus', undef], | ||
| 4349 | ]; | ||
| 4350 | return $self->soap_call('QueryMemoryOverhead', undef, 0, $x_args, \%args); | ||
| 4351 | } | ||
| 4352 | |||
| 4353 | sub QueryMemoryOverheadEx { | ||
| 4354 | my ($self, %args) = @_; | ||
| 4355 | my $x_args = [ | ||
| 4356 | ['_this', 'ManagedObjectReference'], | ||
| 4357 | ['vmConfigInfo', 'VirtualMachineConfigInfo'], | ||
| 4358 | ]; | ||
| 4359 | return $self->soap_call('QueryMemoryOverheadEx', undef, 0, $x_args, \%args); | ||
| 4360 | } | ||
| 4361 | |||
| 4362 | sub QueryMigrationDependencies { | ||
| 4363 | my ($self, %args) = @_; | ||
| 4364 | my $x_args = [ | ||
| 4365 | ['_this', 'ManagedObjectReference'], | ||
| 4366 | ['pnicDevice', undef], | ||
| 4367 | ]; | ||
| 4368 | return $self->soap_call('QueryMigrationDependencies', 'IscsiMigrationDependency', 0, $x_args, \%args); | ||
| 4369 | } | ||
| 4370 | |||
| 4371 | sub QueryModules { | ||
| 4372 | my ($self, %args) = @_; | ||
| 4373 | my $x_args = [ | ||
| 4374 | ['_this', 'ManagedObjectReference'], | ||
| 4375 | ]; | ||
| 4376 | return $self->soap_call('QueryModules', 'KernelModuleInfo', 1, $x_args, \%args); | ||
| 4377 | } | ||
| 4378 | |||
| 4379 | sub QueryMonitoredEntities { | ||
| 4380 | my ($self, %args) = @_; | ||
| 4381 | my $x_args = [ | ||
| 4382 | ['_this', 'ManagedObjectReference'], | ||
| 4383 | ['providerId', undef], | ||
| 4384 | ]; | ||
| 4385 | return $self->soap_call('QueryMonitoredEntities', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4386 | } | ||
| 4387 | |||
| 4388 | sub QueryNFSUser { | ||
| 4389 | my ($self, %args) = @_; | ||
| 4390 | my $x_args = [ | ||
| 4391 | ['_this', 'ManagedObjectReference'], | ||
| 4392 | ]; | ||
| 4393 | return $self->soap_call('QueryNFSUser', 'HostNasVolumeUserInfo', 0, $x_args, \%args); | ||
| 4394 | } | ||
| 4395 | |||
| 4396 | sub QueryNetConfig { | ||
| 4397 | my ($self, %args) = @_; | ||
| 4398 | my $x_args = [ | ||
| 4399 | ['_this', 'ManagedObjectReference'], | ||
| 4400 | ['nicType', undef], | ||
| 4401 | ]; | ||
| 4402 | return $self->soap_call('QueryNetConfig', 'VirtualNicManagerNetConfig', 0, $x_args, \%args); | ||
| 4403 | } | ||
| 4404 | |||
| 4405 | sub QueryNetworkHint { | ||
| 4406 | my ($self, %args) = @_; | ||
| 4407 | my $x_args = [ | ||
| 4408 | ['_this', 'ManagedObjectReference'], | ||
| 4409 | ['device', undef], | ||
| 4410 | ]; | ||
| 4411 | return $self->soap_call('QueryNetworkHint', 'PhysicalNicHintInfo', 1, $x_args, \%args); | ||
| 4412 | } | ||
| 4413 | |||
| 4414 | sub QueryObjectsOnPhysicalVsanDisk { | ||
| 4415 | my ($self, %args) = @_; | ||
| 4416 | my $x_args = [ | ||
| 4417 | ['_this', 'ManagedObjectReference'], | ||
| 4418 | ['disks', undef], | ||
| 4419 | ]; | ||
| 4420 | return $self->soap_call('QueryObjectsOnPhysicalVsanDisk', undef, 0, $x_args, \%args); | ||
| 4421 | } | ||
| 4422 | |||
| 4423 | sub QueryOptions { | ||
| 4424 | my ($self, %args) = @_; | ||
| 4425 | my $x_args = [ | ||
| 4426 | ['_this', 'ManagedObjectReference'], | ||
| 4427 | ['name', undef], | ||
| 4428 | ]; | ||
| 4429 | return $self->soap_call('QueryOptions', 'OptionValue', 1, $x_args, \%args); | ||
| 4430 | } | ||
| 4431 | |||
| 4432 | sub QueryPartitionCreateDesc { | ||
| 4433 | my ($self, %args) = @_; | ||
| 4434 | my $x_args = [ | ||
| 4435 | ['_this', 'ManagedObjectReference'], | ||
| 4436 | ['diskUuid', undef], | ||
| 4437 | ['diagnosticType', undef], | ||
| 4438 | ]; | ||
| 4439 | return $self->soap_call('QueryPartitionCreateDesc', 'HostDiagnosticPartitionCreateDescription', 0, $x_args, \%args); | ||
| 4440 | } | ||
| 4441 | |||
| 4442 | sub QueryPartitionCreateOptions { | ||
| 4443 | my ($self, %args) = @_; | ||
| 4444 | my $x_args = [ | ||
| 4445 | ['_this', 'ManagedObjectReference'], | ||
| 4446 | ['storageType', undef], | ||
| 4447 | ['diagnosticType', undef], | ||
| 4448 | ]; | ||
| 4449 | return $self->soap_call('QueryPartitionCreateOptions', 'HostDiagnosticPartitionCreateOption', 1, $x_args, \%args); | ||
| 4450 | } | ||
| 4451 | |||
| 4452 | sub QueryPathSelectionPolicyOptions { | ||
| 4453 | my ($self, %args) = @_; | ||
| 4454 | my $x_args = [ | ||
| 4455 | ['_this', 'ManagedObjectReference'], | ||
| 4456 | ]; | ||
| 4457 | return $self->soap_call('QueryPathSelectionPolicyOptions', 'HostPathSelectionPolicyOption', 1, $x_args, \%args); | ||
| 4458 | } | ||
| 4459 | |||
| 4460 | sub QueryPerf { | ||
| 4461 | my ($self, %args) = @_; | ||
| 4462 | my $x_args = [ | ||
| 4463 | ['_this', 'ManagedObjectReference'], | ||
| 4464 | ['querySpec', 'PerfQuerySpec'], | ||
| 4465 | ]; | ||
| 4466 | return $self->soap_call('QueryPerf', 'PerfEntityMetricBase', 1, $x_args, \%args); | ||
| 4467 | } | ||
| 4468 | |||
| 4469 | sub QueryPerfComposite { | ||
| 4470 | my ($self, %args) = @_; | ||
| 4471 | my $x_args = [ | ||
| 4472 | ['_this', 'ManagedObjectReference'], | ||
| 4473 | ['querySpec', 'PerfQuerySpec'], | ||
| 4474 | ]; | ||
| 4475 | return $self->soap_call('QueryPerfComposite', 'PerfCompositeMetric', 0, $x_args, \%args); | ||
| 4476 | } | ||
| 4477 | |||
| 4478 | sub QueryPerfCounter { | ||
| 4479 | my ($self, %args) = @_; | ||
| 4480 | my $x_args = [ | ||
| 4481 | ['_this', 'ManagedObjectReference'], | ||
| 4482 | ['counterId', undef], | ||
| 4483 | ]; | ||
| 4484 | return $self->soap_call('QueryPerfCounter', 'PerfCounterInfo', 1, $x_args, \%args); | ||
| 4485 | } | ||
| 4486 | |||
| 4487 | sub QueryPerfCounterByLevel { | ||
| 4488 | my ($self, %args) = @_; | ||
| 4489 | my $x_args = [ | ||
| 4490 | ['_this', 'ManagedObjectReference'], | ||
| 4491 | ['level', undef], | ||
| 4492 | ]; | ||
| 4493 | return $self->soap_call('QueryPerfCounterByLevel', 'PerfCounterInfo', 1, $x_args, \%args); | ||
| 4494 | } | ||
| 4495 | |||
| 4496 | sub QueryPerfProviderSummary { | ||
| 4497 | my ($self, %args) = @_; | ||
| 4498 | my $x_args = [ | ||
| 4499 | ['_this', 'ManagedObjectReference'], | ||
| 4500 | ['entity', 'ManagedObjectReference'], | ||
| 4501 | ]; | ||
| 4502 | return $self->soap_call('QueryPerfProviderSummary', 'PerfProviderSummary', 0, $x_args, \%args); | ||
| 4503 | } | ||
| 4504 | |||
| 4505 | sub QueryPhysicalVsanDisks { | ||
| 4506 | my ($self, %args) = @_; | ||
| 4507 | my $x_args = [ | ||
| 4508 | ['_this', 'ManagedObjectReference'], | ||
| 4509 | ['props', undef], | ||
| 4510 | ]; | ||
| 4511 | return $self->soap_call('QueryPhysicalVsanDisks', undef, 0, $x_args, \%args); | ||
| 4512 | } | ||
| 4513 | |||
| 4514 | sub QueryPnicStatus { | ||
| 4515 | my ($self, %args) = @_; | ||
| 4516 | my $x_args = [ | ||
| 4517 | ['_this', 'ManagedObjectReference'], | ||
| 4518 | ['pnicDevice', undef], | ||
| 4519 | ]; | ||
| 4520 | return $self->soap_call('QueryPnicStatus', 'IscsiStatus', 0, $x_args, \%args); | ||
| 4521 | } | ||
| 4522 | |||
| 4523 | sub QueryPolicyMetadata { | ||
| 4524 | my ($self, %args) = @_; | ||
| 4525 | my $x_args = [ | ||
| 4526 | ['_this', 'ManagedObjectReference'], | ||
| 4527 | ['policyName', undef], | ||
| 4528 | ['profile', 'ManagedObjectReference'], | ||
| 4529 | ]; | ||
| 4530 | return $self->soap_call('QueryPolicyMetadata', 'ProfilePolicyMetadata', 1, $x_args, \%args); | ||
| 4531 | } | ||
| 4532 | |||
| 4533 | sub QueryProfileStructure { | ||
| 4534 | my ($self, %args) = @_; | ||
| 4535 | my $x_args = [ | ||
| 4536 | ['_this', 'ManagedObjectReference'], | ||
| 4537 | ['profile', 'ManagedObjectReference'], | ||
| 4538 | ]; | ||
| 4539 | return $self->soap_call('QueryProfileStructure', 'ProfileProfileStructure', 0, $x_args, \%args); | ||
| 4540 | } | ||
| 4541 | |||
| 4542 | sub QueryProviderList { | ||
| 4543 | my ($self, %args) = @_; | ||
| 4544 | my $x_args = [ | ||
| 4545 | ['_this', 'ManagedObjectReference'], | ||
| 4546 | ]; | ||
| 4547 | return $self->soap_call('QueryProviderList', undef, 1, $x_args, \%args); | ||
| 4548 | } | ||
| 4549 | |||
| 4550 | sub QueryProviderName { | ||
| 4551 | my ($self, %args) = @_; | ||
| 4552 | my $x_args = [ | ||
| 4553 | ['_this', 'ManagedObjectReference'], | ||
| 4554 | ['id', undef], | ||
| 4555 | ]; | ||
| 4556 | return $self->soap_call('QueryProviderName', undef, 0, $x_args, \%args); | ||
| 4557 | } | ||
| 4558 | |||
| 4559 | sub QueryResourceConfigOption { | ||
| 4560 | my ($self, %args) = @_; | ||
| 4561 | my $x_args = [ | ||
| 4562 | ['_this', 'ManagedObjectReference'], | ||
| 4563 | ]; | ||
| 4564 | return $self->soap_call('QueryResourceConfigOption', 'ResourceConfigOption', 0, $x_args, \%args); | ||
| 4565 | } | ||
| 4566 | |||
| 4567 | sub QueryServiceList { | ||
| 4568 | my ($self, %args) = @_; | ||
| 4569 | my $x_args = [ | ||
| 4570 | ['_this', 'ManagedObjectReference'], | ||
| 4571 | ['serviceName', undef], | ||
| 4572 | ['location', undef], | ||
| 4573 | ]; | ||
| 4574 | return $self->soap_call('QueryServiceList', 'ServiceManagerServiceInfo', 1, $x_args, \%args); | ||
| 4575 | } | ||
| 4576 | |||
| 4577 | sub QueryStorageArrayTypePolicyOptions { | ||
| 4578 | my ($self, %args) = @_; | ||
| 4579 | my $x_args = [ | ||
| 4580 | ['_this', 'ManagedObjectReference'], | ||
| 4581 | ]; | ||
| 4582 | return $self->soap_call('QueryStorageArrayTypePolicyOptions', 'HostStorageArrayTypePolicyOption', 1, $x_args, \%args); | ||
| 4583 | } | ||
| 4584 | |||
| 4585 | sub QuerySupportedFeatures { | ||
| 4586 | my ($self, %args) = @_; | ||
| 4587 | my $x_args = [ | ||
| 4588 | ['_this', 'ManagedObjectReference'], | ||
| 4589 | ['host', 'ManagedObjectReference'], | ||
| 4590 | ]; | ||
| 4591 | return $self->soap_call('QuerySupportedFeatures', 'LicenseFeatureInfo', 1, $x_args, \%args); | ||
| 4592 | } | ||
| 4593 | |||
| 4594 | sub QuerySyncingVsanObjects { | ||
| 4595 | my ($self, %args) = @_; | ||
| 4596 | my $x_args = [ | ||
| 4597 | ['_this', 'ManagedObjectReference'], | ||
| 4598 | ['uuids', undef], | ||
| 4599 | ]; | ||
| 4600 | return $self->soap_call('QuerySyncingVsanObjects', undef, 0, $x_args, \%args); | ||
| 4601 | } | ||
| 4602 | |||
| 4603 | sub QuerySystemUsers { | ||
| 4604 | my ($self, %args) = @_; | ||
| 4605 | my $x_args = [ | ||
| 4606 | ['_this', 'ManagedObjectReference'], | ||
| 4607 | ]; | ||
| 4608 | return $self->soap_call('QuerySystemUsers', undef, 1, $x_args, \%args); | ||
| 4609 | } | ||
| 4610 | |||
| 4611 | sub QueryTargetCapabilities { | ||
| 4612 | my ($self, %args) = @_; | ||
| 4613 | my $x_args = [ | ||
| 4614 | ['_this', 'ManagedObjectReference'], | ||
| 4615 | ['host', 'ManagedObjectReference'], | ||
| 4616 | ]; | ||
| 4617 | return $self->soap_call('QueryTargetCapabilities', 'HostCapability', 0, $x_args, \%args); | ||
| 4618 | } | ||
| 4619 | |||
| 4620 | sub QueryTpmAttestationReport { | ||
| 4621 | my ($self, %args) = @_; | ||
| 4622 | my $x_args = [ | ||
| 4623 | ['_this', 'ManagedObjectReference'], | ||
| 4624 | ]; | ||
| 4625 | return $self->soap_call('QueryTpmAttestationReport', 'HostTpmAttestationReport', 0, $x_args, \%args); | ||
| 4626 | } | ||
| 4627 | |||
| 4628 | sub QueryUnmonitoredHosts { | ||
| 4629 | my ($self, %args) = @_; | ||
| 4630 | my $x_args = [ | ||
| 4631 | ['_this', 'ManagedObjectReference'], | ||
| 4632 | ['providerId', undef], | ||
| 4633 | ['cluster', 'ManagedObjectReference'], | ||
| 4634 | ]; | ||
| 4635 | return $self->soap_call('QueryUnmonitoredHosts', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4636 | } | ||
| 4637 | |||
| 4638 | sub QueryUnownedFiles { | ||
| 4639 | my ($self, %args) = @_; | ||
| 4640 | my $x_args = [ | ||
| 4641 | ['_this', 'ManagedObjectReference'], | ||
| 4642 | ]; | ||
| 4643 | return $self->soap_call('QueryUnownedFiles', undef, 1, $x_args, \%args); | ||
| 4644 | } | ||
| 4645 | |||
| 4646 | sub QueryUnresolvedVmfsVolume { | ||
| 4647 | my ($self, %args) = @_; | ||
| 4648 | my $x_args = [ | ||
| 4649 | ['_this', 'ManagedObjectReference'], | ||
| 4650 | ]; | ||
| 4651 | return $self->soap_call('QueryUnresolvedVmfsVolume', 'HostUnresolvedVmfsVolume', 1, $x_args, \%args); | ||
| 4652 | } | ||
| 4653 | |||
| 4654 | sub QueryUnresolvedVmfsVolumes { | ||
| 4655 | my ($self, %args) = @_; | ||
| 4656 | my $x_args = [ | ||
| 4657 | ['_this', 'ManagedObjectReference'], | ||
| 4658 | ]; | ||
| 4659 | return $self->soap_call('QueryUnresolvedVmfsVolumes', 'HostUnresolvedVmfsVolume', 1, $x_args, \%args); | ||
| 4660 | } | ||
| 4661 | |||
| 4662 | sub QueryUsedVlanIdInDvs { | ||
| 4663 | my ($self, %args) = @_; | ||
| 4664 | my $x_args = [ | ||
| 4665 | ['_this', 'ManagedObjectReference'], | ||
| 4666 | ]; | ||
| 4667 | return $self->soap_call('QueryUsedVlanIdInDvs', undef, 1, $x_args, \%args); | ||
| 4668 | } | ||
| 4669 | |||
| 4670 | sub QueryVMotionCompatibility { | ||
| 4671 | my ($self, %args) = @_; | ||
| 4672 | my $x_args = [ | ||
| 4673 | ['_this', 'ManagedObjectReference'], | ||
| 4674 | ['vm', 'ManagedObjectReference'], | ||
| 4675 | ['host', 'ManagedObjectReference'], | ||
| 4676 | ['compatibility', undef], | ||
| 4677 | ]; | ||
| 4678 | return $self->soap_call('QueryVMotionCompatibility', 'HostVMotionCompatibility', 1, $x_args, \%args); | ||
| 4679 | } | ||
| 4680 | |||
| 4681 | sub QueryVMotionCompatibilityEx_Task { | ||
| 4682 | my ($self, %args) = @_; | ||
| 4683 | my $x_args = [ | ||
| 4684 | ['_this', 'ManagedObjectReference'], | ||
| 4685 | ['vm', 'ManagedObjectReference'], | ||
| 4686 | ['host', 'ManagedObjectReference'], | ||
| 4687 | ]; | ||
| 4688 | return $self->soap_call('QueryVMotionCompatibilityEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4689 | } | ||
| 4690 | |||
| 4691 | sub QueryVirtualDiskFragmentation { | ||
| 4692 | my ($self, %args) = @_; | ||
| 4693 | my $x_args = [ | ||
| 4694 | ['_this', 'ManagedObjectReference'], | ||
| 4695 | ['name', undef], | ||
| 4696 | ['datacenter', 'ManagedObjectReference'], | ||
| 4697 | ]; | ||
| 4698 | return $self->soap_call('QueryVirtualDiskFragmentation', undef, 0, $x_args, \%args); | ||
| 4699 | } | ||
| 4700 | |||
| 4701 | sub QueryVirtualDiskGeometry { | ||
| 4702 | my ($self, %args) = @_; | ||
| 4703 | my $x_args = [ | ||
| 4704 | ['_this', 'ManagedObjectReference'], | ||
| 4705 | ['name', undef], | ||
| 4706 | ['datacenter', 'ManagedObjectReference'], | ||
| 4707 | ]; | ||
| 4708 | return $self->soap_call('QueryVirtualDiskGeometry', 'HostDiskDimensionsChs', 0, $x_args, \%args); | ||
| 4709 | } | ||
| 4710 | |||
| 4711 | sub QueryVirtualDiskUuid { | ||
| 4712 | my ($self, %args) = @_; | ||
| 4713 | my $x_args = [ | ||
| 4714 | ['_this', 'ManagedObjectReference'], | ||
| 4715 | ['name', undef], | ||
| 4716 | ['datacenter', 'ManagedObjectReference'], | ||
| 4717 | ]; | ||
| 4718 | return $self->soap_call('QueryVirtualDiskUuid', undef, 0, $x_args, \%args); | ||
| 4719 | } | ||
| 4720 | |||
| 4721 | sub QueryVmfsConfigOption { | ||
| 4722 | my ($self, %args) = @_; | ||
| 4723 | my $x_args = [ | ||
| 4724 | ['_this', 'ManagedObjectReference'], | ||
| 4725 | ]; | ||
| 4726 | return $self->soap_call('QueryVmfsConfigOption', 'VmfsConfigOption', 1, $x_args, \%args); | ||
| 4727 | } | ||
| 4728 | |||
| 4729 | sub QueryVmfsDatastoreCreateOptions { | ||
| 4730 | my ($self, %args) = @_; | ||
| 4731 | my $x_args = [ | ||
| 4732 | ['_this', 'ManagedObjectReference'], | ||
| 4733 | ['devicePath', undef], | ||
| 4734 | ['vmfsMajorVersion', undef], | ||
| 4735 | ]; | ||
| 4736 | return $self->soap_call('QueryVmfsDatastoreCreateOptions', 'VmfsDatastoreOption', 1, $x_args, \%args); | ||
| 4737 | } | ||
| 4738 | |||
| 4739 | sub QueryVmfsDatastoreExpandOptions { | ||
| 4740 | my ($self, %args) = @_; | ||
| 4741 | my $x_args = [ | ||
| 4742 | ['_this', 'ManagedObjectReference'], | ||
| 4743 | ['datastore', 'ManagedObjectReference'], | ||
| 4744 | ]; | ||
| 4745 | return $self->soap_call('QueryVmfsDatastoreExpandOptions', 'VmfsDatastoreOption', 1, $x_args, \%args); | ||
| 4746 | } | ||
| 4747 | |||
| 4748 | sub QueryVmfsDatastoreExtendOptions { | ||
| 4749 | my ($self, %args) = @_; | ||
| 4750 | my $x_args = [ | ||
| 4751 | ['_this', 'ManagedObjectReference'], | ||
| 4752 | ['datastore', 'ManagedObjectReference'], | ||
| 4753 | ['devicePath', undef], | ||
| 4754 | ['suppressExpandCandidates', 'boolean'], | ||
| 4755 | ]; | ||
| 4756 | return $self->soap_call('QueryVmfsDatastoreExtendOptions', 'VmfsDatastoreOption', 1, $x_args, \%args); | ||
| 4757 | } | ||
| 4758 | |||
| 4759 | sub QueryVnicStatus { | ||
| 4760 | my ($self, %args) = @_; | ||
| 4761 | my $x_args = [ | ||
| 4762 | ['_this', 'ManagedObjectReference'], | ||
| 4763 | ['vnicDevice', undef], | ||
| 4764 | ]; | ||
| 4765 | return $self->soap_call('QueryVnicStatus', 'IscsiStatus', 0, $x_args, \%args); | ||
| 4766 | } | ||
| 4767 | |||
| 4768 | sub QueryVsanObjectUuidsByFilter { | ||
| 4769 | my ($self, %args) = @_; | ||
| 4770 | my $x_args = [ | ||
| 4771 | ['_this', 'ManagedObjectReference'], | ||
| 4772 | ['uuids', undef], | ||
| 4773 | ['limit', undef], | ||
| 4774 | ['version', undef], | ||
| 4775 | ]; | ||
| 4776 | return $self->soap_call('QueryVsanObjectUuidsByFilter', undef, 1, $x_args, \%args); | ||
| 4777 | } | ||
| 4778 | |||
| 4779 | sub QueryVsanObjects { | ||
| 4780 | my ($self, %args) = @_; | ||
| 4781 | my $x_args = [ | ||
| 4782 | ['_this', 'ManagedObjectReference'], | ||
| 4783 | ['uuids', undef], | ||
| 4784 | ]; | ||
| 4785 | return $self->soap_call('QueryVsanObjects', undef, 0, $x_args, \%args); | ||
| 4786 | } | ||
| 4787 | |||
| 4788 | sub QueryVsanStatistics { | ||
| 4789 | my ($self, %args) = @_; | ||
| 4790 | my $x_args = [ | ||
| 4791 | ['_this', 'ManagedObjectReference'], | ||
| 4792 | ['labels', undef], | ||
| 4793 | ]; | ||
| 4794 | return $self->soap_call('QueryVsanStatistics', undef, 0, $x_args, \%args); | ||
| 4795 | } | ||
| 4796 | |||
| 4797 | sub QueryVsanUpgradeStatus { | ||
| 4798 | my ($self, %args) = @_; | ||
| 4799 | my $x_args = [ | ||
| 4800 | ['_this', 'ManagedObjectReference'], | ||
| 4801 | ['cluster', 'ManagedObjectReference'], | ||
| 4802 | ]; | ||
| 4803 | return $self->soap_call('QueryVsanUpgradeStatus', 'VsanUpgradeSystemUpgradeStatus', 0, $x_args, \%args); | ||
| 4804 | } | ||
| 4805 | |||
| 4806 | sub ReadEnvironmentVariableInGuest { | ||
| 4807 | my ($self, %args) = @_; | ||
| 4808 | my $x_args = [ | ||
| 4809 | ['_this', 'ManagedObjectReference'], | ||
| 4810 | ['vm', 'ManagedObjectReference'], | ||
| 4811 | ['auth', 'GuestAuthentication'], | ||
| 4812 | ['names', undef], | ||
| 4813 | ]; | ||
| 4814 | return $self->soap_call('ReadEnvironmentVariableInGuest', undef, 1, $x_args, \%args); | ||
| 4815 | } | ||
| 4816 | |||
| 4817 | sub ReadNextEvents { | ||
| 4818 | my ($self, %args) = @_; | ||
| 4819 | my $x_args = [ | ||
| 4820 | ['_this', 'ManagedObjectReference'], | ||
| 4821 | ['maxCount', undef], | ||
| 4822 | ]; | ||
| 4823 | return $self->soap_call('ReadNextEvents', 'Event', 1, $x_args, \%args); | ||
| 4824 | } | ||
| 4825 | |||
| 4826 | sub ReadNextTasks { | ||
| 4827 | my ($self, %args) = @_; | ||
| 4828 | my $x_args = [ | ||
| 4829 | ['_this', 'ManagedObjectReference'], | ||
| 4830 | ['maxCount', undef], | ||
| 4831 | ]; | ||
| 4832 | return $self->soap_call('ReadNextTasks', 'TaskInfo', 1, $x_args, \%args); | ||
| 4833 | } | ||
| 4834 | |||
| 4835 | sub ReadPreviousEvents { | ||
| 4836 | my ($self, %args) = @_; | ||
| 4837 | my $x_args = [ | ||
| 4838 | ['_this', 'ManagedObjectReference'], | ||
| 4839 | ['maxCount', undef], | ||
| 4840 | ]; | ||
| 4841 | return $self->soap_call('ReadPreviousEvents', 'Event', 1, $x_args, \%args); | ||
| 4842 | } | ||
| 4843 | |||
| 4844 | sub ReadPreviousTasks { | ||
| 4845 | my ($self, %args) = @_; | ||
| 4846 | my $x_args = [ | ||
| 4847 | ['_this', 'ManagedObjectReference'], | ||
| 4848 | ['maxCount', undef], | ||
| 4849 | ]; | ||
| 4850 | return $self->soap_call('ReadPreviousTasks', 'TaskInfo', 1, $x_args, \%args); | ||
| 4851 | } | ||
| 4852 | |||
| 4853 | sub RebootGuest { | ||
| 4854 | my ($self, %args) = @_; | ||
| 4855 | my $x_args = [ | ||
| 4856 | ['_this', 'ManagedObjectReference'], | ||
| 4857 | ]; | ||
| 4858 | return $self->soap_call('RebootGuest', undef, 0, $x_args, \%args); | ||
| 4859 | } | ||
| 4860 | |||
| 4861 | sub RebootHost_Task { | ||
| 4862 | my ($self, %args) = @_; | ||
| 4863 | my $x_args = [ | ||
| 4864 | ['_this', 'ManagedObjectReference'], | ||
| 4865 | ['force', 'boolean'], | ||
| 4866 | ]; | ||
| 4867 | return $self->soap_call('RebootHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4868 | } | ||
| 4869 | |||
| 4870 | sub RecommendDatastores { | ||
| 4871 | my ($self, %args) = @_; | ||
| 4872 | my $x_args = [ | ||
| 4873 | ['_this', 'ManagedObjectReference'], | ||
| 4874 | ['storageSpec', 'StoragePlacementSpec'], | ||
| 4875 | ]; | ||
| 4876 | return $self->soap_call('RecommendDatastores', 'StoragePlacementResult', 0, $x_args, \%args); | ||
| 4877 | } | ||
| 4878 | |||
| 4879 | sub RecommendHostsForVm { | ||
| 4880 | my ($self, %args) = @_; | ||
| 4881 | my $x_args = [ | ||
| 4882 | ['_this', 'ManagedObjectReference'], | ||
| 4883 | ['vm', 'ManagedObjectReference'], | ||
| 4884 | ['pool', 'ManagedObjectReference'], | ||
| 4885 | ]; | ||
| 4886 | return $self->soap_call('RecommendHostsForVm', 'ClusterHostRecommendation', 1, $x_args, \%args); | ||
| 4887 | } | ||
| 4888 | |||
| 4889 | sub RecommissionVsanNode_Task { | ||
| 4890 | my ($self, %args) = @_; | ||
| 4891 | my $x_args = [ | ||
| 4892 | ['_this', 'ManagedObjectReference'], | ||
| 4893 | ]; | ||
| 4894 | return $self->soap_call('RecommissionVsanNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4895 | } | ||
| 4896 | |||
| 4897 | sub ReconcileDatastoreInventory_Task { | ||
| 4898 | my ($self, %args) = @_; | ||
| 4899 | my $x_args = [ | ||
| 4900 | ['_this', 'ManagedObjectReference'], | ||
| 4901 | ['datastore', 'ManagedObjectReference'], | ||
| 4902 | ]; | ||
| 4903 | return $self->soap_call('ReconcileDatastoreInventory_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4904 | } | ||
| 4905 | |||
| 4906 | sub ReconfigVM_Task { | ||
| 4907 | my ($self, %args) = @_; | ||
| 4908 | my $x_args = [ | ||
| 4909 | ['_this', 'ManagedObjectReference'], | ||
| 4910 | ['spec', 'VirtualMachineConfigSpec'], | ||
| 4911 | ]; | ||
| 4912 | return $self->soap_call('ReconfigVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4913 | } | ||
| 4914 | |||
| 4915 | sub ReconfigurationSatisfiable { | ||
| 4916 | my ($self, %args) = @_; | ||
| 4917 | my $x_args = [ | ||
| 4918 | ['_this', 'ManagedObjectReference'], | ||
| 4919 | ['pcbs', 'VsanPolicyChangeBatch'], | ||
| 4920 | ['ignoreSatisfiability', 'boolean'], | ||
| 4921 | ]; | ||
| 4922 | return $self->soap_call('ReconfigurationSatisfiable', 'VsanPolicySatisfiability', 1, $x_args, \%args); | ||
| 4923 | } | ||
| 4924 | |||
| 4925 | sub ReconfigureAlarm { | ||
| 4926 | my ($self, %args) = @_; | ||
| 4927 | my $x_args = [ | ||
| 4928 | ['_this', 'ManagedObjectReference'], | ||
| 4929 | ['spec', 'AlarmSpec'], | ||
| 4930 | ]; | ||
| 4931 | return $self->soap_call('ReconfigureAlarm', undef, 0, $x_args, \%args); | ||
| 4932 | } | ||
| 4933 | |||
| 4934 | sub ReconfigureAutostart { | ||
| 4935 | my ($self, %args) = @_; | ||
| 4936 | my $x_args = [ | ||
| 4937 | ['_this', 'ManagedObjectReference'], | ||
| 4938 | ['spec', 'HostAutoStartManagerConfig'], | ||
| 4939 | ]; | ||
| 4940 | return $self->soap_call('ReconfigureAutostart', undef, 0, $x_args, \%args); | ||
| 4941 | } | ||
| 4942 | |||
| 4943 | sub ReconfigureCluster_Task { | ||
| 4944 | my ($self, %args) = @_; | ||
| 4945 | my $x_args = [ | ||
| 4946 | ['_this', 'ManagedObjectReference'], | ||
| 4947 | ['spec', 'ClusterConfigSpec'], | ||
| 4948 | ['modify', 'boolean'], | ||
| 4949 | ]; | ||
| 4950 | return $self->soap_call('ReconfigureCluster_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4951 | } | ||
| 4952 | |||
| 4953 | sub ReconfigureComputeResource_Task { | ||
| 4954 | my ($self, %args) = @_; | ||
| 4955 | my $x_args = [ | ||
| 4956 | ['_this', 'ManagedObjectReference'], | ||
| 4957 | ['spec', 'ComputeResourceConfigSpec'], | ||
| 4958 | ['modify', 'boolean'], | ||
| 4959 | ]; | ||
| 4960 | return $self->soap_call('ReconfigureComputeResource_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4961 | } | ||
| 4962 | |||
| 4963 | sub ReconfigureDVPort_Task { | ||
| 4964 | my ($self, %args) = @_; | ||
| 4965 | my $x_args = [ | ||
| 4966 | ['_this', 'ManagedObjectReference'], | ||
| 4967 | ['port', 'DVPortConfigSpec'], | ||
| 4968 | ]; | ||
| 4969 | return $self->soap_call('ReconfigureDVPort_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4970 | } | ||
| 4971 | |||
| 4972 | sub ReconfigureDVPortgroup_Task { | ||
| 4973 | my ($self, %args) = @_; | ||
| 4974 | my $x_args = [ | ||
| 4975 | ['_this', 'ManagedObjectReference'], | ||
| 4976 | ['spec', 'DVPortgroupConfigSpec'], | ||
| 4977 | ]; | ||
| 4978 | return $self->soap_call('ReconfigureDVPortgroup_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4979 | } | ||
| 4980 | |||
| 4981 | sub ReconfigureDatacenter_Task { | ||
| 4982 | my ($self, %args) = @_; | ||
| 4983 | my $x_args = [ | ||
| 4984 | ['_this', 'ManagedObjectReference'], | ||
| 4985 | ['spec', 'DatacenterConfigSpec'], | ||
| 4986 | ['modify', 'boolean'], | ||
| 4987 | ]; | ||
| 4988 | return $self->soap_call('ReconfigureDatacenter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4989 | } | ||
| 4990 | |||
| 4991 | sub ReconfigureDomObject { | ||
| 4992 | my ($self, %args) = @_; | ||
| 4993 | my $x_args = [ | ||
| 4994 | ['_this', 'ManagedObjectReference'], | ||
| 4995 | ['uuid', undef], | ||
| 4996 | ['policy', undef], | ||
| 4997 | ]; | ||
| 4998 | return $self->soap_call('ReconfigureDomObject', undef, 0, $x_args, \%args); | ||
| 4999 | } | ||
| 5000 | |||
| 5001 | sub ReconfigureDvs_Task { | ||
| 5002 | my ($self, %args) = @_; | ||
| 5003 | my $x_args = [ | ||
| 5004 | ['_this', 'ManagedObjectReference'], | ||
| 5005 | ['spec', 'DVSConfigSpec'], | ||
| 5006 | ]; | ||
| 5007 | return $self->soap_call('ReconfigureDvs_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5008 | } | ||
| 5009 | |||
| 5010 | sub ReconfigureHostForDAS_Task { | ||
| 5011 | my ($self, %args) = @_; | ||
| 5012 | my $x_args = [ | ||
| 5013 | ['_this', 'ManagedObjectReference'], | ||
| 5014 | ]; | ||
| 5015 | return $self->soap_call('ReconfigureHostForDAS_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5016 | } | ||
| 5017 | |||
| 5018 | sub ReconfigureScheduledTask { | ||
| 5019 | my ($self, %args) = @_; | ||
| 5020 | my $x_args = [ | ||
| 5021 | ['_this', 'ManagedObjectReference'], | ||
| 5022 | ['spec', 'ScheduledTaskSpec'], | ||
| 5023 | ]; | ||
| 5024 | return $self->soap_call('ReconfigureScheduledTask', undef, 0, $x_args, \%args); | ||
| 5025 | } | ||
| 5026 | |||
| 5027 | sub ReconfigureServiceConsoleReservation { | ||
| 5028 | my ($self, %args) = @_; | ||
| 5029 | my $x_args = [ | ||
| 5030 | ['_this', 'ManagedObjectReference'], | ||
| 5031 | ['cfgBytes', undef], | ||
| 5032 | ]; | ||
| 5033 | return $self->soap_call('ReconfigureServiceConsoleReservation', undef, 0, $x_args, \%args); | ||
| 5034 | } | ||
| 5035 | |||
| 5036 | sub ReconfigureSnmpAgent { | ||
| 5037 | my ($self, %args) = @_; | ||
| 5038 | my $x_args = [ | ||
| 5039 | ['_this', 'ManagedObjectReference'], | ||
| 5040 | ['spec', 'HostSnmpConfigSpec'], | ||
| 5041 | ]; | ||
| 5042 | return $self->soap_call('ReconfigureSnmpAgent', undef, 0, $x_args, \%args); | ||
| 5043 | } | ||
| 5044 | |||
| 5045 | sub ReconfigureVirtualMachineReservation { | ||
| 5046 | my ($self, %args) = @_; | ||
| 5047 | my $x_args = [ | ||
| 5048 | ['_this', 'ManagedObjectReference'], | ||
| 5049 | ['spec', 'VirtualMachineMemoryReservationSpec'], | ||
| 5050 | ]; | ||
| 5051 | return $self->soap_call('ReconfigureVirtualMachineReservation', undef, 0, $x_args, \%args); | ||
| 5052 | } | ||
| 5053 | |||
| 5054 | sub ReconnectHost_Task { | ||
| 5055 | my ($self, %args) = @_; | ||
| 5056 | my $x_args = [ | ||
| 5057 | ['_this', 'ManagedObjectReference'], | ||
| 5058 | ['cnxSpec', 'HostConnectSpec'], | ||
| 5059 | ['reconnectSpec', 'HostSystemReconnectSpec'], | ||
| 5060 | ]; | ||
| 5061 | return $self->soap_call('ReconnectHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5062 | } | ||
| 5063 | |||
| 5064 | sub RectifyDvsHost_Task { | ||
| 5065 | my ($self, %args) = @_; | ||
| 5066 | my $x_args = [ | ||
| 5067 | ['_this', 'ManagedObjectReference'], | ||
| 5068 | ['hosts', 'ManagedObjectReference'], | ||
| 5069 | ]; | ||
| 5070 | return $self->soap_call('RectifyDvsHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5071 | } | ||
| 5072 | |||
| 5073 | sub RectifyDvsOnHost_Task { | ||
| 5074 | my ($self, %args) = @_; | ||
| 5075 | my $x_args = [ | ||
| 5076 | ['_this', 'ManagedObjectReference'], | ||
| 5077 | ['hosts', 'ManagedObjectReference'], | ||
| 5078 | ]; | ||
| 5079 | return $self->soap_call('RectifyDvsOnHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5080 | } | ||
| 5081 | |||
| 5082 | sub Refresh { | ||
| 5083 | my ($self, %args) = @_; | ||
| 5084 | my $x_args = [ | ||
| 5085 | ['_this', 'ManagedObjectReference'], | ||
| 5086 | ]; | ||
| 5087 | return $self->soap_call('Refresh', undef, 0, $x_args, \%args); | ||
| 5088 | } | ||
| 5089 | |||
| 5090 | sub RefreshDVPortState { | ||
| 5091 | my ($self, %args) = @_; | ||
| 5092 | my $x_args = [ | ||
| 5093 | ['_this', 'ManagedObjectReference'], | ||
| 5094 | ['portKeys', undef], | ||
| 5095 | ]; | ||
| 5096 | return $self->soap_call('RefreshDVPortState', undef, 0, $x_args, \%args); | ||
| 5097 | } | ||
| 5098 | |||
| 5099 | sub RefreshDatastore { | ||
| 5100 | my ($self, %args) = @_; | ||
| 5101 | my $x_args = [ | ||
| 5102 | ['_this', 'ManagedObjectReference'], | ||
| 5103 | ]; | ||
| 5104 | return $self->soap_call('RefreshDatastore', undef, 0, $x_args, \%args); | ||
| 5105 | } | ||
| 5106 | |||
| 5107 | sub RefreshDatastoreStorageInfo { | ||
| 5108 | my ($self, %args) = @_; | ||
| 5109 | my $x_args = [ | ||
| 5110 | ['_this', 'ManagedObjectReference'], | ||
| 5111 | ]; | ||
| 5112 | return $self->soap_call('RefreshDatastoreStorageInfo', undef, 0, $x_args, \%args); | ||
| 5113 | } | ||
| 5114 | |||
| 5115 | sub RefreshDateTimeSystem { | ||
| 5116 | my ($self, %args) = @_; | ||
| 5117 | my $x_args = [ | ||
| 5118 | ['_this', 'ManagedObjectReference'], | ||
| 5119 | ]; | ||
| 5120 | return $self->soap_call('RefreshDateTimeSystem', undef, 0, $x_args, \%args); | ||
| 5121 | } | ||
| 5122 | |||
| 5123 | sub RefreshFirewall { | ||
| 5124 | my ($self, %args) = @_; | ||
| 5125 | my $x_args = [ | ||
| 5126 | ['_this', 'ManagedObjectReference'], | ||
| 5127 | ]; | ||
| 5128 | return $self->soap_call('RefreshFirewall', undef, 0, $x_args, \%args); | ||
| 5129 | } | ||
| 5130 | |||
| 5131 | sub RefreshGraphicsManager { | ||
| 5132 | my ($self, %args) = @_; | ||
| 5133 | my $x_args = [ | ||
| 5134 | ['_this', 'ManagedObjectReference'], | ||
| 5135 | ]; | ||
| 5136 | return $self->soap_call('RefreshGraphicsManager', undef, 0, $x_args, \%args); | ||
| 5137 | } | ||
| 5138 | |||
| 5139 | sub RefreshHealthStatusSystem { | ||
| 5140 | my ($self, %args) = @_; | ||
| 5141 | my $x_args = [ | ||
| 5142 | ['_this', 'ManagedObjectReference'], | ||
| 5143 | ]; | ||
| 5144 | return $self->soap_call('RefreshHealthStatusSystem', undef, 0, $x_args, \%args); | ||
| 5145 | } | ||
| 5146 | |||
| 5147 | sub RefreshNetworkSystem { | ||
| 5148 | my ($self, %args) = @_; | ||
| 5149 | my $x_args = [ | ||
| 5150 | ['_this', 'ManagedObjectReference'], | ||
| 5151 | ]; | ||
| 5152 | return $self->soap_call('RefreshNetworkSystem', undef, 0, $x_args, \%args); | ||
| 5153 | } | ||
| 5154 | |||
| 5155 | sub RefreshRecommendation { | ||
| 5156 | my ($self, %args) = @_; | ||
| 5157 | my $x_args = [ | ||
| 5158 | ['_this', 'ManagedObjectReference'], | ||
| 5159 | ]; | ||
| 5160 | return $self->soap_call('RefreshRecommendation', undef, 0, $x_args, \%args); | ||
| 5161 | } | ||
| 5162 | |||
| 5163 | sub RefreshRuntime { | ||
| 5164 | my ($self, %args) = @_; | ||
| 5165 | my $x_args = [ | ||
| 5166 | ['_this', 'ManagedObjectReference'], | ||
| 5167 | ]; | ||
| 5168 | return $self->soap_call('RefreshRuntime', undef, 0, $x_args, \%args); | ||
| 5169 | } | ||
| 5170 | |||
| 5171 | sub RefreshServices { | ||
| 5172 | my ($self, %args) = @_; | ||
| 5173 | my $x_args = [ | ||
| 5174 | ['_this', 'ManagedObjectReference'], | ||
| 5175 | ]; | ||
| 5176 | return $self->soap_call('RefreshServices', undef, 0, $x_args, \%args); | ||
| 5177 | } | ||
| 5178 | |||
| 5179 | sub RefreshStorageDrsRecommendation { | ||
| 5180 | my ($self, %args) = @_; | ||
| 5181 | my $x_args = [ | ||
| 5182 | ['_this', 'ManagedObjectReference'], | ||
| 5183 | ['pod', 'ManagedObjectReference'], | ||
| 5184 | ]; | ||
| 5185 | return $self->soap_call('RefreshStorageDrsRecommendation', undef, 0, $x_args, \%args); | ||
| 5186 | } | ||
| 5187 | |||
| 5188 | sub RefreshStorageInfo { | ||
| 5189 | my ($self, %args) = @_; | ||
| 5190 | my $x_args = [ | ||
| 5191 | ['_this', 'ManagedObjectReference'], | ||
| 5192 | ]; | ||
| 5193 | return $self->soap_call('RefreshStorageInfo', undef, 0, $x_args, \%args); | ||
| 5194 | } | ||
| 5195 | |||
| 5196 | sub RefreshStorageSystem { | ||
| 5197 | my ($self, %args) = @_; | ||
| 5198 | my $x_args = [ | ||
| 5199 | ['_this', 'ManagedObjectReference'], | ||
| 5200 | ]; | ||
| 5201 | return $self->soap_call('RefreshStorageSystem', undef, 0, $x_args, \%args); | ||
| 5202 | } | ||
| 5203 | |||
| 5204 | sub RegisterChildVM_Task { | ||
| 5205 | my ($self, %args) = @_; | ||
| 5206 | my $x_args = [ | ||
| 5207 | ['_this', 'ManagedObjectReference'], | ||
| 5208 | ['path', undef], | ||
| 5209 | ['name', undef], | ||
| 5210 | ['host', 'ManagedObjectReference'], | ||
| 5211 | ]; | ||
| 5212 | return $self->soap_call('RegisterChildVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5213 | } | ||
| 5214 | |||
| 5215 | sub RegisterDisk { | ||
| 5216 | my ($self, %args) = @_; | ||
| 5217 | my $x_args = [ | ||
| 5218 | ['_this', 'ManagedObjectReference'], | ||
| 5219 | ['path', undef], | ||
| 5220 | ['name', undef], | ||
| 5221 | ]; | ||
| 5222 | return $self->soap_call('RegisterDisk', 'VStorageObject', 0, $x_args, \%args); | ||
| 5223 | } | ||
| 5224 | |||
| 5225 | sub RegisterExtension { | ||
| 5226 | my ($self, %args) = @_; | ||
| 5227 | my $x_args = [ | ||
| 5228 | ['_this', 'ManagedObjectReference'], | ||
| 5229 | ['extension', 'Extension'], | ||
| 5230 | ]; | ||
| 5231 | return $self->soap_call('RegisterExtension', undef, 0, $x_args, \%args); | ||
| 5232 | } | ||
| 5233 | |||
| 5234 | sub RegisterHealthUpdateProvider { | ||
| 5235 | my ($self, %args) = @_; | ||
| 5236 | my $x_args = [ | ||
| 5237 | ['_this', 'ManagedObjectReference'], | ||
| 5238 | ['name', undef], | ||
| 5239 | ['healthUpdateInfo', 'HealthUpdateInfo'], | ||
| 5240 | ]; | ||
| 5241 | return $self->soap_call('RegisterHealthUpdateProvider', undef, 0, $x_args, \%args); | ||
| 5242 | } | ||
| 5243 | |||
| 5244 | sub RegisterKmipServer { | ||
| 5245 | my ($self, %args) = @_; | ||
| 5246 | my $x_args = [ | ||
| 5247 | ['_this', 'ManagedObjectReference'], | ||
| 5248 | ['server', 'KmipServerSpec'], | ||
| 5249 | ]; | ||
| 5250 | return $self->soap_call('RegisterKmipServer', undef, 0, $x_args, \%args); | ||
| 5251 | } | ||
| 5252 | |||
| 5253 | sub RegisterVM_Task { | ||
| 5254 | my ($self, %args) = @_; | ||
| 5255 | my $x_args = [ | ||
| 5256 | ['_this', 'ManagedObjectReference'], | ||
| 5257 | ['path', undef], | ||
| 5258 | ['name', undef], | ||
| 5259 | ['asTemplate', 'boolean'], | ||
| 5260 | ['pool', 'ManagedObjectReference'], | ||
| 5261 | ['host', 'ManagedObjectReference'], | ||
| 5262 | ]; | ||
| 5263 | return $self->soap_call('RegisterVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5264 | } | ||
| 5265 | |||
| 5266 | sub ReleaseCredentialsInGuest { | ||
| 5267 | my ($self, %args) = @_; | ||
| 5268 | my $x_args = [ | ||
| 5269 | ['_this', 'ManagedObjectReference'], | ||
| 5270 | ['vm', 'ManagedObjectReference'], | ||
| 5271 | ['auth', 'GuestAuthentication'], | ||
| 5272 | ]; | ||
| 5273 | return $self->soap_call('ReleaseCredentialsInGuest', undef, 0, $x_args, \%args); | ||
| 5274 | } | ||
| 5275 | |||
| 5276 | sub ReleaseIpAllocation { | ||
| 5277 | my ($self, %args) = @_; | ||
| 5278 | my $x_args = [ | ||
| 5279 | ['_this', 'ManagedObjectReference'], | ||
| 5280 | ['dc', 'ManagedObjectReference'], | ||
| 5281 | ['poolId', undef], | ||
| 5282 | ['allocationId', undef], | ||
| 5283 | ]; | ||
| 5284 | return $self->soap_call('ReleaseIpAllocation', undef, 0, $x_args, \%args); | ||
| 5285 | } | ||
| 5286 | |||
| 5287 | sub ReleaseManagedSnapshot { | ||
| 5288 | my ($self, %args) = @_; | ||
| 5289 | my $x_args = [ | ||
| 5290 | ['_this', 'ManagedObjectReference'], | ||
| 5291 | ['vdisk', undef], | ||
| 5292 | ['datacenter', 'ManagedObjectReference'], | ||
| 5293 | ]; | ||
| 5294 | return $self->soap_call('ReleaseManagedSnapshot', undef, 0, $x_args, \%args); | ||
| 5295 | } | ||
| 5296 | |||
| 5297 | sub Reload { | ||
| 5298 | my ($self, %args) = @_; | ||
| 5299 | my $x_args = [ | ||
| 5300 | ['_this', 'ManagedObjectReference'], | ||
| 5301 | ]; | ||
| 5302 | return $self->soap_call('Reload', undef, 0, $x_args, \%args); | ||
| 5303 | } | ||
| 5304 | |||
| 5305 | sub RelocateVM_Task { | ||
| 5306 | my ($self, %args) = @_; | ||
| 5307 | my $x_args = [ | ||
| 5308 | ['_this', 'ManagedObjectReference'], | ||
| 5309 | ['spec', 'VirtualMachineRelocateSpec'], | ||
| 5310 | ['priority', 'VirtualMachineMovePriority'], | ||
| 5311 | ]; | ||
| 5312 | return $self->soap_call('RelocateVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5313 | } | ||
| 5314 | |||
| 5315 | sub RelocateVStorageObject_Task { | ||
| 5316 | my ($self, %args) = @_; | ||
| 5317 | my $x_args = [ | ||
| 5318 | ['_this', 'ManagedObjectReference'], | ||
| 5319 | ['id', 'ID'], | ||
| 5320 | ['datastore', 'ManagedObjectReference'], | ||
| 5321 | ['spec', 'VslmRelocateSpec'], | ||
| 5322 | ]; | ||
| 5323 | return $self->soap_call('RelocateVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5324 | } | ||
| 5325 | |||
| 5326 | sub RemoveAlarm { | ||
| 5327 | my ($self, %args) = @_; | ||
| 5328 | my $x_args = [ | ||
| 5329 | ['_this', 'ManagedObjectReference'], | ||
| 5330 | ]; | ||
| 5331 | return $self->soap_call('RemoveAlarm', undef, 0, $x_args, \%args); | ||
| 5332 | } | ||
| 5333 | |||
| 5334 | sub RemoveAllSnapshots_Task { | ||
| 5335 | my ($self, %args) = @_; | ||
| 5336 | my $x_args = [ | ||
| 5337 | ['_this', 'ManagedObjectReference'], | ||
| 5338 | ['consolidate', 'boolean'], | ||
| 5339 | ]; | ||
| 5340 | return $self->soap_call('RemoveAllSnapshots_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5341 | } | ||
| 5342 | |||
| 5343 | sub RemoveAssignedLicense { | ||
| 5344 | my ($self, %args) = @_; | ||
| 5345 | my $x_args = [ | ||
| 5346 | ['_this', 'ManagedObjectReference'], | ||
| 5347 | ['entityId', undef], | ||
| 5348 | ]; | ||
| 5349 | return $self->soap_call('RemoveAssignedLicense', undef, 0, $x_args, \%args); | ||
| 5350 | } | ||
| 5351 | |||
| 5352 | sub RemoveAuthorizationRole { | ||
| 5353 | my ($self, %args) = @_; | ||
| 5354 | my $x_args = [ | ||
| 5355 | ['_this', 'ManagedObjectReference'], | ||
| 5356 | ['roleId', undef], | ||
| 5357 | ['failIfUsed', 'boolean'], | ||
| 5358 | ]; | ||
| 5359 | return $self->soap_call('RemoveAuthorizationRole', undef, 0, $x_args, \%args); | ||
| 5360 | } | ||
| 5361 | |||
| 5362 | sub RemoveCustomFieldDef { | ||
| 5363 | my ($self, %args) = @_; | ||
| 5364 | my $x_args = [ | ||
| 5365 | ['_this', 'ManagedObjectReference'], | ||
| 5366 | ['key', undef], | ||
| 5367 | ]; | ||
| 5368 | return $self->soap_call('RemoveCustomFieldDef', undef, 0, $x_args, \%args); | ||
| 5369 | } | ||
| 5370 | |||
| 5371 | sub RemoveDatastore { | ||
| 5372 | my ($self, %args) = @_; | ||
| 5373 | my $x_args = [ | ||
| 5374 | ['_this', 'ManagedObjectReference'], | ||
| 5375 | ['datastore', 'ManagedObjectReference'], | ||
| 5376 | ]; | ||
| 5377 | return $self->soap_call('RemoveDatastore', undef, 0, $x_args, \%args); | ||
| 5378 | } | ||
| 5379 | |||
| 5380 | sub RemoveDatastoreEx_Task { | ||
| 5381 | my ($self, %args) = @_; | ||
| 5382 | my $x_args = [ | ||
| 5383 | ['_this', 'ManagedObjectReference'], | ||
| 5384 | ['datastore', 'ManagedObjectReference'], | ||
| 5385 | ]; | ||
| 5386 | return $self->soap_call('RemoveDatastoreEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5387 | } | ||
| 5388 | |||
| 5389 | sub RemoveDiskMapping_Task { | ||
| 5390 | my ($self, %args) = @_; | ||
| 5391 | my $x_args = [ | ||
| 5392 | ['_this', 'ManagedObjectReference'], | ||
| 5393 | ['mapping', 'VsanHostDiskMapping'], | ||
| 5394 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 5395 | ['timeout', undef], | ||
| 5396 | ]; | ||
| 5397 | return $self->soap_call('RemoveDiskMapping_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5398 | } | ||
| 5399 | |||
| 5400 | sub RemoveDisk_Task { | ||
| 5401 | my ($self, %args) = @_; | ||
| 5402 | my $x_args = [ | ||
| 5403 | ['_this', 'ManagedObjectReference'], | ||
| 5404 | ['disk', 'HostScsiDisk'], | ||
| 5405 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 5406 | ['timeout', undef], | ||
| 5407 | ]; | ||
| 5408 | return $self->soap_call('RemoveDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5409 | } | ||
| 5410 | |||
| 5411 | sub RemoveEntityPermission { | ||
| 5412 | my ($self, %args) = @_; | ||
| 5413 | my $x_args = [ | ||
| 5414 | ['_this', 'ManagedObjectReference'], | ||
| 5415 | ['entity', 'ManagedObjectReference'], | ||
| 5416 | ['user', undef], | ||
| 5417 | ['isGroup', 'boolean'], | ||
| 5418 | ]; | ||
| 5419 | return $self->soap_call('RemoveEntityPermission', undef, 0, $x_args, \%args); | ||
| 5420 | } | ||
| 5421 | |||
| 5422 | sub RemoveFilter { | ||
| 5423 | my ($self, %args) = @_; | ||
| 5424 | my $x_args = [ | ||
| 5425 | ['_this', 'ManagedObjectReference'], | ||
| 5426 | ['filterId', undef], | ||
| 5427 | ]; | ||
| 5428 | return $self->soap_call('RemoveFilter', undef, 0, $x_args, \%args); | ||
| 5429 | } | ||
| 5430 | |||
| 5431 | sub RemoveFilterEntities { | ||
| 5432 | my ($self, %args) = @_; | ||
| 5433 | my $x_args = [ | ||
| 5434 | ['_this', 'ManagedObjectReference'], | ||
| 5435 | ['filterId', undef], | ||
| 5436 | ['entities', 'ManagedObjectReference'], | ||
| 5437 | ]; | ||
| 5438 | return $self->soap_call('RemoveFilterEntities', undef, 0, $x_args, \%args); | ||
| 5439 | } | ||
| 5440 | |||
| 5441 | sub RemoveGroup { | ||
| 5442 | my ($self, %args) = @_; | ||
| 5443 | my $x_args = [ | ||
| 5444 | ['_this', 'ManagedObjectReference'], | ||
| 5445 | ['groupName', undef], | ||
| 5446 | ]; | ||
| 5447 | return $self->soap_call('RemoveGroup', undef, 0, $x_args, \%args); | ||
| 5448 | } | ||
| 5449 | |||
| 5450 | sub RemoveGuestAlias { | ||
| 5451 | my ($self, %args) = @_; | ||
| 5452 | my $x_args = [ | ||
| 5453 | ['_this', 'ManagedObjectReference'], | ||
| 5454 | ['vm', 'ManagedObjectReference'], | ||
| 5455 | ['auth', 'GuestAuthentication'], | ||
| 5456 | ['username', undef], | ||
| 5457 | ['base64Cert', undef], | ||
| 5458 | ['subject', 'GuestAuthSubject'], | ||
| 5459 | ]; | ||
| 5460 | return $self->soap_call('RemoveGuestAlias', undef, 0, $x_args, \%args); | ||
| 5461 | } | ||
| 5462 | |||
| 5463 | sub RemoveGuestAliasByCert { | ||
| 5464 | my ($self, %args) = @_; | ||
| 5465 | my $x_args = [ | ||
| 5466 | ['_this', 'ManagedObjectReference'], | ||
| 5467 | ['vm', 'ManagedObjectReference'], | ||
| 5468 | ['auth', 'GuestAuthentication'], | ||
| 5469 | ['username', undef], | ||
| 5470 | ['base64Cert', undef], | ||
| 5471 | ]; | ||
| 5472 | return $self->soap_call('RemoveGuestAliasByCert', undef, 0, $x_args, \%args); | ||
| 5473 | } | ||
| 5474 | |||
| 5475 | sub RemoveInternetScsiSendTargets { | ||
| 5476 | my ($self, %args) = @_; | ||
| 5477 | my $x_args = [ | ||
| 5478 | ['_this', 'ManagedObjectReference'], | ||
| 5479 | ['iScsiHbaDevice', undef], | ||
| 5480 | ['targets', 'HostInternetScsiHbaSendTarget'], | ||
| 5481 | ]; | ||
| 5482 | return $self->soap_call('RemoveInternetScsiSendTargets', undef, 0, $x_args, \%args); | ||
| 5483 | } | ||
| 5484 | |||
| 5485 | sub RemoveInternetScsiStaticTargets { | ||
| 5486 | my ($self, %args) = @_; | ||
| 5487 | my $x_args = [ | ||
| 5488 | ['_this', 'ManagedObjectReference'], | ||
| 5489 | ['iScsiHbaDevice', undef], | ||
| 5490 | ['targets', 'HostInternetScsiHbaStaticTarget'], | ||
| 5491 | ]; | ||
| 5492 | return $self->soap_call('RemoveInternetScsiStaticTargets', undef, 0, $x_args, \%args); | ||
| 5493 | } | ||
| 5494 | |||
| 5495 | sub RemoveKey { | ||
| 5496 | my ($self, %args) = @_; | ||
| 5497 | my $x_args = [ | ||
| 5498 | ['_this', 'ManagedObjectReference'], | ||
| 5499 | ['key', 'CryptoKeyId'], | ||
| 5500 | ['force', 'boolean'], | ||
| 5501 | ]; | ||
| 5502 | return $self->soap_call('RemoveKey', undef, 0, $x_args, \%args); | ||
| 5503 | } | ||
| 5504 | |||
| 5505 | sub RemoveKeys { | ||
| 5506 | my ($self, %args) = @_; | ||
| 5507 | my $x_args = [ | ||
| 5508 | ['_this', 'ManagedObjectReference'], | ||
| 5509 | ['keys', 'CryptoKeyId'], | ||
| 5510 | ['force', 'boolean'], | ||
| 5511 | ]; | ||
| 5512 | return $self->soap_call('RemoveKeys', 'CryptoKeyResult', 1, $x_args, \%args); | ||
| 5513 | } | ||
| 5514 | |||
| 5515 | sub RemoveKmipServer { | ||
| 5516 | my ($self, %args) = @_; | ||
| 5517 | my $x_args = [ | ||
| 5518 | ['_this', 'ManagedObjectReference'], | ||
| 5519 | ['clusterId', 'KeyProviderId'], | ||
| 5520 | ['serverName', undef], | ||
| 5521 | ]; | ||
| 5522 | return $self->soap_call('RemoveKmipServer', undef, 0, $x_args, \%args); | ||
| 5523 | } | ||
| 5524 | |||
| 5525 | sub RemoveLicense { | ||
| 5526 | my ($self, %args) = @_; | ||
| 5527 | my $x_args = [ | ||
| 5528 | ['_this', 'ManagedObjectReference'], | ||
| 5529 | ['licenseKey', undef], | ||
| 5530 | ]; | ||
| 5531 | return $self->soap_call('RemoveLicense', undef, 0, $x_args, \%args); | ||
| 5532 | } | ||
| 5533 | |||
| 5534 | sub RemoveLicenseLabel { | ||
| 5535 | my ($self, %args) = @_; | ||
| 5536 | my $x_args = [ | ||
| 5537 | ['_this', 'ManagedObjectReference'], | ||
| 5538 | ['licenseKey', undef], | ||
| 5539 | ['labelKey', undef], | ||
| 5540 | ]; | ||
| 5541 | return $self->soap_call('RemoveLicenseLabel', undef, 0, $x_args, \%args); | ||
| 5542 | } | ||
| 5543 | |||
| 5544 | sub RemoveMonitoredEntities { | ||
| 5545 | my ($self, %args) = @_; | ||
| 5546 | my $x_args = [ | ||
| 5547 | ['_this', 'ManagedObjectReference'], | ||
| 5548 | ['providerId', undef], | ||
| 5549 | ['entities', 'ManagedObjectReference'], | ||
| 5550 | ]; | ||
| 5551 | return $self->soap_call('RemoveMonitoredEntities', undef, 0, $x_args, \%args); | ||
| 5552 | } | ||
| 5553 | |||
| 5554 | sub RemoveNetworkResourcePool { | ||
| 5555 | my ($self, %args) = @_; | ||
| 5556 | my $x_args = [ | ||
| 5557 | ['_this', 'ManagedObjectReference'], | ||
| 5558 | ['key', undef], | ||
| 5559 | ]; | ||
| 5560 | return $self->soap_call('RemoveNetworkResourcePool', undef, 0, $x_args, \%args); | ||
| 5561 | } | ||
| 5562 | |||
| 5563 | sub RemovePerfInterval { | ||
| 5564 | my ($self, %args) = @_; | ||
| 5565 | my $x_args = [ | ||
| 5566 | ['_this', 'ManagedObjectReference'], | ||
| 5567 | ['samplePeriod', undef], | ||
| 5568 | ]; | ||
| 5569 | return $self->soap_call('RemovePerfInterval', undef, 0, $x_args, \%args); | ||
| 5570 | } | ||
| 5571 | |||
| 5572 | sub RemovePortGroup { | ||
| 5573 | my ($self, %args) = @_; | ||
| 5574 | my $x_args = [ | ||
| 5575 | ['_this', 'ManagedObjectReference'], | ||
| 5576 | ['pgName', undef], | ||
| 5577 | ]; | ||
| 5578 | return $self->soap_call('RemovePortGroup', undef, 0, $x_args, \%args); | ||
| 5579 | } | ||
| 5580 | |||
| 5581 | sub RemoveScheduledTask { | ||
| 5582 | my ($self, %args) = @_; | ||
| 5583 | my $x_args = [ | ||
| 5584 | ['_this', 'ManagedObjectReference'], | ||
| 5585 | ]; | ||
| 5586 | return $self->soap_call('RemoveScheduledTask', undef, 0, $x_args, \%args); | ||
| 5587 | } | ||
| 5588 | |||
| 5589 | sub RemoveServiceConsoleVirtualNic { | ||
| 5590 | my ($self, %args) = @_; | ||
| 5591 | my $x_args = [ | ||
| 5592 | ['_this', 'ManagedObjectReference'], | ||
| 5593 | ['device', undef], | ||
| 5594 | ]; | ||
| 5595 | return $self->soap_call('RemoveServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 5596 | } | ||
| 5597 | |||
| 5598 | sub RemoveSmartCardTrustAnchor { | ||
| 5599 | my ($self, %args) = @_; | ||
| 5600 | my $x_args = [ | ||
| 5601 | ['_this', 'ManagedObjectReference'], | ||
| 5602 | ['issuer', undef], | ||
| 5603 | ['serial', undef], | ||
| 5604 | ]; | ||
| 5605 | return $self->soap_call('RemoveSmartCardTrustAnchor', undef, 0, $x_args, \%args); | ||
| 5606 | } | ||
| 5607 | |||
| 5608 | sub RemoveSmartCardTrustAnchorByFingerprint { | ||
| 5609 | my ($self, %args) = @_; | ||
| 5610 | my $x_args = [ | ||
| 5611 | ['_this', 'ManagedObjectReference'], | ||
| 5612 | ['fingerprint', undef], | ||
| 5613 | ['digest', undef], | ||
| 5614 | ]; | ||
| 5615 | return $self->soap_call('RemoveSmartCardTrustAnchorByFingerprint', undef, 0, $x_args, \%args); | ||
| 5616 | } | ||
| 5617 | |||
| 5618 | sub RemoveSnapshot_Task { | ||
| 5619 | my ($self, %args) = @_; | ||
| 5620 | my $x_args = [ | ||
| 5621 | ['_this', 'ManagedObjectReference'], | ||
| 5622 | ['removeChildren', 'boolean'], | ||
| 5623 | ['consolidate', 'boolean'], | ||
| 5624 | ]; | ||
| 5625 | return $self->soap_call('RemoveSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5626 | } | ||
| 5627 | |||
| 5628 | sub RemoveUser { | ||
| 5629 | my ($self, %args) = @_; | ||
| 5630 | my $x_args = [ | ||
| 5631 | ['_this', 'ManagedObjectReference'], | ||
| 5632 | ['userName', undef], | ||
| 5633 | ]; | ||
| 5634 | return $self->soap_call('RemoveUser', undef, 0, $x_args, \%args); | ||
| 5635 | } | ||
| 5636 | |||
| 5637 | sub RemoveVirtualNic { | ||
| 5638 | my ($self, %args) = @_; | ||
| 5639 | my $x_args = [ | ||
| 5640 | ['_this', 'ManagedObjectReference'], | ||
| 5641 | ['device', undef], | ||
| 5642 | ]; | ||
| 5643 | return $self->soap_call('RemoveVirtualNic', undef, 0, $x_args, \%args); | ||
| 5644 | } | ||
| 5645 | |||
| 5646 | sub RemoveVirtualSwitch { | ||
| 5647 | my ($self, %args) = @_; | ||
| 5648 | my $x_args = [ | ||
| 5649 | ['_this', 'ManagedObjectReference'], | ||
| 5650 | ['vswitchName', undef], | ||
| 5651 | ]; | ||
| 5652 | return $self->soap_call('RemoveVirtualSwitch', undef, 0, $x_args, \%args); | ||
| 5653 | } | ||
| 5654 | |||
| 5655 | sub RenameCustomFieldDef { | ||
| 5656 | my ($self, %args) = @_; | ||
| 5657 | my $x_args = [ | ||
| 5658 | ['_this', 'ManagedObjectReference'], | ||
| 5659 | ['key', undef], | ||
| 5660 | ['name', undef], | ||
| 5661 | ]; | ||
| 5662 | return $self->soap_call('RenameCustomFieldDef', undef, 0, $x_args, \%args); | ||
| 5663 | } | ||
| 5664 | |||
| 5665 | sub RenameCustomizationSpec { | ||
| 5666 | my ($self, %args) = @_; | ||
| 5667 | my $x_args = [ | ||
| 5668 | ['_this', 'ManagedObjectReference'], | ||
| 5669 | ['name', undef], | ||
| 5670 | ['newName', undef], | ||
| 5671 | ]; | ||
| 5672 | return $self->soap_call('RenameCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 5673 | } | ||
| 5674 | |||
| 5675 | sub RenameDatastore { | ||
| 5676 | my ($self, %args) = @_; | ||
| 5677 | my $x_args = [ | ||
| 5678 | ['_this', 'ManagedObjectReference'], | ||
| 5679 | ['newName', undef], | ||
| 5680 | ]; | ||
| 5681 | return $self->soap_call('RenameDatastore', undef, 0, $x_args, \%args); | ||
| 5682 | } | ||
| 5683 | |||
| 5684 | sub RenameSnapshot { | ||
| 5685 | my ($self, %args) = @_; | ||
| 5686 | my $x_args = [ | ||
| 5687 | ['_this', 'ManagedObjectReference'], | ||
| 5688 | ['name', undef], | ||
| 5689 | ['description', undef], | ||
| 5690 | ]; | ||
| 5691 | return $self->soap_call('RenameSnapshot', undef, 0, $x_args, \%args); | ||
| 5692 | } | ||
| 5693 | |||
| 5694 | sub RenameVStorageObject { | ||
| 5695 | my ($self, %args) = @_; | ||
| 5696 | my $x_args = [ | ||
| 5697 | ['_this', 'ManagedObjectReference'], | ||
| 5698 | ['id', 'ID'], | ||
| 5699 | ['datastore', 'ManagedObjectReference'], | ||
| 5700 | ['name', undef], | ||
| 5701 | ]; | ||
| 5702 | return $self->soap_call('RenameVStorageObject', undef, 0, $x_args, \%args); | ||
| 5703 | } | ||
| 5704 | |||
| 5705 | sub Rename_Task { | ||
| 5706 | my ($self, %args) = @_; | ||
| 5707 | my $x_args = [ | ||
| 5708 | ['_this', 'ManagedObjectReference'], | ||
| 5709 | ['newName', undef], | ||
| 5710 | ]; | ||
| 5711 | return $self->soap_call('Rename_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5712 | } | ||
| 5713 | |||
| 5714 | sub ReplaceCACertificatesAndCRLs { | ||
| 5715 | my ($self, %args) = @_; | ||
| 5716 | my $x_args = [ | ||
| 5717 | ['_this', 'ManagedObjectReference'], | ||
| 5718 | ['caCert', undef], | ||
| 5719 | ['caCrl', undef], | ||
| 5720 | ]; | ||
| 5721 | return $self->soap_call('ReplaceCACertificatesAndCRLs', undef, 0, $x_args, \%args); | ||
| 5722 | } | ||
| 5723 | |||
| 5724 | sub ReplaceSmartCardTrustAnchors { | ||
| 5725 | my ($self, %args) = @_; | ||
| 5726 | my $x_args = [ | ||
| 5727 | ['_this', 'ManagedObjectReference'], | ||
| 5728 | ['certs', undef], | ||
| 5729 | ]; | ||
| 5730 | return $self->soap_call('ReplaceSmartCardTrustAnchors', undef, 0, $x_args, \%args); | ||
| 5731 | } | ||
| 5732 | |||
| 5733 | sub RescanAllHba { | ||
| 5734 | my ($self, %args) = @_; | ||
| 5735 | my $x_args = [ | ||
| 5736 | ['_this', 'ManagedObjectReference'], | ||
| 5737 | ]; | ||
| 5738 | return $self->soap_call('RescanAllHba', undef, 0, $x_args, \%args); | ||
| 5739 | } | ||
| 5740 | |||
| 5741 | sub RescanHba { | ||
| 5742 | my ($self, %args) = @_; | ||
| 5743 | my $x_args = [ | ||
| 5744 | ['_this', 'ManagedObjectReference'], | ||
| 5745 | ['hbaDevice', undef], | ||
| 5746 | ]; | ||
| 5747 | return $self->soap_call('RescanHba', undef, 0, $x_args, \%args); | ||
| 5748 | } | ||
| 5749 | |||
| 5750 | sub RescanVffs { | ||
| 5751 | my ($self, %args) = @_; | ||
| 5752 | my $x_args = [ | ||
| 5753 | ['_this', 'ManagedObjectReference'], | ||
| 5754 | ]; | ||
| 5755 | return $self->soap_call('RescanVffs', undef, 0, $x_args, \%args); | ||
| 5756 | } | ||
| 5757 | |||
| 5758 | sub RescanVmfs { | ||
| 5759 | my ($self, %args) = @_; | ||
| 5760 | my $x_args = [ | ||
| 5761 | ['_this', 'ManagedObjectReference'], | ||
| 5762 | ]; | ||
| 5763 | return $self->soap_call('RescanVmfs', undef, 0, $x_args, \%args); | ||
| 5764 | } | ||
| 5765 | |||
| 5766 | sub ResetCollector { | ||
| 5767 | my ($self, %args) = @_; | ||
| 5768 | my $x_args = [ | ||
| 5769 | ['_this', 'ManagedObjectReference'], | ||
| 5770 | ]; | ||
| 5771 | return $self->soap_call('ResetCollector', undef, 0, $x_args, \%args); | ||
| 5772 | } | ||
| 5773 | |||
| 5774 | sub ResetCounterLevelMapping { | ||
| 5775 | my ($self, %args) = @_; | ||
| 5776 | my $x_args = [ | ||
| 5777 | ['_this', 'ManagedObjectReference'], | ||
| 5778 | ['counters', undef], | ||
| 5779 | ]; | ||
| 5780 | return $self->soap_call('ResetCounterLevelMapping', undef, 0, $x_args, \%args); | ||
| 5781 | } | ||
| 5782 | |||
| 5783 | sub ResetEntityPermissions { | ||
| 5784 | my ($self, %args) = @_; | ||
| 5785 | my $x_args = [ | ||
| 5786 | ['_this', 'ManagedObjectReference'], | ||
| 5787 | ['entity', 'ManagedObjectReference'], | ||
| 5788 | ['permission', 'Permission'], | ||
| 5789 | ]; | ||
| 5790 | return $self->soap_call('ResetEntityPermissions', undef, 0, $x_args, \%args); | ||
| 5791 | } | ||
| 5792 | |||
| 5793 | sub ResetFirmwareToFactoryDefaults { | ||
| 5794 | my ($self, %args) = @_; | ||
| 5795 | my $x_args = [ | ||
| 5796 | ['_this', 'ManagedObjectReference'], | ||
| 5797 | ]; | ||
| 5798 | return $self->soap_call('ResetFirmwareToFactoryDefaults', undef, 0, $x_args, \%args); | ||
| 5799 | } | ||
| 5800 | |||
| 5801 | sub ResetGuestInformation { | ||
| 5802 | my ($self, %args) = @_; | ||
| 5803 | my $x_args = [ | ||
| 5804 | ['_this', 'ManagedObjectReference'], | ||
| 5805 | ]; | ||
| 5806 | return $self->soap_call('ResetGuestInformation', undef, 0, $x_args, \%args); | ||
| 5807 | } | ||
| 5808 | |||
| 5809 | sub ResetListView { | ||
| 5810 | my ($self, %args) = @_; | ||
| 5811 | my $x_args = [ | ||
| 5812 | ['_this', 'ManagedObjectReference'], | ||
| 5813 | ['obj', 'ManagedObjectReference'], | ||
| 5814 | ]; | ||
| 5815 | return $self->soap_call('ResetListView', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 5816 | } | ||
| 5817 | |||
| 5818 | sub ResetListViewFromView { | ||
| 5819 | my ($self, %args) = @_; | ||
| 5820 | my $x_args = [ | ||
| 5821 | ['_this', 'ManagedObjectReference'], | ||
| 5822 | ['view', 'ManagedObjectReference'], | ||
| 5823 | ]; | ||
| 5824 | return $self->soap_call('ResetListViewFromView', undef, 0, $x_args, \%args); | ||
| 5825 | } | ||
| 5826 | |||
| 5827 | sub ResetSystemHealthInfo { | ||
| 5828 | my ($self, %args) = @_; | ||
| 5829 | my $x_args = [ | ||
| 5830 | ['_this', 'ManagedObjectReference'], | ||
| 5831 | ]; | ||
| 5832 | return $self->soap_call('ResetSystemHealthInfo', undef, 0, $x_args, \%args); | ||
| 5833 | } | ||
| 5834 | |||
| 5835 | sub ResetVM_Task { | ||
| 5836 | my ($self, %args) = @_; | ||
| 5837 | my $x_args = [ | ||
| 5838 | ['_this', 'ManagedObjectReference'], | ||
| 5839 | ]; | ||
| 5840 | return $self->soap_call('ResetVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5841 | } | ||
| 5842 | |||
| 5843 | sub ResignatureUnresolvedVmfsVolume_Task { | ||
| 5844 | my ($self, %args) = @_; | ||
| 5845 | my $x_args = [ | ||
| 5846 | ['_this', 'ManagedObjectReference'], | ||
| 5847 | ['resolutionSpec', 'HostUnresolvedVmfsResignatureSpec'], | ||
| 5848 | ]; | ||
| 5849 | return $self->soap_call('ResignatureUnresolvedVmfsVolume_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5850 | } | ||
| 5851 | |||
| 5852 | sub ResolveInstallationErrorsOnCluster_Task { | ||
| 5853 | my ($self, %args) = @_; | ||
| 5854 | my $x_args = [ | ||
| 5855 | ['_this', 'ManagedObjectReference'], | ||
| 5856 | ['filterId', undef], | ||
| 5857 | ['cluster', 'ManagedObjectReference'], | ||
| 5858 | ]; | ||
| 5859 | return $self->soap_call('ResolveInstallationErrorsOnCluster_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5860 | } | ||
| 5861 | |||
| 5862 | sub ResolveInstallationErrorsOnHost_Task { | ||
| 5863 | my ($self, %args) = @_; | ||
| 5864 | my $x_args = [ | ||
| 5865 | ['_this', 'ManagedObjectReference'], | ||
| 5866 | ['filterId', undef], | ||
| 5867 | ['host', 'ManagedObjectReference'], | ||
| 5868 | ]; | ||
| 5869 | return $self->soap_call('ResolveInstallationErrorsOnHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5870 | } | ||
| 5871 | |||
| 5872 | sub ResolveMultipleUnresolvedVmfsVolumes { | ||
| 5873 | my ($self, %args) = @_; | ||
| 5874 | my $x_args = [ | ||
| 5875 | ['_this', 'ManagedObjectReference'], | ||
| 5876 | ['resolutionSpec', 'HostUnresolvedVmfsResolutionSpec'], | ||
| 5877 | ]; | ||
| 5878 | return $self->soap_call('ResolveMultipleUnresolvedVmfsVolumes', 'HostUnresolvedVmfsResolutionResult', 1, $x_args, \%args); | ||
| 5879 | } | ||
| 5880 | |||
| 5881 | sub ResolveMultipleUnresolvedVmfsVolumesEx_Task { | ||
| 5882 | my ($self, %args) = @_; | ||
| 5883 | my $x_args = [ | ||
| 5884 | ['_this', 'ManagedObjectReference'], | ||
| 5885 | ['resolutionSpec', 'HostUnresolvedVmfsResolutionSpec'], | ||
| 5886 | ]; | ||
| 5887 | return $self->soap_call('ResolveMultipleUnresolvedVmfsVolumesEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5888 | } | ||
| 5889 | |||
| 5890 | sub RestartService { | ||
| 5891 | my ($self, %args) = @_; | ||
| 5892 | my $x_args = [ | ||
| 5893 | ['_this', 'ManagedObjectReference'], | ||
| 5894 | ['id', undef], | ||
| 5895 | ]; | ||
| 5896 | return $self->soap_call('RestartService', undef, 0, $x_args, \%args); | ||
| 5897 | } | ||
| 5898 | |||
| 5899 | sub RestartServiceConsoleVirtualNic { | ||
| 5900 | my ($self, %args) = @_; | ||
| 5901 | my $x_args = [ | ||
| 5902 | ['_this', 'ManagedObjectReference'], | ||
| 5903 | ['device', undef], | ||
| 5904 | ]; | ||
| 5905 | return $self->soap_call('RestartServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 5906 | } | ||
| 5907 | |||
| 5908 | sub RestoreFirmwareConfiguration { | ||
| 5909 | my ($self, %args) = @_; | ||
| 5910 | my $x_args = [ | ||
| 5911 | ['_this', 'ManagedObjectReference'], | ||
| 5912 | ['force', 'boolean'], | ||
| 5913 | ]; | ||
| 5914 | return $self->soap_call('RestoreFirmwareConfiguration', undef, 0, $x_args, \%args); | ||
| 5915 | } | ||
| 5916 | |||
| 5917 | sub RetrieveAllPermissions { | ||
| 5918 | my ($self, %args) = @_; | ||
| 5919 | my $x_args = [ | ||
| 5920 | ['_this', 'ManagedObjectReference'], | ||
| 5921 | ]; | ||
| 5922 | return $self->soap_call('RetrieveAllPermissions', 'Permission', 1, $x_args, \%args); | ||
| 5923 | } | ||
| 5924 | |||
| 5925 | sub RetrieveAnswerFile { | ||
| 5926 | my ($self, %args) = @_; | ||
| 5927 | my $x_args = [ | ||
| 5928 | ['_this', 'ManagedObjectReference'], | ||
| 5929 | ['host', 'ManagedObjectReference'], | ||
| 5930 | ]; | ||
| 5931 | return $self->soap_call('RetrieveAnswerFile', 'AnswerFile', 0, $x_args, \%args); | ||
| 5932 | } | ||
| 5933 | |||
| 5934 | sub RetrieveAnswerFileForProfile { | ||
| 5935 | my ($self, %args) = @_; | ||
| 5936 | my $x_args = [ | ||
| 5937 | ['_this', 'ManagedObjectReference'], | ||
| 5938 | ['host', 'ManagedObjectReference'], | ||
| 5939 | ['applyProfile', 'HostApplyProfile'], | ||
| 5940 | ]; | ||
| 5941 | return $self->soap_call('RetrieveAnswerFileForProfile', 'AnswerFile', 0, $x_args, \%args); | ||
| 5942 | } | ||
| 5943 | |||
| 5944 | sub RetrieveArgumentDescription { | ||
| 5945 | my ($self, %args) = @_; | ||
| 5946 | my $x_args = [ | ||
| 5947 | ['_this', 'ManagedObjectReference'], | ||
| 5948 | ['eventTypeId', undef], | ||
| 5949 | ]; | ||
| 5950 | return $self->soap_call('RetrieveArgumentDescription', 'EventArgDesc', 1, $x_args, \%args); | ||
| 5951 | } | ||
| 5952 | |||
| 5953 | sub RetrieveClientCert { | ||
| 5954 | my ($self, %args) = @_; | ||
| 5955 | my $x_args = [ | ||
| 5956 | ['_this', 'ManagedObjectReference'], | ||
| 5957 | ['cluster', 'KeyProviderId'], | ||
| 5958 | ]; | ||
| 5959 | return $self->soap_call('RetrieveClientCert', undef, 0, $x_args, \%args); | ||
| 5960 | } | ||
| 5961 | |||
| 5962 | sub RetrieveClientCsr { | ||
| 5963 | my ($self, %args) = @_; | ||
| 5964 | my $x_args = [ | ||
| 5965 | ['_this', 'ManagedObjectReference'], | ||
| 5966 | ['cluster', 'KeyProviderId'], | ||
| 5967 | ]; | ||
| 5968 | return $self->soap_call('RetrieveClientCsr', undef, 0, $x_args, \%args); | ||
| 5969 | } | ||
| 5970 | |||
| 5971 | sub RetrieveDasAdvancedRuntimeInfo { | ||
| 5972 | my ($self, %args) = @_; | ||
| 5973 | my $x_args = [ | ||
| 5974 | ['_this', 'ManagedObjectReference'], | ||
| 5975 | ]; | ||
| 5976 | return $self->soap_call('RetrieveDasAdvancedRuntimeInfo', 'ClusterDasAdvancedRuntimeInfo', 0, $x_args, \%args); | ||
| 5977 | } | ||
| 5978 | |||
| 5979 | sub RetrieveDescription { | ||
| 5980 | my ($self, %args) = @_; | ||
| 5981 | my $x_args = [ | ||
| 5982 | ['_this', 'ManagedObjectReference'], | ||
| 5983 | ]; | ||
| 5984 | return $self->soap_call('RetrieveDescription', 'ProfileDescription', 0, $x_args, \%args); | ||
| 5985 | } | ||
| 5986 | |||
| 5987 | sub RetrieveDiskPartitionInfo { | ||
| 5988 | my ($self, %args) = @_; | ||
| 5989 | my $x_args = [ | ||
| 5990 | ['_this', 'ManagedObjectReference'], | ||
| 5991 | ['devicePath', undef], | ||
| 5992 | ]; | ||
| 5993 | return $self->soap_call('RetrieveDiskPartitionInfo', 'HostDiskPartitionInfo', 1, $x_args, \%args); | ||
| 5994 | } | ||
| 5995 | |||
| 5996 | sub RetrieveEntityPermissions { | ||
| 5997 | my ($self, %args) = @_; | ||
| 5998 | my $x_args = [ | ||
| 5999 | ['_this', 'ManagedObjectReference'], | ||
| 6000 | ['entity', 'ManagedObjectReference'], | ||
| 6001 | ['inherited', 'boolean'], | ||
| 6002 | ]; | ||
| 6003 | return $self->soap_call('RetrieveEntityPermissions', 'Permission', 1, $x_args, \%args); | ||
| 6004 | } | ||
| 6005 | |||
| 6006 | sub RetrieveEntityScheduledTask { | ||
| 6007 | my ($self, %args) = @_; | ||
| 6008 | my $x_args = [ | ||
| 6009 | ['_this', 'ManagedObjectReference'], | ||
| 6010 | ['entity', 'ManagedObjectReference'], | ||
| 6011 | ]; | ||
| 6012 | return $self->soap_call('RetrieveEntityScheduledTask', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 6013 | } | ||
| 6014 | |||
| 6015 | sub RetrieveHardwareUptime { | ||
| 6016 | my ($self, %args) = @_; | ||
| 6017 | my $x_args = [ | ||
| 6018 | ['_this', 'ManagedObjectReference'], | ||
| 6019 | ]; | ||
| 6020 | return $self->soap_call('RetrieveHardwareUptime', undef, 0, $x_args, \%args); | ||
| 6021 | } | ||
| 6022 | |||
| 6023 | sub RetrieveHostAccessControlEntries { | ||
| 6024 | my ($self, %args) = @_; | ||
| 6025 | my $x_args = [ | ||
| 6026 | ['_this', 'ManagedObjectReference'], | ||
| 6027 | ]; | ||
| 6028 | return $self->soap_call('RetrieveHostAccessControlEntries', 'HostAccessControlEntry', 1, $x_args, \%args); | ||
| 6029 | } | ||
| 6030 | |||
| 6031 | sub RetrieveHostCustomizations { | ||
| 6032 | my ($self, %args) = @_; | ||
| 6033 | my $x_args = [ | ||
| 6034 | ['_this', 'ManagedObjectReference'], | ||
| 6035 | ['hosts', 'ManagedObjectReference'], | ||
| 6036 | ]; | ||
| 6037 | return $self->soap_call('RetrieveHostCustomizations', 'StructuredCustomizations', 1, $x_args, \%args); | ||
| 6038 | } | ||
| 6039 | |||
| 6040 | sub RetrieveHostCustomizationsForProfile { | ||
| 6041 | my ($self, %args) = @_; | ||
| 6042 | my $x_args = [ | ||
| 6043 | ['_this', 'ManagedObjectReference'], | ||
| 6044 | ['hosts', 'ManagedObjectReference'], | ||
| 6045 | ['applyProfile', 'HostApplyProfile'], | ||
| 6046 | ]; | ||
| 6047 | return $self->soap_call('RetrieveHostCustomizationsForProfile', 'StructuredCustomizations', 1, $x_args, \%args); | ||
| 6048 | } | ||
| 6049 | |||
| 6050 | sub RetrieveHostSpecification { | ||
| 6051 | my ($self, %args) = @_; | ||
| 6052 | my $x_args = [ | ||
| 6053 | ['_this', 'ManagedObjectReference'], | ||
| 6054 | ['host', 'ManagedObjectReference'], | ||
| 6055 | ['fromHost', 'boolean'], | ||
| 6056 | ]; | ||
| 6057 | return $self->soap_call('RetrieveHostSpecification', 'HostSpecification', 0, $x_args, \%args); | ||
| 6058 | } | ||
| 6059 | |||
| 6060 | sub RetrieveKmipServerCert { | ||
| 6061 | my ($self, %args) = @_; | ||
| 6062 | my $x_args = [ | ||
| 6063 | ['_this', 'ManagedObjectReference'], | ||
| 6064 | ['keyProvider', 'KeyProviderId'], | ||
| 6065 | ['server', 'KmipServerInfo'], | ||
| 6066 | ]; | ||
| 6067 | return $self->soap_call('RetrieveKmipServerCert', 'CryptoManagerKmipServerCertInfo', 0, $x_args, \%args); | ||
| 6068 | } | ||
| 6069 | |||
| 6070 | sub RetrieveKmipServersStatus_Task { | ||
| 6071 | my ($self, %args) = @_; | ||
| 6072 | my $x_args = [ | ||
| 6073 | ['_this', 'ManagedObjectReference'], | ||
| 6074 | ['clusters', 'KmipClusterInfo'], | ||
| 6075 | ]; | ||
| 6076 | return $self->soap_call('RetrieveKmipServersStatus_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6077 | } | ||
| 6078 | |||
| 6079 | sub RetrieveObjectScheduledTask { | ||
| 6080 | my ($self, %args) = @_; | ||
| 6081 | my $x_args = [ | ||
| 6082 | ['_this', 'ManagedObjectReference'], | ||
| 6083 | ['obj', 'ManagedObjectReference'], | ||
| 6084 | ]; | ||
| 6085 | return $self->soap_call('RetrieveObjectScheduledTask', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 6086 | } | ||
| 6087 | |||
| 6088 | sub RetrieveProductComponents { | ||
| 6089 | my ($self, %args) = @_; | ||
| 6090 | my $x_args = [ | ||
| 6091 | ['_this', 'ManagedObjectReference'], | ||
| 6092 | ]; | ||
| 6093 | return $self->soap_call('RetrieveProductComponents', 'ProductComponentInfo', 1, $x_args, \%args); | ||
| 6094 | } | ||
| 6095 | |||
| 6096 | sub RetrieveProperties { | ||
| 6097 | my ($self, %args) = @_; | ||
| 6098 | my $x_args = [ | ||
| 6099 | ['_this', 'ManagedObjectReference'], | ||
| 6100 | ['specSet', 'PropertyFilterSpec'], | ||
| 6101 | ]; | ||
| 6102 | return $self->soap_call('RetrieveProperties', 'ObjectContent', 1, $x_args, \%args); | ||
| 6103 | } | ||
| 6104 | |||
| 6105 | sub RetrievePropertiesEx { | ||
| 6106 | my ($self, %args) = @_; | ||
| 6107 | my $x_args = [ | ||
| 6108 | ['_this', 'ManagedObjectReference'], | ||
| 6109 | ['specSet', 'PropertyFilterSpec'], | ||
| 6110 | ['options', 'RetrieveOptions'], | ||
| 6111 | ]; | ||
| 6112 | return $self->soap_call('RetrievePropertiesEx', 'RetrieveResult', 0, $x_args, \%args); | ||
| 6113 | } | ||
| 6114 | |||
| 6115 | sub RetrieveRolePermissions { | ||
| 6116 | my ($self, %args) = @_; | ||
| 6117 | my $x_args = [ | ||
| 6118 | ['_this', 'ManagedObjectReference'], | ||
| 6119 | ['roleId', undef], | ||
| 6120 | ]; | ||
| 6121 | return $self->soap_call('RetrieveRolePermissions', 'Permission', 1, $x_args, \%args); | ||
| 6122 | } | ||
| 6123 | |||
| 6124 | sub RetrieveSelfSignedClientCert { | ||
| 6125 | my ($self, %args) = @_; | ||
| 6126 | my $x_args = [ | ||
| 6127 | ['_this', 'ManagedObjectReference'], | ||
| 6128 | ['cluster', 'KeyProviderId'], | ||
| 6129 | ]; | ||
| 6130 | return $self->soap_call('RetrieveSelfSignedClientCert', undef, 0, $x_args, \%args); | ||
| 6131 | } | ||
| 6132 | |||
| 6133 | sub RetrieveServiceContent { | ||
| 6134 | my ($self, %args) = @_; | ||
| 6135 | my $x_args = [ | ||
| 6136 | ['_this', 'ManagedObjectReference'], | ||
| 6137 | ]; | ||
| 6138 | return $self->soap_call('RetrieveServiceContent', 'ServiceContent', 0, $x_args, \%args); | ||
| 6139 | } | ||
| 6140 | |||
| 6141 | sub RetrieveUserGroups { | ||
| 6142 | my ($self, %args) = @_; | ||
| 6143 | my $x_args = [ | ||
| 6144 | ['_this', 'ManagedObjectReference'], | ||
| 6145 | ['domain', undef], | ||
| 6146 | ['searchStr', undef], | ||
| 6147 | ['belongsToGroup', undef], | ||
| 6148 | ['belongsToUser', undef], | ||
| 6149 | ['exactMatch', 'boolean'], | ||
| 6150 | ['findUsers', 'boolean'], | ||
| 6151 | ['findGroups', 'boolean'], | ||
| 6152 | ]; | ||
| 6153 | return $self->soap_call('RetrieveUserGroups', 'UserSearchResult', 1, $x_args, \%args); | ||
| 6154 | } | ||
| 6155 | |||
| 6156 | sub RetrieveVStorageObject { | ||
| 6157 | my ($self, %args) = @_; | ||
| 6158 | my $x_args = [ | ||
| 6159 | ['_this', 'ManagedObjectReference'], | ||
| 6160 | ['id', 'ID'], | ||
| 6161 | ['datastore', 'ManagedObjectReference'], | ||
| 6162 | ]; | ||
| 6163 | return $self->soap_call('RetrieveVStorageObject', 'VStorageObject', 0, $x_args, \%args); | ||
| 6164 | } | ||
| 6165 | |||
| 6166 | sub RetrieveVStorageObjectState { | ||
| 6167 | my ($self, %args) = @_; | ||
| 6168 | my $x_args = [ | ||
| 6169 | ['_this', 'ManagedObjectReference'], | ||
| 6170 | ['id', 'ID'], | ||
| 6171 | ['datastore', 'ManagedObjectReference'], | ||
| 6172 | ]; | ||
| 6173 | return $self->soap_call('RetrieveVStorageObjectState', 'VStorageObjectStateInfo', 0, $x_args, \%args); | ||
| 6174 | } | ||
| 6175 | |||
| 6176 | sub RevertToCurrentSnapshot_Task { | ||
| 6177 | my ($self, %args) = @_; | ||
| 6178 | my $x_args = [ | ||
| 6179 | ['_this', 'ManagedObjectReference'], | ||
| 6180 | ['host', 'ManagedObjectReference'], | ||
| 6181 | ['suppressPowerOn', 'boolean'], | ||
| 6182 | ]; | ||
| 6183 | return $self->soap_call('RevertToCurrentSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6184 | } | ||
| 6185 | |||
| 6186 | sub RevertToSnapshot_Task { | ||
| 6187 | my ($self, %args) = @_; | ||
| 6188 | my $x_args = [ | ||
| 6189 | ['_this', 'ManagedObjectReference'], | ||
| 6190 | ['host', 'ManagedObjectReference'], | ||
| 6191 | ['suppressPowerOn', 'boolean'], | ||
| 6192 | ]; | ||
| 6193 | return $self->soap_call('RevertToSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6194 | } | ||
| 6195 | |||
| 6196 | sub RewindCollector { | ||
| 6197 | my ($self, %args) = @_; | ||
| 6198 | my $x_args = [ | ||
| 6199 | ['_this', 'ManagedObjectReference'], | ||
| 6200 | ]; | ||
| 6201 | return $self->soap_call('RewindCollector', undef, 0, $x_args, \%args); | ||
| 6202 | } | ||
| 6203 | |||
| 6204 | sub RunScheduledTask { | ||
| 6205 | my ($self, %args) = @_; | ||
| 6206 | my $x_args = [ | ||
| 6207 | ['_this', 'ManagedObjectReference'], | ||
| 6208 | ]; | ||
| 6209 | return $self->soap_call('RunScheduledTask', undef, 0, $x_args, \%args); | ||
| 6210 | } | ||
| 6211 | |||
| 6212 | sub RunVsanPhysicalDiskDiagnostics { | ||
| 6213 | my ($self, %args) = @_; | ||
| 6214 | my $x_args = [ | ||
| 6215 | ['_this', 'ManagedObjectReference'], | ||
| 6216 | ['disks', undef], | ||
| 6217 | ]; | ||
| 6218 | return $self->soap_call('RunVsanPhysicalDiskDiagnostics', 'HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult', 1, $x_args, \%args); | ||
| 6219 | } | ||
| 6220 | |||
| 6221 | sub ScanHostPatchV2_Task { | ||
| 6222 | my ($self, %args) = @_; | ||
| 6223 | my $x_args = [ | ||
| 6224 | ['_this', 'ManagedObjectReference'], | ||
| 6225 | ['metaUrls', undef], | ||
| 6226 | ['bundleUrls', undef], | ||
| 6227 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 6228 | ]; | ||
| 6229 | return $self->soap_call('ScanHostPatchV2_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6230 | } | ||
| 6231 | |||
| 6232 | sub ScanHostPatch_Task { | ||
| 6233 | my ($self, %args) = @_; | ||
| 6234 | my $x_args = [ | ||
| 6235 | ['_this', 'ManagedObjectReference'], | ||
| 6236 | ['repository', 'HostPatchManagerLocator'], | ||
| 6237 | ['updateID', undef], | ||
| 6238 | ]; | ||
| 6239 | return $self->soap_call('ScanHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6240 | } | ||
| 6241 | |||
| 6242 | sub ScheduleReconcileDatastoreInventory { | ||
| 6243 | my ($self, %args) = @_; | ||
| 6244 | my $x_args = [ | ||
| 6245 | ['_this', 'ManagedObjectReference'], | ||
| 6246 | ['datastore', 'ManagedObjectReference'], | ||
| 6247 | ]; | ||
| 6248 | return $self->soap_call('ScheduleReconcileDatastoreInventory', undef, 0, $x_args, \%args); | ||
| 6249 | } | ||
| 6250 | |||
| 6251 | sub SearchDatastoreSubFolders_Task { | ||
| 6252 | my ($self, %args) = @_; | ||
| 6253 | my $x_args = [ | ||
| 6254 | ['_this', 'ManagedObjectReference'], | ||
| 6255 | ['datastorePath', undef], | ||
| 6256 | ['searchSpec', 'HostDatastoreBrowserSearchSpec'], | ||
| 6257 | ]; | ||
| 6258 | return $self->soap_call('SearchDatastoreSubFolders_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6259 | } | ||
| 6260 | |||
| 6261 | sub SearchDatastore_Task { | ||
| 6262 | my ($self, %args) = @_; | ||
| 6263 | my $x_args = [ | ||
| 6264 | ['_this', 'ManagedObjectReference'], | ||
| 6265 | ['datastorePath', undef], | ||
| 6266 | ['searchSpec', 'HostDatastoreBrowserSearchSpec'], | ||
| 6267 | ]; | ||
| 6268 | return $self->soap_call('SearchDatastore_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6269 | } | ||
| 6270 | |||
| 6271 | sub SelectActivePartition { | ||
| 6272 | my ($self, %args) = @_; | ||
| 6273 | my $x_args = [ | ||
| 6274 | ['_this', 'ManagedObjectReference'], | ||
| 6275 | ['partition', 'HostScsiDiskPartition'], | ||
| 6276 | ]; | ||
| 6277 | return $self->soap_call('SelectActivePartition', undef, 0, $x_args, \%args); | ||
| 6278 | } | ||
| 6279 | |||
| 6280 | sub SelectVnic { | ||
| 6281 | my ($self, %args) = @_; | ||
| 6282 | my $x_args = [ | ||
| 6283 | ['_this', 'ManagedObjectReference'], | ||
| 6284 | ['device', undef], | ||
| 6285 | ]; | ||
| 6286 | return $self->soap_call('SelectVnic', undef, 0, $x_args, \%args); | ||
| 6287 | } | ||
| 6288 | |||
| 6289 | sub SelectVnicForNicType { | ||
| 6290 | my ($self, %args) = @_; | ||
| 6291 | my $x_args = [ | ||
| 6292 | ['_this', 'ManagedObjectReference'], | ||
| 6293 | ['nicType', undef], | ||
| 6294 | ['device', undef], | ||
| 6295 | ]; | ||
| 6296 | return $self->soap_call('SelectVnicForNicType', undef, 0, $x_args, \%args); | ||
| 6297 | } | ||
| 6298 | |||
| 6299 | sub SendNMI { | ||
| 6300 | my ($self, %args) = @_; | ||
| 6301 | my $x_args = [ | ||
| 6302 | ['_this', 'ManagedObjectReference'], | ||
| 6303 | ]; | ||
| 6304 | return $self->soap_call('SendNMI', undef, 0, $x_args, \%args); | ||
| 6305 | } | ||
| 6306 | |||
| 6307 | sub SendTestNotification { | ||
| 6308 | my ($self, %args) = @_; | ||
| 6309 | my $x_args = [ | ||
| 6310 | ['_this', 'ManagedObjectReference'], | ||
| 6311 | ]; | ||
| 6312 | return $self->soap_call('SendTestNotification', undef, 0, $x_args, \%args); | ||
| 6313 | } | ||
| 6314 | |||
| 6315 | sub SessionIsActive { | ||
| 6316 | my ($self, %args) = @_; | ||
| 6317 | my $x_args = [ | ||
| 6318 | ['_this', 'ManagedObjectReference'], | ||
| 6319 | ['sessionID', undef], | ||
| 6320 | ['userName', undef], | ||
| 6321 | ]; | ||
| 6322 | return $self->soap_call('SessionIsActive', 'boolean', 0, $x_args, \%args); | ||
| 6323 | } | ||
| 6324 | |||
| 6325 | sub SetCollectorPageSize { | ||
| 6326 | my ($self, %args) = @_; | ||
| 6327 | my $x_args = [ | ||
| 6328 | ['_this', 'ManagedObjectReference'], | ||
| 6329 | ['maxCount', undef], | ||
| 6330 | ]; | ||
| 6331 | return $self->soap_call('SetCollectorPageSize', undef, 0, $x_args, \%args); | ||
| 6332 | } | ||
| 6333 | |||
| 6334 | sub SetDisplayTopology { | ||
| 6335 | my ($self, %args) = @_; | ||
| 6336 | my $x_args = [ | ||
| 6337 | ['_this', 'ManagedObjectReference'], | ||
| 6338 | ['displays', 'VirtualMachineDisplayTopology'], | ||
| 6339 | ]; | ||
| 6340 | return $self->soap_call('SetDisplayTopology', undef, 0, $x_args, \%args); | ||
| 6341 | } | ||
| 6342 | |||
| 6343 | sub SetEntityPermissions { | ||
| 6344 | my ($self, %args) = @_; | ||
| 6345 | my $x_args = [ | ||
| 6346 | ['_this', 'ManagedObjectReference'], | ||
| 6347 | ['entity', 'ManagedObjectReference'], | ||
| 6348 | ['permission', 'Permission'], | ||
| 6349 | ]; | ||
| 6350 | return $self->soap_call('SetEntityPermissions', undef, 0, $x_args, \%args); | ||
| 6351 | } | ||
| 6352 | |||
| 6353 | sub SetExtensionCertificate { | ||
| 6354 | my ($self, %args) = @_; | ||
| 6355 | my $x_args = [ | ||
| 6356 | ['_this', 'ManagedObjectReference'], | ||
| 6357 | ['extensionKey', undef], | ||
| 6358 | ['certificatePem', undef], | ||
| 6359 | ]; | ||
| 6360 | return $self->soap_call('SetExtensionCertificate', undef, 0, $x_args, \%args); | ||
| 6361 | } | ||
| 6362 | |||
| 6363 | sub SetField { | ||
| 6364 | my ($self, %args) = @_; | ||
| 6365 | my $x_args = [ | ||
| 6366 | ['_this', 'ManagedObjectReference'], | ||
| 6367 | ['entity', 'ManagedObjectReference'], | ||
| 6368 | ['key', undef], | ||
| 6369 | ['value', undef], | ||
| 6370 | ]; | ||
| 6371 | return $self->soap_call('SetField', undef, 0, $x_args, \%args); | ||
| 6372 | } | ||
| 6373 | |||
| 6374 | sub SetLicenseEdition { | ||
| 6375 | my ($self, %args) = @_; | ||
| 6376 | my $x_args = [ | ||
| 6377 | ['_this', 'ManagedObjectReference'], | ||
| 6378 | ['host', 'ManagedObjectReference'], | ||
| 6379 | ['featureKey', undef], | ||
| 6380 | ]; | ||
| 6381 | return $self->soap_call('SetLicenseEdition', undef, 0, $x_args, \%args); | ||
| 6382 | } | ||
| 6383 | |||
| 6384 | sub SetLocale { | ||
| 6385 | my ($self, %args) = @_; | ||
| 6386 | my $x_args = [ | ||
| 6387 | ['_this', 'ManagedObjectReference'], | ||
| 6388 | ['locale', undef], | ||
| 6389 | ]; | ||
| 6390 | return $self->soap_call('SetLocale', undef, 0, $x_args, \%args); | ||
| 6391 | } | ||
| 6392 | |||
| 6393 | sub SetMultipathLunPolicy { | ||
| 6394 | my ($self, %args) = @_; | ||
| 6395 | my $x_args = [ | ||
| 6396 | ['_this', 'ManagedObjectReference'], | ||
| 6397 | ['lunId', undef], | ||
| 6398 | ['policy', 'HostMultipathInfoLogicalUnitPolicy'], | ||
| 6399 | ]; | ||
| 6400 | return $self->soap_call('SetMultipathLunPolicy', undef, 0, $x_args, \%args); | ||
| 6401 | } | ||
| 6402 | |||
| 6403 | sub SetNFSUser { | ||
| 6404 | my ($self, %args) = @_; | ||
| 6405 | my $x_args = [ | ||
| 6406 | ['_this', 'ManagedObjectReference'], | ||
| 6407 | ['user', undef], | ||
| 6408 | ['password', undef], | ||
| 6409 | ]; | ||
| 6410 | return $self->soap_call('SetNFSUser', undef, 0, $x_args, \%args); | ||
| 6411 | } | ||
| 6412 | |||
| 6413 | sub SetPublicKey { | ||
| 6414 | my ($self, %args) = @_; | ||
| 6415 | my $x_args = [ | ||
| 6416 | ['_this', 'ManagedObjectReference'], | ||
| 6417 | ['extensionKey', undef], | ||
| 6418 | ['publicKey', undef], | ||
| 6419 | ]; | ||
| 6420 | return $self->soap_call('SetPublicKey', undef, 0, $x_args, \%args); | ||
| 6421 | } | ||
| 6422 | |||
| 6423 | sub SetRegistryValueInGuest { | ||
| 6424 | my ($self, %args) = @_; | ||
| 6425 | my $x_args = [ | ||
| 6426 | ['_this', 'ManagedObjectReference'], | ||
| 6427 | ['vm', 'ManagedObjectReference'], | ||
| 6428 | ['auth', 'GuestAuthentication'], | ||
| 6429 | ['value', 'GuestRegValueSpec'], | ||
| 6430 | ]; | ||
| 6431 | return $self->soap_call('SetRegistryValueInGuest', undef, 0, $x_args, \%args); | ||
| 6432 | } | ||
| 6433 | |||
| 6434 | sub SetScreenResolution { | ||
| 6435 | my ($self, %args) = @_; | ||
| 6436 | my $x_args = [ | ||
| 6437 | ['_this', 'ManagedObjectReference'], | ||
| 6438 | ['width', undef], | ||
| 6439 | ['height', undef], | ||
| 6440 | ]; | ||
| 6441 | return $self->soap_call('SetScreenResolution', undef, 0, $x_args, \%args); | ||
| 6442 | } | ||
| 6443 | |||
| 6444 | sub SetTaskDescription { | ||
| 6445 | my ($self, %args) = @_; | ||
| 6446 | my $x_args = [ | ||
| 6447 | ['_this', 'ManagedObjectReference'], | ||
| 6448 | ['description', 'LocalizableMessage'], | ||
| 6449 | ]; | ||
| 6450 | return $self->soap_call('SetTaskDescription', undef, 0, $x_args, \%args); | ||
| 6451 | } | ||
| 6452 | |||
| 6453 | sub SetTaskState { | ||
| 6454 | my ($self, %args) = @_; | ||
| 6455 | my $x_args = [ | ||
| 6456 | ['_this', 'ManagedObjectReference'], | ||
| 6457 | ['state', 'TaskInfoState'], | ||
| 6458 | ['result', 'anyType'], | ||
| 6459 | ['fault', 'LocalizedMethodFault'], | ||
| 6460 | ]; | ||
| 6461 | return $self->soap_call('SetTaskState', undef, 0, $x_args, \%args); | ||
| 6462 | } | ||
| 6463 | |||
| 6464 | sub SetVirtualDiskUuid { | ||
| 6465 | my ($self, %args) = @_; | ||
| 6466 | my $x_args = [ | ||
| 6467 | ['_this', 'ManagedObjectReference'], | ||
| 6468 | ['name', undef], | ||
| 6469 | ['datacenter', 'ManagedObjectReference'], | ||
| 6470 | ['uuid', undef], | ||
| 6471 | ]; | ||
| 6472 | return $self->soap_call('SetVirtualDiskUuid', undef, 0, $x_args, \%args); | ||
| 6473 | } | ||
| 6474 | |||
| 6475 | sub ShrinkVirtualDisk_Task { | ||
| 6476 | my ($self, %args) = @_; | ||
| 6477 | my $x_args = [ | ||
| 6478 | ['_this', 'ManagedObjectReference'], | ||
| 6479 | ['name', undef], | ||
| 6480 | ['datacenter', 'ManagedObjectReference'], | ||
| 6481 | ['copy', 'boolean'], | ||
| 6482 | ]; | ||
| 6483 | return $self->soap_call('ShrinkVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6484 | } | ||
| 6485 | |||
| 6486 | sub ShutdownGuest { | ||
| 6487 | my ($self, %args) = @_; | ||
| 6488 | my $x_args = [ | ||
| 6489 | ['_this', 'ManagedObjectReference'], | ||
| 6490 | ]; | ||
| 6491 | return $self->soap_call('ShutdownGuest', undef, 0, $x_args, \%args); | ||
| 6492 | } | ||
| 6493 | |||
| 6494 | sub ShutdownHost_Task { | ||
| 6495 | my ($self, %args) = @_; | ||
| 6496 | my $x_args = [ | ||
| 6497 | ['_this', 'ManagedObjectReference'], | ||
| 6498 | ['force', 'boolean'], | ||
| 6499 | ]; | ||
| 6500 | return $self->soap_call('ShutdownHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6501 | } | ||
| 6502 | |||
| 6503 | sub StageHostPatch_Task { | ||
| 6504 | my ($self, %args) = @_; | ||
| 6505 | my $x_args = [ | ||
| 6506 | ['_this', 'ManagedObjectReference'], | ||
| 6507 | ['metaUrls', undef], | ||
| 6508 | ['bundleUrls', undef], | ||
| 6509 | ['vibUrls', undef], | ||
| 6510 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 6511 | ]; | ||
| 6512 | return $self->soap_call('StageHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6513 | } | ||
| 6514 | |||
| 6515 | sub StampAllRulesWithUuid_Task { | ||
| 6516 | my ($self, %args) = @_; | ||
| 6517 | my $x_args = [ | ||
| 6518 | ['_this', 'ManagedObjectReference'], | ||
| 6519 | ]; | ||
| 6520 | return $self->soap_call('StampAllRulesWithUuid_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6521 | } | ||
| 6522 | |||
| 6523 | sub StandbyGuest { | ||
| 6524 | my ($self, %args) = @_; | ||
| 6525 | my $x_args = [ | ||
| 6526 | ['_this', 'ManagedObjectReference'], | ||
| 6527 | ]; | ||
| 6528 | return $self->soap_call('StandbyGuest', undef, 0, $x_args, \%args); | ||
| 6529 | } | ||
| 6530 | |||
| 6531 | sub StartProgramInGuest { | ||
| 6532 | my ($self, %args) = @_; | ||
| 6533 | my $x_args = [ | ||
| 6534 | ['_this', 'ManagedObjectReference'], | ||
| 6535 | ['vm', 'ManagedObjectReference'], | ||
| 6536 | ['auth', 'GuestAuthentication'], | ||
| 6537 | ['spec', 'GuestProgramSpec'], | ||
| 6538 | ]; | ||
| 6539 | return $self->soap_call('StartProgramInGuest', undef, 0, $x_args, \%args); | ||
| 6540 | } | ||
| 6541 | |||
| 6542 | sub StartRecording_Task { | ||
| 6543 | my ($self, %args) = @_; | ||
| 6544 | my $x_args = [ | ||
| 6545 | ['_this', 'ManagedObjectReference'], | ||
| 6546 | ['name', undef], | ||
| 6547 | ['description', undef], | ||
| 6548 | ]; | ||
| 6549 | return $self->soap_call('StartRecording_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6550 | } | ||
| 6551 | |||
| 6552 | sub StartReplaying_Task { | ||
| 6553 | my ($self, %args) = @_; | ||
| 6554 | my $x_args = [ | ||
| 6555 | ['_this', 'ManagedObjectReference'], | ||
| 6556 | ['replaySnapshot', 'ManagedObjectReference'], | ||
| 6557 | ]; | ||
| 6558 | return $self->soap_call('StartReplaying_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6559 | } | ||
| 6560 | |||
| 6561 | sub StartService { | ||
| 6562 | my ($self, %args) = @_; | ||
| 6563 | my $x_args = [ | ||
| 6564 | ['_this', 'ManagedObjectReference'], | ||
| 6565 | ['id', undef], | ||
| 6566 | ]; | ||
| 6567 | return $self->soap_call('StartService', undef, 0, $x_args, \%args); | ||
| 6568 | } | ||
| 6569 | |||
| 6570 | sub StopRecording_Task { | ||
| 6571 | my ($self, %args) = @_; | ||
| 6572 | my $x_args = [ | ||
| 6573 | ['_this', 'ManagedObjectReference'], | ||
| 6574 | ]; | ||
| 6575 | return $self->soap_call('StopRecording_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6576 | } | ||
| 6577 | |||
| 6578 | sub StopReplaying_Task { | ||
| 6579 | my ($self, %args) = @_; | ||
| 6580 | my $x_args = [ | ||
| 6581 | ['_this', 'ManagedObjectReference'], | ||
| 6582 | ]; | ||
| 6583 | return $self->soap_call('StopReplaying_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6584 | } | ||
| 6585 | |||
| 6586 | sub StopService { | ||
| 6587 | my ($self, %args) = @_; | ||
| 6588 | my $x_args = [ | ||
| 6589 | ['_this', 'ManagedObjectReference'], | ||
| 6590 | ['id', undef], | ||
| 6591 | ]; | ||
| 6592 | return $self->soap_call('StopService', undef, 0, $x_args, \%args); | ||
| 6593 | } | ||
| 6594 | |||
| 6595 | sub SuspendVApp_Task { | ||
| 6596 | my ($self, %args) = @_; | ||
| 6597 | my $x_args = [ | ||
| 6598 | ['_this', 'ManagedObjectReference'], | ||
| 6599 | ]; | ||
| 6600 | return $self->soap_call('SuspendVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6601 | } | ||
| 6602 | |||
| 6603 | sub SuspendVM_Task { | ||
| 6604 | my ($self, %args) = @_; | ||
| 6605 | my $x_args = [ | ||
| 6606 | ['_this', 'ManagedObjectReference'], | ||
| 6607 | ]; | ||
| 6608 | return $self->soap_call('SuspendVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6609 | } | ||
| 6610 | |||
| 6611 | sub TerminateFaultTolerantVM_Task { | ||
| 6612 | my ($self, %args) = @_; | ||
| 6613 | my $x_args = [ | ||
| 6614 | ['_this', 'ManagedObjectReference'], | ||
| 6615 | ['vm', 'ManagedObjectReference'], | ||
| 6616 | ]; | ||
| 6617 | return $self->soap_call('TerminateFaultTolerantVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6618 | } | ||
| 6619 | |||
| 6620 | sub TerminateProcessInGuest { | ||
| 6621 | my ($self, %args) = @_; | ||
| 6622 | my $x_args = [ | ||
| 6623 | ['_this', 'ManagedObjectReference'], | ||
| 6624 | ['vm', 'ManagedObjectReference'], | ||
| 6625 | ['auth', 'GuestAuthentication'], | ||
| 6626 | ['pid', undef], | ||
| 6627 | ]; | ||
| 6628 | return $self->soap_call('TerminateProcessInGuest', undef, 0, $x_args, \%args); | ||
| 6629 | } | ||
| 6630 | |||
| 6631 | sub TerminateSession { | ||
| 6632 | my ($self, %args) = @_; | ||
| 6633 | my $x_args = [ | ||
| 6634 | ['_this', 'ManagedObjectReference'], | ||
| 6635 | ['sessionId', undef], | ||
| 6636 | ]; | ||
| 6637 | return $self->soap_call('TerminateSession', undef, 0, $x_args, \%args); | ||
| 6638 | } | ||
| 6639 | |||
| 6640 | sub TerminateVM { | ||
| 6641 | my ($self, %args) = @_; | ||
| 6642 | my $x_args = [ | ||
| 6643 | ['_this', 'ManagedObjectReference'], | ||
| 6644 | ]; | ||
| 6645 | return $self->soap_call('TerminateVM', undef, 0, $x_args, \%args); | ||
| 6646 | } | ||
| 6647 | |||
| 6648 | sub TurnDiskLocatorLedOff_Task { | ||
| 6649 | my ($self, %args) = @_; | ||
| 6650 | my $x_args = [ | ||
| 6651 | ['_this', 'ManagedObjectReference'], | ||
| 6652 | ['scsiDiskUuids', undef], | ||
| 6653 | ]; | ||
| 6654 | return $self->soap_call('TurnDiskLocatorLedOff_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6655 | } | ||
| 6656 | |||
| 6657 | sub TurnDiskLocatorLedOn_Task { | ||
| 6658 | my ($self, %args) = @_; | ||
| 6659 | my $x_args = [ | ||
| 6660 | ['_this', 'ManagedObjectReference'], | ||
| 6661 | ['scsiDiskUuids', undef], | ||
| 6662 | ]; | ||
| 6663 | return $self->soap_call('TurnDiskLocatorLedOn_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6664 | } | ||
| 6665 | |||
| 6666 | sub TurnOffFaultToleranceForVM_Task { | ||
| 6667 | my ($self, %args) = @_; | ||
| 6668 | my $x_args = [ | ||
| 6669 | ['_this', 'ManagedObjectReference'], | ||
| 6670 | ]; | ||
| 6671 | return $self->soap_call('TurnOffFaultToleranceForVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6672 | } | ||
| 6673 | |||
| 6674 | sub UnassignUserFromGroup { | ||
| 6675 | my ($self, %args) = @_; | ||
| 6676 | my $x_args = [ | ||
| 6677 | ['_this', 'ManagedObjectReference'], | ||
| 6678 | ['user', undef], | ||
| 6679 | ['group', undef], | ||
| 6680 | ]; | ||
| 6681 | return $self->soap_call('UnassignUserFromGroup', undef, 0, $x_args, \%args); | ||
| 6682 | } | ||
| 6683 | |||
| 6684 | sub UnbindVnic { | ||
| 6685 | my ($self, %args) = @_; | ||
| 6686 | my $x_args = [ | ||
| 6687 | ['_this', 'ManagedObjectReference'], | ||
| 6688 | ['iScsiHbaName', undef], | ||
| 6689 | ['vnicDevice', undef], | ||
| 6690 | ['force', 'boolean'], | ||
| 6691 | ]; | ||
| 6692 | return $self->soap_call('UnbindVnic', undef, 0, $x_args, \%args); | ||
| 6693 | } | ||
| 6694 | |||
| 6695 | sub UninstallHostPatch_Task { | ||
| 6696 | my ($self, %args) = @_; | ||
| 6697 | my $x_args = [ | ||
| 6698 | ['_this', 'ManagedObjectReference'], | ||
| 6699 | ['bulletinIds', undef], | ||
| 6700 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 6701 | ]; | ||
| 6702 | return $self->soap_call('UninstallHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6703 | } | ||
| 6704 | |||
| 6705 | sub UninstallIoFilter_Task { | ||
| 6706 | my ($self, %args) = @_; | ||
| 6707 | my $x_args = [ | ||
| 6708 | ['_this', 'ManagedObjectReference'], | ||
| 6709 | ['filterId', undef], | ||
| 6710 | ['compRes', 'ManagedObjectReference'], | ||
| 6711 | ]; | ||
| 6712 | return $self->soap_call('UninstallIoFilter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6713 | } | ||
| 6714 | |||
| 6715 | sub UninstallService { | ||
| 6716 | my ($self, %args) = @_; | ||
| 6717 | my $x_args = [ | ||
| 6718 | ['_this', 'ManagedObjectReference'], | ||
| 6719 | ['id', undef], | ||
| 6720 | ]; | ||
| 6721 | return $self->soap_call('UninstallService', undef, 0, $x_args, \%args); | ||
| 6722 | } | ||
| 6723 | |||
| 6724 | sub UnmapVmfsVolumeEx_Task { | ||
| 6725 | my ($self, %args) = @_; | ||
| 6726 | my $x_args = [ | ||
| 6727 | ['_this', 'ManagedObjectReference'], | ||
| 6728 | ['vmfsUuid', undef], | ||
| 6729 | ]; | ||
| 6730 | return $self->soap_call('UnmapVmfsVolumeEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6731 | } | ||
| 6732 | |||
| 6733 | sub UnmountDiskMapping_Task { | ||
| 6734 | my ($self, %args) = @_; | ||
| 6735 | my $x_args = [ | ||
| 6736 | ['_this', 'ManagedObjectReference'], | ||
| 6737 | ['mapping', 'VsanHostDiskMapping'], | ||
| 6738 | ]; | ||
| 6739 | return $self->soap_call('UnmountDiskMapping_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6740 | } | ||
| 6741 | |||
| 6742 | sub UnmountForceMountedVmfsVolume { | ||
| 6743 | my ($self, %args) = @_; | ||
| 6744 | my $x_args = [ | ||
| 6745 | ['_this', 'ManagedObjectReference'], | ||
| 6746 | ['vmfsUuid', undef], | ||
| 6747 | ]; | ||
| 6748 | return $self->soap_call('UnmountForceMountedVmfsVolume', undef, 0, $x_args, \%args); | ||
| 6749 | } | ||
| 6750 | |||
| 6751 | sub UnmountToolsInstaller { | ||
| 6752 | my ($self, %args) = @_; | ||
| 6753 | my $x_args = [ | ||
| 6754 | ['_this', 'ManagedObjectReference'], | ||
| 6755 | ]; | ||
| 6756 | return $self->soap_call('UnmountToolsInstaller', undef, 0, $x_args, \%args); | ||
| 6757 | } | ||
| 6758 | |||
| 6759 | sub UnmountVffsVolume { | ||
| 6760 | my ($self, %args) = @_; | ||
| 6761 | my $x_args = [ | ||
| 6762 | ['_this', 'ManagedObjectReference'], | ||
| 6763 | ['vffsUuid', undef], | ||
| 6764 | ]; | ||
| 6765 | return $self->soap_call('UnmountVffsVolume', undef, 0, $x_args, \%args); | ||
| 6766 | } | ||
| 6767 | |||
| 6768 | sub UnmountVmfsVolume { | ||
| 6769 | my ($self, %args) = @_; | ||
| 6770 | my $x_args = [ | ||
| 6771 | ['_this', 'ManagedObjectReference'], | ||
| 6772 | ['vmfsUuid', undef], | ||
| 6773 | ]; | ||
| 6774 | return $self->soap_call('UnmountVmfsVolume', undef, 0, $x_args, \%args); | ||
| 6775 | } | ||
| 6776 | |||
| 6777 | sub UnmountVmfsVolumeEx_Task { | ||
| 6778 | my ($self, %args) = @_; | ||
| 6779 | my $x_args = [ | ||
| 6780 | ['_this', 'ManagedObjectReference'], | ||
| 6781 | ['vmfsUuid', undef], | ||
| 6782 | ]; | ||
| 6783 | return $self->soap_call('UnmountVmfsVolumeEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6784 | } | ||
| 6785 | |||
| 6786 | sub UnregisterAndDestroy_Task { | ||
| 6787 | my ($self, %args) = @_; | ||
| 6788 | my $x_args = [ | ||
| 6789 | ['_this', 'ManagedObjectReference'], | ||
| 6790 | ]; | ||
| 6791 | return $self->soap_call('UnregisterAndDestroy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6792 | } | ||
| 6793 | |||
| 6794 | sub UnregisterExtension { | ||
| 6795 | my ($self, %args) = @_; | ||
| 6796 | my $x_args = [ | ||
| 6797 | ['_this', 'ManagedObjectReference'], | ||
| 6798 | ['extensionKey', undef], | ||
| 6799 | ]; | ||
| 6800 | return $self->soap_call('UnregisterExtension', undef, 0, $x_args, \%args); | ||
| 6801 | } | ||
| 6802 | |||
| 6803 | sub UnregisterHealthUpdateProvider { | ||
| 6804 | my ($self, %args) = @_; | ||
| 6805 | my $x_args = [ | ||
| 6806 | ['_this', 'ManagedObjectReference'], | ||
| 6807 | ['providerId', undef], | ||
| 6808 | ]; | ||
| 6809 | return $self->soap_call('UnregisterHealthUpdateProvider', undef, 0, $x_args, \%args); | ||
| 6810 | } | ||
| 6811 | |||
| 6812 | sub UnregisterVM { | ||
| 6813 | my ($self, %args) = @_; | ||
| 6814 | my $x_args = [ | ||
| 6815 | ['_this', 'ManagedObjectReference'], | ||
| 6816 | ]; | ||
| 6817 | return $self->soap_call('UnregisterVM', undef, 0, $x_args, \%args); | ||
| 6818 | } | ||
| 6819 | |||
| 6820 | sub UpdateAnswerFile_Task { | ||
| 6821 | my ($self, %args) = @_; | ||
| 6822 | my $x_args = [ | ||
| 6823 | ['_this', 'ManagedObjectReference'], | ||
| 6824 | ['host', 'ManagedObjectReference'], | ||
| 6825 | ['configSpec', 'AnswerFileCreateSpec'], | ||
| 6826 | ]; | ||
| 6827 | return $self->soap_call('UpdateAnswerFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6828 | } | ||
| 6829 | |||
| 6830 | sub UpdateAssignedLicense { | ||
| 6831 | my ($self, %args) = @_; | ||
| 6832 | my $x_args = [ | ||
| 6833 | ['_this', 'ManagedObjectReference'], | ||
| 6834 | ['entity', undef], | ||
| 6835 | ['licenseKey', undef], | ||
| 6836 | ['entityDisplayName', undef], | ||
| 6837 | ]; | ||
| 6838 | return $self->soap_call('UpdateAssignedLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 6839 | } | ||
| 6840 | |||
| 6841 | sub UpdateAuthorizationRole { | ||
| 6842 | my ($self, %args) = @_; | ||
| 6843 | my $x_args = [ | ||
| 6844 | ['_this', 'ManagedObjectReference'], | ||
| 6845 | ['roleId', undef], | ||
| 6846 | ['newName', undef], | ||
| 6847 | ['privIds', undef], | ||
| 6848 | ]; | ||
| 6849 | return $self->soap_call('UpdateAuthorizationRole', undef, 0, $x_args, \%args); | ||
| 6850 | } | ||
| 6851 | |||
| 6852 | sub UpdateBootDevice { | ||
| 6853 | my ($self, %args) = @_; | ||
| 6854 | my $x_args = [ | ||
| 6855 | ['_this', 'ManagedObjectReference'], | ||
| 6856 | ['key', undef], | ||
| 6857 | ]; | ||
| 6858 | return $self->soap_call('UpdateBootDevice', undef, 0, $x_args, \%args); | ||
| 6859 | } | ||
| 6860 | |||
| 6861 | sub UpdateChildResourceConfiguration { | ||
| 6862 | my ($self, %args) = @_; | ||
| 6863 | my $x_args = [ | ||
| 6864 | ['_this', 'ManagedObjectReference'], | ||
| 6865 | ['spec', 'ResourceConfigSpec'], | ||
| 6866 | ]; | ||
| 6867 | return $self->soap_call('UpdateChildResourceConfiguration', undef, 0, $x_args, \%args); | ||
| 6868 | } | ||
| 6869 | |||
| 6870 | sub UpdateClusterProfile { | ||
| 6871 | my ($self, %args) = @_; | ||
| 6872 | my $x_args = [ | ||
| 6873 | ['_this', 'ManagedObjectReference'], | ||
| 6874 | ['config', 'ClusterProfileConfigSpec'], | ||
| 6875 | ]; | ||
| 6876 | return $self->soap_call('UpdateClusterProfile', undef, 0, $x_args, \%args); | ||
| 6877 | } | ||
| 6878 | |||
| 6879 | sub UpdateConfig { | ||
| 6880 | my ($self, %args) = @_; | ||
| 6881 | my $x_args = [ | ||
| 6882 | ['_this', 'ManagedObjectReference'], | ||
| 6883 | ['name', undef], | ||
| 6884 | ['config', 'ResourceConfigSpec'], | ||
| 6885 | ]; | ||
| 6886 | return $self->soap_call('UpdateConfig', undef, 0, $x_args, \%args); | ||
| 6887 | } | ||
| 6888 | |||
| 6889 | sub UpdateConsoleIpRouteConfig { | ||
| 6890 | my ($self, %args) = @_; | ||
| 6891 | my $x_args = [ | ||
| 6892 | ['_this', 'ManagedObjectReference'], | ||
| 6893 | ['config', 'HostIpRouteConfig'], | ||
| 6894 | ]; | ||
| 6895 | return $self->soap_call('UpdateConsoleIpRouteConfig', undef, 0, $x_args, \%args); | ||
| 6896 | } | ||
| 6897 | |||
| 6898 | sub UpdateCounterLevelMapping { | ||
| 6899 | my ($self, %args) = @_; | ||
| 6900 | my $x_args = [ | ||
| 6901 | ['_this', 'ManagedObjectReference'], | ||
| 6902 | ['counterLevelMap', 'PerformanceManagerCounterLevelMapping'], | ||
| 6903 | ]; | ||
| 6904 | return $self->soap_call('UpdateCounterLevelMapping', undef, 0, $x_args, \%args); | ||
| 6905 | } | ||
| 6906 | |||
| 6907 | sub UpdateDVSHealthCheckConfig_Task { | ||
| 6908 | my ($self, %args) = @_; | ||
| 6909 | my $x_args = [ | ||
| 6910 | ['_this', 'ManagedObjectReference'], | ||
| 6911 | ['healthCheckConfig', 'DVSHealthCheckConfig'], | ||
| 6912 | ]; | ||
| 6913 | return $self->soap_call('UpdateDVSHealthCheckConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6914 | } | ||
| 6915 | |||
| 6916 | sub UpdateDVSLacpGroupConfig_Task { | ||
| 6917 | my ($self, %args) = @_; | ||
| 6918 | my $x_args = [ | ||
| 6919 | ['_this', 'ManagedObjectReference'], | ||
| 6920 | ['lacpGroupSpec', 'VMwareDvsLacpGroupSpec'], | ||
| 6921 | ]; | ||
| 6922 | return $self->soap_call('UpdateDVSLacpGroupConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6923 | } | ||
| 6924 | |||
| 6925 | sub UpdateDateTime { | ||
| 6926 | my ($self, %args) = @_; | ||
| 6927 | my $x_args = [ | ||
| 6928 | ['_this', 'ManagedObjectReference'], | ||
| 6929 | ['dateTime', undef], | ||
| 6930 | ]; | ||
| 6931 | return $self->soap_call('UpdateDateTime', undef, 0, $x_args, \%args); | ||
| 6932 | } | ||
| 6933 | |||
| 6934 | sub UpdateDateTimeConfig { | ||
| 6935 | my ($self, %args) = @_; | ||
| 6936 | my $x_args = [ | ||
| 6937 | ['_this', 'ManagedObjectReference'], | ||
| 6938 | ['config', 'HostDateTimeConfig'], | ||
| 6939 | ]; | ||
| 6940 | return $self->soap_call('UpdateDateTimeConfig', undef, 0, $x_args, \%args); | ||
| 6941 | } | ||
| 6942 | |||
| 6943 | sub UpdateDefaultPolicy { | ||
| 6944 | my ($self, %args) = @_; | ||
| 6945 | my $x_args = [ | ||
| 6946 | ['_this', 'ManagedObjectReference'], | ||
| 6947 | ['defaultPolicy', 'HostFirewallDefaultPolicy'], | ||
| 6948 | ]; | ||
| 6949 | return $self->soap_call('UpdateDefaultPolicy', undef, 0, $x_args, \%args); | ||
| 6950 | } | ||
| 6951 | |||
| 6952 | sub UpdateDiskPartitions { | ||
| 6953 | my ($self, %args) = @_; | ||
| 6954 | my $x_args = [ | ||
| 6955 | ['_this', 'ManagedObjectReference'], | ||
| 6956 | ['devicePath', undef], | ||
| 6957 | ['spec', 'HostDiskPartitionSpec'], | ||
| 6958 | ]; | ||
| 6959 | return $self->soap_call('UpdateDiskPartitions', undef, 0, $x_args, \%args); | ||
| 6960 | } | ||
| 6961 | |||
| 6962 | sub UpdateDnsConfig { | ||
| 6963 | my ($self, %args) = @_; | ||
| 6964 | my $x_args = [ | ||
| 6965 | ['_this', 'ManagedObjectReference'], | ||
| 6966 | ['config', 'HostDnsConfig'], | ||
| 6967 | ]; | ||
| 6968 | return $self->soap_call('UpdateDnsConfig', undef, 0, $x_args, \%args); | ||
| 6969 | } | ||
| 6970 | |||
| 6971 | sub UpdateDvsCapability { | ||
| 6972 | my ($self, %args) = @_; | ||
| 6973 | my $x_args = [ | ||
| 6974 | ['_this', 'ManagedObjectReference'], | ||
| 6975 | ['capability', 'DVSCapability'], | ||
| 6976 | ]; | ||
| 6977 | return $self->soap_call('UpdateDvsCapability', undef, 0, $x_args, \%args); | ||
| 6978 | } | ||
| 6979 | |||
| 6980 | sub UpdateExtension { | ||
| 6981 | my ($self, %args) = @_; | ||
| 6982 | my $x_args = [ | ||
| 6983 | ['_this', 'ManagedObjectReference'], | ||
| 6984 | ['extension', 'Extension'], | ||
| 6985 | ]; | ||
| 6986 | return $self->soap_call('UpdateExtension', undef, 0, $x_args, \%args); | ||
| 6987 | } | ||
| 6988 | |||
| 6989 | sub UpdateFlags { | ||
| 6990 | my ($self, %args) = @_; | ||
| 6991 | my $x_args = [ | ||
| 6992 | ['_this', 'ManagedObjectReference'], | ||
| 6993 | ['flagInfo', 'HostFlagInfo'], | ||
| 6994 | ]; | ||
| 6995 | return $self->soap_call('UpdateFlags', undef, 0, $x_args, \%args); | ||
| 6996 | } | ||
| 6997 | |||
| 6998 | sub UpdateGraphicsConfig { | ||
| 6999 | my ($self, %args) = @_; | ||
| 7000 | my $x_args = [ | ||
| 7001 | ['_this', 'ManagedObjectReference'], | ||
| 7002 | ['config', 'HostGraphicsConfig'], | ||
| 7003 | ]; | ||
| 7004 | return $self->soap_call('UpdateGraphicsConfig', undef, 0, $x_args, \%args); | ||
| 7005 | } | ||
| 7006 | |||
| 7007 | sub UpdateHostCustomizations_Task { | ||
| 7008 | my ($self, %args) = @_; | ||
| 7009 | my $x_args = [ | ||
| 7010 | ['_this', 'ManagedObjectReference'], | ||
| 7011 | ['hostToConfigSpecMap', 'HostProfileManagerHostToConfigSpecMap'], | ||
| 7012 | ]; | ||
| 7013 | return $self->soap_call('UpdateHostCustomizations_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7014 | } | ||
| 7015 | |||
| 7016 | sub UpdateHostImageAcceptanceLevel { | ||
| 7017 | my ($self, %args) = @_; | ||
| 7018 | my $x_args = [ | ||
| 7019 | ['_this', 'ManagedObjectReference'], | ||
| 7020 | ['newAcceptanceLevel', undef], | ||
| 7021 | ]; | ||
| 7022 | return $self->soap_call('UpdateHostImageAcceptanceLevel', undef, 0, $x_args, \%args); | ||
| 7023 | } | ||
| 7024 | |||
| 7025 | sub UpdateHostProfile { | ||
| 7026 | my ($self, %args) = @_; | ||
| 7027 | my $x_args = [ | ||
| 7028 | ['_this', 'ManagedObjectReference'], | ||
| 7029 | ['config', 'HostProfileConfigSpec'], | ||
| 7030 | ]; | ||
| 7031 | return $self->soap_call('UpdateHostProfile', undef, 0, $x_args, \%args); | ||
| 7032 | } | ||
| 7033 | |||
| 7034 | sub UpdateHostSpecification { | ||
| 7035 | my ($self, %args) = @_; | ||
| 7036 | my $x_args = [ | ||
| 7037 | ['_this', 'ManagedObjectReference'], | ||
| 7038 | ['host', 'ManagedObjectReference'], | ||
| 7039 | ['hostSpec', 'HostSpecification'], | ||
| 7040 | ]; | ||
| 7041 | return $self->soap_call('UpdateHostSpecification', undef, 0, $x_args, \%args); | ||
| 7042 | } | ||
| 7043 | |||
| 7044 | sub UpdateHostSubSpecification { | ||
| 7045 | my ($self, %args) = @_; | ||
| 7046 | my $x_args = [ | ||
| 7047 | ['_this', 'ManagedObjectReference'], | ||
| 7048 | ['host', 'ManagedObjectReference'], | ||
| 7049 | ['hostSubSpec', 'HostSubSpecification'], | ||
| 7050 | ]; | ||
| 7051 | return $self->soap_call('UpdateHostSubSpecification', undef, 0, $x_args, \%args); | ||
| 7052 | } | ||
| 7053 | |||
| 7054 | sub UpdateInternetScsiAdvancedOptions { | ||
| 7055 | my ($self, %args) = @_; | ||
| 7056 | my $x_args = [ | ||
| 7057 | ['_this', 'ManagedObjectReference'], | ||
| 7058 | ['iScsiHbaDevice', undef], | ||
| 7059 | ['targetSet', 'HostInternetScsiHbaTargetSet'], | ||
| 7060 | ['options', 'HostInternetScsiHbaParamValue'], | ||
| 7061 | ]; | ||
| 7062 | return $self->soap_call('UpdateInternetScsiAdvancedOptions', undef, 0, $x_args, \%args); | ||
| 7063 | } | ||
| 7064 | |||
| 7065 | sub UpdateInternetScsiAlias { | ||
| 7066 | my ($self, %args) = @_; | ||
| 7067 | my $x_args = [ | ||
| 7068 | ['_this', 'ManagedObjectReference'], | ||
| 7069 | ['iScsiHbaDevice', undef], | ||
| 7070 | ['iScsiAlias', undef], | ||
| 7071 | ]; | ||
| 7072 | return $self->soap_call('UpdateInternetScsiAlias', undef, 0, $x_args, \%args); | ||
| 7073 | } | ||
| 7074 | |||
| 7075 | sub UpdateInternetScsiAuthenticationProperties { | ||
| 7076 | my ($self, %args) = @_; | ||
| 7077 | my $x_args = [ | ||
| 7078 | ['_this', 'ManagedObjectReference'], | ||
| 7079 | ['iScsiHbaDevice', undef], | ||
| 7080 | ['authenticationProperties', 'HostInternetScsiHbaAuthenticationProperties'], | ||
| 7081 | ['targetSet', 'HostInternetScsiHbaTargetSet'], | ||
| 7082 | ]; | ||
| 7083 | return $self->soap_call('UpdateInternetScsiAuthenticationProperties', undef, 0, $x_args, \%args); | ||
| 7084 | } | ||
| 7085 | |||
| 7086 | sub UpdateInternetScsiDigestProperties { | ||
| 7087 | my ($self, %args) = @_; | ||
| 7088 | my $x_args = [ | ||
| 7089 | ['_this', 'ManagedObjectReference'], | ||
| 7090 | ['iScsiHbaDevice', undef], | ||
| 7091 | ['targetSet', 'HostInternetScsiHbaTargetSet'], | ||
| 7092 | ['digestProperties', 'HostInternetScsiHbaDigestProperties'], | ||
| 7093 | ]; | ||
| 7094 | return $self->soap_call('UpdateInternetScsiDigestProperties', undef, 0, $x_args, \%args); | ||
| 7095 | } | ||
| 7096 | |||
| 7097 | sub UpdateInternetScsiDiscoveryProperties { | ||
| 7098 | my ($self, %args) = @_; | ||
| 7099 | my $x_args = [ | ||
| 7100 | ['_this', 'ManagedObjectReference'], | ||
| 7101 | ['iScsiHbaDevice', undef], | ||
| 7102 | ['discoveryProperties', 'HostInternetScsiHbaDiscoveryProperties'], | ||
| 7103 | ]; | ||
| 7104 | return $self->soap_call('UpdateInternetScsiDiscoveryProperties', undef, 0, $x_args, \%args); | ||
| 7105 | } | ||
| 7106 | |||
| 7107 | sub UpdateInternetScsiIPProperties { | ||
| 7108 | my ($self, %args) = @_; | ||
| 7109 | my $x_args = [ | ||
| 7110 | ['_this', 'ManagedObjectReference'], | ||
| 7111 | ['iScsiHbaDevice', undef], | ||
| 7112 | ['ipProperties', 'HostInternetScsiHbaIPProperties'], | ||
| 7113 | ]; | ||
| 7114 | return $self->soap_call('UpdateInternetScsiIPProperties', undef, 0, $x_args, \%args); | ||
| 7115 | } | ||
| 7116 | |||
| 7117 | sub UpdateInternetScsiName { | ||
| 7118 | my ($self, %args) = @_; | ||
| 7119 | my $x_args = [ | ||
| 7120 | ['_this', 'ManagedObjectReference'], | ||
| 7121 | ['iScsiHbaDevice', undef], | ||
| 7122 | ['iScsiName', undef], | ||
| 7123 | ]; | ||
| 7124 | return $self->soap_call('UpdateInternetScsiName', undef, 0, $x_args, \%args); | ||
| 7125 | } | ||
| 7126 | |||
| 7127 | sub UpdateIpConfig { | ||
| 7128 | my ($self, %args) = @_; | ||
| 7129 | my $x_args = [ | ||
| 7130 | ['_this', 'ManagedObjectReference'], | ||
| 7131 | ['ipConfig', 'HostIpConfig'], | ||
| 7132 | ]; | ||
| 7133 | return $self->soap_call('UpdateIpConfig', undef, 0, $x_args, \%args); | ||
| 7134 | } | ||
| 7135 | |||
| 7136 | sub UpdateIpPool { | ||
| 7137 | my ($self, %args) = @_; | ||
| 7138 | my $x_args = [ | ||
| 7139 | ['_this', 'ManagedObjectReference'], | ||
| 7140 | ['dc', 'ManagedObjectReference'], | ||
| 7141 | ['pool', 'IpPool'], | ||
| 7142 | ]; | ||
| 7143 | return $self->soap_call('UpdateIpPool', undef, 0, $x_args, \%args); | ||
| 7144 | } | ||
| 7145 | |||
| 7146 | sub UpdateIpRouteConfig { | ||
| 7147 | my ($self, %args) = @_; | ||
| 7148 | my $x_args = [ | ||
| 7149 | ['_this', 'ManagedObjectReference'], | ||
| 7150 | ['config', 'HostIpRouteConfig'], | ||
| 7151 | ]; | ||
| 7152 | return $self->soap_call('UpdateIpRouteConfig', undef, 0, $x_args, \%args); | ||
| 7153 | } | ||
| 7154 | |||
| 7155 | sub UpdateIpRouteTableConfig { | ||
| 7156 | my ($self, %args) = @_; | ||
| 7157 | my $x_args = [ | ||
| 7158 | ['_this', 'ManagedObjectReference'], | ||
| 7159 | ['config', 'HostIpRouteTableConfig'], | ||
| 7160 | ]; | ||
| 7161 | return $self->soap_call('UpdateIpRouteTableConfig', undef, 0, $x_args, \%args); | ||
| 7162 | } | ||
| 7163 | |||
| 7164 | sub UpdateIpmi { | ||
| 7165 | my ($self, %args) = @_; | ||
| 7166 | my $x_args = [ | ||
| 7167 | ['_this', 'ManagedObjectReference'], | ||
| 7168 | ['ipmiInfo', 'HostIpmiInfo'], | ||
| 7169 | ]; | ||
| 7170 | return $self->soap_call('UpdateIpmi', undef, 0, $x_args, \%args); | ||
| 7171 | } | ||
| 7172 | |||
| 7173 | sub UpdateKmipServer { | ||
| 7174 | my ($self, %args) = @_; | ||
| 7175 | my $x_args = [ | ||
| 7176 | ['_this', 'ManagedObjectReference'], | ||
| 7177 | ['server', 'KmipServerSpec'], | ||
| 7178 | ]; | ||
| 7179 | return $self->soap_call('UpdateKmipServer', undef, 0, $x_args, \%args); | ||
| 7180 | } | ||
| 7181 | |||
| 7182 | sub UpdateKmsSignedCsrClientCert { | ||
| 7183 | my ($self, %args) = @_; | ||
| 7184 | my $x_args = [ | ||
| 7185 | ['_this', 'ManagedObjectReference'], | ||
| 7186 | ['cluster', 'KeyProviderId'], | ||
| 7187 | ['certificate', undef], | ||
| 7188 | ]; | ||
| 7189 | return $self->soap_call('UpdateKmsSignedCsrClientCert', undef, 0, $x_args, \%args); | ||
| 7190 | } | ||
| 7191 | |||
| 7192 | sub UpdateLicense { | ||
| 7193 | my ($self, %args) = @_; | ||
| 7194 | my $x_args = [ | ||
| 7195 | ['_this', 'ManagedObjectReference'], | ||
| 7196 | ['licenseKey', undef], | ||
| 7197 | ['labels', 'KeyValue'], | ||
| 7198 | ]; | ||
| 7199 | return $self->soap_call('UpdateLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 7200 | } | ||
| 7201 | |||
| 7202 | sub UpdateLicenseLabel { | ||
| 7203 | my ($self, %args) = @_; | ||
| 7204 | my $x_args = [ | ||
| 7205 | ['_this', 'ManagedObjectReference'], | ||
| 7206 | ['licenseKey', undef], | ||
| 7207 | ['labelKey', undef], | ||
| 7208 | ['labelValue', undef], | ||
| 7209 | ]; | ||
| 7210 | return $self->soap_call('UpdateLicenseLabel', undef, 0, $x_args, \%args); | ||
| 7211 | } | ||
| 7212 | |||
| 7213 | sub UpdateLinkedChildren { | ||
| 7214 | my ($self, %args) = @_; | ||
| 7215 | my $x_args = [ | ||
| 7216 | ['_this', 'ManagedObjectReference'], | ||
| 7217 | ['addChangeSet', 'VirtualAppLinkInfo'], | ||
| 7218 | ['removeSet', 'ManagedObjectReference'], | ||
| 7219 | ]; | ||
| 7220 | return $self->soap_call('UpdateLinkedChildren', undef, 0, $x_args, \%args); | ||
| 7221 | } | ||
| 7222 | |||
| 7223 | sub UpdateLocalSwapDatastore { | ||
| 7224 | my ($self, %args) = @_; | ||
| 7225 | my $x_args = [ | ||
| 7226 | ['_this', 'ManagedObjectReference'], | ||
| 7227 | ['datastore', 'ManagedObjectReference'], | ||
| 7228 | ]; | ||
| 7229 | return $self->soap_call('UpdateLocalSwapDatastore', undef, 0, $x_args, \%args); | ||
| 7230 | } | ||
| 7231 | |||
| 7232 | sub UpdateLockdownExceptions { | ||
| 7233 | my ($self, %args) = @_; | ||
| 7234 | my $x_args = [ | ||
| 7235 | ['_this', 'ManagedObjectReference'], | ||
| 7236 | ['users', undef], | ||
| 7237 | ]; | ||
| 7238 | return $self->soap_call('UpdateLockdownExceptions', undef, 0, $x_args, \%args); | ||
| 7239 | } | ||
| 7240 | |||
| 7241 | sub UpdateModuleOptionString { | ||
| 7242 | my ($self, %args) = @_; | ||
| 7243 | my $x_args = [ | ||
| 7244 | ['_this', 'ManagedObjectReference'], | ||
| 7245 | ['name', undef], | ||
| 7246 | ['options', undef], | ||
| 7247 | ]; | ||
| 7248 | return $self->soap_call('UpdateModuleOptionString', undef, 0, $x_args, \%args); | ||
| 7249 | } | ||
| 7250 | |||
| 7251 | sub UpdateNetworkConfig { | ||
| 7252 | my ($self, %args) = @_; | ||
| 7253 | my $x_args = [ | ||
| 7254 | ['_this', 'ManagedObjectReference'], | ||
| 7255 | ['config', 'HostNetworkConfig'], | ||
| 7256 | ['changeMode', undef], | ||
| 7257 | ]; | ||
| 7258 | return $self->soap_call('UpdateNetworkConfig', 'HostNetworkConfigResult', 0, $x_args, \%args); | ||
| 7259 | } | ||
| 7260 | |||
| 7261 | sub UpdateNetworkResourcePool { | ||
| 7262 | my ($self, %args) = @_; | ||
| 7263 | my $x_args = [ | ||
| 7264 | ['_this', 'ManagedObjectReference'], | ||
| 7265 | ['configSpec', 'DVSNetworkResourcePoolConfigSpec'], | ||
| 7266 | ]; | ||
| 7267 | return $self->soap_call('UpdateNetworkResourcePool', undef, 0, $x_args, \%args); | ||
| 7268 | } | ||
| 7269 | |||
| 7270 | sub UpdateOptions { | ||
| 7271 | my ($self, %args) = @_; | ||
| 7272 | my $x_args = [ | ||
| 7273 | ['_this', 'ManagedObjectReference'], | ||
| 7274 | ['changedValue', 'OptionValue'], | ||
| 7275 | ]; | ||
| 7276 | return $self->soap_call('UpdateOptions', undef, 0, $x_args, \%args); | ||
| 7277 | } | ||
| 7278 | |||
| 7279 | sub UpdatePassthruConfig { | ||
| 7280 | my ($self, %args) = @_; | ||
| 7281 | my $x_args = [ | ||
| 7282 | ['_this', 'ManagedObjectReference'], | ||
| 7283 | ['config', 'HostPciPassthruConfig'], | ||
| 7284 | ]; | ||
| 7285 | return $self->soap_call('UpdatePassthruConfig', undef, 0, $x_args, \%args); | ||
| 7286 | } | ||
| 7287 | |||
| 7288 | sub UpdatePerfInterval { | ||
| 7289 | my ($self, %args) = @_; | ||
| 7290 | my $x_args = [ | ||
| 7291 | ['_this', 'ManagedObjectReference'], | ||
| 7292 | ['interval', 'PerfInterval'], | ||
| 7293 | ]; | ||
| 7294 | return $self->soap_call('UpdatePerfInterval', undef, 0, $x_args, \%args); | ||
| 7295 | } | ||
| 7296 | |||
| 7297 | sub UpdatePhysicalNicLinkSpeed { | ||
| 7298 | my ($self, %args) = @_; | ||
| 7299 | my $x_args = [ | ||
| 7300 | ['_this', 'ManagedObjectReference'], | ||
| 7301 | ['device', undef], | ||
| 7302 | ['linkSpeed', 'PhysicalNicLinkInfo'], | ||
| 7303 | ]; | ||
| 7304 | return $self->soap_call('UpdatePhysicalNicLinkSpeed', undef, 0, $x_args, \%args); | ||
| 7305 | } | ||
| 7306 | |||
| 7307 | sub UpdatePortGroup { | ||
| 7308 | my ($self, %args) = @_; | ||
| 7309 | my $x_args = [ | ||
| 7310 | ['_this', 'ManagedObjectReference'], | ||
| 7311 | ['pgName', undef], | ||
| 7312 | ['portgrp', 'HostPortGroupSpec'], | ||
| 7313 | ]; | ||
| 7314 | return $self->soap_call('UpdatePortGroup', undef, 0, $x_args, \%args); | ||
| 7315 | } | ||
| 7316 | |||
| 7317 | sub UpdateProgress { | ||
| 7318 | my ($self, %args) = @_; | ||
| 7319 | my $x_args = [ | ||
| 7320 | ['_this', 'ManagedObjectReference'], | ||
| 7321 | ['percentDone', undef], | ||
| 7322 | ]; | ||
| 7323 | return $self->soap_call('UpdateProgress', undef, 0, $x_args, \%args); | ||
| 7324 | } | ||
| 7325 | |||
| 7326 | sub UpdateReferenceHost { | ||
| 7327 | my ($self, %args) = @_; | ||
| 7328 | my $x_args = [ | ||
| 7329 | ['_this', 'ManagedObjectReference'], | ||
| 7330 | ['host', 'ManagedObjectReference'], | ||
| 7331 | ]; | ||
| 7332 | return $self->soap_call('UpdateReferenceHost', undef, 0, $x_args, \%args); | ||
| 7333 | } | ||
| 7334 | |||
| 7335 | sub UpdateRuleset { | ||
| 7336 | my ($self, %args) = @_; | ||
| 7337 | my $x_args = [ | ||
| 7338 | ['_this', 'ManagedObjectReference'], | ||
| 7339 | ['id', undef], | ||
| 7340 | ['spec', 'HostFirewallRulesetRulesetSpec'], | ||
| 7341 | ]; | ||
| 7342 | return $self->soap_call('UpdateRuleset', undef, 0, $x_args, \%args); | ||
| 7343 | } | ||
| 7344 | |||
| 7345 | sub UpdateScsiLunDisplayName { | ||
| 7346 | my ($self, %args) = @_; | ||
| 7347 | my $x_args = [ | ||
| 7348 | ['_this', 'ManagedObjectReference'], | ||
| 7349 | ['lunUuid', undef], | ||
| 7350 | ['displayName', undef], | ||
| 7351 | ]; | ||
| 7352 | return $self->soap_call('UpdateScsiLunDisplayName', undef, 0, $x_args, \%args); | ||
| 7353 | } | ||
| 7354 | |||
| 7355 | sub UpdateSelfSignedClientCert { | ||
| 7356 | my ($self, %args) = @_; | ||
| 7357 | my $x_args = [ | ||
| 7358 | ['_this', 'ManagedObjectReference'], | ||
| 7359 | ['cluster', 'KeyProviderId'], | ||
| 7360 | ['certificate', undef], | ||
| 7361 | ]; | ||
| 7362 | return $self->soap_call('UpdateSelfSignedClientCert', undef, 0, $x_args, \%args); | ||
| 7363 | } | ||
| 7364 | |||
| 7365 | sub UpdateServiceConsoleVirtualNic { | ||
| 7366 | my ($self, %args) = @_; | ||
| 7367 | my $x_args = [ | ||
| 7368 | ['_this', 'ManagedObjectReference'], | ||
| 7369 | ['device', undef], | ||
| 7370 | ['nic', 'HostVirtualNicSpec'], | ||
| 7371 | ]; | ||
| 7372 | return $self->soap_call('UpdateServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 7373 | } | ||
| 7374 | |||
| 7375 | sub UpdateServiceMessage { | ||
| 7376 | my ($self, %args) = @_; | ||
| 7377 | my $x_args = [ | ||
| 7378 | ['_this', 'ManagedObjectReference'], | ||
| 7379 | ['message', undef], | ||
| 7380 | ]; | ||
| 7381 | return $self->soap_call('UpdateServiceMessage', undef, 0, $x_args, \%args); | ||
| 7382 | } | ||
| 7383 | |||
| 7384 | sub UpdateServicePolicy { | ||
| 7385 | my ($self, %args) = @_; | ||
| 7386 | my $x_args = [ | ||
| 7387 | ['_this', 'ManagedObjectReference'], | ||
| 7388 | ['id', undef], | ||
| 7389 | ['policy', undef], | ||
| 7390 | ]; | ||
| 7391 | return $self->soap_call('UpdateServicePolicy', undef, 0, $x_args, \%args); | ||
| 7392 | } | ||
| 7393 | |||
| 7394 | sub UpdateSoftwareInternetScsiEnabled { | ||
| 7395 | my ($self, %args) = @_; | ||
| 7396 | my $x_args = [ | ||
| 7397 | ['_this', 'ManagedObjectReference'], | ||
| 7398 | ['enabled', 'boolean'], | ||
| 7399 | ]; | ||
| 7400 | return $self->soap_call('UpdateSoftwareInternetScsiEnabled', undef, 0, $x_args, \%args); | ||
| 7401 | } | ||
| 7402 | |||
| 7403 | sub UpdateSystemResources { | ||
| 7404 | my ($self, %args) = @_; | ||
| 7405 | my $x_args = [ | ||
| 7406 | ['_this', 'ManagedObjectReference'], | ||
| 7407 | ['resourceInfo', 'HostSystemResourceInfo'], | ||
| 7408 | ]; | ||
| 7409 | return $self->soap_call('UpdateSystemResources', undef, 0, $x_args, \%args); | ||
| 7410 | } | ||
| 7411 | |||
| 7412 | sub UpdateSystemSwapConfiguration { | ||
| 7413 | my ($self, %args) = @_; | ||
| 7414 | my $x_args = [ | ||
| 7415 | ['_this', 'ManagedObjectReference'], | ||
| 7416 | ['sysSwapConfig', 'HostSystemSwapConfiguration'], | ||
| 7417 | ]; | ||
| 7418 | return $self->soap_call('UpdateSystemSwapConfiguration', undef, 0, $x_args, \%args); | ||
| 7419 | } | ||
| 7420 | |||
| 7421 | sub UpdateSystemUsers { | ||
| 7422 | my ($self, %args) = @_; | ||
| 7423 | my $x_args = [ | ||
| 7424 | ['_this', 'ManagedObjectReference'], | ||
| 7425 | ['users', undef], | ||
| 7426 | ]; | ||
| 7427 | return $self->soap_call('UpdateSystemUsers', undef, 0, $x_args, \%args); | ||
| 7428 | } | ||
| 7429 | |||
| 7430 | sub UpdateUser { | ||
| 7431 | my ($self, %args) = @_; | ||
| 7432 | my $x_args = [ | ||
| 7433 | ['_this', 'ManagedObjectReference'], | ||
| 7434 | ['user', 'HostAccountSpec'], | ||
| 7435 | ]; | ||
| 7436 | return $self->soap_call('UpdateUser', undef, 0, $x_args, \%args); | ||
| 7437 | } | ||
| 7438 | |||
| 7439 | sub UpdateVAppConfig { | ||
| 7440 | my ($self, %args) = @_; | ||
| 7441 | my $x_args = [ | ||
| 7442 | ['_this', 'ManagedObjectReference'], | ||
| 7443 | ['spec', 'VAppConfigSpec'], | ||
| 7444 | ]; | ||
| 7445 | return $self->soap_call('UpdateVAppConfig', undef, 0, $x_args, \%args); | ||
| 7446 | } | ||
| 7447 | |||
| 7448 | sub UpdateVVolVirtualMachineFiles_Task { | ||
| 7449 | my ($self, %args) = @_; | ||
| 7450 | my $x_args = [ | ||
| 7451 | ['_this', 'ManagedObjectReference'], | ||
| 7452 | ['failoverPair', 'DatastoreVVolContainerFailoverPair'], | ||
| 7453 | ]; | ||
| 7454 | return $self->soap_call('UpdateVVolVirtualMachineFiles_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7455 | } | ||
| 7456 | |||
| 7457 | sub UpdateVirtualMachineFiles_Task { | ||
| 7458 | my ($self, %args) = @_; | ||
| 7459 | my $x_args = [ | ||
| 7460 | ['_this', 'ManagedObjectReference'], | ||
| 7461 | ['mountPathDatastoreMapping', 'DatastoreMountPathDatastorePair'], | ||
| 7462 | ]; | ||
| 7463 | return $self->soap_call('UpdateVirtualMachineFiles_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7464 | } | ||
| 7465 | |||
| 7466 | sub UpdateVirtualNic { | ||
| 7467 | my ($self, %args) = @_; | ||
| 7468 | my $x_args = [ | ||
| 7469 | ['_this', 'ManagedObjectReference'], | ||
| 7470 | ['device', undef], | ||
| 7471 | ['nic', 'HostVirtualNicSpec'], | ||
| 7472 | ]; | ||
| 7473 | return $self->soap_call('UpdateVirtualNic', undef, 0, $x_args, \%args); | ||
| 7474 | } | ||
| 7475 | |||
| 7476 | sub UpdateVirtualSwitch { | ||
| 7477 | my ($self, %args) = @_; | ||
| 7478 | my $x_args = [ | ||
| 7479 | ['_this', 'ManagedObjectReference'], | ||
| 7480 | ['vswitchName', undef], | ||
| 7481 | ['spec', 'HostVirtualSwitchSpec'], | ||
| 7482 | ]; | ||
| 7483 | return $self->soap_call('UpdateVirtualSwitch', undef, 0, $x_args, \%args); | ||
| 7484 | } | ||
| 7485 | |||
| 7486 | sub UpdateVmfsUnmapPriority { | ||
| 7487 | my ($self, %args) = @_; | ||
| 7488 | my $x_args = [ | ||
| 7489 | ['_this', 'ManagedObjectReference'], | ||
| 7490 | ['vmfsUuid', undef], | ||
| 7491 | ['unmapPriority', undef], | ||
| 7492 | ]; | ||
| 7493 | return $self->soap_call('UpdateVmfsUnmapPriority', undef, 0, $x_args, \%args); | ||
| 7494 | } | ||
| 7495 | |||
| 7496 | sub UpdateVsan_Task { | ||
| 7497 | my ($self, %args) = @_; | ||
| 7498 | my $x_args = [ | ||
| 7499 | ['_this', 'ManagedObjectReference'], | ||
| 7500 | ['config', 'VsanHostConfigInfo'], | ||
| 7501 | ]; | ||
| 7502 | return $self->soap_call('UpdateVsan_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7503 | } | ||
| 7504 | |||
| 7505 | sub UpgradeIoFilter_Task { | ||
| 7506 | my ($self, %args) = @_; | ||
| 7507 | my $x_args = [ | ||
| 7508 | ['_this', 'ManagedObjectReference'], | ||
| 7509 | ['filterId', undef], | ||
| 7510 | ['compRes', 'ManagedObjectReference'], | ||
| 7511 | ['vibUrl', undef], | ||
| 7512 | ]; | ||
| 7513 | return $self->soap_call('UpgradeIoFilter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7514 | } | ||
| 7515 | |||
| 7516 | sub UpgradeTools_Task { | ||
| 7517 | my ($self, %args) = @_; | ||
| 7518 | my $x_args = [ | ||
| 7519 | ['_this', 'ManagedObjectReference'], | ||
| 7520 | ['installerOptions', undef], | ||
| 7521 | ]; | ||
| 7522 | return $self->soap_call('UpgradeTools_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7523 | } | ||
| 7524 | |||
| 7525 | sub UpgradeVM_Task { | ||
| 7526 | my ($self, %args) = @_; | ||
| 7527 | my $x_args = [ | ||
| 7528 | ['_this', 'ManagedObjectReference'], | ||
| 7529 | ['version', undef], | ||
| 7530 | ]; | ||
| 7531 | return $self->soap_call('UpgradeVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7532 | } | ||
| 7533 | |||
| 7534 | sub UpgradeVmLayout { | ||
| 7535 | my ($self, %args) = @_; | ||
| 7536 | my $x_args = [ | ||
| 7537 | ['_this', 'ManagedObjectReference'], | ||
| 7538 | ]; | ||
| 7539 | return $self->soap_call('UpgradeVmLayout', undef, 0, $x_args, \%args); | ||
| 7540 | } | ||
| 7541 | |||
| 7542 | sub UpgradeVmfs { | ||
| 7543 | my ($self, %args) = @_; | ||
| 7544 | my $x_args = [ | ||
| 7545 | ['_this', 'ManagedObjectReference'], | ||
| 7546 | ['vmfsPath', undef], | ||
| 7547 | ]; | ||
| 7548 | return $self->soap_call('UpgradeVmfs', undef, 0, $x_args, \%args); | ||
| 7549 | } | ||
| 7550 | |||
| 7551 | sub UpgradeVsanObjects { | ||
| 7552 | my ($self, %args) = @_; | ||
| 7553 | my $x_args = [ | ||
| 7554 | ['_this', 'ManagedObjectReference'], | ||
| 7555 | ['uuids', undef], | ||
| 7556 | ['newVersion', undef], | ||
| 7557 | ]; | ||
| 7558 | return $self->soap_call('UpgradeVsanObjects', 'HostVsanInternalSystemVsanObjectOperationResult', 1, $x_args, \%args); | ||
| 7559 | } | ||
| 7560 | |||
| 7561 | sub UploadClientCert { | ||
| 7562 | my ($self, %args) = @_; | ||
| 7563 | my $x_args = [ | ||
| 7564 | ['_this', 'ManagedObjectReference'], | ||
| 7565 | ['cluster', 'KeyProviderId'], | ||
| 7566 | ['certificate', undef], | ||
| 7567 | ['privateKey', undef], | ||
| 7568 | ]; | ||
| 7569 | return $self->soap_call('UploadClientCert', undef, 0, $x_args, \%args); | ||
| 7570 | } | ||
| 7571 | |||
| 7572 | sub UploadKmipServerCert { | ||
| 7573 | my ($self, %args) = @_; | ||
| 7574 | my $x_args = [ | ||
| 7575 | ['_this', 'ManagedObjectReference'], | ||
| 7576 | ['cluster', 'KeyProviderId'], | ||
| 7577 | ['certificate', undef], | ||
| 7578 | ]; | ||
| 7579 | return $self->soap_call('UploadKmipServerCert', undef, 0, $x_args, \%args); | ||
| 7580 | } | ||
| 7581 | |||
| 7582 | sub ValidateCredentialsInGuest { | ||
| 7583 | my ($self, %args) = @_; | ||
| 7584 | my $x_args = [ | ||
| 7585 | ['_this', 'ManagedObjectReference'], | ||
| 7586 | ['vm', 'ManagedObjectReference'], | ||
| 7587 | ['auth', 'GuestAuthentication'], | ||
| 7588 | ]; | ||
| 7589 | return $self->soap_call('ValidateCredentialsInGuest', undef, 0, $x_args, \%args); | ||
| 7590 | } | ||
| 7591 | |||
| 7592 | sub ValidateHost { | ||
| 7593 | my ($self, %args) = @_; | ||
| 7594 | my $x_args = [ | ||
| 7595 | ['_this', 'ManagedObjectReference'], | ||
| 7596 | ['ovfDescriptor', undef], | ||
| 7597 | ['host', 'ManagedObjectReference'], | ||
| 7598 | ['vhp', 'OvfValidateHostParams'], | ||
| 7599 | ]; | ||
| 7600 | return $self->soap_call('ValidateHost', 'OvfValidateHostResult', 0, $x_args, \%args); | ||
| 7601 | } | ||
| 7602 | |||
| 7603 | sub ValidateMigration { | ||
| 7604 | my ($self, %args) = @_; | ||
| 7605 | my $x_args = [ | ||
| 7606 | ['_this', 'ManagedObjectReference'], | ||
| 7607 | ['vm', 'ManagedObjectReference'], | ||
| 7608 | ['state', 'VirtualMachinePowerState'], | ||
| 7609 | ['testType', undef], | ||
| 7610 | ['pool', 'ManagedObjectReference'], | ||
| 7611 | ['host', 'ManagedObjectReference'], | ||
| 7612 | ]; | ||
| 7613 | return $self->soap_call('ValidateMigration', 'Event', 1, $x_args, \%args); | ||
| 7614 | } | ||
| 7615 | |||
| 7616 | sub WaitForUpdates { | ||
| 7617 | my ($self, %args) = @_; | ||
| 7618 | my $x_args = [ | ||
| 7619 | ['_this', 'ManagedObjectReference'], | ||
| 7620 | ['version', undef], | ||
| 7621 | ]; | ||
| 7622 | return $self->soap_call('WaitForUpdates', 'UpdateSet', 0, $x_args, \%args); | ||
| 7623 | } | ||
| 7624 | |||
| 7625 | sub WaitForUpdatesEx { | ||
| 7626 | my ($self, %args) = @_; | ||
| 7627 | my $x_args = [ | ||
| 7628 | ['_this', 'ManagedObjectReference'], | ||
| 7629 | ['version', undef], | ||
| 7630 | ['options', 'WaitOptions'], | ||
| 7631 | ]; | ||
| 7632 | return $self->soap_call('WaitForUpdatesEx', 'UpdateSet', 0, $x_args, \%args); | ||
| 7633 | } | ||
| 7634 | |||
| 7635 | sub XmlToCustomizationSpecItem { | ||
| 7636 | my ($self, %args) = @_; | ||
| 7637 | my $x_args = [ | ||
| 7638 | ['_this', 'ManagedObjectReference'], | ||
| 7639 | ['specItemXml', undef], | ||
| 7640 | ]; | ||
| 7641 | return $self->soap_call('XmlToCustomizationSpecItem', 'CustomizationSpecItem', 0, $x_args, \%args); | ||
| 7642 | } | ||
| 7643 | |||
| 7644 | sub ZeroFillVirtualDisk_Task { | ||
| 7645 | my ($self, %args) = @_; | ||
| 7646 | my $x_args = [ | ||
| 7647 | ['_this', 'ManagedObjectReference'], | ||
| 7648 | ['name', undef], | ||
| 7649 | ['datacenter', 'ManagedObjectReference'], | ||
| 7650 | ]; | ||
| 7651 | return $self->soap_call('ZeroFillVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7652 | } | ||
| 7653 | |||
| 7654 | sub configureVcha_Task { | ||
| 7655 | my ($self, %args) = @_; | ||
| 7656 | my $x_args = [ | ||
| 7657 | ['_this', 'ManagedObjectReference'], | ||
| 7658 | ['configSpec', 'VchaClusterConfigSpec'], | ||
| 7659 | ]; | ||
| 7660 | return $self->soap_call('configureVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7661 | } | ||
| 7662 | |||
| 7663 | sub createPassiveNode_Task { | ||
| 7664 | my ($self, %args) = @_; | ||
| 7665 | my $x_args = [ | ||
| 7666 | ['_this', 'ManagedObjectReference'], | ||
| 7667 | ['passiveDeploymentSpec', 'PassiveNodeDeploymentSpec'], | ||
| 7668 | ['sourceVcSpec', 'SourceNodeSpec'], | ||
| 7669 | ]; | ||
| 7670 | return $self->soap_call('createPassiveNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7671 | } | ||
| 7672 | |||
| 7673 | sub createWitnessNode_Task { | ||
| 7674 | my ($self, %args) = @_; | ||
| 7675 | my $x_args = [ | ||
| 7676 | ['_this', 'ManagedObjectReference'], | ||
| 7677 | ['witnessDeploymentSpec', 'NodeDeploymentSpec'], | ||
| 7678 | ['sourceVcSpec', 'SourceNodeSpec'], | ||
| 7679 | ]; | ||
| 7680 | return $self->soap_call('createWitnessNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7681 | } | ||
| 7682 | |||
| 7683 | sub deployVcha_Task { | ||
| 7684 | my ($self, %args) = @_; | ||
| 7685 | my $x_args = [ | ||
| 7686 | ['_this', 'ManagedObjectReference'], | ||
| 7687 | ['deploymentSpec', 'VchaClusterDeploymentSpec'], | ||
| 7688 | ]; | ||
| 7689 | return $self->soap_call('deployVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7690 | } | ||
| 7691 | |||
| 7692 | sub destroyVcha_Task { | ||
| 7693 | my ($self, %args) = @_; | ||
| 7694 | my $x_args = [ | ||
| 7695 | ['_this', 'ManagedObjectReference'], | ||
| 7696 | ]; | ||
| 7697 | return $self->soap_call('destroyVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7698 | } | ||
| 7699 | |||
| 7700 | sub fetchSoftwarePackages { | ||
| 7701 | my ($self, %args) = @_; | ||
| 7702 | my $x_args = [ | ||
| 7703 | ['_this', 'ManagedObjectReference'], | ||
| 7704 | ]; | ||
| 7705 | return $self->soap_call('fetchSoftwarePackages', 'SoftwarePackage', 1, $x_args, \%args); | ||
| 7706 | } | ||
| 7707 | |||
| 7708 | sub getClusterMode { | ||
| 7709 | my ($self, %args) = @_; | ||
| 7710 | my $x_args = [ | ||
| 7711 | ['_this', 'ManagedObjectReference'], | ||
| 7712 | ]; | ||
| 7713 | return $self->soap_call('getClusterMode', undef, 0, $x_args, \%args); | ||
| 7714 | } | ||
| 7715 | |||
| 7716 | sub getVchaConfig { | ||
| 7717 | my ($self, %args) = @_; | ||
| 7718 | my $x_args = [ | ||
| 7719 | ['_this', 'ManagedObjectReference'], | ||
| 7720 | ]; | ||
| 7721 | return $self->soap_call('getVchaConfig', 'VchaClusterConfigInfo', 0, $x_args, \%args); | ||
| 7722 | } | ||
| 7723 | |||
| 7724 | sub initiateFailover_Task { | ||
| 7725 | my ($self, %args) = @_; | ||
| 7726 | my $x_args = [ | ||
| 7727 | ['_this', 'ManagedObjectReference'], | ||
| 7728 | ['planned', 'boolean'], | ||
| 7729 | ]; | ||
| 7730 | return $self->soap_call('initiateFailover_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7731 | } | ||
| 7732 | |||
| 7733 | sub installDate { | ||
| 7734 | my ($self, %args) = @_; | ||
| 7735 | my $x_args = [ | ||
| 7736 | ['_this', 'ManagedObjectReference'], | ||
| 7737 | ]; | ||
| 7738 | return $self->soap_call('installDate', undef, 0, $x_args, \%args); | ||
| 7739 | } | ||
| 7740 | |||
| 7741 | sub prepareVcha_Task { | ||
| 7742 | my ($self, %args) = @_; | ||
| 7743 | my $x_args = [ | ||
| 7744 | ['_this', 'ManagedObjectReference'], | ||
| 7745 | ['networkSpec', 'VchaClusterNetworkSpec'], | ||
| 7746 | ]; | ||
| 7747 | return $self->soap_call('prepareVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7748 | } | ||
| 7749 | |||
| 7750 | sub queryDatacenterConfigOptionDescriptor { | ||
| 7751 | my ($self, %args) = @_; | ||
| 7752 | my $x_args = [ | ||
| 7753 | ['_this', 'ManagedObjectReference'], | ||
| 7754 | ]; | ||
| 7755 | return $self->soap_call('queryDatacenterConfigOptionDescriptor', 'VirtualMachineConfigOptionDescriptor', 1, $x_args, \%args); | ||
| 7756 | } | ||
| 7757 | |||
| 7758 | sub reloadVirtualMachineFromPath_Task { | ||
| 7759 | my ($self, %args) = @_; | ||
| 7760 | my $x_args = [ | ||
| 7761 | ['_this', 'ManagedObjectReference'], | ||
| 7762 | ['configurationPath', undef], | ||
| 7763 | ]; | ||
| 7764 | return $self->soap_call('reloadVirtualMachineFromPath_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7765 | } | ||
| 7766 | |||
| 7767 | sub setClusterMode_Task { | ||
| 7768 | my ($self, %args) = @_; | ||
| 7769 | my $x_args = [ | ||
| 7770 | ['_this', 'ManagedObjectReference'], | ||
| 7771 | ['mode', undef], | ||
| 7772 | ]; | ||
| 7773 | return $self->soap_call('setClusterMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7774 | } | ||
| 7775 | |||
| 7776 | sub setCustomValue { | ||
| 7777 | my ($self, %args) = @_; | ||
| 7778 | my $x_args = [ | ||
| 7779 | ['_this', 'ManagedObjectReference'], | ||
| 7780 | ['key', undef], | ||
| 7781 | ['value', undef], | ||
| 7782 | ]; | ||
| 7783 | return $self->soap_call('setCustomValue', undef, 0, $x_args, \%args); | ||
| 7784 | } | ||
| 7785 | |||
| 7786 | sub unregisterVApp_Task { | ||
| 7787 | my ($self, %args) = @_; | ||
| 7788 | my $x_args = [ | ||
| 7789 | ['_this', 'ManagedObjectReference'], | ||
| 7790 | ]; | ||
| 7791 | return $self->soap_call('unregisterVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7792 | } | ||
| 7793 | |||
| 7794 | 1; |