| 1 | package VMOMI::SoapStub; | ||
| 2 | use parent 'VMOMI::SoapBase'; | ||
| 3 | |||
| 4 | sub AbdicateDomOwnership { | ||
| 5 | my ($self, %args) = @_; | ||
| 6 | my $x_args = [ | ||
| 7 | ['_this', 'ManagedObjectReference'], | ||
| 8 | ['uuids', undef], | ||
| 9 | ]; | ||
| 10 | return $self->soap_call('AbdicateDomOwnership', undef, 1, $x_args, \%args); | ||
| 11 | } | ||
| 12 | |||
| 13 | sub AcknowledgeAlarm { | ||
| 14 | my ($self, %args) = @_; | ||
| 15 | my $x_args = [ | ||
| 16 | ['_this', 'ManagedObjectReference'], | ||
| 17 | ['alarm', 'ManagedObjectReference'], | ||
| 18 | ['entity', 'ManagedObjectReference'], | ||
| 19 | ]; | ||
| 20 | return $self->soap_call('AcknowledgeAlarm', undef, 0, $x_args, \%args); | ||
| 21 | } | ||
| 22 | |||
| 23 | sub AcquireCimServicesTicket { | ||
| 24 | my ($self, %args) = @_; | ||
| 25 | my $x_args = [ | ||
| 26 | ['_this', 'ManagedObjectReference'], | ||
| 27 | ]; | ||
| 28 | return $self->soap_call('AcquireCimServicesTicket', 'HostServiceTicket', 0, $x_args, \%args); | ||
| 29 | } | ||
| 30 | |||
| 31 | sub AcquireCloneTicket { | ||
| 32 | my ($self, %args) = @_; | ||
| 33 | my $x_args = [ | ||
| 34 | ['_this', 'ManagedObjectReference'], | ||
| 35 | ]; | ||
| 36 | return $self->soap_call('AcquireCloneTicket', undef, 0, $x_args, \%args); | ||
| 37 | } | ||
| 38 | |||
| 39 | sub AcquireCredentialsInGuest { | ||
| 40 | my ($self, %args) = @_; | ||
| 41 | my $x_args = [ | ||
| 42 | ['_this', 'ManagedObjectReference'], | ||
| 43 | ['vm', 'ManagedObjectReference'], | ||
| 44 | ['requestedAuth', 'GuestAuthentication'], | ||
| 45 | ['sessionID', undef], | ||
| 46 | ]; | ||
| 47 | return $self->soap_call('AcquireCredentialsInGuest', 'GuestAuthentication', 0, $x_args, \%args); | ||
| 48 | } | ||
| 49 | |||
| 50 | sub AcquireGenericServiceTicket { | ||
| 51 | my ($self, %args) = @_; | ||
| 52 | my $x_args = [ | ||
| 53 | ['_this', 'ManagedObjectReference'], | ||
| 54 | ['spec', 'SessionManagerServiceRequestSpec'], | ||
| 55 | ]; | ||
| 56 | return $self->soap_call('AcquireGenericServiceTicket', 'SessionManagerGenericServiceTicket', 0, $x_args, \%args); | ||
| 57 | } | ||
| 58 | |||
| 59 | sub AcquireLocalTicket { | ||
| 60 | my ($self, %args) = @_; | ||
| 61 | my $x_args = [ | ||
| 62 | ['_this', 'ManagedObjectReference'], | ||
| 63 | ['userName', undef], | ||
| 64 | ]; | ||
| 65 | return $self->soap_call('AcquireLocalTicket', 'SessionManagerLocalTicket', 0, $x_args, \%args); | ||
| 66 | } | ||
| 67 | |||
| 68 | sub AcquireMksTicket { | ||
| 69 | my ($self, %args) = @_; | ||
| 70 | my $x_args = [ | ||
| 71 | ['_this', 'ManagedObjectReference'], | ||
| 72 | ]; | ||
| 73 | return $self->soap_call('AcquireMksTicket', 'VirtualMachineMksTicket', 0, $x_args, \%args); | ||
| 74 | } | ||
| 75 | |||
| 76 | sub AcquireTicket { | ||
| 77 | my ($self, %args) = @_; | ||
| 78 | my $x_args = [ | ||
| 79 | ['_this', 'ManagedObjectReference'], | ||
| 80 | ['ticketType', undef], | ||
| 81 | ]; | ||
| 82 | return $self->soap_call('AcquireTicket', 'VirtualMachineTicket', 0, $x_args, \%args); | ||
| 83 | } | ||
| 84 | |||
| 85 | sub AddAuthorizationRole { | ||
| 86 | my ($self, %args) = @_; | ||
| 87 | my $x_args = [ | ||
| 88 | ['_this', 'ManagedObjectReference'], | ||
| 89 | ['name', undef], | ||
| 90 | ['privIds', undef], | ||
| 91 | ]; | ||
| 92 | return $self->soap_call('AddAuthorizationRole', undef, 0, $x_args, \%args); | ||
| 93 | } | ||
| 94 | |||
| 95 | sub AddCustomFieldDef { | ||
| 96 | my ($self, %args) = @_; | ||
| 97 | my $x_args = [ | ||
| 98 | ['_this', 'ManagedObjectReference'], | ||
| 99 | ['name', undef], | ||
| 100 | ['moType', undef], | ||
| 101 | ['fieldDefPolicy', 'PrivilegePolicyDef'], | ||
| 102 | ['fieldPolicy', 'PrivilegePolicyDef'], | ||
| 103 | ]; | ||
| 104 | return $self->soap_call('AddCustomFieldDef', 'CustomFieldDef', 0, $x_args, \%args); | ||
| 105 | } | ||
| 106 | |||
| 107 | sub AddDVPortgroup_Task { | ||
| 108 | my ($self, %args) = @_; | ||
| 109 | my $x_args = [ | ||
| 110 | ['_this', 'ManagedObjectReference'], | ||
| 111 | ['spec', 'DVPortgroupConfigSpec'], | ||
| 112 | ]; | ||
| 113 | return $self->soap_call('AddDVPortgroup_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 114 | } | ||
| 115 | |||
| 116 | sub AddDisks_Task { | ||
| 117 | my ($self, %args) = @_; | ||
| 118 | my $x_args = [ | ||
| 119 | ['_this', 'ManagedObjectReference'], | ||
| 120 | ['disk', 'HostScsiDisk'], | ||
| 121 | ]; | ||
| 122 | return $self->soap_call('AddDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 123 | } | ||
| 124 | |||
| 125 | sub AddFilter { | ||
| 126 | my ($self, %args) = @_; | ||
| 127 | my $x_args = [ | ||
| 128 | ['_this', 'ManagedObjectReference'], | ||
| 129 | ['providerId', undef], | ||
| 130 | ['filterName', undef], | ||
| 131 | ['infoIds', undef], | ||
| 132 | ]; | ||
| 133 | return $self->soap_call('AddFilter', undef, 0, $x_args, \%args); | ||
| 134 | } | ||
| 135 | |||
| 136 | sub AddFilterEntities { | ||
| 137 | my ($self, %args) = @_; | ||
| 138 | my $x_args = [ | ||
| 139 | ['_this', 'ManagedObjectReference'], | ||
| 140 | ['filterId', undef], | ||
| 141 | ['entities', 'ManagedObjectReference'], | ||
| 142 | ]; | ||
| 143 | return $self->soap_call('AddFilterEntities', undef, 0, $x_args, \%args); | ||
| 144 | } | ||
| 145 | |||
| 146 | sub AddGuestAlias { | ||
| 147 | my ($self, %args) = @_; | ||
| 148 | my $x_args = [ | ||
| 149 | ['_this', 'ManagedObjectReference'], | ||
| 150 | ['vm', 'ManagedObjectReference'], | ||
| 151 | ['auth', 'GuestAuthentication'], | ||
| 152 | ['username', undef], | ||
| 153 | ['mapCert', 'boolean'], | ||
| 154 | ['base64Cert', undef], | ||
| 155 | ['aliasInfo', 'GuestAuthAliasInfo'], | ||
| 156 | ]; | ||
| 157 | return $self->soap_call('AddGuestAlias', undef, 0, $x_args, \%args); | ||
| 158 | } | ||
| 159 | |||
| 160 | sub AddHost_Task { | ||
| 161 | my ($self, %args) = @_; | ||
| 162 | my $x_args = [ | ||
| 163 | ['_this', 'ManagedObjectReference'], | ||
| 164 | ['spec', 'HostConnectSpec'], | ||
| 165 | ['asConnected', 'boolean'], | ||
| 166 | ['resourcePool', 'ManagedObjectReference'], | ||
| 167 | ['license', undef], | ||
| 168 | ]; | ||
| 169 | return $self->soap_call('AddHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 170 | } | ||
| 171 | |||
| 172 | sub AddInternetScsiSendTargets { | ||
| 173 | my ($self, %args) = @_; | ||
| 174 | my $x_args = [ | ||
| 175 | ['_this', 'ManagedObjectReference'], | ||
| 176 | ['iScsiHbaDevice', undef], | ||
| 177 | ['targets', 'HostInternetScsiHbaSendTarget'], | ||
| 178 | ]; | ||
| 179 | return $self->soap_call('AddInternetScsiSendTargets', undef, 0, $x_args, \%args); | ||
| 180 | } | ||
| 181 | |||
| 182 | sub AddInternetScsiStaticTargets { | ||
| 183 | my ($self, %args) = @_; | ||
| 184 | my $x_args = [ | ||
| 185 | ['_this', 'ManagedObjectReference'], | ||
| 186 | ['iScsiHbaDevice', undef], | ||
| 187 | ['targets', 'HostInternetScsiHbaStaticTarget'], | ||
| 188 | ]; | ||
| 189 | return $self->soap_call('AddInternetScsiStaticTargets', undef, 0, $x_args, \%args); | ||
| 190 | } | ||
| 191 | |||
| 192 | sub AddKey { | ||
| 193 | my ($self, %args) = @_; | ||
| 194 | my $x_args = [ | ||
| 195 | ['_this', 'ManagedObjectReference'], | ||
| 196 | ['key', 'CryptoKeyPlain'], | ||
| 197 | ]; | ||
| 198 | return $self->soap_call('AddKey', undef, 0, $x_args, \%args); | ||
| 199 | } | ||
| 200 | |||
| 201 | sub AddKeys { | ||
| 202 | my ($self, %args) = @_; | ||
| 203 | my $x_args = [ | ||
| 204 | ['_this', 'ManagedObjectReference'], | ||
| 205 | ['keys', 'CryptoKeyPlain'], | ||
| 206 | ]; | ||
| 207 | return $self->soap_call('AddKeys', 'CryptoKeyResult', 1, $x_args, \%args); | ||
| 208 | } | ||
| 209 | |||
| 210 | sub AddLicense { | ||
| 211 | my ($self, %args) = @_; | ||
| 212 | my $x_args = [ | ||
| 213 | ['_this', 'ManagedObjectReference'], | ||
| 214 | ['licenseKey', undef], | ||
| 215 | ['labels', 'KeyValue'], | ||
| 216 | ]; | ||
| 217 | return $self->soap_call('AddLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 218 | } | ||
| 219 | |||
| 220 | sub AddMonitoredEntities { | ||
| 221 | my ($self, %args) = @_; | ||
| 222 | my $x_args = [ | ||
| 223 | ['_this', 'ManagedObjectReference'], | ||
| 224 | ['providerId', undef], | ||
| 225 | ['entities', 'ManagedObjectReference'], | ||
| 226 | ]; | ||
| 227 | return $self->soap_call('AddMonitoredEntities', undef, 0, $x_args, \%args); | ||
| 228 | } | ||
| 229 | |||
| 230 | sub AddNetworkResourcePool { | ||
| 231 | my ($self, %args) = @_; | ||
| 232 | my $x_args = [ | ||
| 233 | ['_this', 'ManagedObjectReference'], | ||
| 234 | ['configSpec', 'DVSNetworkResourcePoolConfigSpec'], | ||
| 235 | ]; | ||
| 236 | return $self->soap_call('AddNetworkResourcePool', undef, 0, $x_args, \%args); | ||
| 237 | } | ||
| 238 | |||
| 239 | sub AddPortGroup { | ||
| 240 | my ($self, %args) = @_; | ||
| 241 | my $x_args = [ | ||
| 242 | ['_this', 'ManagedObjectReference'], | ||
| 243 | ['portgrp', 'HostPortGroupSpec'], | ||
| 244 | ]; | ||
| 245 | return $self->soap_call('AddPortGroup', undef, 0, $x_args, \%args); | ||
| 246 | } | ||
| 247 | |||
| 248 | sub AddServiceConsoleVirtualNic { | ||
| 249 | my ($self, %args) = @_; | ||
| 250 | my $x_args = [ | ||
| 251 | ['_this', 'ManagedObjectReference'], | ||
| 252 | ['portgroup', undef], | ||
| 253 | ['nic', 'HostVirtualNicSpec'], | ||
| 254 | ]; | ||
| 255 | return $self->soap_call('AddServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 256 | } | ||
| 257 | |||
| 258 | sub AddStandaloneHost_Task { | ||
| 259 | my ($self, %args) = @_; | ||
| 260 | my $x_args = [ | ||
| 261 | ['_this', 'ManagedObjectReference'], | ||
| 262 | ['spec', 'HostConnectSpec'], | ||
| 263 | ['compResSpec', 'ComputeResourceConfigSpec'], | ||
| 264 | ['addConnected', 'boolean'], | ||
| 265 | ['license', undef], | ||
| 266 | ]; | ||
| 267 | return $self->soap_call('AddStandaloneHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 268 | } | ||
| 269 | |||
| 270 | sub AddVirtualNic { | ||
| 271 | my ($self, %args) = @_; | ||
| 272 | my $x_args = [ | ||
| 273 | ['_this', 'ManagedObjectReference'], | ||
| 274 | ['portgroup', undef], | ||
| 275 | ['nic', 'HostVirtualNicSpec'], | ||
| 276 | ]; | ||
| 277 | return $self->soap_call('AddVirtualNic', undef, 0, $x_args, \%args); | ||
| 278 | } | ||
| 279 | |||
| 280 | sub AddVirtualSwitch { | ||
| 281 | my ($self, %args) = @_; | ||
| 282 | my $x_args = [ | ||
| 283 | ['_this', 'ManagedObjectReference'], | ||
| 284 | ['vswitchName', undef], | ||
| 285 | ['spec', 'HostVirtualSwitchSpec'], | ||
| 286 | ]; | ||
| 287 | return $self->soap_call('AddVirtualSwitch', undef, 0, $x_args, \%args); | ||
| 288 | } | ||
| 289 | |||
| 290 | sub AllocateIpv4Address { | ||
| 291 | my ($self, %args) = @_; | ||
| 292 | my $x_args = [ | ||
| 293 | ['_this', 'ManagedObjectReference'], | ||
| 294 | ['dc', 'ManagedObjectReference'], | ||
| 295 | ['poolId', undef], | ||
| 296 | ['allocationId', undef], | ||
| 297 | ]; | ||
| 298 | return $self->soap_call('AllocateIpv4Address', undef, 0, $x_args, \%args); | ||
| 299 | } | ||
| 300 | |||
| 301 | sub AllocateIpv6Address { | ||
| 302 | my ($self, %args) = @_; | ||
| 303 | my $x_args = [ | ||
| 304 | ['_this', 'ManagedObjectReference'], | ||
| 305 | ['dc', 'ManagedObjectReference'], | ||
| 306 | ['poolId', undef], | ||
| 307 | ['allocationId', undef], | ||
| 308 | ]; | ||
| 309 | return $self->soap_call('AllocateIpv6Address', undef, 0, $x_args, \%args); | ||
| 310 | } | ||
| 311 | |||
| 312 | sub AnswerVM { | ||
| 313 | my ($self, %args) = @_; | ||
| 314 | my $x_args = [ | ||
| 315 | ['_this', 'ManagedObjectReference'], | ||
| 316 | ['questionId', undef], | ||
| 317 | ['answerChoice', undef], | ||
| 318 | ]; | ||
| 319 | return $self->soap_call('AnswerVM', undef, 0, $x_args, \%args); | ||
| 320 | } | ||
| 321 | |||
| 322 | sub ApplyEntitiesConfig_Task { | ||
| 323 | my ($self, %args) = @_; | ||
| 324 | my $x_args = [ | ||
| 325 | ['_this', 'ManagedObjectReference'], | ||
| 326 | ['applyConfigSpecs', 'ApplyHostProfileConfigurationSpec'], | ||
| 327 | ]; | ||
| 328 | return $self->soap_call('ApplyEntitiesConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 329 | } | ||
| 330 | |||
| 331 | sub ApplyHostConfig_Task { | ||
| 332 | my ($self, %args) = @_; | ||
| 333 | my $x_args = [ | ||
| 334 | ['_this', 'ManagedObjectReference'], | ||
| 335 | ['host', 'ManagedObjectReference'], | ||
| 336 | ['configSpec', 'HostConfigSpec'], | ||
| 337 | ['userInput', 'ProfileDeferredPolicyOptionParameter'], | ||
| 338 | ]; | ||
| 339 | return $self->soap_call('ApplyHostConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 340 | } | ||
| 341 | |||
| 342 | sub ApplyRecommendation { | ||
| 343 | my ($self, %args) = @_; | ||
| 344 | my $x_args = [ | ||
| 345 | ['_this', 'ManagedObjectReference'], | ||
| 346 | ['key', undef], | ||
| 347 | ]; | ||
| 348 | return $self->soap_call('ApplyRecommendation', undef, 0, $x_args, \%args); | ||
| 349 | } | ||
| 350 | |||
| 351 | sub ApplyStorageDrsRecommendationToPod_Task { | ||
| 352 | my ($self, %args) = @_; | ||
| 353 | my $x_args = [ | ||
| 354 | ['_this', 'ManagedObjectReference'], | ||
| 355 | ['pod', 'ManagedObjectReference'], | ||
| 356 | ['key', undef], | ||
| 357 | ]; | ||
| 358 | return $self->soap_call('ApplyStorageDrsRecommendationToPod_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 359 | } | ||
| 360 | |||
| 361 | sub ApplyStorageDrsRecommendation_Task { | ||
| 362 | my ($self, %args) = @_; | ||
| 363 | my $x_args = [ | ||
| 364 | ['_this', 'ManagedObjectReference'], | ||
| 365 | ['key', undef], | ||
| 366 | ]; | ||
| 367 | return $self->soap_call('ApplyStorageDrsRecommendation_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 368 | } | ||
| 369 | |||
| 370 | sub AreAlarmActionsEnabled { | ||
| 371 | my ($self, %args) = @_; | ||
| 372 | my $x_args = [ | ||
| 373 | ['_this', 'ManagedObjectReference'], | ||
| 374 | ['entity', 'ManagedObjectReference'], | ||
| 375 | ]; | ||
| 376 | return $self->soap_call('AreAlarmActionsEnabled', 'boolean', 0, $x_args, \%args); | ||
| 377 | } | ||
| 378 | |||
| 379 | sub AssignUserToGroup { | ||
| 380 | my ($self, %args) = @_; | ||
| 381 | my $x_args = [ | ||
| 382 | ['_this', 'ManagedObjectReference'], | ||
| 383 | ['user', undef], | ||
| 384 | ['group', undef], | ||
| 385 | ]; | ||
| 386 | return $self->soap_call('AssignUserToGroup', undef, 0, $x_args, \%args); | ||
| 387 | } | ||
| 388 | |||
| 389 | sub AssociateProfile { | ||
| 390 | my ($self, %args) = @_; | ||
| 391 | my $x_args = [ | ||
| 392 | ['_this', 'ManagedObjectReference'], | ||
| 393 | ['entity', 'ManagedObjectReference'], | ||
| 394 | ]; | ||
| 395 | return $self->soap_call('AssociateProfile', undef, 0, $x_args, \%args); | ||
| 396 | } | ||
| 397 | |||
| 398 | sub AttachDisk_Task { | ||
| 399 | my ($self, %args) = @_; | ||
| 400 | my $x_args = [ | ||
| 401 | ['_this', 'ManagedObjectReference'], | ||
| 402 | ['diskId', 'ID'], | ||
| 403 | ['datastore', 'ManagedObjectReference'], | ||
| 404 | ['controllerKey', undef], | ||
| 405 | ['unitNumber', undef], | ||
| 406 | ]; | ||
| 407 | return $self->soap_call('AttachDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 408 | } | ||
| 409 | |||
| 410 | sub AttachScsiLun { | ||
| 411 | my ($self, %args) = @_; | ||
| 412 | my $x_args = [ | ||
| 413 | ['_this', 'ManagedObjectReference'], | ||
| 414 | ['lunUuid', undef], | ||
| 415 | ]; | ||
| 416 | return $self->soap_call('AttachScsiLun', undef, 0, $x_args, \%args); | ||
| 417 | } | ||
| 418 | |||
| 419 | sub AttachScsiLunEx_Task { | ||
| 420 | my ($self, %args) = @_; | ||
| 421 | my $x_args = [ | ||
| 422 | ['_this', 'ManagedObjectReference'], | ||
| 423 | ['lunUuid', undef], | ||
| 424 | ]; | ||
| 425 | return $self->soap_call('AttachScsiLunEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 426 | } | ||
| 427 | |||
| 428 | sub AttachTagToVStorageObject { | ||
| 429 | my ($self, %args) = @_; | ||
| 430 | my $x_args = [ | ||
| 431 | ['_this', 'ManagedObjectReference'], | ||
| 432 | ['id', 'ID'], | ||
| 433 | ['category', undef], | ||
| 434 | ['tag', undef], | ||
| 435 | ]; | ||
| 436 | return $self->soap_call('AttachTagToVStorageObject', undef, 0, $x_args, \%args); | ||
| 437 | } | ||
| 438 | |||
| 439 | sub AttachVmfsExtent { | ||
| 440 | my ($self, %args) = @_; | ||
| 441 | my $x_args = [ | ||
| 442 | ['_this', 'ManagedObjectReference'], | ||
| 443 | ['vmfsPath', undef], | ||
| 444 | ['extent', 'HostScsiDiskPartition'], | ||
| 445 | ]; | ||
| 446 | return $self->soap_call('AttachVmfsExtent', undef, 0, $x_args, \%args); | ||
| 447 | } | ||
| 448 | |||
| 449 | sub AutoStartPowerOff { | ||
| 450 | my ($self, %args) = @_; | ||
| 451 | my $x_args = [ | ||
| 452 | ['_this', 'ManagedObjectReference'], | ||
| 453 | ]; | ||
| 454 | return $self->soap_call('AutoStartPowerOff', undef, 0, $x_args, \%args); | ||
| 455 | } | ||
| 456 | |||
| 457 | sub AutoStartPowerOn { | ||
| 458 | my ($self, %args) = @_; | ||
| 459 | my $x_args = [ | ||
| 460 | ['_this', 'ManagedObjectReference'], | ||
| 461 | ]; | ||
| 462 | return $self->soap_call('AutoStartPowerOn', undef, 0, $x_args, \%args); | ||
| 463 | } | ||
| 464 | |||
| 465 | sub BackupFirmwareConfiguration { | ||
| 466 | my ($self, %args) = @_; | ||
| 467 | my $x_args = [ | ||
| 468 | ['_this', 'ManagedObjectReference'], | ||
| 469 | ]; | ||
| 470 | return $self->soap_call('BackupFirmwareConfiguration', undef, 0, $x_args, \%args); | ||
| 471 | } | ||
| 472 | |||
| 473 | sub BindVnic { | ||
| 474 | my ($self, %args) = @_; | ||
| 475 | my $x_args = [ | ||
| 476 | ['_this', 'ManagedObjectReference'], | ||
| 477 | ['iScsiHbaName', undef], | ||
| 478 | ['vnicDevice', undef], | ||
| 479 | ]; | ||
| 480 | return $self->soap_call('BindVnic', undef, 0, $x_args, \%args); | ||
| 481 | } | ||
| 482 | |||
| 483 | sub BrowseDiagnosticLog { | ||
| 484 | my ($self, %args) = @_; | ||
| 485 | my $x_args = [ | ||
| 486 | ['_this', 'ManagedObjectReference'], | ||
| 487 | ['host', 'ManagedObjectReference'], | ||
| 488 | ['key', undef], | ||
| 489 | ['start', undef], | ||
| 490 | ['lines', undef], | ||
| 491 | ]; | ||
| 492 | return $self->soap_call('BrowseDiagnosticLog', 'DiagnosticManagerLogHeader', 0, $x_args, \%args); | ||
| 493 | } | ||
| 494 | |||
| 495 | sub CanProvisionObjects { | ||
| 496 | my ($self, %args) = @_; | ||
| 497 | my $x_args = [ | ||
| 498 | ['_this', 'ManagedObjectReference'], | ||
| 499 | ['npbs', 'VsanNewPolicyBatch'], | ||
| 500 | ['ignoreSatisfiability', 'boolean'], | ||
| 501 | ]; | ||
| 502 | return $self->soap_call('CanProvisionObjects', 'VsanPolicySatisfiability', 1, $x_args, \%args); | ||
| 503 | } | ||
| 504 | |||
| 505 | sub CancelRecommendation { | ||
| 506 | my ($self, %args) = @_; | ||
| 507 | my $x_args = [ | ||
| 508 | ['_this', 'ManagedObjectReference'], | ||
| 509 | ['key', undef], | ||
| 510 | ]; | ||
| 511 | return $self->soap_call('CancelRecommendation', undef, 0, $x_args, \%args); | ||
| 512 | } | ||
| 513 | |||
| 514 | sub CancelRetrievePropertiesEx { | ||
| 515 | my ($self, %args) = @_; | ||
| 516 | my $x_args = [ | ||
| 517 | ['_this', 'ManagedObjectReference'], | ||
| 518 | ['token', undef], | ||
| 519 | ]; | ||
| 520 | return $self->soap_call('CancelRetrievePropertiesEx', undef, 0, $x_args, \%args); | ||
| 521 | } | ||
| 522 | |||
| 523 | sub CancelStorageDrsRecommendation { | ||
| 524 | my ($self, %args) = @_; | ||
| 525 | my $x_args = [ | ||
| 526 | ['_this', 'ManagedObjectReference'], | ||
| 527 | ['key', undef], | ||
| 528 | ]; | ||
| 529 | return $self->soap_call('CancelStorageDrsRecommendation', undef, 0, $x_args, \%args); | ||
| 530 | } | ||
| 531 | |||
| 532 | sub CancelTask { | ||
| 533 | my ($self, %args) = @_; | ||
| 534 | my $x_args = [ | ||
| 535 | ['_this', 'ManagedObjectReference'], | ||
| 536 | ]; | ||
| 537 | return $self->soap_call('CancelTask', undef, 0, $x_args, \%args); | ||
| 538 | } | ||
| 539 | |||
| 540 | sub CancelWaitForUpdates { | ||
| 541 | my ($self, %args) = @_; | ||
| 542 | my $x_args = [ | ||
| 543 | ['_this', 'ManagedObjectReference'], | ||
| 544 | ]; | ||
| 545 | return $self->soap_call('CancelWaitForUpdates', undef, 0, $x_args, \%args); | ||
| 546 | } | ||
| 547 | |||
| 548 | sub CertMgrRefreshCACertificatesAndCRLs_Task { | ||
| 549 | my ($self, %args) = @_; | ||
| 550 | my $x_args = [ | ||
| 551 | ['_this', 'ManagedObjectReference'], | ||
| 552 | ['host', 'ManagedObjectReference'], | ||
| 553 | ]; | ||
| 554 | return $self->soap_call('CertMgrRefreshCACertificatesAndCRLs_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 555 | } | ||
| 556 | |||
| 557 | sub CertMgrRefreshCertificates_Task { | ||
| 558 | my ($self, %args) = @_; | ||
| 559 | my $x_args = [ | ||
| 560 | ['_this', 'ManagedObjectReference'], | ||
| 561 | ['host', 'ManagedObjectReference'], | ||
| 562 | ]; | ||
| 563 | return $self->soap_call('CertMgrRefreshCertificates_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 564 | } | ||
| 565 | |||
| 566 | sub CertMgrRevokeCertificates_Task { | ||
| 567 | my ($self, %args) = @_; | ||
| 568 | my $x_args = [ | ||
| 569 | ['_this', 'ManagedObjectReference'], | ||
| 570 | ['host', 'ManagedObjectReference'], | ||
| 571 | ]; | ||
| 572 | return $self->soap_call('CertMgrRevokeCertificates_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 573 | } | ||
| 574 | |||
| 575 | sub ChangeAccessMode { | ||
| 576 | my ($self, %args) = @_; | ||
| 577 | my $x_args = [ | ||
| 578 | ['_this', 'ManagedObjectReference'], | ||
| 579 | ['principal', undef], | ||
| 580 | ['isGroup', 'boolean'], | ||
| 581 | ['accessMode', 'HostAccessMode'], | ||
| 582 | ]; | ||
| 583 | return $self->soap_call('ChangeAccessMode', undef, 0, $x_args, \%args); | ||
| 584 | } | ||
| 585 | |||
| 586 | sub ChangeFileAttributesInGuest { | ||
| 587 | my ($self, %args) = @_; | ||
| 588 | my $x_args = [ | ||
| 589 | ['_this', 'ManagedObjectReference'], | ||
| 590 | ['vm', 'ManagedObjectReference'], | ||
| 591 | ['auth', 'GuestAuthentication'], | ||
| 592 | ['guestFilePath', undef], | ||
| 593 | ['fileAttributes', 'GuestFileAttributes'], | ||
| 594 | ]; | ||
| 595 | return $self->soap_call('ChangeFileAttributesInGuest', undef, 0, $x_args, \%args); | ||
| 596 | } | ||
| 597 | |||
| 598 | sub ChangeLockdownMode { | ||
| 599 | my ($self, %args) = @_; | ||
| 600 | my $x_args = [ | ||
| 601 | ['_this', 'ManagedObjectReference'], | ||
| 602 | ['mode', 'HostLockdownMode'], | ||
| 603 | ]; | ||
| 604 | return $self->soap_call('ChangeLockdownMode', undef, 0, $x_args, \%args); | ||
| 605 | } | ||
| 606 | |||
| 607 | sub ChangeNFSUserPassword { | ||
| 608 | my ($self, %args) = @_; | ||
| 609 | my $x_args = [ | ||
| 610 | ['_this', 'ManagedObjectReference'], | ||
| 611 | ['password', undef], | ||
| 612 | ]; | ||
| 613 | return $self->soap_call('ChangeNFSUserPassword', undef, 0, $x_args, \%args); | ||
| 614 | } | ||
| 615 | |||
| 616 | sub ChangeOwner { | ||
| 617 | my ($self, %args) = @_; | ||
| 618 | my $x_args = [ | ||
| 619 | ['_this', 'ManagedObjectReference'], | ||
| 620 | ['name', undef], | ||
| 621 | ['datacenter', 'ManagedObjectReference'], | ||
| 622 | ['owner', undef], | ||
| 623 | ]; | ||
| 624 | return $self->soap_call('ChangeOwner', undef, 0, $x_args, \%args); | ||
| 625 | } | ||
| 626 | |||
| 627 | sub CheckAddHostEvc_Task { | ||
| 628 | my ($self, %args) = @_; | ||
| 629 | my $x_args = [ | ||
| 630 | ['_this', 'ManagedObjectReference'], | ||
| 631 | ['cnxSpec', 'HostConnectSpec'], | ||
| 632 | ]; | ||
| 633 | return $self->soap_call('CheckAddHostEvc_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 634 | } | ||
| 635 | |||
| 636 | sub CheckAnswerFileStatus_Task { | ||
| 637 | my ($self, %args) = @_; | ||
| 638 | my $x_args = [ | ||
| 639 | ['_this', 'ManagedObjectReference'], | ||
| 640 | ['host', 'ManagedObjectReference'], | ||
| 641 | ]; | ||
| 642 | return $self->soap_call('CheckAnswerFileStatus_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 643 | } | ||
| 644 | |||
| 645 | sub CheckCompatibility_Task { | ||
| 646 | my ($self, %args) = @_; | ||
| 647 | my $x_args = [ | ||
| 648 | ['_this', 'ManagedObjectReference'], | ||
| 649 | ['vm', 'ManagedObjectReference'], | ||
| 650 | ['host', 'ManagedObjectReference'], | ||
| 651 | ['pool', 'ManagedObjectReference'], | ||
| 652 | ['testType', undef], | ||
| 653 | ]; | ||
| 654 | return $self->soap_call('CheckCompatibility_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 655 | } | ||
| 656 | |||
| 657 | sub CheckCompliance_Task { | ||
| 658 | my ($self, %args) = @_; | ||
| 659 | my $x_args = [ | ||
| 660 | ['_this', 'ManagedObjectReference'], | ||
| 661 | ['profile', 'ManagedObjectReference'], | ||
| 662 | ['entity', 'ManagedObjectReference'], | ||
| 663 | ]; | ||
| 664 | return $self->soap_call('CheckCompliance_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 665 | } | ||
| 666 | |||
| 667 | sub CheckConfigureEvcMode_Task { | ||
| 668 | my ($self, %args) = @_; | ||
| 669 | my $x_args = [ | ||
| 670 | ['_this', 'ManagedObjectReference'], | ||
| 671 | ['evcModeKey', undef], | ||
| 672 | ]; | ||
| 673 | return $self->soap_call('CheckConfigureEvcMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 674 | } | ||
| 675 | |||
| 676 | sub CheckCustomizationResources { | ||
| 677 | my ($self, %args) = @_; | ||
| 678 | my $x_args = [ | ||
| 679 | ['_this', 'ManagedObjectReference'], | ||
| 680 | ['guestOs', undef], | ||
| 681 | ]; | ||
| 682 | return $self->soap_call('CheckCustomizationResources', undef, 0, $x_args, \%args); | ||
| 683 | } | ||
| 684 | |||
| 685 | sub CheckCustomizationSpec { | ||
| 686 | my ($self, %args) = @_; | ||
| 687 | my $x_args = [ | ||
| 688 | ['_this', 'ManagedObjectReference'], | ||
| 689 | ['spec', 'CustomizationSpec'], | ||
| 690 | ]; | ||
| 691 | return $self->soap_call('CheckCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 692 | } | ||
| 693 | |||
| 694 | sub CheckForUpdates { | ||
| 695 | my ($self, %args) = @_; | ||
| 696 | my $x_args = [ | ||
| 697 | ['_this', 'ManagedObjectReference'], | ||
| 698 | ['version', undef], | ||
| 699 | ]; | ||
| 700 | return $self->soap_call('CheckForUpdates', 'UpdateSet', 0, $x_args, \%args); | ||
| 701 | } | ||
| 702 | |||
| 703 | sub CheckHostPatch_Task { | ||
| 704 | my ($self, %args) = @_; | ||
| 705 | my $x_args = [ | ||
| 706 | ['_this', 'ManagedObjectReference'], | ||
| 707 | ['metaUrls', undef], | ||
| 708 | ['bundleUrls', undef], | ||
| 709 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 710 | ]; | ||
| 711 | return $self->soap_call('CheckHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 712 | } | ||
| 713 | |||
| 714 | sub CheckLicenseFeature { | ||
| 715 | my ($self, %args) = @_; | ||
| 716 | my $x_args = [ | ||
| 717 | ['_this', 'ManagedObjectReference'], | ||
| 718 | ['host', 'ManagedObjectReference'], | ||
| 719 | ['featureKey', undef], | ||
| 720 | ]; | ||
| 721 | return $self->soap_call('CheckLicenseFeature', 'boolean', 0, $x_args, \%args); | ||
| 722 | } | ||
| 723 | |||
| 724 | sub CheckMigrate_Task { | ||
| 725 | my ($self, %args) = @_; | ||
| 726 | my $x_args = [ | ||
| 727 | ['_this', 'ManagedObjectReference'], | ||
| 728 | ['vm', 'ManagedObjectReference'], | ||
| 729 | ['host', 'ManagedObjectReference'], | ||
| 730 | ['pool', 'ManagedObjectReference'], | ||
| 731 | ['state', 'VirtualMachinePowerState'], | ||
| 732 | ['testType', undef], | ||
| 733 | ]; | ||
| 734 | return $self->soap_call('CheckMigrate_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 735 | } | ||
| 736 | |||
| 737 | sub CheckProfileCompliance_Task { | ||
| 738 | my ($self, %args) = @_; | ||
| 739 | my $x_args = [ | ||
| 740 | ['_this', 'ManagedObjectReference'], | ||
| 741 | ['entity', 'ManagedObjectReference'], | ||
| 742 | ]; | ||
| 743 | return $self->soap_call('CheckProfileCompliance_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 744 | } | ||
| 745 | |||
| 746 | sub CheckRelocate_Task { | ||
| 747 | my ($self, %args) = @_; | ||
| 748 | my $x_args = [ | ||
| 749 | ['_this', 'ManagedObjectReference'], | ||
| 750 | ['vm', 'ManagedObjectReference'], | ||
| 751 | ['spec', 'VirtualMachineRelocateSpec'], | ||
| 752 | ['testType', undef], | ||
| 753 | ]; | ||
| 754 | return $self->soap_call('CheckRelocate_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 755 | } | ||
| 756 | |||
| 757 | sub ClearComplianceStatus { | ||
| 758 | my ($self, %args) = @_; | ||
| 759 | my $x_args = [ | ||
| 760 | ['_this', 'ManagedObjectReference'], | ||
| 761 | ['profile', 'ManagedObjectReference'], | ||
| 762 | ['entity', 'ManagedObjectReference'], | ||
| 763 | ]; | ||
| 764 | return $self->soap_call('ClearComplianceStatus', undef, 0, $x_args, \%args); | ||
| 765 | } | ||
| 766 | |||
| 767 | sub ClearNFSUser { | ||
| 768 | my ($self, %args) = @_; | ||
| 769 | my $x_args = [ | ||
| 770 | ['_this', 'ManagedObjectReference'], | ||
| 771 | ]; | ||
| 772 | return $self->soap_call('ClearNFSUser', undef, 0, $x_args, \%args); | ||
| 773 | } | ||
| 774 | |||
| 775 | sub ClearSystemEventLog { | ||
| 776 | my ($self, %args) = @_; | ||
| 777 | my $x_args = [ | ||
| 778 | ['_this', 'ManagedObjectReference'], | ||
| 779 | ]; | ||
| 780 | return $self->soap_call('ClearSystemEventLog', undef, 0, $x_args, \%args); | ||
| 781 | } | ||
| 782 | |||
| 783 | sub CloneSession { | ||
| 784 | my ($self, %args) = @_; | ||
| 785 | my $x_args = [ | ||
| 786 | ['_this', 'ManagedObjectReference'], | ||
| 787 | ['cloneTicket', undef], | ||
| 788 | ]; | ||
| 789 | return $self->soap_call('CloneSession', 'UserSession', 0, $x_args, \%args); | ||
| 790 | } | ||
| 791 | |||
| 792 | sub CloneVApp_Task { | ||
| 793 | my ($self, %args) = @_; | ||
| 794 | my $x_args = [ | ||
| 795 | ['_this', 'ManagedObjectReference'], | ||
| 796 | ['name', undef], | ||
| 797 | ['target', 'ManagedObjectReference'], | ||
| 798 | ['spec', 'VAppCloneSpec'], | ||
| 799 | ]; | ||
| 800 | return $self->soap_call('CloneVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 801 | } | ||
| 802 | |||
| 803 | sub CloneVM_Task { | ||
| 804 | my ($self, %args) = @_; | ||
| 805 | my $x_args = [ | ||
| 806 | ['_this', 'ManagedObjectReference'], | ||
| 807 | ['folder', 'ManagedObjectReference'], | ||
| 808 | ['name', undef], | ||
| 809 | ['spec', 'VirtualMachineCloneSpec'], | ||
| 810 | ]; | ||
| 811 | return $self->soap_call('CloneVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 812 | } | ||
| 813 | |||
| 814 | sub CloneVStorageObject_Task { | ||
| 815 | my ($self, %args) = @_; | ||
| 816 | my $x_args = [ | ||
| 817 | ['_this', 'ManagedObjectReference'], | ||
| 818 | ['id', 'ID'], | ||
| 819 | ['datastore', 'ManagedObjectReference'], | ||
| 820 | ['spec', 'VslmCloneSpec'], | ||
| 821 | ]; | ||
| 822 | return $self->soap_call('CloneVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 823 | } | ||
| 824 | |||
| 825 | sub CloseInventoryViewFolder { | ||
| 826 | my ($self, %args) = @_; | ||
| 827 | my $x_args = [ | ||
| 828 | ['_this', 'ManagedObjectReference'], | ||
| 829 | ['entity', 'ManagedObjectReference'], | ||
| 830 | ]; | ||
| 831 | return $self->soap_call('CloseInventoryViewFolder', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 832 | } | ||
| 833 | |||
| 834 | sub ClusterEnterMaintenanceMode { | ||
| 835 | my ($self, %args) = @_; | ||
| 836 | my $x_args = [ | ||
| 837 | ['_this', 'ManagedObjectReference'], | ||
| 838 | ['host', 'ManagedObjectReference'], | ||
| 839 | ['option', 'OptionValue'], | ||
| 840 | ]; | ||
| 841 | return $self->soap_call('ClusterEnterMaintenanceMode', 'ClusterEnterMaintenanceResult', 0, $x_args, \%args); | ||
| 842 | } | ||
| 843 | |||
| 844 | sub ComputeDiskPartitionInfo { | ||
| 845 | my ($self, %args) = @_; | ||
| 846 | my $x_args = [ | ||
| 847 | ['_this', 'ManagedObjectReference'], | ||
| 848 | ['devicePath', undef], | ||
| 849 | ['layout', 'HostDiskPartitionLayout'], | ||
| 850 | ['partitionFormat', undef], | ||
| 851 | ]; | ||
| 852 | return $self->soap_call('ComputeDiskPartitionInfo', 'HostDiskPartitionInfo', 0, $x_args, \%args); | ||
| 853 | } | ||
| 854 | |||
| 855 | sub ComputeDiskPartitionInfoForResize { | ||
| 856 | my ($self, %args) = @_; | ||
| 857 | my $x_args = [ | ||
| 858 | ['_this', 'ManagedObjectReference'], | ||
| 859 | ['partition', 'HostScsiDiskPartition'], | ||
| 860 | ['blockRange', 'HostDiskPartitionBlockRange'], | ||
| 861 | ['partitionFormat', undef], | ||
| 862 | ]; | ||
| 863 | return $self->soap_call('ComputeDiskPartitionInfoForResize', 'HostDiskPartitionInfo', 0, $x_args, \%args); | ||
| 864 | } | ||
| 865 | |||
| 866 | sub ConfigureCryptoKey { | ||
| 867 | my ($self, %args) = @_; | ||
| 868 | my $x_args = [ | ||
| 869 | ['_this', 'ManagedObjectReference'], | ||
| 870 | ['keyId', 'CryptoKeyId'], | ||
| 871 | ]; | ||
| 872 | return $self->soap_call('ConfigureCryptoKey', undef, 0, $x_args, \%args); | ||
| 873 | } | ||
| 874 | |||
| 875 | sub ConfigureDatastoreIORM_Task { | ||
| 876 | my ($self, %args) = @_; | ||
| 877 | my $x_args = [ | ||
| 878 | ['_this', 'ManagedObjectReference'], | ||
| 879 | ['datastore', 'ManagedObjectReference'], | ||
| 880 | ['spec', 'StorageIORMConfigSpec'], | ||
| 881 | ]; | ||
| 882 | return $self->soap_call('ConfigureDatastoreIORM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 883 | } | ||
| 884 | |||
| 885 | sub ConfigureDatastorePrincipal { | ||
| 886 | my ($self, %args) = @_; | ||
| 887 | my $x_args = [ | ||
| 888 | ['_this', 'ManagedObjectReference'], | ||
| 889 | ['userName', undef], | ||
| 890 | ['password', undef], | ||
| 891 | ]; | ||
| 892 | return $self->soap_call('ConfigureDatastorePrincipal', undef, 0, $x_args, \%args); | ||
| 893 | } | ||
| 894 | |||
| 895 | sub ConfigureEvcMode_Task { | ||
| 896 | my ($self, %args) = @_; | ||
| 897 | my $x_args = [ | ||
| 898 | ['_this', 'ManagedObjectReference'], | ||
| 899 | ['evcModeKey', undef], | ||
| 900 | ]; | ||
| 901 | return $self->soap_call('ConfigureEvcMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 902 | } | ||
| 903 | |||
| 904 | sub ConfigureHostCache_Task { | ||
| 905 | my ($self, %args) = @_; | ||
| 906 | my $x_args = [ | ||
| 907 | ['_this', 'ManagedObjectReference'], | ||
| 908 | ['spec', 'HostCacheConfigurationSpec'], | ||
| 909 | ]; | ||
| 910 | return $self->soap_call('ConfigureHostCache_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 911 | } | ||
| 912 | |||
| 913 | sub ConfigureLicenseSource { | ||
| 914 | my ($self, %args) = @_; | ||
| 915 | my $x_args = [ | ||
| 916 | ['_this', 'ManagedObjectReference'], | ||
| 917 | ['host', 'ManagedObjectReference'], | ||
| 918 | ['licenseSource', 'LicenseSource'], | ||
| 919 | ]; | ||
| 920 | return $self->soap_call('ConfigureLicenseSource', undef, 0, $x_args, \%args); | ||
| 921 | } | ||
| 922 | |||
| 923 | sub ConfigurePowerPolicy { | ||
| 924 | my ($self, %args) = @_; | ||
| 925 | my $x_args = [ | ||
| 926 | ['_this', 'ManagedObjectReference'], | ||
| 927 | ['key', undef], | ||
| 928 | ]; | ||
| 929 | return $self->soap_call('ConfigurePowerPolicy', undef, 0, $x_args, \%args); | ||
| 930 | } | ||
| 931 | |||
| 932 | sub ConfigureStorageDrsForPod_Task { | ||
| 933 | my ($self, %args) = @_; | ||
| 934 | my $x_args = [ | ||
| 935 | ['_this', 'ManagedObjectReference'], | ||
| 936 | ['pod', 'ManagedObjectReference'], | ||
| 937 | ['spec', 'StorageDrsConfigSpec'], | ||
| 938 | ['modify', 'boolean'], | ||
| 939 | ]; | ||
| 940 | return $self->soap_call('ConfigureStorageDrsForPod_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 941 | } | ||
| 942 | |||
| 943 | sub ConfigureVFlashResourceEx_Task { | ||
| 944 | my ($self, %args) = @_; | ||
| 945 | my $x_args = [ | ||
| 946 | ['_this', 'ManagedObjectReference'], | ||
| 947 | ['devicePath', undef], | ||
| 948 | ]; | ||
| 949 | return $self->soap_call('ConfigureVFlashResourceEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 950 | } | ||
| 951 | |||
| 952 | sub ConsolidateVMDisks_Task { | ||
| 953 | my ($self, %args) = @_; | ||
| 954 | my $x_args = [ | ||
| 955 | ['_this', 'ManagedObjectReference'], | ||
| 956 | ]; | ||
| 957 | return $self->soap_call('ConsolidateVMDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 958 | } | ||
| 959 | |||
| 960 | sub ContinueRetrievePropertiesEx { | ||
| 961 | my ($self, %args) = @_; | ||
| 962 | my $x_args = [ | ||
| 963 | ['_this', 'ManagedObjectReference'], | ||
| 964 | ['token', undef], | ||
| 965 | ]; | ||
| 966 | return $self->soap_call('ContinueRetrievePropertiesEx', 'RetrieveResult', 0, $x_args, \%args); | ||
| 967 | } | ||
| 968 | |||
| 969 | sub ConvertNamespacePathToUuidPath { | ||
| 970 | my ($self, %args) = @_; | ||
| 971 | my $x_args = [ | ||
| 972 | ['_this', 'ManagedObjectReference'], | ||
| 973 | ['datacenter', 'ManagedObjectReference'], | ||
| 974 | ['namespaceUrl', undef], | ||
| 975 | ]; | ||
| 976 | return $self->soap_call('ConvertNamespacePathToUuidPath', undef, 0, $x_args, \%args); | ||
| 977 | } | ||
| 978 | |||
| 979 | sub CopyDatastoreFile_Task { | ||
| 980 | my ($self, %args) = @_; | ||
| 981 | my $x_args = [ | ||
| 982 | ['_this', 'ManagedObjectReference'], | ||
| 983 | ['sourceName', undef], | ||
| 984 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 985 | ['destinationName', undef], | ||
| 986 | ['destinationDatacenter', 'ManagedObjectReference'], | ||
| 987 | ['force', 'boolean'], | ||
| 988 | ]; | ||
| 989 | return $self->soap_call('CopyDatastoreFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 990 | } | ||
| 991 | |||
| 992 | sub CopyVirtualDisk_Task { | ||
| 993 | my ($self, %args) = @_; | ||
| 994 | my $x_args = [ | ||
| 995 | ['_this', 'ManagedObjectReference'], | ||
| 996 | ['sourceName', undef], | ||
| 997 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 998 | ['destName', undef], | ||
| 999 | ['destDatacenter', 'ManagedObjectReference'], | ||
| 1000 | ['destSpec', 'VirtualDiskSpec'], | ||
| 1001 | ['force', 'boolean'], | ||
| 1002 | ]; | ||
| 1003 | return $self->soap_call('CopyVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1004 | } | ||
| 1005 | |||
| 1006 | sub CreateAlarm { | ||
| 1007 | my ($self, %args) = @_; | ||
| 1008 | my $x_args = [ | ||
| 1009 | ['_this', 'ManagedObjectReference'], | ||
| 1010 | ['entity', 'ManagedObjectReference'], | ||
| 1011 | ['spec', 'AlarmSpec'], | ||
| 1012 | ]; | ||
| 1013 | return $self->soap_call('CreateAlarm', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1014 | } | ||
| 1015 | |||
| 1016 | sub CreateChildVM_Task { | ||
| 1017 | my ($self, %args) = @_; | ||
| 1018 | my $x_args = [ | ||
| 1019 | ['_this', 'ManagedObjectReference'], | ||
| 1020 | ['config', 'VirtualMachineConfigSpec'], | ||
| 1021 | ['host', 'ManagedObjectReference'], | ||
| 1022 | ]; | ||
| 1023 | return $self->soap_call('CreateChildVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1024 | } | ||
| 1025 | |||
| 1026 | sub CreateCluster { | ||
| 1027 | my ($self, %args) = @_; | ||
| 1028 | my $x_args = [ | ||
| 1029 | ['_this', 'ManagedObjectReference'], | ||
| 1030 | ['name', undef], | ||
| 1031 | ['spec', 'ClusterConfigSpec'], | ||
| 1032 | ]; | ||
| 1033 | return $self->soap_call('CreateCluster', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1034 | } | ||
| 1035 | |||
| 1036 | sub CreateClusterEx { | ||
| 1037 | my ($self, %args) = @_; | ||
| 1038 | my $x_args = [ | ||
| 1039 | ['_this', 'ManagedObjectReference'], | ||
| 1040 | ['name', undef], | ||
| 1041 | ['spec', 'ClusterConfigSpecEx'], | ||
| 1042 | ]; | ||
| 1043 | return $self->soap_call('CreateClusterEx', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1044 | } | ||
| 1045 | |||
| 1046 | sub CreateCollectorForEvents { | ||
| 1047 | my ($self, %args) = @_; | ||
| 1048 | my $x_args = [ | ||
| 1049 | ['_this', 'ManagedObjectReference'], | ||
| 1050 | ['filter', 'EventFilterSpec'], | ||
| 1051 | ]; | ||
| 1052 | return $self->soap_call('CreateCollectorForEvents', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1053 | } | ||
| 1054 | |||
| 1055 | sub CreateCollectorForTasks { | ||
| 1056 | my ($self, %args) = @_; | ||
| 1057 | my $x_args = [ | ||
| 1058 | ['_this', 'ManagedObjectReference'], | ||
| 1059 | ['filter', 'TaskFilterSpec'], | ||
| 1060 | ]; | ||
| 1061 | return $self->soap_call('CreateCollectorForTasks', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1062 | } | ||
| 1063 | |||
| 1064 | sub CreateContainerView { | ||
| 1065 | my ($self, %args) = @_; | ||
| 1066 | my $x_args = [ | ||
| 1067 | ['_this', 'ManagedObjectReference'], | ||
| 1068 | ['container', 'ManagedObjectReference'], | ||
| 1069 | ['type', undef], | ||
| 1070 | ['recursive', 'boolean'], | ||
| 1071 | ]; | ||
| 1072 | return $self->soap_call('CreateContainerView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1073 | } | ||
| 1074 | |||
| 1075 | sub CreateCustomizationSpec { | ||
| 1076 | my ($self, %args) = @_; | ||
| 1077 | my $x_args = [ | ||
| 1078 | ['_this', 'ManagedObjectReference'], | ||
| 1079 | ['item', 'CustomizationSpecItem'], | ||
| 1080 | ]; | ||
| 1081 | return $self->soap_call('CreateCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 1082 | } | ||
| 1083 | |||
| 1084 | sub CreateDVPortgroup_Task { | ||
| 1085 | my ($self, %args) = @_; | ||
| 1086 | my $x_args = [ | ||
| 1087 | ['_this', 'ManagedObjectReference'], | ||
| 1088 | ['spec', 'DVPortgroupConfigSpec'], | ||
| 1089 | ]; | ||
| 1090 | return $self->soap_call('CreateDVPortgroup_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1091 | } | ||
| 1092 | |||
| 1093 | sub CreateDVS_Task { | ||
| 1094 | my ($self, %args) = @_; | ||
| 1095 | my $x_args = [ | ||
| 1096 | ['_this', 'ManagedObjectReference'], | ||
| 1097 | ['spec', 'DVSCreateSpec'], | ||
| 1098 | ]; | ||
| 1099 | return $self->soap_call('CreateDVS_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1100 | } | ||
| 1101 | |||
| 1102 | sub CreateDatacenter { | ||
| 1103 | my ($self, %args) = @_; | ||
| 1104 | my $x_args = [ | ||
| 1105 | ['_this', 'ManagedObjectReference'], | ||
| 1106 | ['name', undef], | ||
| 1107 | ]; | ||
| 1108 | return $self->soap_call('CreateDatacenter', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1109 | } | ||
| 1110 | |||
| 1111 | sub CreateDefaultProfile { | ||
| 1112 | my ($self, %args) = @_; | ||
| 1113 | my $x_args = [ | ||
| 1114 | ['_this', 'ManagedObjectReference'], | ||
| 1115 | ['profileType', undef], | ||
| 1116 | ['profileTypeName', undef], | ||
| 1117 | ['profile', 'ManagedObjectReference'], | ||
| 1118 | ]; | ||
| 1119 | return $self->soap_call('CreateDefaultProfile', 'ApplyProfile', 0, $x_args, \%args); | ||
| 1120 | } | ||
| 1121 | |||
| 1122 | sub CreateDescriptor { | ||
| 1123 | my ($self, %args) = @_; | ||
| 1124 | my $x_args = [ | ||
| 1125 | ['_this', 'ManagedObjectReference'], | ||
| 1126 | ['obj', 'ManagedObjectReference'], | ||
| 1127 | ['cdp', 'OvfCreateDescriptorParams'], | ||
| 1128 | ]; | ||
| 1129 | return $self->soap_call('CreateDescriptor', 'OvfCreateDescriptorResult', 0, $x_args, \%args); | ||
| 1130 | } | ||
| 1131 | |||
| 1132 | sub CreateDiagnosticPartition { | ||
| 1133 | my ($self, %args) = @_; | ||
| 1134 | my $x_args = [ | ||
| 1135 | ['_this', 'ManagedObjectReference'], | ||
| 1136 | ['spec', 'HostDiagnosticPartitionCreateSpec'], | ||
| 1137 | ]; | ||
| 1138 | return $self->soap_call('CreateDiagnosticPartition', undef, 0, $x_args, \%args); | ||
| 1139 | } | ||
| 1140 | |||
| 1141 | sub CreateDirectory { | ||
| 1142 | my ($self, %args) = @_; | ||
| 1143 | my $x_args = [ | ||
| 1144 | ['_this', 'ManagedObjectReference'], | ||
| 1145 | ['datastore', 'ManagedObjectReference'], | ||
| 1146 | ['displayName', undef], | ||
| 1147 | ['policy', undef], | ||
| 1148 | ]; | ||
| 1149 | return $self->soap_call('CreateDirectory', undef, 0, $x_args, \%args); | ||
| 1150 | } | ||
| 1151 | |||
| 1152 | sub CreateDisk_Task { | ||
| 1153 | my ($self, %args) = @_; | ||
| 1154 | my $x_args = [ | ||
| 1155 | ['_this', 'ManagedObjectReference'], | ||
| 1156 | ['spec', 'VslmCreateSpec'], | ||
| 1157 | ]; | ||
| 1158 | return $self->soap_call('CreateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1159 | } | ||
| 1160 | |||
| 1161 | sub CreateFilter { | ||
| 1162 | my ($self, %args) = @_; | ||
| 1163 | my $x_args = [ | ||
| 1164 | ['_this', 'ManagedObjectReference'], | ||
| 1165 | ['spec', 'PropertyFilterSpec'], | ||
| 1166 | ['partialUpdates', 'boolean'], | ||
| 1167 | ]; | ||
| 1168 | return $self->soap_call('CreateFilter', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1169 | } | ||
| 1170 | |||
| 1171 | sub CreateFolder { | ||
| 1172 | my ($self, %args) = @_; | ||
| 1173 | my $x_args = [ | ||
| 1174 | ['_this', 'ManagedObjectReference'], | ||
| 1175 | ['name', undef], | ||
| 1176 | ]; | ||
| 1177 | return $self->soap_call('CreateFolder', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1178 | } | ||
| 1179 | |||
| 1180 | sub CreateGroup { | ||
| 1181 | my ($self, %args) = @_; | ||
| 1182 | my $x_args = [ | ||
| 1183 | ['_this', 'ManagedObjectReference'], | ||
| 1184 | ['group', 'HostAccountSpec'], | ||
| 1185 | ]; | ||
| 1186 | return $self->soap_call('CreateGroup', undef, 0, $x_args, \%args); | ||
| 1187 | } | ||
| 1188 | |||
| 1189 | sub CreateImportSpec { | ||
| 1190 | my ($self, %args) = @_; | ||
| 1191 | my $x_args = [ | ||
| 1192 | ['_this', 'ManagedObjectReference'], | ||
| 1193 | ['ovfDescriptor', undef], | ||
| 1194 | ['resourcePool', 'ManagedObjectReference'], | ||
| 1195 | ['datastore', 'ManagedObjectReference'], | ||
| 1196 | ['cisp', 'OvfCreateImportSpecParams'], | ||
| 1197 | ]; | ||
| 1198 | return $self->soap_call('CreateImportSpec', 'OvfCreateImportSpecResult', 0, $x_args, \%args); | ||
| 1199 | } | ||
| 1200 | |||
| 1201 | sub CreateInventoryView { | ||
| 1202 | my ($self, %args) = @_; | ||
| 1203 | my $x_args = [ | ||
| 1204 | ['_this', 'ManagedObjectReference'], | ||
| 1205 | ]; | ||
| 1206 | return $self->soap_call('CreateInventoryView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1207 | } | ||
| 1208 | |||
| 1209 | sub CreateIpPool { | ||
| 1210 | my ($self, %args) = @_; | ||
| 1211 | my $x_args = [ | ||
| 1212 | ['_this', 'ManagedObjectReference'], | ||
| 1213 | ['dc', 'ManagedObjectReference'], | ||
| 1214 | ['pool', 'IpPool'], | ||
| 1215 | ]; | ||
| 1216 | return $self->soap_call('CreateIpPool', undef, 0, $x_args, \%args); | ||
| 1217 | } | ||
| 1218 | |||
| 1219 | sub CreateListView { | ||
| 1220 | my ($self, %args) = @_; | ||
| 1221 | my $x_args = [ | ||
| 1222 | ['_this', 'ManagedObjectReference'], | ||
| 1223 | ['obj', 'ManagedObjectReference'], | ||
| 1224 | ]; | ||
| 1225 | return $self->soap_call('CreateListView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1226 | } | ||
| 1227 | |||
| 1228 | sub CreateListViewFromView { | ||
| 1229 | my ($self, %args) = @_; | ||
| 1230 | my $x_args = [ | ||
| 1231 | ['_this', 'ManagedObjectReference'], | ||
| 1232 | ['view', 'ManagedObjectReference'], | ||
| 1233 | ]; | ||
| 1234 | return $self->soap_call('CreateListViewFromView', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1235 | } | ||
| 1236 | |||
| 1237 | sub CreateLocalDatastore { | ||
| 1238 | my ($self, %args) = @_; | ||
| 1239 | my $x_args = [ | ||
| 1240 | ['_this', 'ManagedObjectReference'], | ||
| 1241 | ['name', undef], | ||
| 1242 | ['path', undef], | ||
| 1243 | ]; | ||
| 1244 | return $self->soap_call('CreateLocalDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1245 | } | ||
| 1246 | |||
| 1247 | sub CreateNasDatastore { | ||
| 1248 | my ($self, %args) = @_; | ||
| 1249 | my $x_args = [ | ||
| 1250 | ['_this', 'ManagedObjectReference'], | ||
| 1251 | ['spec', 'HostNasVolumeSpec'], | ||
| 1252 | ]; | ||
| 1253 | return $self->soap_call('CreateNasDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1254 | } | ||
| 1255 | |||
| 1256 | sub CreateObjectScheduledTask { | ||
| 1257 | my ($self, %args) = @_; | ||
| 1258 | my $x_args = [ | ||
| 1259 | ['_this', 'ManagedObjectReference'], | ||
| 1260 | ['obj', 'ManagedObjectReference'], | ||
| 1261 | ['spec', 'ScheduledTaskSpec'], | ||
| 1262 | ]; | ||
| 1263 | return $self->soap_call('CreateObjectScheduledTask', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1264 | } | ||
| 1265 | |||
| 1266 | sub CreatePerfInterval { | ||
| 1267 | my ($self, %args) = @_; | ||
| 1268 | my $x_args = [ | ||
| 1269 | ['_this', 'ManagedObjectReference'], | ||
| 1270 | ['intervalId', 'PerfInterval'], | ||
| 1271 | ]; | ||
| 1272 | return $self->soap_call('CreatePerfInterval', undef, 0, $x_args, \%args); | ||
| 1273 | } | ||
| 1274 | |||
| 1275 | sub CreateProfile { | ||
| 1276 | my ($self, %args) = @_; | ||
| 1277 | my $x_args = [ | ||
| 1278 | ['_this', 'ManagedObjectReference'], | ||
| 1279 | ['createSpec', 'ProfileCreateSpec'], | ||
| 1280 | ]; | ||
| 1281 | return $self->soap_call('CreateProfile', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1282 | } | ||
| 1283 | |||
| 1284 | sub CreatePropertyCollector { | ||
| 1285 | my ($self, %args) = @_; | ||
| 1286 | my $x_args = [ | ||
| 1287 | ['_this', 'ManagedObjectReference'], | ||
| 1288 | ]; | ||
| 1289 | return $self->soap_call('CreatePropertyCollector', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1290 | } | ||
| 1291 | |||
| 1292 | sub CreateRegistryKeyInGuest { | ||
| 1293 | my ($self, %args) = @_; | ||
| 1294 | my $x_args = [ | ||
| 1295 | ['_this', 'ManagedObjectReference'], | ||
| 1296 | ['vm', 'ManagedObjectReference'], | ||
| 1297 | ['auth', 'GuestAuthentication'], | ||
| 1298 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 1299 | ['isVolatile', 'boolean'], | ||
| 1300 | ['classType', undef], | ||
| 1301 | ]; | ||
| 1302 | return $self->soap_call('CreateRegistryKeyInGuest', undef, 0, $x_args, \%args); | ||
| 1303 | } | ||
| 1304 | |||
| 1305 | sub CreateResourcePool { | ||
| 1306 | my ($self, %args) = @_; | ||
| 1307 | my $x_args = [ | ||
| 1308 | ['_this', 'ManagedObjectReference'], | ||
| 1309 | ['name', undef], | ||
| 1310 | ['spec', 'ResourceConfigSpec'], | ||
| 1311 | ]; | ||
| 1312 | return $self->soap_call('CreateResourcePool', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1313 | } | ||
| 1314 | |||
| 1315 | sub CreateScheduledTask { | ||
| 1316 | my ($self, %args) = @_; | ||
| 1317 | my $x_args = [ | ||
| 1318 | ['_this', 'ManagedObjectReference'], | ||
| 1319 | ['entity', 'ManagedObjectReference'], | ||
| 1320 | ['spec', 'ScheduledTaskSpec'], | ||
| 1321 | ]; | ||
| 1322 | return $self->soap_call('CreateScheduledTask', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1323 | } | ||
| 1324 | |||
| 1325 | sub CreateScreenshot_Task { | ||
| 1326 | my ($self, %args) = @_; | ||
| 1327 | my $x_args = [ | ||
| 1328 | ['_this', 'ManagedObjectReference'], | ||
| 1329 | ]; | ||
| 1330 | return $self->soap_call('CreateScreenshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1331 | } | ||
| 1332 | |||
| 1333 | sub CreateSecondaryVMEx_Task { | ||
| 1334 | my ($self, %args) = @_; | ||
| 1335 | my $x_args = [ | ||
| 1336 | ['_this', 'ManagedObjectReference'], | ||
| 1337 | ['host', 'ManagedObjectReference'], | ||
| 1338 | ['spec', 'FaultToleranceConfigSpec'], | ||
| 1339 | ]; | ||
| 1340 | return $self->soap_call('CreateSecondaryVMEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1341 | } | ||
| 1342 | |||
| 1343 | sub CreateSecondaryVM_Task { | ||
| 1344 | my ($self, %args) = @_; | ||
| 1345 | my $x_args = [ | ||
| 1346 | ['_this', 'ManagedObjectReference'], | ||
| 1347 | ['host', 'ManagedObjectReference'], | ||
| 1348 | ]; | ||
| 1349 | return $self->soap_call('CreateSecondaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1350 | } | ||
| 1351 | |||
| 1352 | sub CreateSnapshotEx_Task { | ||
| 1353 | my ($self, %args) = @_; | ||
| 1354 | my $x_args = [ | ||
| 1355 | ['_this', 'ManagedObjectReference'], | ||
| 1356 | ['name', undef], | ||
| 1357 | ['description', undef], | ||
| 1358 | ['memory', 'boolean'], | ||
| 1359 | ['quiesceSpec', 'VirtualMachineGuestQuiesceSpec'], | ||
| 1360 | ]; | ||
| 1361 | return $self->soap_call('CreateSnapshotEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1362 | } | ||
| 1363 | |||
| 1364 | sub CreateSnapshot_Task { | ||
| 1365 | my ($self, %args) = @_; | ||
| 1366 | my $x_args = [ | ||
| 1367 | ['_this', 'ManagedObjectReference'], | ||
| 1368 | ['name', undef], | ||
| 1369 | ['description', undef], | ||
| 1370 | ['memory', 'boolean'], | ||
| 1371 | ['quiesce', 'boolean'], | ||
| 1372 | ]; | ||
| 1373 | return $self->soap_call('CreateSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1374 | } | ||
| 1375 | |||
| 1376 | sub CreateStoragePod { | ||
| 1377 | my ($self, %args) = @_; | ||
| 1378 | my $x_args = [ | ||
| 1379 | ['_this', 'ManagedObjectReference'], | ||
| 1380 | ['name', undef], | ||
| 1381 | ]; | ||
| 1382 | return $self->soap_call('CreateStoragePod', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1383 | } | ||
| 1384 | |||
| 1385 | sub CreateTask { | ||
| 1386 | my ($self, %args) = @_; | ||
| 1387 | my $x_args = [ | ||
| 1388 | ['_this', 'ManagedObjectReference'], | ||
| 1389 | ['obj', 'ManagedObjectReference'], | ||
| 1390 | ['taskTypeId', undef], | ||
| 1391 | ['initiatedBy', undef], | ||
| 1392 | ['cancelable', 'boolean'], | ||
| 1393 | ['parentTaskKey', undef], | ||
| 1394 | ['activationId', undef], | ||
| 1395 | ]; | ||
| 1396 | return $self->soap_call('CreateTask', 'TaskInfo', 0, $x_args, \%args); | ||
| 1397 | } | ||
| 1398 | |||
| 1399 | sub CreateTemporaryDirectoryInGuest { | ||
| 1400 | my ($self, %args) = @_; | ||
| 1401 | my $x_args = [ | ||
| 1402 | ['_this', 'ManagedObjectReference'], | ||
| 1403 | ['vm', 'ManagedObjectReference'], | ||
| 1404 | ['auth', 'GuestAuthentication'], | ||
| 1405 | ['prefix', undef], | ||
| 1406 | ['suffix', undef], | ||
| 1407 | ['directoryPath', undef], | ||
| 1408 | ]; | ||
| 1409 | return $self->soap_call('CreateTemporaryDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 1410 | } | ||
| 1411 | |||
| 1412 | sub CreateTemporaryFileInGuest { | ||
| 1413 | my ($self, %args) = @_; | ||
| 1414 | my $x_args = [ | ||
| 1415 | ['_this', 'ManagedObjectReference'], | ||
| 1416 | ['vm', 'ManagedObjectReference'], | ||
| 1417 | ['auth', 'GuestAuthentication'], | ||
| 1418 | ['prefix', undef], | ||
| 1419 | ['suffix', undef], | ||
| 1420 | ['directoryPath', undef], | ||
| 1421 | ]; | ||
| 1422 | return $self->soap_call('CreateTemporaryFileInGuest', undef, 0, $x_args, \%args); | ||
| 1423 | } | ||
| 1424 | |||
| 1425 | sub CreateUser { | ||
| 1426 | my ($self, %args) = @_; | ||
| 1427 | my $x_args = [ | ||
| 1428 | ['_this', 'ManagedObjectReference'], | ||
| 1429 | ['user', 'HostAccountSpec'], | ||
| 1430 | ]; | ||
| 1431 | return $self->soap_call('CreateUser', undef, 0, $x_args, \%args); | ||
| 1432 | } | ||
| 1433 | |||
| 1434 | sub CreateVApp { | ||
| 1435 | my ($self, %args) = @_; | ||
| 1436 | my $x_args = [ | ||
| 1437 | ['_this', 'ManagedObjectReference'], | ||
| 1438 | ['name', undef], | ||
| 1439 | ['resSpec', 'ResourceConfigSpec'], | ||
| 1440 | ['configSpec', 'VAppConfigSpec'], | ||
| 1441 | ['vmFolder', 'ManagedObjectReference'], | ||
| 1442 | ]; | ||
| 1443 | return $self->soap_call('CreateVApp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1444 | } | ||
| 1445 | |||
| 1446 | sub CreateVM_Task { | ||
| 1447 | my ($self, %args) = @_; | ||
| 1448 | my $x_args = [ | ||
| 1449 | ['_this', 'ManagedObjectReference'], | ||
| 1450 | ['config', 'VirtualMachineConfigSpec'], | ||
| 1451 | ['pool', 'ManagedObjectReference'], | ||
| 1452 | ['host', 'ManagedObjectReference'], | ||
| 1453 | ]; | ||
| 1454 | return $self->soap_call('CreateVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1455 | } | ||
| 1456 | |||
| 1457 | sub CreateVirtualDisk_Task { | ||
| 1458 | my ($self, %args) = @_; | ||
| 1459 | my $x_args = [ | ||
| 1460 | ['_this', 'ManagedObjectReference'], | ||
| 1461 | ['name', undef], | ||
| 1462 | ['datacenter', 'ManagedObjectReference'], | ||
| 1463 | ['spec', 'VirtualDiskSpec'], | ||
| 1464 | ]; | ||
| 1465 | return $self->soap_call('CreateVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1466 | } | ||
| 1467 | |||
| 1468 | sub CreateVmfsDatastore { | ||
| 1469 | my ($self, %args) = @_; | ||
| 1470 | my $x_args = [ | ||
| 1471 | ['_this', 'ManagedObjectReference'], | ||
| 1472 | ['spec', 'VmfsDatastoreCreateSpec'], | ||
| 1473 | ]; | ||
| 1474 | return $self->soap_call('CreateVmfsDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1475 | } | ||
| 1476 | |||
| 1477 | sub CreateVvolDatastore { | ||
| 1478 | my ($self, %args) = @_; | ||
| 1479 | my $x_args = [ | ||
| 1480 | ['_this', 'ManagedObjectReference'], | ||
| 1481 | ['spec', 'HostDatastoreSystemVvolDatastoreSpec'], | ||
| 1482 | ]; | ||
| 1483 | return $self->soap_call('CreateVvolDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1484 | } | ||
| 1485 | |||
| 1486 | sub CurrentTime { | ||
| 1487 | my ($self, %args) = @_; | ||
| 1488 | my $x_args = [ | ||
| 1489 | ['_this', 'ManagedObjectReference'], | ||
| 1490 | ]; | ||
| 1491 | return $self->soap_call('CurrentTime', undef, 0, $x_args, \%args); | ||
| 1492 | } | ||
| 1493 | |||
| 1494 | sub CustomizationSpecItemToXml { | ||
| 1495 | my ($self, %args) = @_; | ||
| 1496 | my $x_args = [ | ||
| 1497 | ['_this', 'ManagedObjectReference'], | ||
| 1498 | ['item', 'CustomizationSpecItem'], | ||
| 1499 | ]; | ||
| 1500 | return $self->soap_call('CustomizationSpecItemToXml', undef, 0, $x_args, \%args); | ||
| 1501 | } | ||
| 1502 | |||
| 1503 | sub CustomizeVM_Task { | ||
| 1504 | my ($self, %args) = @_; | ||
| 1505 | my $x_args = [ | ||
| 1506 | ['_this', 'ManagedObjectReference'], | ||
| 1507 | ['spec', 'CustomizationSpec'], | ||
| 1508 | ]; | ||
| 1509 | return $self->soap_call('CustomizeVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1510 | } | ||
| 1511 | |||
| 1512 | sub DVPortgroupRollback_Task { | ||
| 1513 | my ($self, %args) = @_; | ||
| 1514 | my $x_args = [ | ||
| 1515 | ['_this', 'ManagedObjectReference'], | ||
| 1516 | ['entityBackup', 'EntityBackupConfig'], | ||
| 1517 | ]; | ||
| 1518 | return $self->soap_call('DVPortgroupRollback_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1519 | } | ||
| 1520 | |||
| 1521 | sub DVSManagerExportEntity_Task { | ||
| 1522 | my ($self, %args) = @_; | ||
| 1523 | my $x_args = [ | ||
| 1524 | ['_this', 'ManagedObjectReference'], | ||
| 1525 | ['selectionSet', 'SelectionSet'], | ||
| 1526 | ]; | ||
| 1527 | return $self->soap_call('DVSManagerExportEntity_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1528 | } | ||
| 1529 | |||
| 1530 | sub DVSManagerImportEntity_Task { | ||
| 1531 | my ($self, %args) = @_; | ||
| 1532 | my $x_args = [ | ||
| 1533 | ['_this', 'ManagedObjectReference'], | ||
| 1534 | ['entityBackup', 'EntityBackupConfig'], | ||
| 1535 | ['importType', undef], | ||
| 1536 | ]; | ||
| 1537 | return $self->soap_call('DVSManagerImportEntity_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1538 | } | ||
| 1539 | |||
| 1540 | sub DVSManagerLookupDvPortGroup { | ||
| 1541 | my ($self, %args) = @_; | ||
| 1542 | my $x_args = [ | ||
| 1543 | ['_this', 'ManagedObjectReference'], | ||
| 1544 | ['switchUuid', undef], | ||
| 1545 | ['portgroupKey', undef], | ||
| 1546 | ]; | ||
| 1547 | return $self->soap_call('DVSManagerLookupDvPortGroup', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1548 | } | ||
| 1549 | |||
| 1550 | sub DVSRollback_Task { | ||
| 1551 | my ($self, %args) = @_; | ||
| 1552 | my $x_args = [ | ||
| 1553 | ['_this', 'ManagedObjectReference'], | ||
| 1554 | ['entityBackup', 'EntityBackupConfig'], | ||
| 1555 | ]; | ||
| 1556 | return $self->soap_call('DVSRollback_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1557 | } | ||
| 1558 | |||
| 1559 | sub DatastoreEnterMaintenanceMode { | ||
| 1560 | my ($self, %args) = @_; | ||
| 1561 | my $x_args = [ | ||
| 1562 | ['_this', 'ManagedObjectReference'], | ||
| 1563 | ]; | ||
| 1564 | return $self->soap_call('DatastoreEnterMaintenanceMode', 'StoragePlacementResult', 0, $x_args, \%args); | ||
| 1565 | } | ||
| 1566 | |||
| 1567 | sub DatastoreExitMaintenanceMode_Task { | ||
| 1568 | my ($self, %args) = @_; | ||
| 1569 | my $x_args = [ | ||
| 1570 | ['_this', 'ManagedObjectReference'], | ||
| 1571 | ]; | ||
| 1572 | return $self->soap_call('DatastoreExitMaintenanceMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1573 | } | ||
| 1574 | |||
| 1575 | sub DecodeLicense { | ||
| 1576 | my ($self, %args) = @_; | ||
| 1577 | my $x_args = [ | ||
| 1578 | ['_this', 'ManagedObjectReference'], | ||
| 1579 | ['licenseKey', undef], | ||
| 1580 | ]; | ||
| 1581 | return $self->soap_call('DecodeLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 1582 | } | ||
| 1583 | |||
| 1584 | sub DefragmentAllDisks { | ||
| 1585 | my ($self, %args) = @_; | ||
| 1586 | my $x_args = [ | ||
| 1587 | ['_this', 'ManagedObjectReference'], | ||
| 1588 | ]; | ||
| 1589 | return $self->soap_call('DefragmentAllDisks', undef, 0, $x_args, \%args); | ||
| 1590 | } | ||
| 1591 | |||
| 1592 | sub DefragmentVirtualDisk_Task { | ||
| 1593 | my ($self, %args) = @_; | ||
| 1594 | my $x_args = [ | ||
| 1595 | ['_this', 'ManagedObjectReference'], | ||
| 1596 | ['name', undef], | ||
| 1597 | ['datacenter', 'ManagedObjectReference'], | ||
| 1598 | ]; | ||
| 1599 | return $self->soap_call('DefragmentVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1600 | } | ||
| 1601 | |||
| 1602 | sub DeleteCustomizationSpec { | ||
| 1603 | my ($self, %args) = @_; | ||
| 1604 | my $x_args = [ | ||
| 1605 | ['_this', 'ManagedObjectReference'], | ||
| 1606 | ['name', undef], | ||
| 1607 | ]; | ||
| 1608 | return $self->soap_call('DeleteCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 1609 | } | ||
| 1610 | |||
| 1611 | sub DeleteDatastoreFile_Task { | ||
| 1612 | my ($self, %args) = @_; | ||
| 1613 | my $x_args = [ | ||
| 1614 | ['_this', 'ManagedObjectReference'], | ||
| 1615 | ['name', undef], | ||
| 1616 | ['datacenter', 'ManagedObjectReference'], | ||
| 1617 | ]; | ||
| 1618 | return $self->soap_call('DeleteDatastoreFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1619 | } | ||
| 1620 | |||
| 1621 | sub DeleteDirectory { | ||
| 1622 | my ($self, %args) = @_; | ||
| 1623 | my $x_args = [ | ||
| 1624 | ['_this', 'ManagedObjectReference'], | ||
| 1625 | ['datacenter', 'ManagedObjectReference'], | ||
| 1626 | ['datastorePath', undef], | ||
| 1627 | ]; | ||
| 1628 | return $self->soap_call('DeleteDirectory', undef, 0, $x_args, \%args); | ||
| 1629 | } | ||
| 1630 | |||
| 1631 | sub DeleteDirectoryInGuest { | ||
| 1632 | my ($self, %args) = @_; | ||
| 1633 | my $x_args = [ | ||
| 1634 | ['_this', 'ManagedObjectReference'], | ||
| 1635 | ['vm', 'ManagedObjectReference'], | ||
| 1636 | ['auth', 'GuestAuthentication'], | ||
| 1637 | ['directoryPath', undef], | ||
| 1638 | ['recursive', 'boolean'], | ||
| 1639 | ]; | ||
| 1640 | return $self->soap_call('DeleteDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 1641 | } | ||
| 1642 | |||
| 1643 | sub DeleteFile { | ||
| 1644 | my ($self, %args) = @_; | ||
| 1645 | my $x_args = [ | ||
| 1646 | ['_this', 'ManagedObjectReference'], | ||
| 1647 | ['datastorePath', undef], | ||
| 1648 | ]; | ||
| 1649 | return $self->soap_call('DeleteFile', undef, 0, $x_args, \%args); | ||
| 1650 | } | ||
| 1651 | |||
| 1652 | sub DeleteFileInGuest { | ||
| 1653 | my ($self, %args) = @_; | ||
| 1654 | my $x_args = [ | ||
| 1655 | ['_this', 'ManagedObjectReference'], | ||
| 1656 | ['vm', 'ManagedObjectReference'], | ||
| 1657 | ['auth', 'GuestAuthentication'], | ||
| 1658 | ['filePath', undef], | ||
| 1659 | ]; | ||
| 1660 | return $self->soap_call('DeleteFileInGuest', undef, 0, $x_args, \%args); | ||
| 1661 | } | ||
| 1662 | |||
| 1663 | sub DeleteHostSpecification { | ||
| 1664 | my ($self, %args) = @_; | ||
| 1665 | my $x_args = [ | ||
| 1666 | ['_this', 'ManagedObjectReference'], | ||
| 1667 | ['host', 'ManagedObjectReference'], | ||
| 1668 | ]; | ||
| 1669 | return $self->soap_call('DeleteHostSpecification', undef, 0, $x_args, \%args); | ||
| 1670 | } | ||
| 1671 | |||
| 1672 | sub DeleteHostSubSpecification { | ||
| 1673 | my ($self, %args) = @_; | ||
| 1674 | my $x_args = [ | ||
| 1675 | ['_this', 'ManagedObjectReference'], | ||
| 1676 | ['host', 'ManagedObjectReference'], | ||
| 1677 | ['subSpecName', undef], | ||
| 1678 | ]; | ||
| 1679 | return $self->soap_call('DeleteHostSubSpecification', undef, 0, $x_args, \%args); | ||
| 1680 | } | ||
| 1681 | |||
| 1682 | sub DeleteRegistryKeyInGuest { | ||
| 1683 | my ($self, %args) = @_; | ||
| 1684 | my $x_args = [ | ||
| 1685 | ['_this', 'ManagedObjectReference'], | ||
| 1686 | ['vm', 'ManagedObjectReference'], | ||
| 1687 | ['auth', 'GuestAuthentication'], | ||
| 1688 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 1689 | ['recursive', 'boolean'], | ||
| 1690 | ]; | ||
| 1691 | return $self->soap_call('DeleteRegistryKeyInGuest', undef, 0, $x_args, \%args); | ||
| 1692 | } | ||
| 1693 | |||
| 1694 | sub DeleteRegistryValueInGuest { | ||
| 1695 | my ($self, %args) = @_; | ||
| 1696 | my $x_args = [ | ||
| 1697 | ['_this', 'ManagedObjectReference'], | ||
| 1698 | ['vm', 'ManagedObjectReference'], | ||
| 1699 | ['auth', 'GuestAuthentication'], | ||
| 1700 | ['valueName', 'GuestRegValueNameSpec'], | ||
| 1701 | ]; | ||
| 1702 | return $self->soap_call('DeleteRegistryValueInGuest', undef, 0, $x_args, \%args); | ||
| 1703 | } | ||
| 1704 | |||
| 1705 | sub DeleteScsiLunState { | ||
| 1706 | my ($self, %args) = @_; | ||
| 1707 | my $x_args = [ | ||
| 1708 | ['_this', 'ManagedObjectReference'], | ||
| 1709 | ['lunCanonicalName', undef], | ||
| 1710 | ]; | ||
| 1711 | return $self->soap_call('DeleteScsiLunState', undef, 0, $x_args, \%args); | ||
| 1712 | } | ||
| 1713 | |||
| 1714 | sub DeleteVStorageObject_Task { | ||
| 1715 | my ($self, %args) = @_; | ||
| 1716 | my $x_args = [ | ||
| 1717 | ['_this', 'ManagedObjectReference'], | ||
| 1718 | ['id', 'ID'], | ||
| 1719 | ['datastore', 'ManagedObjectReference'], | ||
| 1720 | ]; | ||
| 1721 | return $self->soap_call('DeleteVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1722 | } | ||
| 1723 | |||
| 1724 | sub DeleteVffsVolumeState { | ||
| 1725 | my ($self, %args) = @_; | ||
| 1726 | my $x_args = [ | ||
| 1727 | ['_this', 'ManagedObjectReference'], | ||
| 1728 | ['vffsUuid', undef], | ||
| 1729 | ]; | ||
| 1730 | return $self->soap_call('DeleteVffsVolumeState', undef, 0, $x_args, \%args); | ||
| 1731 | } | ||
| 1732 | |||
| 1733 | sub DeleteVirtualDisk_Task { | ||
| 1734 | my ($self, %args) = @_; | ||
| 1735 | my $x_args = [ | ||
| 1736 | ['_this', 'ManagedObjectReference'], | ||
| 1737 | ['name', undef], | ||
| 1738 | ['datacenter', 'ManagedObjectReference'], | ||
| 1739 | ]; | ||
| 1740 | return $self->soap_call('DeleteVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1741 | } | ||
| 1742 | |||
| 1743 | sub DeleteVmfsVolumeState { | ||
| 1744 | my ($self, %args) = @_; | ||
| 1745 | my $x_args = [ | ||
| 1746 | ['_this', 'ManagedObjectReference'], | ||
| 1747 | ['vmfsUuid', undef], | ||
| 1748 | ]; | ||
| 1749 | return $self->soap_call('DeleteVmfsVolumeState', undef, 0, $x_args, \%args); | ||
| 1750 | } | ||
| 1751 | |||
| 1752 | sub DeleteVsanObjects { | ||
| 1753 | my ($self, %args) = @_; | ||
| 1754 | my $x_args = [ | ||
| 1755 | ['_this', 'ManagedObjectReference'], | ||
| 1756 | ['uuids', undef], | ||
| 1757 | ['force', 'boolean'], | ||
| 1758 | ]; | ||
| 1759 | return $self->soap_call('DeleteVsanObjects', 'HostVsanInternalSystemDeleteVsanObjectsResult', 1, $x_args, \%args); | ||
| 1760 | } | ||
| 1761 | |||
| 1762 | sub DeselectVnic { | ||
| 1763 | my ($self, %args) = @_; | ||
| 1764 | my $x_args = [ | ||
| 1765 | ['_this', 'ManagedObjectReference'], | ||
| 1766 | ]; | ||
| 1767 | return $self->soap_call('DeselectVnic', undef, 0, $x_args, \%args); | ||
| 1768 | } | ||
| 1769 | |||
| 1770 | sub DeselectVnicForNicType { | ||
| 1771 | my ($self, %args) = @_; | ||
| 1772 | my $x_args = [ | ||
| 1773 | ['_this', 'ManagedObjectReference'], | ||
| 1774 | ['nicType', undef], | ||
| 1775 | ['device', undef], | ||
| 1776 | ]; | ||
| 1777 | return $self->soap_call('DeselectVnicForNicType', undef, 0, $x_args, \%args); | ||
| 1778 | } | ||
| 1779 | |||
| 1780 | sub DestroyChildren { | ||
| 1781 | my ($self, %args) = @_; | ||
| 1782 | my $x_args = [ | ||
| 1783 | ['_this', 'ManagedObjectReference'], | ||
| 1784 | ]; | ||
| 1785 | return $self->soap_call('DestroyChildren', undef, 0, $x_args, \%args); | ||
| 1786 | } | ||
| 1787 | |||
| 1788 | sub DestroyCollector { | ||
| 1789 | my ($self, %args) = @_; | ||
| 1790 | my $x_args = [ | ||
| 1791 | ['_this', 'ManagedObjectReference'], | ||
| 1792 | ]; | ||
| 1793 | return $self->soap_call('DestroyCollector', undef, 0, $x_args, \%args); | ||
| 1794 | } | ||
| 1795 | |||
| 1796 | sub DestroyDatastore { | ||
| 1797 | my ($self, %args) = @_; | ||
| 1798 | my $x_args = [ | ||
| 1799 | ['_this', 'ManagedObjectReference'], | ||
| 1800 | ]; | ||
| 1801 | return $self->soap_call('DestroyDatastore', undef, 0, $x_args, \%args); | ||
| 1802 | } | ||
| 1803 | |||
| 1804 | sub DestroyIpPool { | ||
| 1805 | my ($self, %args) = @_; | ||
| 1806 | my $x_args = [ | ||
| 1807 | ['_this', 'ManagedObjectReference'], | ||
| 1808 | ['dc', 'ManagedObjectReference'], | ||
| 1809 | ['id', undef], | ||
| 1810 | ['force', 'boolean'], | ||
| 1811 | ]; | ||
| 1812 | return $self->soap_call('DestroyIpPool', undef, 0, $x_args, \%args); | ||
| 1813 | } | ||
| 1814 | |||
| 1815 | sub DestroyNetwork { | ||
| 1816 | my ($self, %args) = @_; | ||
| 1817 | my $x_args = [ | ||
| 1818 | ['_this', 'ManagedObjectReference'], | ||
| 1819 | ]; | ||
| 1820 | return $self->soap_call('DestroyNetwork', undef, 0, $x_args, \%args); | ||
| 1821 | } | ||
| 1822 | |||
| 1823 | sub DestroyProfile { | ||
| 1824 | my ($self, %args) = @_; | ||
| 1825 | my $x_args = [ | ||
| 1826 | ['_this', 'ManagedObjectReference'], | ||
| 1827 | ]; | ||
| 1828 | return $self->soap_call('DestroyProfile', undef, 0, $x_args, \%args); | ||
| 1829 | } | ||
| 1830 | |||
| 1831 | sub DestroyPropertyCollector { | ||
| 1832 | my ($self, %args) = @_; | ||
| 1833 | my $x_args = [ | ||
| 1834 | ['_this', 'ManagedObjectReference'], | ||
| 1835 | ]; | ||
| 1836 | return $self->soap_call('DestroyPropertyCollector', undef, 0, $x_args, \%args); | ||
| 1837 | } | ||
| 1838 | |||
| 1839 | sub DestroyPropertyFilter { | ||
| 1840 | my ($self, %args) = @_; | ||
| 1841 | my $x_args = [ | ||
| 1842 | ['_this', 'ManagedObjectReference'], | ||
| 1843 | ]; | ||
| 1844 | return $self->soap_call('DestroyPropertyFilter', undef, 0, $x_args, \%args); | ||
| 1845 | } | ||
| 1846 | |||
| 1847 | sub DestroyVffs { | ||
| 1848 | my ($self, %args) = @_; | ||
| 1849 | my $x_args = [ | ||
| 1850 | ['_this', 'ManagedObjectReference'], | ||
| 1851 | ['vffsPath', undef], | ||
| 1852 | ]; | ||
| 1853 | return $self->soap_call('DestroyVffs', undef, 0, $x_args, \%args); | ||
| 1854 | } | ||
| 1855 | |||
| 1856 | sub DestroyView { | ||
| 1857 | my ($self, %args) = @_; | ||
| 1858 | my $x_args = [ | ||
| 1859 | ['_this', 'ManagedObjectReference'], | ||
| 1860 | ]; | ||
| 1861 | return $self->soap_call('DestroyView', undef, 0, $x_args, \%args); | ||
| 1862 | } | ||
| 1863 | |||
| 1864 | sub Destroy_Task { | ||
| 1865 | my ($self, %args) = @_; | ||
| 1866 | my $x_args = [ | ||
| 1867 | ['_this', 'ManagedObjectReference'], | ||
| 1868 | ]; | ||
| 1869 | return $self->soap_call('Destroy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1870 | } | ||
| 1871 | |||
| 1872 | sub DetachDisk_Task { | ||
| 1873 | my ($self, %args) = @_; | ||
| 1874 | my $x_args = [ | ||
| 1875 | ['_this', 'ManagedObjectReference'], | ||
| 1876 | ['diskId', 'ID'], | ||
| 1877 | ]; | ||
| 1878 | return $self->soap_call('DetachDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1879 | } | ||
| 1880 | |||
| 1881 | sub DetachScsiLun { | ||
| 1882 | my ($self, %args) = @_; | ||
| 1883 | my $x_args = [ | ||
| 1884 | ['_this', 'ManagedObjectReference'], | ||
| 1885 | ['lunUuid', undef], | ||
| 1886 | ]; | ||
| 1887 | return $self->soap_call('DetachScsiLun', undef, 0, $x_args, \%args); | ||
| 1888 | } | ||
| 1889 | |||
| 1890 | sub DetachScsiLunEx_Task { | ||
| 1891 | my ($self, %args) = @_; | ||
| 1892 | my $x_args = [ | ||
| 1893 | ['_this', 'ManagedObjectReference'], | ||
| 1894 | ['lunUuid', undef], | ||
| 1895 | ]; | ||
| 1896 | return $self->soap_call('DetachScsiLunEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1897 | } | ||
| 1898 | |||
| 1899 | sub DetachTagFromVStorageObject { | ||
| 1900 | my ($self, %args) = @_; | ||
| 1901 | my $x_args = [ | ||
| 1902 | ['_this', 'ManagedObjectReference'], | ||
| 1903 | ['id', 'ID'], | ||
| 1904 | ['category', undef], | ||
| 1905 | ['tag', undef], | ||
| 1906 | ]; | ||
| 1907 | return $self->soap_call('DetachTagFromVStorageObject', undef, 0, $x_args, \%args); | ||
| 1908 | } | ||
| 1909 | |||
| 1910 | sub DisableEvcMode_Task { | ||
| 1911 | my ($self, %args) = @_; | ||
| 1912 | my $x_args = [ | ||
| 1913 | ['_this', 'ManagedObjectReference'], | ||
| 1914 | ]; | ||
| 1915 | return $self->soap_call('DisableEvcMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1916 | } | ||
| 1917 | |||
| 1918 | sub DisableFeature { | ||
| 1919 | my ($self, %args) = @_; | ||
| 1920 | my $x_args = [ | ||
| 1921 | ['_this', 'ManagedObjectReference'], | ||
| 1922 | ['host', 'ManagedObjectReference'], | ||
| 1923 | ['featureKey', undef], | ||
| 1924 | ]; | ||
| 1925 | return $self->soap_call('DisableFeature', 'boolean', 0, $x_args, \%args); | ||
| 1926 | } | ||
| 1927 | |||
| 1928 | sub DisableHyperThreading { | ||
| 1929 | my ($self, %args) = @_; | ||
| 1930 | my $x_args = [ | ||
| 1931 | ['_this', 'ManagedObjectReference'], | ||
| 1932 | ]; | ||
| 1933 | return $self->soap_call('DisableHyperThreading', undef, 0, $x_args, \%args); | ||
| 1934 | } | ||
| 1935 | |||
| 1936 | sub DisableMultipathPath { | ||
| 1937 | my ($self, %args) = @_; | ||
| 1938 | my $x_args = [ | ||
| 1939 | ['_this', 'ManagedObjectReference'], | ||
| 1940 | ['pathName', undef], | ||
| 1941 | ]; | ||
| 1942 | return $self->soap_call('DisableMultipathPath', undef, 0, $x_args, \%args); | ||
| 1943 | } | ||
| 1944 | |||
| 1945 | sub DisableRuleset { | ||
| 1946 | my ($self, %args) = @_; | ||
| 1947 | my $x_args = [ | ||
| 1948 | ['_this', 'ManagedObjectReference'], | ||
| 1949 | ['id', undef], | ||
| 1950 | ]; | ||
| 1951 | return $self->soap_call('DisableRuleset', undef, 0, $x_args, \%args); | ||
| 1952 | } | ||
| 1953 | |||
| 1954 | sub DisableSecondaryVM_Task { | ||
| 1955 | my ($self, %args) = @_; | ||
| 1956 | my $x_args = [ | ||
| 1957 | ['_this', 'ManagedObjectReference'], | ||
| 1958 | ['vm', 'ManagedObjectReference'], | ||
| 1959 | ]; | ||
| 1960 | return $self->soap_call('DisableSecondaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1961 | } | ||
| 1962 | |||
| 1963 | sub DisableSmartCardAuthentication { | ||
| 1964 | my ($self, %args) = @_; | ||
| 1965 | my $x_args = [ | ||
| 1966 | ['_this', 'ManagedObjectReference'], | ||
| 1967 | ]; | ||
| 1968 | return $self->soap_call('DisableSmartCardAuthentication', undef, 0, $x_args, \%args); | ||
| 1969 | } | ||
| 1970 | |||
| 1971 | sub DisconnectHost_Task { | ||
| 1972 | my ($self, %args) = @_; | ||
| 1973 | my $x_args = [ | ||
| 1974 | ['_this', 'ManagedObjectReference'], | ||
| 1975 | ]; | ||
| 1976 | return $self->soap_call('DisconnectHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 1977 | } | ||
| 1978 | |||
| 1979 | sub DiscoverFcoeHbas { | ||
| 1980 | my ($self, %args) = @_; | ||
| 1981 | my $x_args = [ | ||
| 1982 | ['_this', 'ManagedObjectReference'], | ||
| 1983 | ['fcoeSpec', 'FcoeConfigFcoeSpecification'], | ||
| 1984 | ]; | ||
| 1985 | return $self->soap_call('DiscoverFcoeHbas', undef, 0, $x_args, \%args); | ||
| 1986 | } | ||
| 1987 | |||
| 1988 | sub DissociateProfile { | ||
| 1989 | my ($self, %args) = @_; | ||
| 1990 | my $x_args = [ | ||
| 1991 | ['_this', 'ManagedObjectReference'], | ||
| 1992 | ['entity', 'ManagedObjectReference'], | ||
| 1993 | ]; | ||
| 1994 | return $self->soap_call('DissociateProfile', undef, 0, $x_args, \%args); | ||
| 1995 | } | ||
| 1996 | |||
| 1997 | sub DoesCustomizationSpecExist { | ||
| 1998 | my ($self, %args) = @_; | ||
| 1999 | my $x_args = [ | ||
| 2000 | ['_this', 'ManagedObjectReference'], | ||
| 2001 | ['name', undef], | ||
| 2002 | ]; | ||
| 2003 | return $self->soap_call('DoesCustomizationSpecExist', 'boolean', 0, $x_args, \%args); | ||
| 2004 | } | ||
| 2005 | |||
| 2006 | sub DuplicateCustomizationSpec { | ||
| 2007 | my ($self, %args) = @_; | ||
| 2008 | my $x_args = [ | ||
| 2009 | ['_this', 'ManagedObjectReference'], | ||
| 2010 | ['name', undef], | ||
| 2011 | ['newName', undef], | ||
| 2012 | ]; | ||
| 2013 | return $self->soap_call('DuplicateCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 2014 | } | ||
| 2015 | |||
| 2016 | sub DvsReconfigureVmVnicNetworkResourcePool_Task { | ||
| 2017 | my ($self, %args) = @_; | ||
| 2018 | my $x_args = [ | ||
| 2019 | ['_this', 'ManagedObjectReference'], | ||
| 2020 | ['configSpec', 'DvsVmVnicResourcePoolConfigSpec'], | ||
| 2021 | ]; | ||
| 2022 | return $self->soap_call('DvsReconfigureVmVnicNetworkResourcePool_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2023 | } | ||
| 2024 | |||
| 2025 | sub EagerZeroVirtualDisk_Task { | ||
| 2026 | my ($self, %args) = @_; | ||
| 2027 | my $x_args = [ | ||
| 2028 | ['_this', 'ManagedObjectReference'], | ||
| 2029 | ['name', undef], | ||
| 2030 | ['datacenter', 'ManagedObjectReference'], | ||
| 2031 | ]; | ||
| 2032 | return $self->soap_call('EagerZeroVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2033 | } | ||
| 2034 | |||
| 2035 | sub EnableAlarmActions { | ||
| 2036 | my ($self, %args) = @_; | ||
| 2037 | my $x_args = [ | ||
| 2038 | ['_this', 'ManagedObjectReference'], | ||
| 2039 | ['entity', 'ManagedObjectReference'], | ||
| 2040 | ['enabled', 'boolean'], | ||
| 2041 | ]; | ||
| 2042 | return $self->soap_call('EnableAlarmActions', undef, 0, $x_args, \%args); | ||
| 2043 | } | ||
| 2044 | |||
| 2045 | sub EnableCrypto { | ||
| 2046 | my ($self, %args) = @_; | ||
| 2047 | my $x_args = [ | ||
| 2048 | ['_this', 'ManagedObjectReference'], | ||
| 2049 | ['keyPlain', 'CryptoKeyPlain'], | ||
| 2050 | ]; | ||
| 2051 | return $self->soap_call('EnableCrypto', undef, 0, $x_args, \%args); | ||
| 2052 | } | ||
| 2053 | |||
| 2054 | sub EnableFeature { | ||
| 2055 | my ($self, %args) = @_; | ||
| 2056 | my $x_args = [ | ||
| 2057 | ['_this', 'ManagedObjectReference'], | ||
| 2058 | ['host', 'ManagedObjectReference'], | ||
| 2059 | ['featureKey', undef], | ||
| 2060 | ]; | ||
| 2061 | return $self->soap_call('EnableFeature', 'boolean', 0, $x_args, \%args); | ||
| 2062 | } | ||
| 2063 | |||
| 2064 | sub EnableHyperThreading { | ||
| 2065 | my ($self, %args) = @_; | ||
| 2066 | my $x_args = [ | ||
| 2067 | ['_this', 'ManagedObjectReference'], | ||
| 2068 | ]; | ||
| 2069 | return $self->soap_call('EnableHyperThreading', undef, 0, $x_args, \%args); | ||
| 2070 | } | ||
| 2071 | |||
| 2072 | sub EnableMultipathPath { | ||
| 2073 | my ($self, %args) = @_; | ||
| 2074 | my $x_args = [ | ||
| 2075 | ['_this', 'ManagedObjectReference'], | ||
| 2076 | ['pathName', undef], | ||
| 2077 | ]; | ||
| 2078 | return $self->soap_call('EnableMultipathPath', undef, 0, $x_args, \%args); | ||
| 2079 | } | ||
| 2080 | |||
| 2081 | sub EnableNetworkResourceManagement { | ||
| 2082 | my ($self, %args) = @_; | ||
| 2083 | my $x_args = [ | ||
| 2084 | ['_this', 'ManagedObjectReference'], | ||
| 2085 | ['enable', 'boolean'], | ||
| 2086 | ]; | ||
| 2087 | return $self->soap_call('EnableNetworkResourceManagement', undef, 0, $x_args, \%args); | ||
| 2088 | } | ||
| 2089 | |||
| 2090 | sub EnableRuleset { | ||
| 2091 | my ($self, %args) = @_; | ||
| 2092 | my $x_args = [ | ||
| 2093 | ['_this', 'ManagedObjectReference'], | ||
| 2094 | ['id', undef], | ||
| 2095 | ]; | ||
| 2096 | return $self->soap_call('EnableRuleset', undef, 0, $x_args, \%args); | ||
| 2097 | } | ||
| 2098 | |||
| 2099 | sub EnableSecondaryVM_Task { | ||
| 2100 | my ($self, %args) = @_; | ||
| 2101 | my $x_args = [ | ||
| 2102 | ['_this', 'ManagedObjectReference'], | ||
| 2103 | ['vm', 'ManagedObjectReference'], | ||
| 2104 | ['host', 'ManagedObjectReference'], | ||
| 2105 | ]; | ||
| 2106 | return $self->soap_call('EnableSecondaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2107 | } | ||
| 2108 | |||
| 2109 | sub EnableSmartCardAuthentication { | ||
| 2110 | my ($self, %args) = @_; | ||
| 2111 | my $x_args = [ | ||
| 2112 | ['_this', 'ManagedObjectReference'], | ||
| 2113 | ]; | ||
| 2114 | return $self->soap_call('EnableSmartCardAuthentication', undef, 0, $x_args, \%args); | ||
| 2115 | } | ||
| 2116 | |||
| 2117 | sub EnterLockdownMode { | ||
| 2118 | my ($self, %args) = @_; | ||
| 2119 | my $x_args = [ | ||
| 2120 | ['_this', 'ManagedObjectReference'], | ||
| 2121 | ]; | ||
| 2122 | return $self->soap_call('EnterLockdownMode', undef, 0, $x_args, \%args); | ||
| 2123 | } | ||
| 2124 | |||
| 2125 | sub EnterMaintenanceMode_Task { | ||
| 2126 | my ($self, %args) = @_; | ||
| 2127 | my $x_args = [ | ||
| 2128 | ['_this', 'ManagedObjectReference'], | ||
| 2129 | ['timeout', undef], | ||
| 2130 | ['evacuatePoweredOffVms', 'boolean'], | ||
| 2131 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 2132 | ]; | ||
| 2133 | return $self->soap_call('EnterMaintenanceMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2134 | } | ||
| 2135 | |||
| 2136 | sub EstimateDatabaseSize { | ||
| 2137 | my ($self, %args) = @_; | ||
| 2138 | my $x_args = [ | ||
| 2139 | ['_this', 'ManagedObjectReference'], | ||
| 2140 | ['dbSizeParam', 'DatabaseSizeParam'], | ||
| 2141 | ]; | ||
| 2142 | return $self->soap_call('EstimateDatabaseSize', 'DatabaseSizeEstimate', 0, $x_args, \%args); | ||
| 2143 | } | ||
| 2144 | |||
| 2145 | sub EstimateStorageForConsolidateSnapshots_Task { | ||
| 2146 | my ($self, %args) = @_; | ||
| 2147 | my $x_args = [ | ||
| 2148 | ['_this', 'ManagedObjectReference'], | ||
| 2149 | ]; | ||
| 2150 | return $self->soap_call('EstimateStorageForConsolidateSnapshots_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2151 | } | ||
| 2152 | |||
| 2153 | sub EsxAgentHostManagerUpdateConfig { | ||
| 2154 | my ($self, %args) = @_; | ||
| 2155 | my $x_args = [ | ||
| 2156 | ['_this', 'ManagedObjectReference'], | ||
| 2157 | ['configInfo', 'HostEsxAgentHostManagerConfigInfo'], | ||
| 2158 | ]; | ||
| 2159 | return $self->soap_call('EsxAgentHostManagerUpdateConfig', undef, 0, $x_args, \%args); | ||
| 2160 | } | ||
| 2161 | |||
| 2162 | sub EvacuateVsanNode_Task { | ||
| 2163 | my ($self, %args) = @_; | ||
| 2164 | my $x_args = [ | ||
| 2165 | ['_this', 'ManagedObjectReference'], | ||
| 2166 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 2167 | ['timeout', undef], | ||
| 2168 | ]; | ||
| 2169 | return $self->soap_call('EvacuateVsanNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2170 | } | ||
| 2171 | |||
| 2172 | sub EvcManager { | ||
| 2173 | my ($self, %args) = @_; | ||
| 2174 | my $x_args = [ | ||
| 2175 | ['_this', 'ManagedObjectReference'], | ||
| 2176 | ]; | ||
| 2177 | return $self->soap_call('EvcManager', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2178 | } | ||
| 2179 | |||
| 2180 | sub ExecuteHostProfile { | ||
| 2181 | my ($self, %args) = @_; | ||
| 2182 | my $x_args = [ | ||
| 2183 | ['_this', 'ManagedObjectReference'], | ||
| 2184 | ['host', 'ManagedObjectReference'], | ||
| 2185 | ['deferredParam', 'ProfileDeferredPolicyOptionParameter'], | ||
| 2186 | ]; | ||
| 2187 | return $self->soap_call('ExecuteHostProfile', 'ProfileExecuteResult', 0, $x_args, \%args); | ||
| 2188 | } | ||
| 2189 | |||
| 2190 | sub ExecuteSimpleCommand { | ||
| 2191 | my ($self, %args) = @_; | ||
| 2192 | my $x_args = [ | ||
| 2193 | ['_this', 'ManagedObjectReference'], | ||
| 2194 | ['arguments', undef], | ||
| 2195 | ]; | ||
| 2196 | return $self->soap_call('ExecuteSimpleCommand', undef, 0, $x_args, \%args); | ||
| 2197 | } | ||
| 2198 | |||
| 2199 | sub ExitLockdownMode { | ||
| 2200 | my ($self, %args) = @_; | ||
| 2201 | my $x_args = [ | ||
| 2202 | ['_this', 'ManagedObjectReference'], | ||
| 2203 | ]; | ||
| 2204 | return $self->soap_call('ExitLockdownMode', undef, 0, $x_args, \%args); | ||
| 2205 | } | ||
| 2206 | |||
| 2207 | sub ExitMaintenanceMode_Task { | ||
| 2208 | my ($self, %args) = @_; | ||
| 2209 | my $x_args = [ | ||
| 2210 | ['_this', 'ManagedObjectReference'], | ||
| 2211 | ['timeout', undef], | ||
| 2212 | ]; | ||
| 2213 | return $self->soap_call('ExitMaintenanceMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2214 | } | ||
| 2215 | |||
| 2216 | sub ExpandVmfsDatastore { | ||
| 2217 | my ($self, %args) = @_; | ||
| 2218 | my $x_args = [ | ||
| 2219 | ['_this', 'ManagedObjectReference'], | ||
| 2220 | ['datastore', 'ManagedObjectReference'], | ||
| 2221 | ['spec', 'VmfsDatastoreExpandSpec'], | ||
| 2222 | ]; | ||
| 2223 | return $self->soap_call('ExpandVmfsDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2224 | } | ||
| 2225 | |||
| 2226 | sub ExpandVmfsExtent { | ||
| 2227 | my ($self, %args) = @_; | ||
| 2228 | my $x_args = [ | ||
| 2229 | ['_this', 'ManagedObjectReference'], | ||
| 2230 | ['vmfsPath', undef], | ||
| 2231 | ['extent', 'HostScsiDiskPartition'], | ||
| 2232 | ]; | ||
| 2233 | return $self->soap_call('ExpandVmfsExtent', undef, 0, $x_args, \%args); | ||
| 2234 | } | ||
| 2235 | |||
| 2236 | sub ExportAnswerFile_Task { | ||
| 2237 | my ($self, %args) = @_; | ||
| 2238 | my $x_args = [ | ||
| 2239 | ['_this', 'ManagedObjectReference'], | ||
| 2240 | ['host', 'ManagedObjectReference'], | ||
| 2241 | ]; | ||
| 2242 | return $self->soap_call('ExportAnswerFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2243 | } | ||
| 2244 | |||
| 2245 | sub ExportProfile { | ||
| 2246 | my ($self, %args) = @_; | ||
| 2247 | my $x_args = [ | ||
| 2248 | ['_this', 'ManagedObjectReference'], | ||
| 2249 | ]; | ||
| 2250 | return $self->soap_call('ExportProfile', undef, 0, $x_args, \%args); | ||
| 2251 | } | ||
| 2252 | |||
| 2253 | sub ExportSnapshot { | ||
| 2254 | my ($self, %args) = @_; | ||
| 2255 | my $x_args = [ | ||
| 2256 | ['_this', 'ManagedObjectReference'], | ||
| 2257 | ]; | ||
| 2258 | return $self->soap_call('ExportSnapshot', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2259 | } | ||
| 2260 | |||
| 2261 | sub ExportVApp { | ||
| 2262 | my ($self, %args) = @_; | ||
| 2263 | my $x_args = [ | ||
| 2264 | ['_this', 'ManagedObjectReference'], | ||
| 2265 | ]; | ||
| 2266 | return $self->soap_call('ExportVApp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2267 | } | ||
| 2268 | |||
| 2269 | sub ExportVm { | ||
| 2270 | my ($self, %args) = @_; | ||
| 2271 | my $x_args = [ | ||
| 2272 | ['_this', 'ManagedObjectReference'], | ||
| 2273 | ]; | ||
| 2274 | return $self->soap_call('ExportVm', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2275 | } | ||
| 2276 | |||
| 2277 | sub ExtendDisk_Task { | ||
| 2278 | my ($self, %args) = @_; | ||
| 2279 | my $x_args = [ | ||
| 2280 | ['_this', 'ManagedObjectReference'], | ||
| 2281 | ['id', 'ID'], | ||
| 2282 | ['datastore', 'ManagedObjectReference'], | ||
| 2283 | ['newCapacityInMB', undef], | ||
| 2284 | ]; | ||
| 2285 | return $self->soap_call('ExtendDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2286 | } | ||
| 2287 | |||
| 2288 | sub ExtendVffs { | ||
| 2289 | my ($self, %args) = @_; | ||
| 2290 | my $x_args = [ | ||
| 2291 | ['_this', 'ManagedObjectReference'], | ||
| 2292 | ['vffsPath', undef], | ||
| 2293 | ['devicePath', undef], | ||
| 2294 | ['spec', 'HostDiskPartitionSpec'], | ||
| 2295 | ]; | ||
| 2296 | return $self->soap_call('ExtendVffs', undef, 0, $x_args, \%args); | ||
| 2297 | } | ||
| 2298 | |||
| 2299 | sub ExtendVirtualDisk_Task { | ||
| 2300 | my ($self, %args) = @_; | ||
| 2301 | my $x_args = [ | ||
| 2302 | ['_this', 'ManagedObjectReference'], | ||
| 2303 | ['name', undef], | ||
| 2304 | ['datacenter', 'ManagedObjectReference'], | ||
| 2305 | ['newCapacityKb', undef], | ||
| 2306 | ['eagerZero', 'boolean'], | ||
| 2307 | ]; | ||
| 2308 | return $self->soap_call('ExtendVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2309 | } | ||
| 2310 | |||
| 2311 | sub ExtendVmfsDatastore { | ||
| 2312 | my ($self, %args) = @_; | ||
| 2313 | my $x_args = [ | ||
| 2314 | ['_this', 'ManagedObjectReference'], | ||
| 2315 | ['datastore', 'ManagedObjectReference'], | ||
| 2316 | ['spec', 'VmfsDatastoreExtendSpec'], | ||
| 2317 | ]; | ||
| 2318 | return $self->soap_call('ExtendVmfsDatastore', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2319 | } | ||
| 2320 | |||
| 2321 | sub ExtractOvfEnvironment { | ||
| 2322 | my ($self, %args) = @_; | ||
| 2323 | my $x_args = [ | ||
| 2324 | ['_this', 'ManagedObjectReference'], | ||
| 2325 | ]; | ||
| 2326 | return $self->soap_call('ExtractOvfEnvironment', undef, 0, $x_args, \%args); | ||
| 2327 | } | ||
| 2328 | |||
| 2329 | sub FetchDVPortKeys { | ||
| 2330 | my ($self, %args) = @_; | ||
| 2331 | my $x_args = [ | ||
| 2332 | ['_this', 'ManagedObjectReference'], | ||
| 2333 | ['criteria', 'DistributedVirtualSwitchPortCriteria'], | ||
| 2334 | ]; | ||
| 2335 | return $self->soap_call('FetchDVPortKeys', undef, 1, $x_args, \%args); | ||
| 2336 | } | ||
| 2337 | |||
| 2338 | sub FetchDVPorts { | ||
| 2339 | my ($self, %args) = @_; | ||
| 2340 | my $x_args = [ | ||
| 2341 | ['_this', 'ManagedObjectReference'], | ||
| 2342 | ['criteria', 'DistributedVirtualSwitchPortCriteria'], | ||
| 2343 | ]; | ||
| 2344 | return $self->soap_call('FetchDVPorts', 'DistributedVirtualPort', 1, $x_args, \%args); | ||
| 2345 | } | ||
| 2346 | |||
| 2347 | sub FetchSystemEventLog { | ||
| 2348 | my ($self, %args) = @_; | ||
| 2349 | my $x_args = [ | ||
| 2350 | ['_this', 'ManagedObjectReference'], | ||
| 2351 | ]; | ||
| 2352 | return $self->soap_call('FetchSystemEventLog', 'SystemEventInfo', 1, $x_args, \%args); | ||
| 2353 | } | ||
| 2354 | |||
| 2355 | sub FetchUserPrivilegeOnEntities { | ||
| 2356 | my ($self, %args) = @_; | ||
| 2357 | my $x_args = [ | ||
| 2358 | ['_this', 'ManagedObjectReference'], | ||
| 2359 | ['entities', 'ManagedObjectReference'], | ||
| 2360 | ['userName', undef], | ||
| 2361 | ]; | ||
| 2362 | return $self->soap_call('FetchUserPrivilegeOnEntities', 'UserPrivilegeResult', 1, $x_args, \%args); | ||
| 2363 | } | ||
| 2364 | |||
| 2365 | sub FindAllByDnsName { | ||
| 2366 | my ($self, %args) = @_; | ||
| 2367 | my $x_args = [ | ||
| 2368 | ['_this', 'ManagedObjectReference'], | ||
| 2369 | ['datacenter', 'ManagedObjectReference'], | ||
| 2370 | ['dnsName', undef], | ||
| 2371 | ['vmSearch', 'boolean'], | ||
| 2372 | ]; | ||
| 2373 | return $self->soap_call('FindAllByDnsName', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2374 | } | ||
| 2375 | |||
| 2376 | sub FindAllByIp { | ||
| 2377 | my ($self, %args) = @_; | ||
| 2378 | my $x_args = [ | ||
| 2379 | ['_this', 'ManagedObjectReference'], | ||
| 2380 | ['datacenter', 'ManagedObjectReference'], | ||
| 2381 | ['ip', undef], | ||
| 2382 | ['vmSearch', 'boolean'], | ||
| 2383 | ]; | ||
| 2384 | return $self->soap_call('FindAllByIp', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2385 | } | ||
| 2386 | |||
| 2387 | sub FindAllByUuid { | ||
| 2388 | my ($self, %args) = @_; | ||
| 2389 | my $x_args = [ | ||
| 2390 | ['_this', 'ManagedObjectReference'], | ||
| 2391 | ['datacenter', 'ManagedObjectReference'], | ||
| 2392 | ['uuid', undef], | ||
| 2393 | ['vmSearch', 'boolean'], | ||
| 2394 | ['instanceUuid', 'boolean'], | ||
| 2395 | ]; | ||
| 2396 | return $self->soap_call('FindAllByUuid', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2397 | } | ||
| 2398 | |||
| 2399 | sub FindAssociatedProfile { | ||
| 2400 | my ($self, %args) = @_; | ||
| 2401 | my $x_args = [ | ||
| 2402 | ['_this', 'ManagedObjectReference'], | ||
| 2403 | ['entity', 'ManagedObjectReference'], | ||
| 2404 | ]; | ||
| 2405 | return $self->soap_call('FindAssociatedProfile', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2406 | } | ||
| 2407 | |||
| 2408 | sub FindByDatastorePath { | ||
| 2409 | my ($self, %args) = @_; | ||
| 2410 | my $x_args = [ | ||
| 2411 | ['_this', 'ManagedObjectReference'], | ||
| 2412 | ['datacenter', 'ManagedObjectReference'], | ||
| 2413 | ['path', undef], | ||
| 2414 | ]; | ||
| 2415 | return $self->soap_call('FindByDatastorePath', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2416 | } | ||
| 2417 | |||
| 2418 | sub FindByDnsName { | ||
| 2419 | my ($self, %args) = @_; | ||
| 2420 | my $x_args = [ | ||
| 2421 | ['_this', 'ManagedObjectReference'], | ||
| 2422 | ['datacenter', 'ManagedObjectReference'], | ||
| 2423 | ['dnsName', undef], | ||
| 2424 | ['vmSearch', 'boolean'], | ||
| 2425 | ]; | ||
| 2426 | return $self->soap_call('FindByDnsName', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2427 | } | ||
| 2428 | |||
| 2429 | sub FindByInventoryPath { | ||
| 2430 | my ($self, %args) = @_; | ||
| 2431 | my $x_args = [ | ||
| 2432 | ['_this', 'ManagedObjectReference'], | ||
| 2433 | ['inventoryPath', undef], | ||
| 2434 | ]; | ||
| 2435 | return $self->soap_call('FindByInventoryPath', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2436 | } | ||
| 2437 | |||
| 2438 | sub FindByIp { | ||
| 2439 | my ($self, %args) = @_; | ||
| 2440 | my $x_args = [ | ||
| 2441 | ['_this', 'ManagedObjectReference'], | ||
| 2442 | ['datacenter', 'ManagedObjectReference'], | ||
| 2443 | ['ip', undef], | ||
| 2444 | ['vmSearch', 'boolean'], | ||
| 2445 | ]; | ||
| 2446 | return $self->soap_call('FindByIp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2447 | } | ||
| 2448 | |||
| 2449 | sub FindByUuid { | ||
| 2450 | my ($self, %args) = @_; | ||
| 2451 | my $x_args = [ | ||
| 2452 | ['_this', 'ManagedObjectReference'], | ||
| 2453 | ['datacenter', 'ManagedObjectReference'], | ||
| 2454 | ['uuid', undef], | ||
| 2455 | ['vmSearch', 'boolean'], | ||
| 2456 | ['instanceUuid', 'boolean'], | ||
| 2457 | ]; | ||
| 2458 | return $self->soap_call('FindByUuid', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2459 | } | ||
| 2460 | |||
| 2461 | sub FindChild { | ||
| 2462 | my ($self, %args) = @_; | ||
| 2463 | my $x_args = [ | ||
| 2464 | ['_this', 'ManagedObjectReference'], | ||
| 2465 | ['entity', 'ManagedObjectReference'], | ||
| 2466 | ['name', undef], | ||
| 2467 | ]; | ||
| 2468 | return $self->soap_call('FindChild', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2469 | } | ||
| 2470 | |||
| 2471 | sub FindExtension { | ||
| 2472 | my ($self, %args) = @_; | ||
| 2473 | my $x_args = [ | ||
| 2474 | ['_this', 'ManagedObjectReference'], | ||
| 2475 | ['extensionKey', undef], | ||
| 2476 | ]; | ||
| 2477 | return $self->soap_call('FindExtension', 'Extension', 0, $x_args, \%args); | ||
| 2478 | } | ||
| 2479 | |||
| 2480 | sub FindRulesForVm { | ||
| 2481 | my ($self, %args) = @_; | ||
| 2482 | my $x_args = [ | ||
| 2483 | ['_this', 'ManagedObjectReference'], | ||
| 2484 | ['vm', 'ManagedObjectReference'], | ||
| 2485 | ]; | ||
| 2486 | return $self->soap_call('FindRulesForVm', 'ClusterRuleInfo', 1, $x_args, \%args); | ||
| 2487 | } | ||
| 2488 | |||
| 2489 | sub FormatVffs { | ||
| 2490 | my ($self, %args) = @_; | ||
| 2491 | my $x_args = [ | ||
| 2492 | ['_this', 'ManagedObjectReference'], | ||
| 2493 | ['createSpec', 'HostVffsSpec'], | ||
| 2494 | ]; | ||
| 2495 | return $self->soap_call('FormatVffs', 'HostVffsVolume', 0, $x_args, \%args); | ||
| 2496 | } | ||
| 2497 | |||
| 2498 | sub FormatVmfs { | ||
| 2499 | my ($self, %args) = @_; | ||
| 2500 | my $x_args = [ | ||
| 2501 | ['_this', 'ManagedObjectReference'], | ||
| 2502 | ['createSpec', 'HostVmfsSpec'], | ||
| 2503 | ]; | ||
| 2504 | return $self->soap_call('FormatVmfs', 'HostVmfsVolume', 0, $x_args, \%args); | ||
| 2505 | } | ||
| 2506 | |||
| 2507 | sub GenerateCertificateSigningRequest { | ||
| 2508 | my ($self, %args) = @_; | ||
| 2509 | my $x_args = [ | ||
| 2510 | ['_this', 'ManagedObjectReference'], | ||
| 2511 | ['useIpAddressAsCommonName', 'boolean'], | ||
| 2512 | ]; | ||
| 2513 | return $self->soap_call('GenerateCertificateSigningRequest', undef, 0, $x_args, \%args); | ||
| 2514 | } | ||
| 2515 | |||
| 2516 | sub GenerateCertificateSigningRequestByDn { | ||
| 2517 | my ($self, %args) = @_; | ||
| 2518 | my $x_args = [ | ||
| 2519 | ['_this', 'ManagedObjectReference'], | ||
| 2520 | ['distinguishedName', undef], | ||
| 2521 | ]; | ||
| 2522 | return $self->soap_call('GenerateCertificateSigningRequestByDn', undef, 0, $x_args, \%args); | ||
| 2523 | } | ||
| 2524 | |||
| 2525 | sub GenerateClientCsr { | ||
| 2526 | my ($self, %args) = @_; | ||
| 2527 | my $x_args = [ | ||
| 2528 | ['_this', 'ManagedObjectReference'], | ||
| 2529 | ['cluster', 'KeyProviderId'], | ||
| 2530 | ]; | ||
| 2531 | return $self->soap_call('GenerateClientCsr', undef, 0, $x_args, \%args); | ||
| 2532 | } | ||
| 2533 | |||
| 2534 | sub GenerateConfigTaskList { | ||
| 2535 | my ($self, %args) = @_; | ||
| 2536 | my $x_args = [ | ||
| 2537 | ['_this', 'ManagedObjectReference'], | ||
| 2538 | ['configSpec', 'HostConfigSpec'], | ||
| 2539 | ['host', 'ManagedObjectReference'], | ||
| 2540 | ]; | ||
| 2541 | return $self->soap_call('GenerateConfigTaskList', 'HostProfileManagerConfigTaskList', 0, $x_args, \%args); | ||
| 2542 | } | ||
| 2543 | |||
| 2544 | sub GenerateHostConfigTaskSpec_Task { | ||
| 2545 | my ($self, %args) = @_; | ||
| 2546 | my $x_args = [ | ||
| 2547 | ['_this', 'ManagedObjectReference'], | ||
| 2548 | ['hostsInfo', 'StructuredCustomizations'], | ||
| 2549 | ]; | ||
| 2550 | return $self->soap_call('GenerateHostConfigTaskSpec_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2551 | } | ||
| 2552 | |||
| 2553 | sub GenerateHostProfileTaskList_Task { | ||
| 2554 | my ($self, %args) = @_; | ||
| 2555 | my $x_args = [ | ||
| 2556 | ['_this', 'ManagedObjectReference'], | ||
| 2557 | ['configSpec', 'HostConfigSpec'], | ||
| 2558 | ['host', 'ManagedObjectReference'], | ||
| 2559 | ]; | ||
| 2560 | return $self->soap_call('GenerateHostProfileTaskList_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2561 | } | ||
| 2562 | |||
| 2563 | sub GenerateKey { | ||
| 2564 | my ($self, %args) = @_; | ||
| 2565 | my $x_args = [ | ||
| 2566 | ['_this', 'ManagedObjectReference'], | ||
| 2567 | ['keyProvider', 'KeyProviderId'], | ||
| 2568 | ]; | ||
| 2569 | return $self->soap_call('GenerateKey', 'CryptoKeyResult', 0, $x_args, \%args); | ||
| 2570 | } | ||
| 2571 | |||
| 2572 | sub GenerateLogBundles_Task { | ||
| 2573 | my ($self, %args) = @_; | ||
| 2574 | my $x_args = [ | ||
| 2575 | ['_this', 'ManagedObjectReference'], | ||
| 2576 | ['includeDefault', 'boolean'], | ||
| 2577 | ['host', 'ManagedObjectReference'], | ||
| 2578 | ]; | ||
| 2579 | return $self->soap_call('GenerateLogBundles_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2580 | } | ||
| 2581 | |||
| 2582 | sub GenerateSelfSignedClientCert { | ||
| 2583 | my ($self, %args) = @_; | ||
| 2584 | my $x_args = [ | ||
| 2585 | ['_this', 'ManagedObjectReference'], | ||
| 2586 | ['cluster', 'KeyProviderId'], | ||
| 2587 | ]; | ||
| 2588 | return $self->soap_call('GenerateSelfSignedClientCert', undef, 0, $x_args, \%args); | ||
| 2589 | } | ||
| 2590 | |||
| 2591 | sub GetAlarm { | ||
| 2592 | my ($self, %args) = @_; | ||
| 2593 | my $x_args = [ | ||
| 2594 | ['_this', 'ManagedObjectReference'], | ||
| 2595 | ['entity', 'ManagedObjectReference'], | ||
| 2596 | ]; | ||
| 2597 | return $self->soap_call('GetAlarm', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2598 | } | ||
| 2599 | |||
| 2600 | sub GetAlarmState { | ||
| 2601 | my ($self, %args) = @_; | ||
| 2602 | my $x_args = [ | ||
| 2603 | ['_this', 'ManagedObjectReference'], | ||
| 2604 | ['entity', 'ManagedObjectReference'], | ||
| 2605 | ]; | ||
| 2606 | return $self->soap_call('GetAlarmState', 'AlarmState', 1, $x_args, \%args); | ||
| 2607 | } | ||
| 2608 | |||
| 2609 | sub GetCustomizationSpec { | ||
| 2610 | my ($self, %args) = @_; | ||
| 2611 | my $x_args = [ | ||
| 2612 | ['_this', 'ManagedObjectReference'], | ||
| 2613 | ['name', undef], | ||
| 2614 | ]; | ||
| 2615 | return $self->soap_call('GetCustomizationSpec', 'CustomizationSpecItem', 0, $x_args, \%args); | ||
| 2616 | } | ||
| 2617 | |||
| 2618 | sub GetPublicKey { | ||
| 2619 | my ($self, %args) = @_; | ||
| 2620 | my $x_args = [ | ||
| 2621 | ['_this', 'ManagedObjectReference'], | ||
| 2622 | ]; | ||
| 2623 | return $self->soap_call('GetPublicKey', undef, 0, $x_args, \%args); | ||
| 2624 | } | ||
| 2625 | |||
| 2626 | sub GetResourceUsage { | ||
| 2627 | my ($self, %args) = @_; | ||
| 2628 | my $x_args = [ | ||
| 2629 | ['_this', 'ManagedObjectReference'], | ||
| 2630 | ]; | ||
| 2631 | return $self->soap_call('GetResourceUsage', 'ClusterResourceUsageSummary', 0, $x_args, \%args); | ||
| 2632 | } | ||
| 2633 | |||
| 2634 | sub GetVchaClusterHealth { | ||
| 2635 | my ($self, %args) = @_; | ||
| 2636 | my $x_args = [ | ||
| 2637 | ['_this', 'ManagedObjectReference'], | ||
| 2638 | ]; | ||
| 2639 | return $self->soap_call('GetVchaClusterHealth', 'VchaClusterHealth', 0, $x_args, \%args); | ||
| 2640 | } | ||
| 2641 | |||
| 2642 | sub GetVsanObjExtAttrs { | ||
| 2643 | my ($self, %args) = @_; | ||
| 2644 | my $x_args = [ | ||
| 2645 | ['_this', 'ManagedObjectReference'], | ||
| 2646 | ['uuids', undef], | ||
| 2647 | ]; | ||
| 2648 | return $self->soap_call('GetVsanObjExtAttrs', undef, 0, $x_args, \%args); | ||
| 2649 | } | ||
| 2650 | |||
| 2651 | sub HasMonitoredEntity { | ||
| 2652 | my ($self, %args) = @_; | ||
| 2653 | my $x_args = [ | ||
| 2654 | ['_this', 'ManagedObjectReference'], | ||
| 2655 | ['providerId', undef], | ||
| 2656 | ['entity', 'ManagedObjectReference'], | ||
| 2657 | ]; | ||
| 2658 | return $self->soap_call('HasMonitoredEntity', 'boolean', 0, $x_args, \%args); | ||
| 2659 | } | ||
| 2660 | |||
| 2661 | sub HasPrivilegeOnEntities { | ||
| 2662 | my ($self, %args) = @_; | ||
| 2663 | my $x_args = [ | ||
| 2664 | ['_this', 'ManagedObjectReference'], | ||
| 2665 | ['entity', 'ManagedObjectReference'], | ||
| 2666 | ['sessionId', undef], | ||
| 2667 | ['privId', undef], | ||
| 2668 | ]; | ||
| 2669 | return $self->soap_call('HasPrivilegeOnEntities', 'EntityPrivilege', 1, $x_args, \%args); | ||
| 2670 | } | ||
| 2671 | |||
| 2672 | sub HasPrivilegeOnEntity { | ||
| 2673 | my ($self, %args) = @_; | ||
| 2674 | my $x_args = [ | ||
| 2675 | ['_this', 'ManagedObjectReference'], | ||
| 2676 | ['entity', 'ManagedObjectReference'], | ||
| 2677 | ['sessionId', undef], | ||
| 2678 | ['privId', undef], | ||
| 2679 | ]; | ||
| 2680 | return $self->soap_call('HasPrivilegeOnEntity', 'boolean', 1, $x_args, \%args); | ||
| 2681 | } | ||
| 2682 | |||
| 2683 | sub HasProvider { | ||
| 2684 | my ($self, %args) = @_; | ||
| 2685 | my $x_args = [ | ||
| 2686 | ['_this', 'ManagedObjectReference'], | ||
| 2687 | ['id', undef], | ||
| 2688 | ]; | ||
| 2689 | return $self->soap_call('HasProvider', 'boolean', 0, $x_args, \%args); | ||
| 2690 | } | ||
| 2691 | |||
| 2692 | sub HasUserPrivilegeOnEntities { | ||
| 2693 | my ($self, %args) = @_; | ||
| 2694 | my $x_args = [ | ||
| 2695 | ['_this', 'ManagedObjectReference'], | ||
| 2696 | ['entities', 'ManagedObjectReference'], | ||
| 2697 | ['userName', undef], | ||
| 2698 | ['privId', undef], | ||
| 2699 | ]; | ||
| 2700 | return $self->soap_call('HasUserPrivilegeOnEntities', 'EntityPrivilege', 1, $x_args, \%args); | ||
| 2701 | } | ||
| 2702 | |||
| 2703 | sub HostCloneVStorageObject_Task { | ||
| 2704 | my ($self, %args) = @_; | ||
| 2705 | my $x_args = [ | ||
| 2706 | ['_this', 'ManagedObjectReference'], | ||
| 2707 | ['id', 'ID'], | ||
| 2708 | ['datastore', 'ManagedObjectReference'], | ||
| 2709 | ['spec', 'VslmCloneSpec'], | ||
| 2710 | ]; | ||
| 2711 | return $self->soap_call('HostCloneVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2712 | } | ||
| 2713 | |||
| 2714 | sub HostConfigVFlashCache { | ||
| 2715 | my ($self, %args) = @_; | ||
| 2716 | my $x_args = [ | ||
| 2717 | ['_this', 'ManagedObjectReference'], | ||
| 2718 | ['spec', 'HostVFlashManagerVFlashCacheConfigSpec'], | ||
| 2719 | ]; | ||
| 2720 | return $self->soap_call('HostConfigVFlashCache', undef, 0, $x_args, \%args); | ||
| 2721 | } | ||
| 2722 | |||
| 2723 | sub HostConfigureVFlashResource { | ||
| 2724 | my ($self, %args) = @_; | ||
| 2725 | my $x_args = [ | ||
| 2726 | ['_this', 'ManagedObjectReference'], | ||
| 2727 | ['spec', 'HostVFlashManagerVFlashResourceConfigSpec'], | ||
| 2728 | ]; | ||
| 2729 | return $self->soap_call('HostConfigureVFlashResource', undef, 0, $x_args, \%args); | ||
| 2730 | } | ||
| 2731 | |||
| 2732 | sub HostCreateDisk_Task { | ||
| 2733 | my ($self, %args) = @_; | ||
| 2734 | my $x_args = [ | ||
| 2735 | ['_this', 'ManagedObjectReference'], | ||
| 2736 | ['spec', 'VslmCreateSpec'], | ||
| 2737 | ]; | ||
| 2738 | return $self->soap_call('HostCreateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2739 | } | ||
| 2740 | |||
| 2741 | sub HostDeleteVStorageObject_Task { | ||
| 2742 | my ($self, %args) = @_; | ||
| 2743 | my $x_args = [ | ||
| 2744 | ['_this', 'ManagedObjectReference'], | ||
| 2745 | ['id', 'ID'], | ||
| 2746 | ['datastore', 'ManagedObjectReference'], | ||
| 2747 | ]; | ||
| 2748 | return $self->soap_call('HostDeleteVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2749 | } | ||
| 2750 | |||
| 2751 | sub HostExtendDisk_Task { | ||
| 2752 | my ($self, %args) = @_; | ||
| 2753 | my $x_args = [ | ||
| 2754 | ['_this', 'ManagedObjectReference'], | ||
| 2755 | ['id', 'ID'], | ||
| 2756 | ['datastore', 'ManagedObjectReference'], | ||
| 2757 | ['newCapacityInMB', undef], | ||
| 2758 | ]; | ||
| 2759 | return $self->soap_call('HostExtendDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2760 | } | ||
| 2761 | |||
| 2762 | sub HostGetVFlashModuleDefaultConfig { | ||
| 2763 | my ($self, %args) = @_; | ||
| 2764 | my $x_args = [ | ||
| 2765 | ['_this', 'ManagedObjectReference'], | ||
| 2766 | ['vFlashModule', undef], | ||
| 2767 | ]; | ||
| 2768 | return $self->soap_call('HostGetVFlashModuleDefaultConfig', 'VirtualDiskVFlashCacheConfigInfo', 0, $x_args, \%args); | ||
| 2769 | } | ||
| 2770 | |||
| 2771 | sub HostImageConfigGetAcceptance { | ||
| 2772 | my ($self, %args) = @_; | ||
| 2773 | my $x_args = [ | ||
| 2774 | ['_this', 'ManagedObjectReference'], | ||
| 2775 | ]; | ||
| 2776 | return $self->soap_call('HostImageConfigGetAcceptance', undef, 0, $x_args, \%args); | ||
| 2777 | } | ||
| 2778 | |||
| 2779 | sub HostImageConfigGetProfile { | ||
| 2780 | my ($self, %args) = @_; | ||
| 2781 | my $x_args = [ | ||
| 2782 | ['_this', 'ManagedObjectReference'], | ||
| 2783 | ]; | ||
| 2784 | return $self->soap_call('HostImageConfigGetProfile', 'HostImageProfileSummary', 0, $x_args, \%args); | ||
| 2785 | } | ||
| 2786 | |||
| 2787 | sub HostInflateDisk_Task { | ||
| 2788 | my ($self, %args) = @_; | ||
| 2789 | my $x_args = [ | ||
| 2790 | ['_this', 'ManagedObjectReference'], | ||
| 2791 | ['id', 'ID'], | ||
| 2792 | ['datastore', 'ManagedObjectReference'], | ||
| 2793 | ]; | ||
| 2794 | return $self->soap_call('HostInflateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2795 | } | ||
| 2796 | |||
| 2797 | sub HostListVStorageObject { | ||
| 2798 | my ($self, %args) = @_; | ||
| 2799 | my $x_args = [ | ||
| 2800 | ['_this', 'ManagedObjectReference'], | ||
| 2801 | ['datastore', 'ManagedObjectReference'], | ||
| 2802 | ]; | ||
| 2803 | return $self->soap_call('HostListVStorageObject', 'ID', 1, $x_args, \%args); | ||
| 2804 | } | ||
| 2805 | |||
| 2806 | sub HostReconcileDatastoreInventory_Task { | ||
| 2807 | my ($self, %args) = @_; | ||
| 2808 | my $x_args = [ | ||
| 2809 | ['_this', 'ManagedObjectReference'], | ||
| 2810 | ['datastore', 'ManagedObjectReference'], | ||
| 2811 | ]; | ||
| 2812 | return $self->soap_call('HostReconcileDatastoreInventory_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2813 | } | ||
| 2814 | |||
| 2815 | sub HostRegisterDisk { | ||
| 2816 | my ($self, %args) = @_; | ||
| 2817 | my $x_args = [ | ||
| 2818 | ['_this', 'ManagedObjectReference'], | ||
| 2819 | ['path', undef], | ||
| 2820 | ['name', undef], | ||
| 2821 | ]; | ||
| 2822 | return $self->soap_call('HostRegisterDisk', 'VStorageObject', 0, $x_args, \%args); | ||
| 2823 | } | ||
| 2824 | |||
| 2825 | sub HostRelocateVStorageObject_Task { | ||
| 2826 | my ($self, %args) = @_; | ||
| 2827 | my $x_args = [ | ||
| 2828 | ['_this', 'ManagedObjectReference'], | ||
| 2829 | ['id', 'ID'], | ||
| 2830 | ['datastore', 'ManagedObjectReference'], | ||
| 2831 | ['spec', 'VslmRelocateSpec'], | ||
| 2832 | ]; | ||
| 2833 | return $self->soap_call('HostRelocateVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2834 | } | ||
| 2835 | |||
| 2836 | sub HostRemoveVFlashResource { | ||
| 2837 | my ($self, %args) = @_; | ||
| 2838 | my $x_args = [ | ||
| 2839 | ['_this', 'ManagedObjectReference'], | ||
| 2840 | ]; | ||
| 2841 | return $self->soap_call('HostRemoveVFlashResource', undef, 0, $x_args, \%args); | ||
| 2842 | } | ||
| 2843 | |||
| 2844 | sub HostRenameVStorageObject { | ||
| 2845 | my ($self, %args) = @_; | ||
| 2846 | my $x_args = [ | ||
| 2847 | ['_this', 'ManagedObjectReference'], | ||
| 2848 | ['id', 'ID'], | ||
| 2849 | ['datastore', 'ManagedObjectReference'], | ||
| 2850 | ['name', undef], | ||
| 2851 | ]; | ||
| 2852 | return $self->soap_call('HostRenameVStorageObject', undef, 0, $x_args, \%args); | ||
| 2853 | } | ||
| 2854 | |||
| 2855 | sub HostRetrieveVStorageObject { | ||
| 2856 | my ($self, %args) = @_; | ||
| 2857 | my $x_args = [ | ||
| 2858 | ['_this', 'ManagedObjectReference'], | ||
| 2859 | ['id', 'ID'], | ||
| 2860 | ['datastore', 'ManagedObjectReference'], | ||
| 2861 | ]; | ||
| 2862 | return $self->soap_call('HostRetrieveVStorageObject', 'VStorageObject', 0, $x_args, \%args); | ||
| 2863 | } | ||
| 2864 | |||
| 2865 | sub HostRetrieveVStorageObjectState { | ||
| 2866 | my ($self, %args) = @_; | ||
| 2867 | my $x_args = [ | ||
| 2868 | ['_this', 'ManagedObjectReference'], | ||
| 2869 | ['id', 'ID'], | ||
| 2870 | ['datastore', 'ManagedObjectReference'], | ||
| 2871 | ]; | ||
| 2872 | return $self->soap_call('HostRetrieveVStorageObjectState', 'VStorageObjectStateInfo', 0, $x_args, \%args); | ||
| 2873 | } | ||
| 2874 | |||
| 2875 | sub HostScheduleReconcileDatastoreInventory { | ||
| 2876 | my ($self, %args) = @_; | ||
| 2877 | my $x_args = [ | ||
| 2878 | ['_this', 'ManagedObjectReference'], | ||
| 2879 | ['datastore', 'ManagedObjectReference'], | ||
| 2880 | ]; | ||
| 2881 | return $self->soap_call('HostScheduleReconcileDatastoreInventory', undef, 0, $x_args, \%args); | ||
| 2882 | } | ||
| 2883 | |||
| 2884 | sub HostSpecGetUpdatedHosts { | ||
| 2885 | my ($self, %args) = @_; | ||
| 2886 | my $x_args = [ | ||
| 2887 | ['_this', 'ManagedObjectReference'], | ||
| 2888 | ['startChangeID', undef], | ||
| 2889 | ['endChangeID', undef], | ||
| 2890 | ]; | ||
| 2891 | return $self->soap_call('HostSpecGetUpdatedHosts', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 2892 | } | ||
| 2893 | |||
| 2894 | sub HttpNfcLeaseAbort { | ||
| 2895 | my ($self, %args) = @_; | ||
| 2896 | my $x_args = [ | ||
| 2897 | ['_this', 'ManagedObjectReference'], | ||
| 2898 | ['fault', 'LocalizedMethodFault'], | ||
| 2899 | ]; | ||
| 2900 | return $self->soap_call('HttpNfcLeaseAbort', undef, 0, $x_args, \%args); | ||
| 2901 | } | ||
| 2902 | |||
| 2903 | sub HttpNfcLeaseComplete { | ||
| 2904 | my ($self, %args) = @_; | ||
| 2905 | my $x_args = [ | ||
| 2906 | ['_this', 'ManagedObjectReference'], | ||
| 2907 | ]; | ||
| 2908 | return $self->soap_call('HttpNfcLeaseComplete', undef, 0, $x_args, \%args); | ||
| 2909 | } | ||
| 2910 | |||
| 2911 | sub HttpNfcLeaseGetManifest { | ||
| 2912 | my ($self, %args) = @_; | ||
| 2913 | my $x_args = [ | ||
| 2914 | ['_this', 'ManagedObjectReference'], | ||
| 2915 | ]; | ||
| 2916 | return $self->soap_call('HttpNfcLeaseGetManifest', 'HttpNfcLeaseManifestEntry', 1, $x_args, \%args); | ||
| 2917 | } | ||
| 2918 | |||
| 2919 | sub HttpNfcLeaseProgress { | ||
| 2920 | my ($self, %args) = @_; | ||
| 2921 | my $x_args = [ | ||
| 2922 | ['_this', 'ManagedObjectReference'], | ||
| 2923 | ['percent', undef], | ||
| 2924 | ]; | ||
| 2925 | return $self->soap_call('HttpNfcLeaseProgress', undef, 0, $x_args, \%args); | ||
| 2926 | } | ||
| 2927 | |||
| 2928 | sub ImpersonateUser { | ||
| 2929 | my ($self, %args) = @_; | ||
| 2930 | my $x_args = [ | ||
| 2931 | ['_this', 'ManagedObjectReference'], | ||
| 2932 | ['userName', undef], | ||
| 2933 | ['locale', undef], | ||
| 2934 | ]; | ||
| 2935 | return $self->soap_call('ImpersonateUser', 'UserSession', 0, $x_args, \%args); | ||
| 2936 | } | ||
| 2937 | |||
| 2938 | sub ImportCertificateForCAM_Task { | ||
| 2939 | my ($self, %args) = @_; | ||
| 2940 | my $x_args = [ | ||
| 2941 | ['_this', 'ManagedObjectReference'], | ||
| 2942 | ['certPath', undef], | ||
| 2943 | ['camServer', undef], | ||
| 2944 | ]; | ||
| 2945 | return $self->soap_call('ImportCertificateForCAM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2946 | } | ||
| 2947 | |||
| 2948 | sub ImportUnmanagedSnapshot { | ||
| 2949 | my ($self, %args) = @_; | ||
| 2950 | my $x_args = [ | ||
| 2951 | ['_this', 'ManagedObjectReference'], | ||
| 2952 | ['vdisk', undef], | ||
| 2953 | ['datacenter', 'ManagedObjectReference'], | ||
| 2954 | ['vvolId', undef], | ||
| 2955 | ]; | ||
| 2956 | return $self->soap_call('ImportUnmanagedSnapshot', undef, 0, $x_args, \%args); | ||
| 2957 | } | ||
| 2958 | |||
| 2959 | sub ImportVApp { | ||
| 2960 | my ($self, %args) = @_; | ||
| 2961 | my $x_args = [ | ||
| 2962 | ['_this', 'ManagedObjectReference'], | ||
| 2963 | ['spec', 'ImportSpec'], | ||
| 2964 | ['folder', 'ManagedObjectReference'], | ||
| 2965 | ['host', 'ManagedObjectReference'], | ||
| 2966 | ]; | ||
| 2967 | return $self->soap_call('ImportVApp', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2968 | } | ||
| 2969 | |||
| 2970 | sub InflateDisk_Task { | ||
| 2971 | my ($self, %args) = @_; | ||
| 2972 | my $x_args = [ | ||
| 2973 | ['_this', 'ManagedObjectReference'], | ||
| 2974 | ['id', 'ID'], | ||
| 2975 | ['datastore', 'ManagedObjectReference'], | ||
| 2976 | ]; | ||
| 2977 | return $self->soap_call('InflateDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2978 | } | ||
| 2979 | |||
| 2980 | sub InflateVirtualDisk_Task { | ||
| 2981 | my ($self, %args) = @_; | ||
| 2982 | my $x_args = [ | ||
| 2983 | ['_this', 'ManagedObjectReference'], | ||
| 2984 | ['name', undef], | ||
| 2985 | ['datacenter', 'ManagedObjectReference'], | ||
| 2986 | ]; | ||
| 2987 | return $self->soap_call('InflateVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2988 | } | ||
| 2989 | |||
| 2990 | sub InitializeDisks_Task { | ||
| 2991 | my ($self, %args) = @_; | ||
| 2992 | my $x_args = [ | ||
| 2993 | ['_this', 'ManagedObjectReference'], | ||
| 2994 | ['mapping', 'VsanHostDiskMapping'], | ||
| 2995 | ]; | ||
| 2996 | return $self->soap_call('InitializeDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 2997 | } | ||
| 2998 | |||
| 2999 | sub InitiateFileTransferFromGuest { | ||
| 3000 | my ($self, %args) = @_; | ||
| 3001 | my $x_args = [ | ||
| 3002 | ['_this', 'ManagedObjectReference'], | ||
| 3003 | ['vm', 'ManagedObjectReference'], | ||
| 3004 | ['auth', 'GuestAuthentication'], | ||
| 3005 | ['guestFilePath', undef], | ||
| 3006 | ]; | ||
| 3007 | return $self->soap_call('InitiateFileTransferFromGuest', 'FileTransferInformation', 0, $x_args, \%args); | ||
| 3008 | } | ||
| 3009 | |||
| 3010 | sub InitiateFileTransferToGuest { | ||
| 3011 | my ($self, %args) = @_; | ||
| 3012 | my $x_args = [ | ||
| 3013 | ['_this', 'ManagedObjectReference'], | ||
| 3014 | ['vm', 'ManagedObjectReference'], | ||
| 3015 | ['auth', 'GuestAuthentication'], | ||
| 3016 | ['guestFilePath', undef], | ||
| 3017 | ['fileAttributes', 'GuestFileAttributes'], | ||
| 3018 | ['fileSize', undef], | ||
| 3019 | ['overwrite', 'boolean'], | ||
| 3020 | ]; | ||
| 3021 | return $self->soap_call('InitiateFileTransferToGuest', undef, 0, $x_args, \%args); | ||
| 3022 | } | ||
| 3023 | |||
| 3024 | sub InstallHostPatchV2_Task { | ||
| 3025 | my ($self, %args) = @_; | ||
| 3026 | my $x_args = [ | ||
| 3027 | ['_this', 'ManagedObjectReference'], | ||
| 3028 | ['metaUrls', undef], | ||
| 3029 | ['bundleUrls', undef], | ||
| 3030 | ['vibUrls', undef], | ||
| 3031 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 3032 | ]; | ||
| 3033 | return $self->soap_call('InstallHostPatchV2_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3034 | } | ||
| 3035 | |||
| 3036 | sub InstallHostPatch_Task { | ||
| 3037 | my ($self, %args) = @_; | ||
| 3038 | my $x_args = [ | ||
| 3039 | ['_this', 'ManagedObjectReference'], | ||
| 3040 | ['repository', 'HostPatchManagerLocator'], | ||
| 3041 | ['updateID', undef], | ||
| 3042 | ['force', 'boolean'], | ||
| 3043 | ]; | ||
| 3044 | return $self->soap_call('InstallHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3045 | } | ||
| 3046 | |||
| 3047 | sub InstallIoFilter_Task { | ||
| 3048 | my ($self, %args) = @_; | ||
| 3049 | my $x_args = [ | ||
| 3050 | ['_this', 'ManagedObjectReference'], | ||
| 3051 | ['vibUrl', undef], | ||
| 3052 | ['compRes', 'ManagedObjectReference'], | ||
| 3053 | ]; | ||
| 3054 | return $self->soap_call('InstallIoFilter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3055 | } | ||
| 3056 | |||
| 3057 | sub InstallServerCertificate { | ||
| 3058 | my ($self, %args) = @_; | ||
| 3059 | my $x_args = [ | ||
| 3060 | ['_this', 'ManagedObjectReference'], | ||
| 3061 | ['cert', undef], | ||
| 3062 | ]; | ||
| 3063 | return $self->soap_call('InstallServerCertificate', undef, 0, $x_args, \%args); | ||
| 3064 | } | ||
| 3065 | |||
| 3066 | sub InstallSmartCardTrustAnchor { | ||
| 3067 | my ($self, %args) = @_; | ||
| 3068 | my $x_args = [ | ||
| 3069 | ['_this', 'ManagedObjectReference'], | ||
| 3070 | ['cert', undef], | ||
| 3071 | ]; | ||
| 3072 | return $self->soap_call('InstallSmartCardTrustAnchor', undef, 0, $x_args, \%args); | ||
| 3073 | } | ||
| 3074 | |||
| 3075 | sub IsSharedGraphicsActive { | ||
| 3076 | my ($self, %args) = @_; | ||
| 3077 | my $x_args = [ | ||
| 3078 | ['_this', 'ManagedObjectReference'], | ||
| 3079 | ]; | ||
| 3080 | return $self->soap_call('IsSharedGraphicsActive', 'boolean', 0, $x_args, \%args); | ||
| 3081 | } | ||
| 3082 | |||
| 3083 | sub JoinDomainWithCAM_Task { | ||
| 3084 | my ($self, %args) = @_; | ||
| 3085 | my $x_args = [ | ||
| 3086 | ['_this', 'ManagedObjectReference'], | ||
| 3087 | ['domainName', undef], | ||
| 3088 | ['camServer', undef], | ||
| 3089 | ]; | ||
| 3090 | return $self->soap_call('JoinDomainWithCAM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3091 | } | ||
| 3092 | |||
| 3093 | sub JoinDomain_Task { | ||
| 3094 | my ($self, %args) = @_; | ||
| 3095 | my $x_args = [ | ||
| 3096 | ['_this', 'ManagedObjectReference'], | ||
| 3097 | ['domainName', undef], | ||
| 3098 | ['userName', undef], | ||
| 3099 | ['password', undef], | ||
| 3100 | ]; | ||
| 3101 | return $self->soap_call('JoinDomain_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3102 | } | ||
| 3103 | |||
| 3104 | sub LeaveCurrentDomain_Task { | ||
| 3105 | my ($self, %args) = @_; | ||
| 3106 | my $x_args = [ | ||
| 3107 | ['_this', 'ManagedObjectReference'], | ||
| 3108 | ['force', 'boolean'], | ||
| 3109 | ]; | ||
| 3110 | return $self->soap_call('LeaveCurrentDomain_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3111 | } | ||
| 3112 | |||
| 3113 | sub ListCACertificateRevocationLists { | ||
| 3114 | my ($self, %args) = @_; | ||
| 3115 | my $x_args = [ | ||
| 3116 | ['_this', 'ManagedObjectReference'], | ||
| 3117 | ]; | ||
| 3118 | return $self->soap_call('ListCACertificateRevocationLists', undef, 1, $x_args, \%args); | ||
| 3119 | } | ||
| 3120 | |||
| 3121 | sub ListCACertificates { | ||
| 3122 | my ($self, %args) = @_; | ||
| 3123 | my $x_args = [ | ||
| 3124 | ['_this', 'ManagedObjectReference'], | ||
| 3125 | ]; | ||
| 3126 | return $self->soap_call('ListCACertificates', undef, 1, $x_args, \%args); | ||
| 3127 | } | ||
| 3128 | |||
| 3129 | sub ListFilesInGuest { | ||
| 3130 | my ($self, %args) = @_; | ||
| 3131 | my $x_args = [ | ||
| 3132 | ['_this', 'ManagedObjectReference'], | ||
| 3133 | ['vm', 'ManagedObjectReference'], | ||
| 3134 | ['auth', 'GuestAuthentication'], | ||
| 3135 | ['filePath', undef], | ||
| 3136 | ['index', undef], | ||
| 3137 | ['maxResults', undef], | ||
| 3138 | ['matchPattern', undef], | ||
| 3139 | ]; | ||
| 3140 | return $self->soap_call('ListFilesInGuest', 'GuestListFileInfo', 0, $x_args, \%args); | ||
| 3141 | } | ||
| 3142 | |||
| 3143 | sub ListGuestAliases { | ||
| 3144 | my ($self, %args) = @_; | ||
| 3145 | my $x_args = [ | ||
| 3146 | ['_this', 'ManagedObjectReference'], | ||
| 3147 | ['vm', 'ManagedObjectReference'], | ||
| 3148 | ['auth', 'GuestAuthentication'], | ||
| 3149 | ['username', undef], | ||
| 3150 | ]; | ||
| 3151 | return $self->soap_call('ListGuestAliases', 'GuestAliases', 1, $x_args, \%args); | ||
| 3152 | } | ||
| 3153 | |||
| 3154 | sub ListGuestMappedAliases { | ||
| 3155 | my ($self, %args) = @_; | ||
| 3156 | my $x_args = [ | ||
| 3157 | ['_this', 'ManagedObjectReference'], | ||
| 3158 | ['vm', 'ManagedObjectReference'], | ||
| 3159 | ['auth', 'GuestAuthentication'], | ||
| 3160 | ]; | ||
| 3161 | return $self->soap_call('ListGuestMappedAliases', 'GuestMappedAliases', 1, $x_args, \%args); | ||
| 3162 | } | ||
| 3163 | |||
| 3164 | sub ListKeys { | ||
| 3165 | my ($self, %args) = @_; | ||
| 3166 | my $x_args = [ | ||
| 3167 | ['_this', 'ManagedObjectReference'], | ||
| 3168 | ['limit', undef], | ||
| 3169 | ]; | ||
| 3170 | return $self->soap_call('ListKeys', 'CryptoKeyId', 1, $x_args, \%args); | ||
| 3171 | } | ||
| 3172 | |||
| 3173 | sub ListKmipServers { | ||
| 3174 | my ($self, %args) = @_; | ||
| 3175 | my $x_args = [ | ||
| 3176 | ['_this', 'ManagedObjectReference'], | ||
| 3177 | ['limit', undef], | ||
| 3178 | ]; | ||
| 3179 | return $self->soap_call('ListKmipServers', 'KmipClusterInfo', 1, $x_args, \%args); | ||
| 3180 | } | ||
| 3181 | |||
| 3182 | sub ListProcessesInGuest { | ||
| 3183 | my ($self, %args) = @_; | ||
| 3184 | my $x_args = [ | ||
| 3185 | ['_this', 'ManagedObjectReference'], | ||
| 3186 | ['vm', 'ManagedObjectReference'], | ||
| 3187 | ['auth', 'GuestAuthentication'], | ||
| 3188 | ['pids', undef], | ||
| 3189 | ]; | ||
| 3190 | return $self->soap_call('ListProcessesInGuest', 'GuestProcessInfo', 1, $x_args, \%args); | ||
| 3191 | } | ||
| 3192 | |||
| 3193 | sub ListRegistryKeysInGuest { | ||
| 3194 | my ($self, %args) = @_; | ||
| 3195 | my $x_args = [ | ||
| 3196 | ['_this', 'ManagedObjectReference'], | ||
| 3197 | ['vm', 'ManagedObjectReference'], | ||
| 3198 | ['auth', 'GuestAuthentication'], | ||
| 3199 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 3200 | ['recursive', 'boolean'], | ||
| 3201 | ['matchPattern', undef], | ||
| 3202 | ]; | ||
| 3203 | return $self->soap_call('ListRegistryKeysInGuest', 'GuestRegKeyRecordSpec', 1, $x_args, \%args); | ||
| 3204 | } | ||
| 3205 | |||
| 3206 | sub ListRegistryValuesInGuest { | ||
| 3207 | my ($self, %args) = @_; | ||
| 3208 | my $x_args = [ | ||
| 3209 | ['_this', 'ManagedObjectReference'], | ||
| 3210 | ['vm', 'ManagedObjectReference'], | ||
| 3211 | ['auth', 'GuestAuthentication'], | ||
| 3212 | ['keyName', 'GuestRegKeyNameSpec'], | ||
| 3213 | ['expandStrings', 'boolean'], | ||
| 3214 | ['matchPattern', undef], | ||
| 3215 | ]; | ||
| 3216 | return $self->soap_call('ListRegistryValuesInGuest', 'GuestRegValueSpec', 1, $x_args, \%args); | ||
| 3217 | } | ||
| 3218 | |||
| 3219 | sub ListSmartCardTrustAnchors { | ||
| 3220 | my ($self, %args) = @_; | ||
| 3221 | my $x_args = [ | ||
| 3222 | ['_this', 'ManagedObjectReference'], | ||
| 3223 | ]; | ||
| 3224 | return $self->soap_call('ListSmartCardTrustAnchors', undef, 1, $x_args, \%args); | ||
| 3225 | } | ||
| 3226 | |||
| 3227 | sub ListTagsAttachedToVStorageObject { | ||
| 3228 | my ($self, %args) = @_; | ||
| 3229 | my $x_args = [ | ||
| 3230 | ['_this', 'ManagedObjectReference'], | ||
| 3231 | ['id', 'ID'], | ||
| 3232 | ]; | ||
| 3233 | return $self->soap_call('ListTagsAttachedToVStorageObject', 'VslmTagEntry', 1, $x_args, \%args); | ||
| 3234 | } | ||
| 3235 | |||
| 3236 | sub ListVStorageObject { | ||
| 3237 | my ($self, %args) = @_; | ||
| 3238 | my $x_args = [ | ||
| 3239 | ['_this', 'ManagedObjectReference'], | ||
| 3240 | ['datastore', 'ManagedObjectReference'], | ||
| 3241 | ]; | ||
| 3242 | return $self->soap_call('ListVStorageObject', 'ID', 1, $x_args, \%args); | ||
| 3243 | } | ||
| 3244 | |||
| 3245 | sub ListVStorageObjectsAttachedToTag { | ||
| 3246 | my ($self, %args) = @_; | ||
| 3247 | my $x_args = [ | ||
| 3248 | ['_this', 'ManagedObjectReference'], | ||
| 3249 | ['category', undef], | ||
| 3250 | ['tag', undef], | ||
| 3251 | ]; | ||
| 3252 | return $self->soap_call('ListVStorageObjectsAttachedToTag', 'ID', 1, $x_args, \%args); | ||
| 3253 | } | ||
| 3254 | |||
| 3255 | sub LogUserEvent { | ||
| 3256 | my ($self, %args) = @_; | ||
| 3257 | my $x_args = [ | ||
| 3258 | ['_this', 'ManagedObjectReference'], | ||
| 3259 | ['entity', 'ManagedObjectReference'], | ||
| 3260 | ['msg', undef], | ||
| 3261 | ]; | ||
| 3262 | return $self->soap_call('LogUserEvent', undef, 0, $x_args, \%args); | ||
| 3263 | } | ||
| 3264 | |||
| 3265 | sub Login { | ||
| 3266 | my ($self, %args) = @_; | ||
| 3267 | my $x_args = [ | ||
| 3268 | ['_this', 'ManagedObjectReference'], | ||
| 3269 | ['userName', undef], | ||
| 3270 | ['password', undef], | ||
| 3271 | ['locale', undef], | ||
| 3272 | ]; | ||
| 3273 | return $self->soap_call('Login', 'UserSession', 0, $x_args, \%args); | ||
| 3274 | } | ||
| 3275 | |||
| 3276 | sub LoginBySSPI { | ||
| 3277 | my ($self, %args) = @_; | ||
| 3278 | my $x_args = [ | ||
| 3279 | ['_this', 'ManagedObjectReference'], | ||
| 3280 | ['base64Token', undef], | ||
| 3281 | ['locale', undef], | ||
| 3282 | ]; | ||
| 3283 | return $self->soap_call('LoginBySSPI', 'UserSession', 0, $x_args, \%args); | ||
| 3284 | } | ||
| 3285 | |||
| 3286 | sub LoginByToken { | ||
| 3287 | my ($self, %args) = @_; | ||
| 3288 | my $x_args = [ | ||
| 3289 | ['_this', 'ManagedObjectReference'], | ||
| 3290 | ['locale', undef], | ||
| 3291 | ]; | ||
| 3292 | return $self->soap_call('LoginByToken', 'UserSession', 0, $x_args, \%args); | ||
| 3293 | } | ||
| 3294 | |||
| 3295 | sub LoginExtensionByCertificate { | ||
| 3296 | my ($self, %args) = @_; | ||
| 3297 | my $x_args = [ | ||
| 3298 | ['_this', 'ManagedObjectReference'], | ||
| 3299 | ['extensionKey', undef], | ||
| 3300 | ['locale', undef], | ||
| 3301 | ]; | ||
| 3302 | return $self->soap_call('LoginExtensionByCertificate', 'UserSession', 0, $x_args, \%args); | ||
| 3303 | } | ||
| 3304 | |||
| 3305 | sub LoginExtensionBySubjectName { | ||
| 3306 | my ($self, %args) = @_; | ||
| 3307 | my $x_args = [ | ||
| 3308 | ['_this', 'ManagedObjectReference'], | ||
| 3309 | ['extensionKey', undef], | ||
| 3310 | ['locale', undef], | ||
| 3311 | ]; | ||
| 3312 | return $self->soap_call('LoginExtensionBySubjectName', 'UserSession', 0, $x_args, \%args); | ||
| 3313 | } | ||
| 3314 | |||
| 3315 | sub Logout { | ||
| 3316 | my ($self, %args) = @_; | ||
| 3317 | my $x_args = [ | ||
| 3318 | ['_this', 'ManagedObjectReference'], | ||
| 3319 | ]; | ||
| 3320 | return $self->soap_call('Logout', undef, 0, $x_args, \%args); | ||
| 3321 | } | ||
| 3322 | |||
| 3323 | sub LookupDvPortGroup { | ||
| 3324 | my ($self, %args) = @_; | ||
| 3325 | my $x_args = [ | ||
| 3326 | ['_this', 'ManagedObjectReference'], | ||
| 3327 | ['portgroupKey', undef], | ||
| 3328 | ]; | ||
| 3329 | return $self->soap_call('LookupDvPortGroup', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3330 | } | ||
| 3331 | |||
| 3332 | sub LookupVmOverheadMemory { | ||
| 3333 | my ($self, %args) = @_; | ||
| 3334 | my $x_args = [ | ||
| 3335 | ['_this', 'ManagedObjectReference'], | ||
| 3336 | ['vm', 'ManagedObjectReference'], | ||
| 3337 | ['host', 'ManagedObjectReference'], | ||
| 3338 | ]; | ||
| 3339 | return $self->soap_call('LookupVmOverheadMemory', undef, 0, $x_args, \%args); | ||
| 3340 | } | ||
| 3341 | |||
| 3342 | sub MakeDirectory { | ||
| 3343 | my ($self, %args) = @_; | ||
| 3344 | my $x_args = [ | ||
| 3345 | ['_this', 'ManagedObjectReference'], | ||
| 3346 | ['name', undef], | ||
| 3347 | ['datacenter', 'ManagedObjectReference'], | ||
| 3348 | ['createParentDirectories', 'boolean'], | ||
| 3349 | ]; | ||
| 3350 | return $self->soap_call('MakeDirectory', undef, 0, $x_args, \%args); | ||
| 3351 | } | ||
| 3352 | |||
| 3353 | sub MakeDirectoryInGuest { | ||
| 3354 | my ($self, %args) = @_; | ||
| 3355 | my $x_args = [ | ||
| 3356 | ['_this', 'ManagedObjectReference'], | ||
| 3357 | ['vm', 'ManagedObjectReference'], | ||
| 3358 | ['auth', 'GuestAuthentication'], | ||
| 3359 | ['directoryPath', undef], | ||
| 3360 | ['createParentDirectories', 'boolean'], | ||
| 3361 | ]; | ||
| 3362 | return $self->soap_call('MakeDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 3363 | } | ||
| 3364 | |||
| 3365 | sub MakePrimaryVM_Task { | ||
| 3366 | my ($self, %args) = @_; | ||
| 3367 | my $x_args = [ | ||
| 3368 | ['_this', 'ManagedObjectReference'], | ||
| 3369 | ['vm', 'ManagedObjectReference'], | ||
| 3370 | ]; | ||
| 3371 | return $self->soap_call('MakePrimaryVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3372 | } | ||
| 3373 | |||
| 3374 | sub MarkAsLocal_Task { | ||
| 3375 | my ($self, %args) = @_; | ||
| 3376 | my $x_args = [ | ||
| 3377 | ['_this', 'ManagedObjectReference'], | ||
| 3378 | ['scsiDiskUuid', undef], | ||
| 3379 | ]; | ||
| 3380 | return $self->soap_call('MarkAsLocal_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3381 | } | ||
| 3382 | |||
| 3383 | sub MarkAsNonLocal_Task { | ||
| 3384 | my ($self, %args) = @_; | ||
| 3385 | my $x_args = [ | ||
| 3386 | ['_this', 'ManagedObjectReference'], | ||
| 3387 | ['scsiDiskUuid', undef], | ||
| 3388 | ]; | ||
| 3389 | return $self->soap_call('MarkAsNonLocal_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3390 | } | ||
| 3391 | |||
| 3392 | sub MarkAsNonSsd_Task { | ||
| 3393 | my ($self, %args) = @_; | ||
| 3394 | my $x_args = [ | ||
| 3395 | ['_this', 'ManagedObjectReference'], | ||
| 3396 | ['scsiDiskUuid', undef], | ||
| 3397 | ]; | ||
| 3398 | return $self->soap_call('MarkAsNonSsd_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3399 | } | ||
| 3400 | |||
| 3401 | sub MarkAsSsd_Task { | ||
| 3402 | my ($self, %args) = @_; | ||
| 3403 | my $x_args = [ | ||
| 3404 | ['_this', 'ManagedObjectReference'], | ||
| 3405 | ['scsiDiskUuid', undef], | ||
| 3406 | ]; | ||
| 3407 | return $self->soap_call('MarkAsSsd_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3408 | } | ||
| 3409 | |||
| 3410 | sub MarkAsTemplate { | ||
| 3411 | my ($self, %args) = @_; | ||
| 3412 | my $x_args = [ | ||
| 3413 | ['_this', 'ManagedObjectReference'], | ||
| 3414 | ]; | ||
| 3415 | return $self->soap_call('MarkAsTemplate', undef, 0, $x_args, \%args); | ||
| 3416 | } | ||
| 3417 | |||
| 3418 | sub MarkAsVirtualMachine { | ||
| 3419 | my ($self, %args) = @_; | ||
| 3420 | my $x_args = [ | ||
| 3421 | ['_this', 'ManagedObjectReference'], | ||
| 3422 | ['pool', 'ManagedObjectReference'], | ||
| 3423 | ['host', 'ManagedObjectReference'], | ||
| 3424 | ]; | ||
| 3425 | return $self->soap_call('MarkAsVirtualMachine', undef, 0, $x_args, \%args); | ||
| 3426 | } | ||
| 3427 | |||
| 3428 | sub MarkDefault { | ||
| 3429 | my ($self, %args) = @_; | ||
| 3430 | my $x_args = [ | ||
| 3431 | ['_this', 'ManagedObjectReference'], | ||
| 3432 | ['clusterId', 'KeyProviderId'], | ||
| 3433 | ]; | ||
| 3434 | return $self->soap_call('MarkDefault', undef, 0, $x_args, \%args); | ||
| 3435 | } | ||
| 3436 | |||
| 3437 | sub MarkForRemoval { | ||
| 3438 | my ($self, %args) = @_; | ||
| 3439 | my $x_args = [ | ||
| 3440 | ['_this', 'ManagedObjectReference'], | ||
| 3441 | ['hbaName', undef], | ||
| 3442 | ['remove', 'boolean'], | ||
| 3443 | ]; | ||
| 3444 | return $self->soap_call('MarkForRemoval', undef, 0, $x_args, \%args); | ||
| 3445 | } | ||
| 3446 | |||
| 3447 | sub MergeDvs_Task { | ||
| 3448 | my ($self, %args) = @_; | ||
| 3449 | my $x_args = [ | ||
| 3450 | ['_this', 'ManagedObjectReference'], | ||
| 3451 | ['dvs', 'ManagedObjectReference'], | ||
| 3452 | ]; | ||
| 3453 | return $self->soap_call('MergeDvs_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3454 | } | ||
| 3455 | |||
| 3456 | sub MergePermissions { | ||
| 3457 | my ($self, %args) = @_; | ||
| 3458 | my $x_args = [ | ||
| 3459 | ['_this', 'ManagedObjectReference'], | ||
| 3460 | ['srcRoleId', undef], | ||
| 3461 | ['dstRoleId', undef], | ||
| 3462 | ]; | ||
| 3463 | return $self->soap_call('MergePermissions', undef, 0, $x_args, \%args); | ||
| 3464 | } | ||
| 3465 | |||
| 3466 | sub MigrateVM_Task { | ||
| 3467 | my ($self, %args) = @_; | ||
| 3468 | my $x_args = [ | ||
| 3469 | ['_this', 'ManagedObjectReference'], | ||
| 3470 | ['pool', 'ManagedObjectReference'], | ||
| 3471 | ['host', 'ManagedObjectReference'], | ||
| 3472 | ['priority', 'VirtualMachineMovePriority'], | ||
| 3473 | ['state', 'VirtualMachinePowerState'], | ||
| 3474 | ]; | ||
| 3475 | return $self->soap_call('MigrateVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3476 | } | ||
| 3477 | |||
| 3478 | sub ModifyListView { | ||
| 3479 | my ($self, %args) = @_; | ||
| 3480 | my $x_args = [ | ||
| 3481 | ['_this', 'ManagedObjectReference'], | ||
| 3482 | ['add', 'ManagedObjectReference'], | ||
| 3483 | ['remove', 'ManagedObjectReference'], | ||
| 3484 | ]; | ||
| 3485 | return $self->soap_call('ModifyListView', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3486 | } | ||
| 3487 | |||
| 3488 | sub MountToolsInstaller { | ||
| 3489 | my ($self, %args) = @_; | ||
| 3490 | my $x_args = [ | ||
| 3491 | ['_this', 'ManagedObjectReference'], | ||
| 3492 | ]; | ||
| 3493 | return $self->soap_call('MountToolsInstaller', undef, 0, $x_args, \%args); | ||
| 3494 | } | ||
| 3495 | |||
| 3496 | sub MountVffsVolume { | ||
| 3497 | my ($self, %args) = @_; | ||
| 3498 | my $x_args = [ | ||
| 3499 | ['_this', 'ManagedObjectReference'], | ||
| 3500 | ['vffsUuid', undef], | ||
| 3501 | ]; | ||
| 3502 | return $self->soap_call('MountVffsVolume', undef, 0, $x_args, \%args); | ||
| 3503 | } | ||
| 3504 | |||
| 3505 | sub MountVmfsVolume { | ||
| 3506 | my ($self, %args) = @_; | ||
| 3507 | my $x_args = [ | ||
| 3508 | ['_this', 'ManagedObjectReference'], | ||
| 3509 | ['vmfsUuid', undef], | ||
| 3510 | ]; | ||
| 3511 | return $self->soap_call('MountVmfsVolume', undef, 0, $x_args, \%args); | ||
| 3512 | } | ||
| 3513 | |||
| 3514 | sub MountVmfsVolumeEx_Task { | ||
| 3515 | my ($self, %args) = @_; | ||
| 3516 | my $x_args = [ | ||
| 3517 | ['_this', 'ManagedObjectReference'], | ||
| 3518 | ['vmfsUuid', undef], | ||
| 3519 | ]; | ||
| 3520 | return $self->soap_call('MountVmfsVolumeEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3521 | } | ||
| 3522 | |||
| 3523 | sub MoveDVPort_Task { | ||
| 3524 | my ($self, %args) = @_; | ||
| 3525 | my $x_args = [ | ||
| 3526 | ['_this', 'ManagedObjectReference'], | ||
| 3527 | ['portKey', undef], | ||
| 3528 | ['destinationPortgroupKey', undef], | ||
| 3529 | ]; | ||
| 3530 | return $self->soap_call('MoveDVPort_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3531 | } | ||
| 3532 | |||
| 3533 | sub MoveDatastoreFile_Task { | ||
| 3534 | my ($self, %args) = @_; | ||
| 3535 | my $x_args = [ | ||
| 3536 | ['_this', 'ManagedObjectReference'], | ||
| 3537 | ['sourceName', undef], | ||
| 3538 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 3539 | ['destinationName', undef], | ||
| 3540 | ['destinationDatacenter', 'ManagedObjectReference'], | ||
| 3541 | ['force', 'boolean'], | ||
| 3542 | ]; | ||
| 3543 | return $self->soap_call('MoveDatastoreFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3544 | } | ||
| 3545 | |||
| 3546 | sub MoveDirectoryInGuest { | ||
| 3547 | my ($self, %args) = @_; | ||
| 3548 | my $x_args = [ | ||
| 3549 | ['_this', 'ManagedObjectReference'], | ||
| 3550 | ['vm', 'ManagedObjectReference'], | ||
| 3551 | ['auth', 'GuestAuthentication'], | ||
| 3552 | ['srcDirectoryPath', undef], | ||
| 3553 | ['dstDirectoryPath', undef], | ||
| 3554 | ]; | ||
| 3555 | return $self->soap_call('MoveDirectoryInGuest', undef, 0, $x_args, \%args); | ||
| 3556 | } | ||
| 3557 | |||
| 3558 | sub MoveFileInGuest { | ||
| 3559 | my ($self, %args) = @_; | ||
| 3560 | my $x_args = [ | ||
| 3561 | ['_this', 'ManagedObjectReference'], | ||
| 3562 | ['vm', 'ManagedObjectReference'], | ||
| 3563 | ['auth', 'GuestAuthentication'], | ||
| 3564 | ['srcFilePath', undef], | ||
| 3565 | ['dstFilePath', undef], | ||
| 3566 | ['overwrite', 'boolean'], | ||
| 3567 | ]; | ||
| 3568 | return $self->soap_call('MoveFileInGuest', undef, 0, $x_args, \%args); | ||
| 3569 | } | ||
| 3570 | |||
| 3571 | sub MoveHostInto_Task { | ||
| 3572 | my ($self, %args) = @_; | ||
| 3573 | my $x_args = [ | ||
| 3574 | ['_this', 'ManagedObjectReference'], | ||
| 3575 | ['host', 'ManagedObjectReference'], | ||
| 3576 | ['resourcePool', 'ManagedObjectReference'], | ||
| 3577 | ]; | ||
| 3578 | return $self->soap_call('MoveHostInto_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3579 | } | ||
| 3580 | |||
| 3581 | sub MoveIntoFolder_Task { | ||
| 3582 | my ($self, %args) = @_; | ||
| 3583 | my $x_args = [ | ||
| 3584 | ['_this', 'ManagedObjectReference'], | ||
| 3585 | ['list', 'ManagedObjectReference'], | ||
| 3586 | ]; | ||
| 3587 | return $self->soap_call('MoveIntoFolder_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3588 | } | ||
| 3589 | |||
| 3590 | sub MoveIntoResourcePool { | ||
| 3591 | my ($self, %args) = @_; | ||
| 3592 | my $x_args = [ | ||
| 3593 | ['_this', 'ManagedObjectReference'], | ||
| 3594 | ['list', 'ManagedObjectReference'], | ||
| 3595 | ]; | ||
| 3596 | return $self->soap_call('MoveIntoResourcePool', undef, 0, $x_args, \%args); | ||
| 3597 | } | ||
| 3598 | |||
| 3599 | sub MoveInto_Task { | ||
| 3600 | my ($self, %args) = @_; | ||
| 3601 | my $x_args = [ | ||
| 3602 | ['_this', 'ManagedObjectReference'], | ||
| 3603 | ['host', 'ManagedObjectReference'], | ||
| 3604 | ]; | ||
| 3605 | return $self->soap_call('MoveInto_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3606 | } | ||
| 3607 | |||
| 3608 | sub MoveVirtualDisk_Task { | ||
| 3609 | my ($self, %args) = @_; | ||
| 3610 | my $x_args = [ | ||
| 3611 | ['_this', 'ManagedObjectReference'], | ||
| 3612 | ['sourceName', undef], | ||
| 3613 | ['sourceDatacenter', 'ManagedObjectReference'], | ||
| 3614 | ['destName', undef], | ||
| 3615 | ['destDatacenter', 'ManagedObjectReference'], | ||
| 3616 | ['force', 'boolean'], | ||
| 3617 | ['profile', 'VirtualMachineProfileSpec'], | ||
| 3618 | ]; | ||
| 3619 | return $self->soap_call('MoveVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3620 | } | ||
| 3621 | |||
| 3622 | sub OpenInventoryViewFolder { | ||
| 3623 | my ($self, %args) = @_; | ||
| 3624 | my $x_args = [ | ||
| 3625 | ['_this', 'ManagedObjectReference'], | ||
| 3626 | ['entity', 'ManagedObjectReference'], | ||
| 3627 | ]; | ||
| 3628 | return $self->soap_call('OpenInventoryViewFolder', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3629 | } | ||
| 3630 | |||
| 3631 | sub OverwriteCustomizationSpec { | ||
| 3632 | my ($self, %args) = @_; | ||
| 3633 | my $x_args = [ | ||
| 3634 | ['_this', 'ManagedObjectReference'], | ||
| 3635 | ['item', 'CustomizationSpecItem'], | ||
| 3636 | ]; | ||
| 3637 | return $self->soap_call('OverwriteCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 3638 | } | ||
| 3639 | |||
| 3640 | sub ParseDescriptor { | ||
| 3641 | my ($self, %args) = @_; | ||
| 3642 | my $x_args = [ | ||
| 3643 | ['_this', 'ManagedObjectReference'], | ||
| 3644 | ['ovfDescriptor', undef], | ||
| 3645 | ['pdp', 'OvfParseDescriptorParams'], | ||
| 3646 | ]; | ||
| 3647 | return $self->soap_call('ParseDescriptor', 'OvfParseDescriptorResult', 0, $x_args, \%args); | ||
| 3648 | } | ||
| 3649 | |||
| 3650 | sub PerformDvsProductSpecOperation_Task { | ||
| 3651 | my ($self, %args) = @_; | ||
| 3652 | my $x_args = [ | ||
| 3653 | ['_this', 'ManagedObjectReference'], | ||
| 3654 | ['operation', undef], | ||
| 3655 | ['productSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 3656 | ]; | ||
| 3657 | return $self->soap_call('PerformDvsProductSpecOperation_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3658 | } | ||
| 3659 | |||
| 3660 | sub PerformVsanUpgradePreflightCheck { | ||
| 3661 | my ($self, %args) = @_; | ||
| 3662 | my $x_args = [ | ||
| 3663 | ['_this', 'ManagedObjectReference'], | ||
| 3664 | ['cluster', 'ManagedObjectReference'], | ||
| 3665 | ['downgradeFormat', 'boolean'], | ||
| 3666 | ]; | ||
| 3667 | return $self->soap_call('PerformVsanUpgradePreflightCheck', 'VsanUpgradeSystemPreflightCheckResult', 0, $x_args, \%args); | ||
| 3668 | } | ||
| 3669 | |||
| 3670 | sub PerformVsanUpgrade_Task { | ||
| 3671 | my ($self, %args) = @_; | ||
| 3672 | my $x_args = [ | ||
| 3673 | ['_this', 'ManagedObjectReference'], | ||
| 3674 | ['cluster', 'ManagedObjectReference'], | ||
| 3675 | ['performObjectUpgrade', 'boolean'], | ||
| 3676 | ['downgradeFormat', 'boolean'], | ||
| 3677 | ['allowReducedRedundancy', 'boolean'], | ||
| 3678 | ['excludeHosts', 'ManagedObjectReference'], | ||
| 3679 | ]; | ||
| 3680 | return $self->soap_call('PerformVsanUpgrade_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3681 | } | ||
| 3682 | |||
| 3683 | sub PlaceVm { | ||
| 3684 | my ($self, %args) = @_; | ||
| 3685 | my $x_args = [ | ||
| 3686 | ['_this', 'ManagedObjectReference'], | ||
| 3687 | ['placementSpec', 'PlacementSpec'], | ||
| 3688 | ]; | ||
| 3689 | return $self->soap_call('PlaceVm', 'PlacementResult', 0, $x_args, \%args); | ||
| 3690 | } | ||
| 3691 | |||
| 3692 | sub PostEvent { | ||
| 3693 | my ($self, %args) = @_; | ||
| 3694 | my $x_args = [ | ||
| 3695 | ['_this', 'ManagedObjectReference'], | ||
| 3696 | ['eventToPost', 'Event'], | ||
| 3697 | ['taskInfo', 'TaskInfo'], | ||
| 3698 | ]; | ||
| 3699 | return $self->soap_call('PostEvent', undef, 0, $x_args, \%args); | ||
| 3700 | } | ||
| 3701 | |||
| 3702 | sub PostHealthUpdates { | ||
| 3703 | my ($self, %args) = @_; | ||
| 3704 | my $x_args = [ | ||
| 3705 | ['_this', 'ManagedObjectReference'], | ||
| 3706 | ['providerId', undef], | ||
| 3707 | ['updates', 'HealthUpdate'], | ||
| 3708 | ]; | ||
| 3709 | return $self->soap_call('PostHealthUpdates', undef, 0, $x_args, \%args); | ||
| 3710 | } | ||
| 3711 | |||
| 3712 | sub PowerDownHostToStandBy_Task { | ||
| 3713 | my ($self, %args) = @_; | ||
| 3714 | my $x_args = [ | ||
| 3715 | ['_this', 'ManagedObjectReference'], | ||
| 3716 | ['timeoutSec', undef], | ||
| 3717 | ['evacuatePoweredOffVms', 'boolean'], | ||
| 3718 | ]; | ||
| 3719 | return $self->soap_call('PowerDownHostToStandBy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3720 | } | ||
| 3721 | |||
| 3722 | sub PowerOffVApp_Task { | ||
| 3723 | my ($self, %args) = @_; | ||
| 3724 | my $x_args = [ | ||
| 3725 | ['_this', 'ManagedObjectReference'], | ||
| 3726 | ['force', 'boolean'], | ||
| 3727 | ]; | ||
| 3728 | return $self->soap_call('PowerOffVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3729 | } | ||
| 3730 | |||
| 3731 | sub PowerOffVM_Task { | ||
| 3732 | my ($self, %args) = @_; | ||
| 3733 | my $x_args = [ | ||
| 3734 | ['_this', 'ManagedObjectReference'], | ||
| 3735 | ]; | ||
| 3736 | return $self->soap_call('PowerOffVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3737 | } | ||
| 3738 | |||
| 3739 | sub PowerOnMultiVM_Task { | ||
| 3740 | my ($self, %args) = @_; | ||
| 3741 | my $x_args = [ | ||
| 3742 | ['_this', 'ManagedObjectReference'], | ||
| 3743 | ['vm', 'ManagedObjectReference'], | ||
| 3744 | ['option', 'OptionValue'], | ||
| 3745 | ]; | ||
| 3746 | return $self->soap_call('PowerOnMultiVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3747 | } | ||
| 3748 | |||
| 3749 | sub PowerOnVApp_Task { | ||
| 3750 | my ($self, %args) = @_; | ||
| 3751 | my $x_args = [ | ||
| 3752 | ['_this', 'ManagedObjectReference'], | ||
| 3753 | ]; | ||
| 3754 | return $self->soap_call('PowerOnVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3755 | } | ||
| 3756 | |||
| 3757 | sub PowerOnVM_Task { | ||
| 3758 | my ($self, %args) = @_; | ||
| 3759 | my $x_args = [ | ||
| 3760 | ['_this', 'ManagedObjectReference'], | ||
| 3761 | ['host', 'ManagedObjectReference'], | ||
| 3762 | ]; | ||
| 3763 | return $self->soap_call('PowerOnVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3764 | } | ||
| 3765 | |||
| 3766 | sub PowerUpHostFromStandBy_Task { | ||
| 3767 | my ($self, %args) = @_; | ||
| 3768 | my $x_args = [ | ||
| 3769 | ['_this', 'ManagedObjectReference'], | ||
| 3770 | ['timeoutSec', undef], | ||
| 3771 | ]; | ||
| 3772 | return $self->soap_call('PowerUpHostFromStandBy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3773 | } | ||
| 3774 | |||
| 3775 | sub PrepareCrypto { | ||
| 3776 | my ($self, %args) = @_; | ||
| 3777 | my $x_args = [ | ||
| 3778 | ['_this', 'ManagedObjectReference'], | ||
| 3779 | ]; | ||
| 3780 | return $self->soap_call('PrepareCrypto', undef, 0, $x_args, \%args); | ||
| 3781 | } | ||
| 3782 | |||
| 3783 | sub PromoteDisks_Task { | ||
| 3784 | my ($self, %args) = @_; | ||
| 3785 | my $x_args = [ | ||
| 3786 | ['_this', 'ManagedObjectReference'], | ||
| 3787 | ['unlink', 'boolean'], | ||
| 3788 | ['disks', 'VirtualDisk'], | ||
| 3789 | ]; | ||
| 3790 | return $self->soap_call('PromoteDisks_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 3791 | } | ||
| 3792 | |||
| 3793 | sub PutUsbScanCodes { | ||
| 3794 | my ($self, %args) = @_; | ||
| 3795 | my $x_args = [ | ||
| 3796 | ['_this', 'ManagedObjectReference'], | ||
| 3797 | ['spec', 'UsbScanCodeSpec'], | ||
| 3798 | ]; | ||
| 3799 | return $self->soap_call('PutUsbScanCodes', undef, 0, $x_args, \%args); | ||
| 3800 | } | ||
| 3801 | |||
| 3802 | sub QueryAnswerFileStatus { | ||
| 3803 | my ($self, %args) = @_; | ||
| 3804 | my $x_args = [ | ||
| 3805 | ['_this', 'ManagedObjectReference'], | ||
| 3806 | ['host', 'ManagedObjectReference'], | ||
| 3807 | ]; | ||
| 3808 | return $self->soap_call('QueryAnswerFileStatus', 'AnswerFileStatusResult', 1, $x_args, \%args); | ||
| 3809 | } | ||
| 3810 | |||
| 3811 | sub QueryAssignedLicenses { | ||
| 3812 | my ($self, %args) = @_; | ||
| 3813 | my $x_args = [ | ||
| 3814 | ['_this', 'ManagedObjectReference'], | ||
| 3815 | ['entityId', undef], | ||
| 3816 | ]; | ||
| 3817 | return $self->soap_call('QueryAssignedLicenses', 'LicenseAssignmentManagerLicenseAssignment', 1, $x_args, \%args); | ||
| 3818 | } | ||
| 3819 | |||
| 3820 | sub QueryAvailableDisksForVmfs { | ||
| 3821 | my ($self, %args) = @_; | ||
| 3822 | my $x_args = [ | ||
| 3823 | ['_this', 'ManagedObjectReference'], | ||
| 3824 | ['datastore', 'ManagedObjectReference'], | ||
| 3825 | ]; | ||
| 3826 | return $self->soap_call('QueryAvailableDisksForVmfs', 'HostScsiDisk', 1, $x_args, \%args); | ||
| 3827 | } | ||
| 3828 | |||
| 3829 | sub QueryAvailableDvsSpec { | ||
| 3830 | my ($self, %args) = @_; | ||
| 3831 | my $x_args = [ | ||
| 3832 | ['_this', 'ManagedObjectReference'], | ||
| 3833 | ['recommended', 'boolean'], | ||
| 3834 | ]; | ||
| 3835 | return $self->soap_call('QueryAvailableDvsSpec', 'DistributedVirtualSwitchProductSpec', 1, $x_args, \%args); | ||
| 3836 | } | ||
| 3837 | |||
| 3838 | sub QueryAvailablePartition { | ||
| 3839 | my ($self, %args) = @_; | ||
| 3840 | my $x_args = [ | ||
| 3841 | ['_this', 'ManagedObjectReference'], | ||
| 3842 | ]; | ||
| 3843 | return $self->soap_call('QueryAvailablePartition', 'HostDiagnosticPartition', 1, $x_args, \%args); | ||
| 3844 | } | ||
| 3845 | |||
| 3846 | sub QueryAvailablePerfMetric { | ||
| 3847 | my ($self, %args) = @_; | ||
| 3848 | my $x_args = [ | ||
| 3849 | ['_this', 'ManagedObjectReference'], | ||
| 3850 | ['entity', 'ManagedObjectReference'], | ||
| 3851 | ['beginTime', undef], | ||
| 3852 | ['endTime', undef], | ||
| 3853 | ['intervalId', undef], | ||
| 3854 | ]; | ||
| 3855 | return $self->soap_call('QueryAvailablePerfMetric', 'PerfMetricId', 1, $x_args, \%args); | ||
| 3856 | } | ||
| 3857 | |||
| 3858 | sub QueryAvailableSsds { | ||
| 3859 | my ($self, %args) = @_; | ||
| 3860 | my $x_args = [ | ||
| 3861 | ['_this', 'ManagedObjectReference'], | ||
| 3862 | ['vffsPath', undef], | ||
| 3863 | ]; | ||
| 3864 | return $self->soap_call('QueryAvailableSsds', 'HostScsiDisk', 1, $x_args, \%args); | ||
| 3865 | } | ||
| 3866 | |||
| 3867 | sub QueryAvailableTimeZones { | ||
| 3868 | my ($self, %args) = @_; | ||
| 3869 | my $x_args = [ | ||
| 3870 | ['_this', 'ManagedObjectReference'], | ||
| 3871 | ]; | ||
| 3872 | return $self->soap_call('QueryAvailableTimeZones', 'HostDateTimeSystemTimeZone', 1, $x_args, \%args); | ||
| 3873 | } | ||
| 3874 | |||
| 3875 | sub QueryBootDevices { | ||
| 3876 | my ($self, %args) = @_; | ||
| 3877 | my $x_args = [ | ||
| 3878 | ['_this', 'ManagedObjectReference'], | ||
| 3879 | ]; | ||
| 3880 | return $self->soap_call('QueryBootDevices', 'HostBootDeviceInfo', 0, $x_args, \%args); | ||
| 3881 | } | ||
| 3882 | |||
| 3883 | sub QueryBoundVnics { | ||
| 3884 | my ($self, %args) = @_; | ||
| 3885 | my $x_args = [ | ||
| 3886 | ['_this', 'ManagedObjectReference'], | ||
| 3887 | ['iScsiHbaName', undef], | ||
| 3888 | ]; | ||
| 3889 | return $self->soap_call('QueryBoundVnics', 'IscsiPortInfo', 1, $x_args, \%args); | ||
| 3890 | } | ||
| 3891 | |||
| 3892 | sub QueryCandidateNics { | ||
| 3893 | my ($self, %args) = @_; | ||
| 3894 | my $x_args = [ | ||
| 3895 | ['_this', 'ManagedObjectReference'], | ||
| 3896 | ['iScsiHbaName', undef], | ||
| 3897 | ]; | ||
| 3898 | return $self->soap_call('QueryCandidateNics', 'IscsiPortInfo', 1, $x_args, \%args); | ||
| 3899 | } | ||
| 3900 | |||
| 3901 | sub QueryChangedDiskAreas { | ||
| 3902 | my ($self, %args) = @_; | ||
| 3903 | my $x_args = [ | ||
| 3904 | ['_this', 'ManagedObjectReference'], | ||
| 3905 | ['snapshot', 'ManagedObjectReference'], | ||
| 3906 | ['deviceKey', undef], | ||
| 3907 | ['startOffset', undef], | ||
| 3908 | ['changeId', undef], | ||
| 3909 | ]; | ||
| 3910 | return $self->soap_call('QueryChangedDiskAreas', 'DiskChangeInfo', 0, $x_args, \%args); | ||
| 3911 | } | ||
| 3912 | |||
| 3913 | sub QueryCmmds { | ||
| 3914 | my ($self, %args) = @_; | ||
| 3915 | my $x_args = [ | ||
| 3916 | ['_this', 'ManagedObjectReference'], | ||
| 3917 | ['queries', 'HostVsanInternalSystemCmmdsQuery'], | ||
| 3918 | ]; | ||
| 3919 | return $self->soap_call('QueryCmmds', undef, 0, $x_args, \%args); | ||
| 3920 | } | ||
| 3921 | |||
| 3922 | sub QueryCompatibleHostForExistingDvs { | ||
| 3923 | my ($self, %args) = @_; | ||
| 3924 | my $x_args = [ | ||
| 3925 | ['_this', 'ManagedObjectReference'], | ||
| 3926 | ['container', 'ManagedObjectReference'], | ||
| 3927 | ['recursive', 'boolean'], | ||
| 3928 | ['dvs', 'ManagedObjectReference'], | ||
| 3929 | ]; | ||
| 3930 | return $self->soap_call('QueryCompatibleHostForExistingDvs', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3931 | } | ||
| 3932 | |||
| 3933 | sub QueryCompatibleHostForNewDvs { | ||
| 3934 | my ($self, %args) = @_; | ||
| 3935 | my $x_args = [ | ||
| 3936 | ['_this', 'ManagedObjectReference'], | ||
| 3937 | ['container', 'ManagedObjectReference'], | ||
| 3938 | ['recursive', 'boolean'], | ||
| 3939 | ['switchProductSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 3940 | ]; | ||
| 3941 | return $self->soap_call('QueryCompatibleHostForNewDvs', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 3942 | } | ||
| 3943 | |||
| 3944 | sub QueryComplianceStatus { | ||
| 3945 | my ($self, %args) = @_; | ||
| 3946 | my $x_args = [ | ||
| 3947 | ['_this', 'ManagedObjectReference'], | ||
| 3948 | ['profile', 'ManagedObjectReference'], | ||
| 3949 | ['entity', 'ManagedObjectReference'], | ||
| 3950 | ]; | ||
| 3951 | return $self->soap_call('QueryComplianceStatus', 'ComplianceResult', 1, $x_args, \%args); | ||
| 3952 | } | ||
| 3953 | |||
| 3954 | sub QueryConfigOption { | ||
| 3955 | my ($self, %args) = @_; | ||
| 3956 | my $x_args = [ | ||
| 3957 | ['_this', 'ManagedObjectReference'], | ||
| 3958 | ['key', undef], | ||
| 3959 | ['host', 'ManagedObjectReference'], | ||
| 3960 | ]; | ||
| 3961 | return $self->soap_call('QueryConfigOption', 'VirtualMachineConfigOption', 0, $x_args, \%args); | ||
| 3962 | } | ||
| 3963 | |||
| 3964 | sub QueryConfigOptionDescriptor { | ||
| 3965 | my ($self, %args) = @_; | ||
| 3966 | my $x_args = [ | ||
| 3967 | ['_this', 'ManagedObjectReference'], | ||
| 3968 | ]; | ||
| 3969 | return $self->soap_call('QueryConfigOptionDescriptor', 'VirtualMachineConfigOptionDescriptor', 1, $x_args, \%args); | ||
| 3970 | } | ||
| 3971 | |||
| 3972 | sub QueryConfigOptionEx { | ||
| 3973 | my ($self, %args) = @_; | ||
| 3974 | my $x_args = [ | ||
| 3975 | ['_this', 'ManagedObjectReference'], | ||
| 3976 | ['spec', 'EnvironmentBrowserConfigOptionQuerySpec'], | ||
| 3977 | ]; | ||
| 3978 | return $self->soap_call('QueryConfigOptionEx', 'VirtualMachineConfigOption', 0, $x_args, \%args); | ||
| 3979 | } | ||
| 3980 | |||
| 3981 | sub QueryConfigTarget { | ||
| 3982 | my ($self, %args) = @_; | ||
| 3983 | my $x_args = [ | ||
| 3984 | ['_this', 'ManagedObjectReference'], | ||
| 3985 | ['host', 'ManagedObjectReference'], | ||
| 3986 | ]; | ||
| 3987 | return $self->soap_call('QueryConfigTarget', 'ConfigTarget', 0, $x_args, \%args); | ||
| 3988 | } | ||
| 3989 | |||
| 3990 | sub QueryConfiguredModuleOptionString { | ||
| 3991 | my ($self, %args) = @_; | ||
| 3992 | my $x_args = [ | ||
| 3993 | ['_this', 'ManagedObjectReference'], | ||
| 3994 | ['name', undef], | ||
| 3995 | ]; | ||
| 3996 | return $self->soap_call('QueryConfiguredModuleOptionString', undef, 0, $x_args, \%args); | ||
| 3997 | } | ||
| 3998 | |||
| 3999 | sub QueryConnectionInfo { | ||
| 4000 | my ($self, %args) = @_; | ||
| 4001 | my $x_args = [ | ||
| 4002 | ['_this', 'ManagedObjectReference'], | ||
| 4003 | ['hostname', undef], | ||
| 4004 | ['port', undef], | ||
| 4005 | ['username', undef], | ||
| 4006 | ['password', undef], | ||
| 4007 | ['sslThumbprint', undef], | ||
| 4008 | ]; | ||
| 4009 | return $self->soap_call('QueryConnectionInfo', 'HostConnectInfo', 0, $x_args, \%args); | ||
| 4010 | } | ||
| 4011 | |||
| 4012 | sub QueryConnectionInfoViaSpec { | ||
| 4013 | my ($self, %args) = @_; | ||
| 4014 | my $x_args = [ | ||
| 4015 | ['_this', 'ManagedObjectReference'], | ||
| 4016 | ['spec', 'HostConnectSpec'], | ||
| 4017 | ]; | ||
| 4018 | return $self->soap_call('QueryConnectionInfoViaSpec', 'HostConnectInfo', 0, $x_args, \%args); | ||
| 4019 | } | ||
| 4020 | |||
| 4021 | sub QueryDatastorePerformanceSummary { | ||
| 4022 | my ($self, %args) = @_; | ||
| 4023 | my $x_args = [ | ||
| 4024 | ['_this', 'ManagedObjectReference'], | ||
| 4025 | ['datastore', 'ManagedObjectReference'], | ||
| 4026 | ]; | ||
| 4027 | return $self->soap_call('QueryDatastorePerformanceSummary', 'StoragePerformanceSummary', 1, $x_args, \%args); | ||
| 4028 | } | ||
| 4029 | |||
| 4030 | sub QueryDateTime { | ||
| 4031 | my ($self, %args) = @_; | ||
| 4032 | my $x_args = [ | ||
| 4033 | ['_this', 'ManagedObjectReference'], | ||
| 4034 | ]; | ||
| 4035 | return $self->soap_call('QueryDateTime', undef, 0, $x_args, \%args); | ||
| 4036 | } | ||
| 4037 | |||
| 4038 | sub QueryDescriptions { | ||
| 4039 | my ($self, %args) = @_; | ||
| 4040 | my $x_args = [ | ||
| 4041 | ['_this', 'ManagedObjectReference'], | ||
| 4042 | ['host', 'ManagedObjectReference'], | ||
| 4043 | ]; | ||
| 4044 | return $self->soap_call('QueryDescriptions', 'DiagnosticManagerLogDescriptor', 1, $x_args, \%args); | ||
| 4045 | } | ||
| 4046 | |||
| 4047 | sub QueryDisksForVsan { | ||
| 4048 | my ($self, %args) = @_; | ||
| 4049 | my $x_args = [ | ||
| 4050 | ['_this', 'ManagedObjectReference'], | ||
| 4051 | ['canonicalName', undef], | ||
| 4052 | ]; | ||
| 4053 | return $self->soap_call('QueryDisksForVsan', 'VsanHostDiskResult', 1, $x_args, \%args); | ||
| 4054 | } | ||
| 4055 | |||
| 4056 | sub QueryDisksUsingFilter { | ||
| 4057 | my ($self, %args) = @_; | ||
| 4058 | my $x_args = [ | ||
| 4059 | ['_this', 'ManagedObjectReference'], | ||
| 4060 | ['filterId', undef], | ||
| 4061 | ['compRes', 'ManagedObjectReference'], | ||
| 4062 | ]; | ||
| 4063 | return $self->soap_call('QueryDisksUsingFilter', 'VirtualDiskId', 1, $x_args, \%args); | ||
| 4064 | } | ||
| 4065 | |||
| 4066 | sub QueryDvsByUuid { | ||
| 4067 | my ($self, %args) = @_; | ||
| 4068 | my $x_args = [ | ||
| 4069 | ['_this', 'ManagedObjectReference'], | ||
| 4070 | ['uuid', undef], | ||
| 4071 | ]; | ||
| 4072 | return $self->soap_call('QueryDvsByUuid', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4073 | } | ||
| 4074 | |||
| 4075 | sub QueryDvsCheckCompatibility { | ||
| 4076 | my ($self, %args) = @_; | ||
| 4077 | my $x_args = [ | ||
| 4078 | ['_this', 'ManagedObjectReference'], | ||
| 4079 | ['hostContainer', 'DistributedVirtualSwitchManagerHostContainer'], | ||
| 4080 | ['dvsProductSpec', 'DistributedVirtualSwitchManagerDvsProductSpec'], | ||
| 4081 | ['hostFilterSpec', 'DistributedVirtualSwitchManagerHostDvsFilterSpec'], | ||
| 4082 | ]; | ||
| 4083 | return $self->soap_call('QueryDvsCheckCompatibility', 'DistributedVirtualSwitchManagerCompatibilityResult', 1, $x_args, \%args); | ||
| 4084 | } | ||
| 4085 | |||
| 4086 | sub QueryDvsCompatibleHostSpec { | ||
| 4087 | my ($self, %args) = @_; | ||
| 4088 | my $x_args = [ | ||
| 4089 | ['_this', 'ManagedObjectReference'], | ||
| 4090 | ['switchProductSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 4091 | ]; | ||
| 4092 | return $self->soap_call('QueryDvsCompatibleHostSpec', 'DistributedVirtualSwitchHostProductSpec', 1, $x_args, \%args); | ||
| 4093 | } | ||
| 4094 | |||
| 4095 | sub QueryDvsConfigTarget { | ||
| 4096 | my ($self, %args) = @_; | ||
| 4097 | my $x_args = [ | ||
| 4098 | ['_this', 'ManagedObjectReference'], | ||
| 4099 | ['host', 'ManagedObjectReference'], | ||
| 4100 | ['dvs', 'ManagedObjectReference'], | ||
| 4101 | ]; | ||
| 4102 | return $self->soap_call('QueryDvsConfigTarget', 'DVSManagerDvsConfigTarget', 0, $x_args, \%args); | ||
| 4103 | } | ||
| 4104 | |||
| 4105 | sub QueryDvsFeatureCapability { | ||
| 4106 | my ($self, %args) = @_; | ||
| 4107 | my $x_args = [ | ||
| 4108 | ['_this', 'ManagedObjectReference'], | ||
| 4109 | ['switchProductSpec', 'DistributedVirtualSwitchProductSpec'], | ||
| 4110 | ]; | ||
| 4111 | return $self->soap_call('QueryDvsFeatureCapability', 'DVSFeatureCapability', 0, $x_args, \%args); | ||
| 4112 | } | ||
| 4113 | |||
| 4114 | sub QueryEvents { | ||
| 4115 | my ($self, %args) = @_; | ||
| 4116 | my $x_args = [ | ||
| 4117 | ['_this', 'ManagedObjectReference'], | ||
| 4118 | ['filter', 'EventFilterSpec'], | ||
| 4119 | ]; | ||
| 4120 | return $self->soap_call('QueryEvents', 'Event', 1, $x_args, \%args); | ||
| 4121 | } | ||
| 4122 | |||
| 4123 | sub QueryExpressionMetadata { | ||
| 4124 | my ($self, %args) = @_; | ||
| 4125 | my $x_args = [ | ||
| 4126 | ['_this', 'ManagedObjectReference'], | ||
| 4127 | ['expressionName', undef], | ||
| 4128 | ['profile', 'ManagedObjectReference'], | ||
| 4129 | ]; | ||
| 4130 | return $self->soap_call('QueryExpressionMetadata', 'ProfileExpressionMetadata', 1, $x_args, \%args); | ||
| 4131 | } | ||
| 4132 | |||
| 4133 | sub QueryExtensionIpAllocationUsage { | ||
| 4134 | my ($self, %args) = @_; | ||
| 4135 | my $x_args = [ | ||
| 4136 | ['_this', 'ManagedObjectReference'], | ||
| 4137 | ['extensionKeys', undef], | ||
| 4138 | ]; | ||
| 4139 | return $self->soap_call('QueryExtensionIpAllocationUsage', 'ExtensionManagerIpAllocationUsage', 1, $x_args, \%args); | ||
| 4140 | } | ||
| 4141 | |||
| 4142 | sub QueryFaultToleranceCompatibility { | ||
| 4143 | my ($self, %args) = @_; | ||
| 4144 | my $x_args = [ | ||
| 4145 | ['_this', 'ManagedObjectReference'], | ||
| 4146 | ]; | ||
| 4147 | return $self->soap_call('QueryFaultToleranceCompatibility', 'LocalizedMethodFault', 1, $x_args, \%args); | ||
| 4148 | } | ||
| 4149 | |||
| 4150 | sub QueryFaultToleranceCompatibilityEx { | ||
| 4151 | my ($self, %args) = @_; | ||
| 4152 | my $x_args = [ | ||
| 4153 | ['_this', 'ManagedObjectReference'], | ||
| 4154 | ['forLegacyFt', 'boolean'], | ||
| 4155 | ]; | ||
| 4156 | return $self->soap_call('QueryFaultToleranceCompatibilityEx', 'LocalizedMethodFault', 1, $x_args, \%args); | ||
| 4157 | } | ||
| 4158 | |||
| 4159 | sub QueryFilterEntities { | ||
| 4160 | my ($self, %args) = @_; | ||
| 4161 | my $x_args = [ | ||
| 4162 | ['_this', 'ManagedObjectReference'], | ||
| 4163 | ['filterId', undef], | ||
| 4164 | ]; | ||
| 4165 | return $self->soap_call('QueryFilterEntities', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4166 | } | ||
| 4167 | |||
| 4168 | sub QueryFilterInfoIds { | ||
| 4169 | my ($self, %args) = @_; | ||
| 4170 | my $x_args = [ | ||
| 4171 | ['_this', 'ManagedObjectReference'], | ||
| 4172 | ['filterId', undef], | ||
| 4173 | ]; | ||
| 4174 | return $self->soap_call('QueryFilterInfoIds', undef, 1, $x_args, \%args); | ||
| 4175 | } | ||
| 4176 | |||
| 4177 | sub QueryFilterList { | ||
| 4178 | my ($self, %args) = @_; | ||
| 4179 | my $x_args = [ | ||
| 4180 | ['_this', 'ManagedObjectReference'], | ||
| 4181 | ['providerId', undef], | ||
| 4182 | ]; | ||
| 4183 | return $self->soap_call('QueryFilterList', undef, 1, $x_args, \%args); | ||
| 4184 | } | ||
| 4185 | |||
| 4186 | sub QueryFilterName { | ||
| 4187 | my ($self, %args) = @_; | ||
| 4188 | my $x_args = [ | ||
| 4189 | ['_this', 'ManagedObjectReference'], | ||
| 4190 | ['filterId', undef], | ||
| 4191 | ]; | ||
| 4192 | return $self->soap_call('QueryFilterName', undef, 0, $x_args, \%args); | ||
| 4193 | } | ||
| 4194 | |||
| 4195 | sub QueryFirmwareConfigUploadURL { | ||
| 4196 | my ($self, %args) = @_; | ||
| 4197 | my $x_args = [ | ||
| 4198 | ['_this', 'ManagedObjectReference'], | ||
| 4199 | ]; | ||
| 4200 | return $self->soap_call('QueryFirmwareConfigUploadURL', undef, 0, $x_args, \%args); | ||
| 4201 | } | ||
| 4202 | |||
| 4203 | sub QueryHealthUpdateInfos { | ||
| 4204 | my ($self, %args) = @_; | ||
| 4205 | my $x_args = [ | ||
| 4206 | ['_this', 'ManagedObjectReference'], | ||
| 4207 | ['providerId', undef], | ||
| 4208 | ]; | ||
| 4209 | return $self->soap_call('QueryHealthUpdateInfos', 'HealthUpdateInfo', 1, $x_args, \%args); | ||
| 4210 | } | ||
| 4211 | |||
| 4212 | sub QueryHealthUpdates { | ||
| 4213 | my ($self, %args) = @_; | ||
| 4214 | my $x_args = [ | ||
| 4215 | ['_this', 'ManagedObjectReference'], | ||
| 4216 | ['providerId', undef], | ||
| 4217 | ]; | ||
| 4218 | return $self->soap_call('QueryHealthUpdates', 'HealthUpdate', 1, $x_args, \%args); | ||
| 4219 | } | ||
| 4220 | |||
| 4221 | sub QueryHostConnectionInfo { | ||
| 4222 | my ($self, %args) = @_; | ||
| 4223 | my $x_args = [ | ||
| 4224 | ['_this', 'ManagedObjectReference'], | ||
| 4225 | ]; | ||
| 4226 | return $self->soap_call('QueryHostConnectionInfo', 'HostConnectInfo', 0, $x_args, \%args); | ||
| 4227 | } | ||
| 4228 | |||
| 4229 | sub QueryHostPatch_Task { | ||
| 4230 | my ($self, %args) = @_; | ||
| 4231 | my $x_args = [ | ||
| 4232 | ['_this', 'ManagedObjectReference'], | ||
| 4233 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 4234 | ]; | ||
| 4235 | return $self->soap_call('QueryHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4236 | } | ||
| 4237 | |||
| 4238 | sub QueryHostProfileMetadata { | ||
| 4239 | my ($self, %args) = @_; | ||
| 4240 | my $x_args = [ | ||
| 4241 | ['_this', 'ManagedObjectReference'], | ||
| 4242 | ['profileName', undef], | ||
| 4243 | ['profile', 'ManagedObjectReference'], | ||
| 4244 | ]; | ||
| 4245 | return $self->soap_call('QueryHostProfileMetadata', 'ProfileMetadata', 1, $x_args, \%args); | ||
| 4246 | } | ||
| 4247 | |||
| 4248 | sub QueryHostStatus { | ||
| 4249 | my ($self, %args) = @_; | ||
| 4250 | my $x_args = [ | ||
| 4251 | ['_this', 'ManagedObjectReference'], | ||
| 4252 | ]; | ||
| 4253 | return $self->soap_call('QueryHostStatus', 'VsanHostClusterStatus', 0, $x_args, \%args); | ||
| 4254 | } | ||
| 4255 | |||
| 4256 | sub QueryIORMConfigOption { | ||
| 4257 | my ($self, %args) = @_; | ||
| 4258 | my $x_args = [ | ||
| 4259 | ['_this', 'ManagedObjectReference'], | ||
| 4260 | ['host', 'ManagedObjectReference'], | ||
| 4261 | ]; | ||
| 4262 | return $self->soap_call('QueryIORMConfigOption', 'StorageIORMConfigOption', 0, $x_args, \%args); | ||
| 4263 | } | ||
| 4264 | |||
| 4265 | sub QueryIPAllocations { | ||
| 4266 | my ($self, %args) = @_; | ||
| 4267 | my $x_args = [ | ||
| 4268 | ['_this', 'ManagedObjectReference'], | ||
| 4269 | ['dc', 'ManagedObjectReference'], | ||
| 4270 | ['poolId', undef], | ||
| 4271 | ['extensionKey', undef], | ||
| 4272 | ]; | ||
| 4273 | return $self->soap_call('QueryIPAllocations', 'IpPoolManagerIpAllocation', 1, $x_args, \%args); | ||
| 4274 | } | ||
| 4275 | |||
| 4276 | sub QueryIoFilterInfo { | ||
| 4277 | my ($self, %args) = @_; | ||
| 4278 | my $x_args = [ | ||
| 4279 | ['_this', 'ManagedObjectReference'], | ||
| 4280 | ['compRes', 'ManagedObjectReference'], | ||
| 4281 | ]; | ||
| 4282 | return $self->soap_call('QueryIoFilterInfo', 'ClusterIoFilterInfo', 1, $x_args, \%args); | ||
| 4283 | } | ||
| 4284 | |||
| 4285 | sub QueryIoFilterIssues { | ||
| 4286 | my ($self, %args) = @_; | ||
| 4287 | my $x_args = [ | ||
| 4288 | ['_this', 'ManagedObjectReference'], | ||
| 4289 | ['filterId', undef], | ||
| 4290 | ['compRes', 'ManagedObjectReference'], | ||
| 4291 | ]; | ||
| 4292 | return $self->soap_call('QueryIoFilterIssues', 'IoFilterQueryIssueResult', 0, $x_args, \%args); | ||
| 4293 | } | ||
| 4294 | |||
| 4295 | sub QueryIpPools { | ||
| 4296 | my ($self, %args) = @_; | ||
| 4297 | my $x_args = [ | ||
| 4298 | ['_this', 'ManagedObjectReference'], | ||
| 4299 | ['dc', 'ManagedObjectReference'], | ||
| 4300 | ]; | ||
| 4301 | return $self->soap_call('QueryIpPools', 'IpPool', 1, $x_args, \%args); | ||
| 4302 | } | ||
| 4303 | |||
| 4304 | sub QueryLicenseSourceAvailability { | ||
| 4305 | my ($self, %args) = @_; | ||
| 4306 | my $x_args = [ | ||
| 4307 | ['_this', 'ManagedObjectReference'], | ||
| 4308 | ['host', 'ManagedObjectReference'], | ||
| 4309 | ]; | ||
| 4310 | return $self->soap_call('QueryLicenseSourceAvailability', 'LicenseAvailabilityInfo', 1, $x_args, \%args); | ||
| 4311 | } | ||
| 4312 | |||
| 4313 | sub QueryLicenseUsage { | ||
| 4314 | my ($self, %args) = @_; | ||
| 4315 | my $x_args = [ | ||
| 4316 | ['_this', 'ManagedObjectReference'], | ||
| 4317 | ['host', 'ManagedObjectReference'], | ||
| 4318 | ]; | ||
| 4319 | return $self->soap_call('QueryLicenseUsage', 'LicenseUsageInfo', 0, $x_args, \%args); | ||
| 4320 | } | ||
| 4321 | |||
| 4322 | sub QueryLockdownExceptions { | ||
| 4323 | my ($self, %args) = @_; | ||
| 4324 | my $x_args = [ | ||
| 4325 | ['_this', 'ManagedObjectReference'], | ||
| 4326 | ]; | ||
| 4327 | return $self->soap_call('QueryLockdownExceptions', undef, 1, $x_args, \%args); | ||
| 4328 | } | ||
| 4329 | |||
| 4330 | sub QueryManagedBy { | ||
| 4331 | my ($self, %args) = @_; | ||
| 4332 | my $x_args = [ | ||
| 4333 | ['_this', 'ManagedObjectReference'], | ||
| 4334 | ['extensionKey', undef], | ||
| 4335 | ]; | ||
| 4336 | return $self->soap_call('QueryManagedBy', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4337 | } | ||
| 4338 | |||
| 4339 | sub QueryMemoryOverhead { | ||
| 4340 | my ($self, %args) = @_; | ||
| 4341 | my $x_args = [ | ||
| 4342 | ['_this', 'ManagedObjectReference'], | ||
| 4343 | ['memorySize', undef], | ||
| 4344 | ['videoRamSize', undef], | ||
| 4345 | ['numVcpus', undef], | ||
| 4346 | ]; | ||
| 4347 | return $self->soap_call('QueryMemoryOverhead', undef, 0, $x_args, \%args); | ||
| 4348 | } | ||
| 4349 | |||
| 4350 | sub QueryMemoryOverheadEx { | ||
| 4351 | my ($self, %args) = @_; | ||
| 4352 | my $x_args = [ | ||
| 4353 | ['_this', 'ManagedObjectReference'], | ||
| 4354 | ['vmConfigInfo', 'VirtualMachineConfigInfo'], | ||
| 4355 | ]; | ||
| 4356 | return $self->soap_call('QueryMemoryOverheadEx', undef, 0, $x_args, \%args); | ||
| 4357 | } | ||
| 4358 | |||
| 4359 | sub QueryMigrationDependencies { | ||
| 4360 | my ($self, %args) = @_; | ||
| 4361 | my $x_args = [ | ||
| 4362 | ['_this', 'ManagedObjectReference'], | ||
| 4363 | ['pnicDevice', undef], | ||
| 4364 | ]; | ||
| 4365 | return $self->soap_call('QueryMigrationDependencies', 'IscsiMigrationDependency', 0, $x_args, \%args); | ||
| 4366 | } | ||
| 4367 | |||
| 4368 | sub QueryModules { | ||
| 4369 | my ($self, %args) = @_; | ||
| 4370 | my $x_args = [ | ||
| 4371 | ['_this', 'ManagedObjectReference'], | ||
| 4372 | ]; | ||
| 4373 | return $self->soap_call('QueryModules', 'KernelModuleInfo', 1, $x_args, \%args); | ||
| 4374 | } | ||
| 4375 | |||
| 4376 | sub QueryMonitoredEntities { | ||
| 4377 | my ($self, %args) = @_; | ||
| 4378 | my $x_args = [ | ||
| 4379 | ['_this', 'ManagedObjectReference'], | ||
| 4380 | ['providerId', undef], | ||
| 4381 | ]; | ||
| 4382 | return $self->soap_call('QueryMonitoredEntities', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4383 | } | ||
| 4384 | |||
| 4385 | sub QueryNFSUser { | ||
| 4386 | my ($self, %args) = @_; | ||
| 4387 | my $x_args = [ | ||
| 4388 | ['_this', 'ManagedObjectReference'], | ||
| 4389 | ]; | ||
| 4390 | return $self->soap_call('QueryNFSUser', 'HostNasVolumeUserInfo', 0, $x_args, \%args); | ||
| 4391 | } | ||
| 4392 | |||
| 4393 | sub QueryNetConfig { | ||
| 4394 | my ($self, %args) = @_; | ||
| 4395 | my $x_args = [ | ||
| 4396 | ['_this', 'ManagedObjectReference'], | ||
| 4397 | ['nicType', undef], | ||
| 4398 | ]; | ||
| 4399 | return $self->soap_call('QueryNetConfig', 'VirtualNicManagerNetConfig', 0, $x_args, \%args); | ||
| 4400 | } | ||
| 4401 | |||
| 4402 | sub QueryNetworkHint { | ||
| 4403 | my ($self, %args) = @_; | ||
| 4404 | my $x_args = [ | ||
| 4405 | ['_this', 'ManagedObjectReference'], | ||
| 4406 | ['device', undef], | ||
| 4407 | ]; | ||
| 4408 | return $self->soap_call('QueryNetworkHint', 'PhysicalNicHintInfo', 1, $x_args, \%args); | ||
| 4409 | } | ||
| 4410 | |||
| 4411 | sub QueryObjectsOnPhysicalVsanDisk { | ||
| 4412 | my ($self, %args) = @_; | ||
| 4413 | my $x_args = [ | ||
| 4414 | ['_this', 'ManagedObjectReference'], | ||
| 4415 | ['disks', undef], | ||
| 4416 | ]; | ||
| 4417 | return $self->soap_call('QueryObjectsOnPhysicalVsanDisk', undef, 0, $x_args, \%args); | ||
| 4418 | } | ||
| 4419 | |||
| 4420 | sub QueryOptions { | ||
| 4421 | my ($self, %args) = @_; | ||
| 4422 | my $x_args = [ | ||
| 4423 | ['_this', 'ManagedObjectReference'], | ||
| 4424 | ['name', undef], | ||
| 4425 | ]; | ||
| 4426 | return $self->soap_call('QueryOptions', 'OptionValue', 1, $x_args, \%args); | ||
| 4427 | } | ||
| 4428 | |||
| 4429 | sub QueryPartitionCreateDesc { | ||
| 4430 | my ($self, %args) = @_; | ||
| 4431 | my $x_args = [ | ||
| 4432 | ['_this', 'ManagedObjectReference'], | ||
| 4433 | ['diskUuid', undef], | ||
| 4434 | ['diagnosticType', undef], | ||
| 4435 | ]; | ||
| 4436 | return $self->soap_call('QueryPartitionCreateDesc', 'HostDiagnosticPartitionCreateDescription', 0, $x_args, \%args); | ||
| 4437 | } | ||
| 4438 | |||
| 4439 | sub QueryPartitionCreateOptions { | ||
| 4440 | my ($self, %args) = @_; | ||
| 4441 | my $x_args = [ | ||
| 4442 | ['_this', 'ManagedObjectReference'], | ||
| 4443 | ['storageType', undef], | ||
| 4444 | ['diagnosticType', undef], | ||
| 4445 | ]; | ||
| 4446 | return $self->soap_call('QueryPartitionCreateOptions', 'HostDiagnosticPartitionCreateOption', 1, $x_args, \%args); | ||
| 4447 | } | ||
| 4448 | |||
| 4449 | sub QueryPathSelectionPolicyOptions { | ||
| 4450 | my ($self, %args) = @_; | ||
| 4451 | my $x_args = [ | ||
| 4452 | ['_this', 'ManagedObjectReference'], | ||
| 4453 | ]; | ||
| 4454 | return $self->soap_call('QueryPathSelectionPolicyOptions', 'HostPathSelectionPolicyOption', 1, $x_args, \%args); | ||
| 4455 | } | ||
| 4456 | |||
| 4457 | sub QueryPerf { | ||
| 4458 | my ($self, %args) = @_; | ||
| 4459 | my $x_args = [ | ||
| 4460 | ['_this', 'ManagedObjectReference'], | ||
| 4461 | ['querySpec', 'PerfQuerySpec'], | ||
| 4462 | ]; | ||
| 4463 | return $self->soap_call('QueryPerf', 'PerfEntityMetricBase', 1, $x_args, \%args); | ||
| 4464 | } | ||
| 4465 | |||
| 4466 | sub QueryPerfComposite { | ||
| 4467 | my ($self, %args) = @_; | ||
| 4468 | my $x_args = [ | ||
| 4469 | ['_this', 'ManagedObjectReference'], | ||
| 4470 | ['querySpec', 'PerfQuerySpec'], | ||
| 4471 | ]; | ||
| 4472 | return $self->soap_call('QueryPerfComposite', 'PerfCompositeMetric', 0, $x_args, \%args); | ||
| 4473 | } | ||
| 4474 | |||
| 4475 | sub QueryPerfCounter { | ||
| 4476 | my ($self, %args) = @_; | ||
| 4477 | my $x_args = [ | ||
| 4478 | ['_this', 'ManagedObjectReference'], | ||
| 4479 | ['counterId', undef], | ||
| 4480 | ]; | ||
| 4481 | return $self->soap_call('QueryPerfCounter', 'PerfCounterInfo', 1, $x_args, \%args); | ||
| 4482 | } | ||
| 4483 | |||
| 4484 | sub QueryPerfCounterByLevel { | ||
| 4485 | my ($self, %args) = @_; | ||
| 4486 | my $x_args = [ | ||
| 4487 | ['_this', 'ManagedObjectReference'], | ||
| 4488 | ['level', undef], | ||
| 4489 | ]; | ||
| 4490 | return $self->soap_call('QueryPerfCounterByLevel', 'PerfCounterInfo', 1, $x_args, \%args); | ||
| 4491 | } | ||
| 4492 | |||
| 4493 | sub QueryPerfProviderSummary { | ||
| 4494 | my ($self, %args) = @_; | ||
| 4495 | my $x_args = [ | ||
| 4496 | ['_this', 'ManagedObjectReference'], | ||
| 4497 | ['entity', 'ManagedObjectReference'], | ||
| 4498 | ]; | ||
| 4499 | return $self->soap_call('QueryPerfProviderSummary', 'PerfProviderSummary', 0, $x_args, \%args); | ||
| 4500 | } | ||
| 4501 | |||
| 4502 | sub QueryPhysicalVsanDisks { | ||
| 4503 | my ($self, %args) = @_; | ||
| 4504 | my $x_args = [ | ||
| 4505 | ['_this', 'ManagedObjectReference'], | ||
| 4506 | ['props', undef], | ||
| 4507 | ]; | ||
| 4508 | return $self->soap_call('QueryPhysicalVsanDisks', undef, 0, $x_args, \%args); | ||
| 4509 | } | ||
| 4510 | |||
| 4511 | sub QueryPnicStatus { | ||
| 4512 | my ($self, %args) = @_; | ||
| 4513 | my $x_args = [ | ||
| 4514 | ['_this', 'ManagedObjectReference'], | ||
| 4515 | ['pnicDevice', undef], | ||
| 4516 | ]; | ||
| 4517 | return $self->soap_call('QueryPnicStatus', 'IscsiStatus', 0, $x_args, \%args); | ||
| 4518 | } | ||
| 4519 | |||
| 4520 | sub QueryPolicyMetadata { | ||
| 4521 | my ($self, %args) = @_; | ||
| 4522 | my $x_args = [ | ||
| 4523 | ['_this', 'ManagedObjectReference'], | ||
| 4524 | ['policyName', undef], | ||
| 4525 | ['profile', 'ManagedObjectReference'], | ||
| 4526 | ]; | ||
| 4527 | return $self->soap_call('QueryPolicyMetadata', 'ProfilePolicyMetadata', 1, $x_args, \%args); | ||
| 4528 | } | ||
| 4529 | |||
| 4530 | sub QueryProfileStructure { | ||
| 4531 | my ($self, %args) = @_; | ||
| 4532 | my $x_args = [ | ||
| 4533 | ['_this', 'ManagedObjectReference'], | ||
| 4534 | ['profile', 'ManagedObjectReference'], | ||
| 4535 | ]; | ||
| 4536 | return $self->soap_call('QueryProfileStructure', 'ProfileProfileStructure', 0, $x_args, \%args); | ||
| 4537 | } | ||
| 4538 | |||
| 4539 | sub QueryProviderList { | ||
| 4540 | my ($self, %args) = @_; | ||
| 4541 | my $x_args = [ | ||
| 4542 | ['_this', 'ManagedObjectReference'], | ||
| 4543 | ]; | ||
| 4544 | return $self->soap_call('QueryProviderList', undef, 1, $x_args, \%args); | ||
| 4545 | } | ||
| 4546 | |||
| 4547 | sub QueryProviderName { | ||
| 4548 | my ($self, %args) = @_; | ||
| 4549 | my $x_args = [ | ||
| 4550 | ['_this', 'ManagedObjectReference'], | ||
| 4551 | ['id', undef], | ||
| 4552 | ]; | ||
| 4553 | return $self->soap_call('QueryProviderName', undef, 0, $x_args, \%args); | ||
| 4554 | } | ||
| 4555 | |||
| 4556 | sub QueryResourceConfigOption { | ||
| 4557 | my ($self, %args) = @_; | ||
| 4558 | my $x_args = [ | ||
| 4559 | ['_this', 'ManagedObjectReference'], | ||
| 4560 | ]; | ||
| 4561 | return $self->soap_call('QueryResourceConfigOption', 'ResourceConfigOption', 0, $x_args, \%args); | ||
| 4562 | } | ||
| 4563 | |||
| 4564 | sub QueryServiceList { | ||
| 4565 | my ($self, %args) = @_; | ||
| 4566 | my $x_args = [ | ||
| 4567 | ['_this', 'ManagedObjectReference'], | ||
| 4568 | ['serviceName', undef], | ||
| 4569 | ['location', undef], | ||
| 4570 | ]; | ||
| 4571 | return $self->soap_call('QueryServiceList', 'ServiceManagerServiceInfo', 1, $x_args, \%args); | ||
| 4572 | } | ||
| 4573 | |||
| 4574 | sub QueryStorageArrayTypePolicyOptions { | ||
| 4575 | my ($self, %args) = @_; | ||
| 4576 | my $x_args = [ | ||
| 4577 | ['_this', 'ManagedObjectReference'], | ||
| 4578 | ]; | ||
| 4579 | return $self->soap_call('QueryStorageArrayTypePolicyOptions', 'HostStorageArrayTypePolicyOption', 1, $x_args, \%args); | ||
| 4580 | } | ||
| 4581 | |||
| 4582 | sub QuerySupportedFeatures { | ||
| 4583 | my ($self, %args) = @_; | ||
| 4584 | my $x_args = [ | ||
| 4585 | ['_this', 'ManagedObjectReference'], | ||
| 4586 | ['host', 'ManagedObjectReference'], | ||
| 4587 | ]; | ||
| 4588 | return $self->soap_call('QuerySupportedFeatures', 'LicenseFeatureInfo', 1, $x_args, \%args); | ||
| 4589 | } | ||
| 4590 | |||
| 4591 | sub QuerySyncingVsanObjects { | ||
| 4592 | my ($self, %args) = @_; | ||
| 4593 | my $x_args = [ | ||
| 4594 | ['_this', 'ManagedObjectReference'], | ||
| 4595 | ['uuids', undef], | ||
| 4596 | ]; | ||
| 4597 | return $self->soap_call('QuerySyncingVsanObjects', undef, 0, $x_args, \%args); | ||
| 4598 | } | ||
| 4599 | |||
| 4600 | sub QuerySystemUsers { | ||
| 4601 | my ($self, %args) = @_; | ||
| 4602 | my $x_args = [ | ||
| 4603 | ['_this', 'ManagedObjectReference'], | ||
| 4604 | ]; | ||
| 4605 | return $self->soap_call('QuerySystemUsers', undef, 1, $x_args, \%args); | ||
| 4606 | } | ||
| 4607 | |||
| 4608 | sub QueryTargetCapabilities { | ||
| 4609 | my ($self, %args) = @_; | ||
| 4610 | my $x_args = [ | ||
| 4611 | ['_this', 'ManagedObjectReference'], | ||
| 4612 | ['host', 'ManagedObjectReference'], | ||
| 4613 | ]; | ||
| 4614 | return $self->soap_call('QueryTargetCapabilities', 'HostCapability', 0, $x_args, \%args); | ||
| 4615 | } | ||
| 4616 | |||
| 4617 | sub QueryTpmAttestationReport { | ||
| 4618 | my ($self, %args) = @_; | ||
| 4619 | my $x_args = [ | ||
| 4620 | ['_this', 'ManagedObjectReference'], | ||
| 4621 | ]; | ||
| 4622 | return $self->soap_call('QueryTpmAttestationReport', 'HostTpmAttestationReport', 0, $x_args, \%args); | ||
| 4623 | } | ||
| 4624 | |||
| 4625 | sub QueryUnmonitoredHosts { | ||
| 4626 | my ($self, %args) = @_; | ||
| 4627 | my $x_args = [ | ||
| 4628 | ['_this', 'ManagedObjectReference'], | ||
| 4629 | ['providerId', undef], | ||
| 4630 | ['cluster', 'ManagedObjectReference'], | ||
| 4631 | ]; | ||
| 4632 | return $self->soap_call('QueryUnmonitoredHosts', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 4633 | } | ||
| 4634 | |||
| 4635 | sub QueryUnownedFiles { | ||
| 4636 | my ($self, %args) = @_; | ||
| 4637 | my $x_args = [ | ||
| 4638 | ['_this', 'ManagedObjectReference'], | ||
| 4639 | ]; | ||
| 4640 | return $self->soap_call('QueryUnownedFiles', undef, 1, $x_args, \%args); | ||
| 4641 | } | ||
| 4642 | |||
| 4643 | sub QueryUnresolvedVmfsVolume { | ||
| 4644 | my ($self, %args) = @_; | ||
| 4645 | my $x_args = [ | ||
| 4646 | ['_this', 'ManagedObjectReference'], | ||
| 4647 | ]; | ||
| 4648 | return $self->soap_call('QueryUnresolvedVmfsVolume', 'HostUnresolvedVmfsVolume', 1, $x_args, \%args); | ||
| 4649 | } | ||
| 4650 | |||
| 4651 | sub QueryUnresolvedVmfsVolumes { | ||
| 4652 | my ($self, %args) = @_; | ||
| 4653 | my $x_args = [ | ||
| 4654 | ['_this', 'ManagedObjectReference'], | ||
| 4655 | ]; | ||
| 4656 | return $self->soap_call('QueryUnresolvedVmfsVolumes', 'HostUnresolvedVmfsVolume', 1, $x_args, \%args); | ||
| 4657 | } | ||
| 4658 | |||
| 4659 | sub QueryUsedVlanIdInDvs { | ||
| 4660 | my ($self, %args) = @_; | ||
| 4661 | my $x_args = [ | ||
| 4662 | ['_this', 'ManagedObjectReference'], | ||
| 4663 | ]; | ||
| 4664 | return $self->soap_call('QueryUsedVlanIdInDvs', undef, 1, $x_args, \%args); | ||
| 4665 | } | ||
| 4666 | |||
| 4667 | sub QueryVMotionCompatibility { | ||
| 4668 | my ($self, %args) = @_; | ||
| 4669 | my $x_args = [ | ||
| 4670 | ['_this', 'ManagedObjectReference'], | ||
| 4671 | ['vm', 'ManagedObjectReference'], | ||
| 4672 | ['host', 'ManagedObjectReference'], | ||
| 4673 | ['compatibility', undef], | ||
| 4674 | ]; | ||
| 4675 | return $self->soap_call('QueryVMotionCompatibility', 'HostVMotionCompatibility', 1, $x_args, \%args); | ||
| 4676 | } | ||
| 4677 | |||
| 4678 | sub QueryVMotionCompatibilityEx_Task { | ||
| 4679 | my ($self, %args) = @_; | ||
| 4680 | my $x_args = [ | ||
| 4681 | ['_this', 'ManagedObjectReference'], | ||
| 4682 | ['vm', 'ManagedObjectReference'], | ||
| 4683 | ['host', 'ManagedObjectReference'], | ||
| 4684 | ]; | ||
| 4685 | return $self->soap_call('QueryVMotionCompatibilityEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4686 | } | ||
| 4687 | |||
| 4688 | sub QueryVirtualDiskFragmentation { | ||
| 4689 | my ($self, %args) = @_; | ||
| 4690 | my $x_args = [ | ||
| 4691 | ['_this', 'ManagedObjectReference'], | ||
| 4692 | ['name', undef], | ||
| 4693 | ['datacenter', 'ManagedObjectReference'], | ||
| 4694 | ]; | ||
| 4695 | return $self->soap_call('QueryVirtualDiskFragmentation', undef, 0, $x_args, \%args); | ||
| 4696 | } | ||
| 4697 | |||
| 4698 | sub QueryVirtualDiskGeometry { | ||
| 4699 | my ($self, %args) = @_; | ||
| 4700 | my $x_args = [ | ||
| 4701 | ['_this', 'ManagedObjectReference'], | ||
| 4702 | ['name', undef], | ||
| 4703 | ['datacenter', 'ManagedObjectReference'], | ||
| 4704 | ]; | ||
| 4705 | return $self->soap_call('QueryVirtualDiskGeometry', 'HostDiskDimensionsChs', 0, $x_args, \%args); | ||
| 4706 | } | ||
| 4707 | |||
| 4708 | sub QueryVirtualDiskUuid { | ||
| 4709 | my ($self, %args) = @_; | ||
| 4710 | my $x_args = [ | ||
| 4711 | ['_this', 'ManagedObjectReference'], | ||
| 4712 | ['name', undef], | ||
| 4713 | ['datacenter', 'ManagedObjectReference'], | ||
| 4714 | ]; | ||
| 4715 | return $self->soap_call('QueryVirtualDiskUuid', undef, 0, $x_args, \%args); | ||
| 4716 | } | ||
| 4717 | |||
| 4718 | sub QueryVmfsConfigOption { | ||
| 4719 | my ($self, %args) = @_; | ||
| 4720 | my $x_args = [ | ||
| 4721 | ['_this', 'ManagedObjectReference'], | ||
| 4722 | ]; | ||
| 4723 | return $self->soap_call('QueryVmfsConfigOption', 'VmfsConfigOption', 1, $x_args, \%args); | ||
| 4724 | } | ||
| 4725 | |||
| 4726 | sub QueryVmfsDatastoreCreateOptions { | ||
| 4727 | my ($self, %args) = @_; | ||
| 4728 | my $x_args = [ | ||
| 4729 | ['_this', 'ManagedObjectReference'], | ||
| 4730 | ['devicePath', undef], | ||
| 4731 | ['vmfsMajorVersion', undef], | ||
| 4732 | ]; | ||
| 4733 | return $self->soap_call('QueryVmfsDatastoreCreateOptions', 'VmfsDatastoreOption', 1, $x_args, \%args); | ||
| 4734 | } | ||
| 4735 | |||
| 4736 | sub QueryVmfsDatastoreExpandOptions { | ||
| 4737 | my ($self, %args) = @_; | ||
| 4738 | my $x_args = [ | ||
| 4739 | ['_this', 'ManagedObjectReference'], | ||
| 4740 | ['datastore', 'ManagedObjectReference'], | ||
| 4741 | ]; | ||
| 4742 | return $self->soap_call('QueryVmfsDatastoreExpandOptions', 'VmfsDatastoreOption', 1, $x_args, \%args); | ||
| 4743 | } | ||
| 4744 | |||
| 4745 | sub QueryVmfsDatastoreExtendOptions { | ||
| 4746 | my ($self, %args) = @_; | ||
| 4747 | my $x_args = [ | ||
| 4748 | ['_this', 'ManagedObjectReference'], | ||
| 4749 | ['datastore', 'ManagedObjectReference'], | ||
| 4750 | ['devicePath', undef], | ||
| 4751 | ['suppressExpandCandidates', 'boolean'], | ||
| 4752 | ]; | ||
| 4753 | return $self->soap_call('QueryVmfsDatastoreExtendOptions', 'VmfsDatastoreOption', 1, $x_args, \%args); | ||
| 4754 | } | ||
| 4755 | |||
| 4756 | sub QueryVnicStatus { | ||
| 4757 | my ($self, %args) = @_; | ||
| 4758 | my $x_args = [ | ||
| 4759 | ['_this', 'ManagedObjectReference'], | ||
| 4760 | ['vnicDevice', undef], | ||
| 4761 | ]; | ||
| 4762 | return $self->soap_call('QueryVnicStatus', 'IscsiStatus', 0, $x_args, \%args); | ||
| 4763 | } | ||
| 4764 | |||
| 4765 | sub QueryVsanObjectUuidsByFilter { | ||
| 4766 | my ($self, %args) = @_; | ||
| 4767 | my $x_args = [ | ||
| 4768 | ['_this', 'ManagedObjectReference'], | ||
| 4769 | ['uuids', undef], | ||
| 4770 | ['limit', undef], | ||
| 4771 | ['version', undef], | ||
| 4772 | ]; | ||
| 4773 | return $self->soap_call('QueryVsanObjectUuidsByFilter', undef, 1, $x_args, \%args); | ||
| 4774 | } | ||
| 4775 | |||
| 4776 | sub QueryVsanObjects { | ||
| 4777 | my ($self, %args) = @_; | ||
| 4778 | my $x_args = [ | ||
| 4779 | ['_this', 'ManagedObjectReference'], | ||
| 4780 | ['uuids', undef], | ||
| 4781 | ]; | ||
| 4782 | return $self->soap_call('QueryVsanObjects', undef, 0, $x_args, \%args); | ||
| 4783 | } | ||
| 4784 | |||
| 4785 | sub QueryVsanStatistics { | ||
| 4786 | my ($self, %args) = @_; | ||
| 4787 | my $x_args = [ | ||
| 4788 | ['_this', 'ManagedObjectReference'], | ||
| 4789 | ['labels', undef], | ||
| 4790 | ]; | ||
| 4791 | return $self->soap_call('QueryVsanStatistics', undef, 0, $x_args, \%args); | ||
| 4792 | } | ||
| 4793 | |||
| 4794 | sub QueryVsanUpgradeStatus { | ||
| 4795 | my ($self, %args) = @_; | ||
| 4796 | my $x_args = [ | ||
| 4797 | ['_this', 'ManagedObjectReference'], | ||
| 4798 | ['cluster', 'ManagedObjectReference'], | ||
| 4799 | ]; | ||
| 4800 | return $self->soap_call('QueryVsanUpgradeStatus', 'VsanUpgradeSystemUpgradeStatus', 0, $x_args, \%args); | ||
| 4801 | } | ||
| 4802 | |||
| 4803 | sub ReadEnvironmentVariableInGuest { | ||
| 4804 | my ($self, %args) = @_; | ||
| 4805 | my $x_args = [ | ||
| 4806 | ['_this', 'ManagedObjectReference'], | ||
| 4807 | ['vm', 'ManagedObjectReference'], | ||
| 4808 | ['auth', 'GuestAuthentication'], | ||
| 4809 | ['names', undef], | ||
| 4810 | ]; | ||
| 4811 | return $self->soap_call('ReadEnvironmentVariableInGuest', undef, 1, $x_args, \%args); | ||
| 4812 | } | ||
| 4813 | |||
| 4814 | sub ReadNextEvents { | ||
| 4815 | my ($self, %args) = @_; | ||
| 4816 | my $x_args = [ | ||
| 4817 | ['_this', 'ManagedObjectReference'], | ||
| 4818 | ['maxCount', undef], | ||
| 4819 | ]; | ||
| 4820 | return $self->soap_call('ReadNextEvents', 'Event', 1, $x_args, \%args); | ||
| 4821 | } | ||
| 4822 | |||
| 4823 | sub ReadNextTasks { | ||
| 4824 | my ($self, %args) = @_; | ||
| 4825 | my $x_args = [ | ||
| 4826 | ['_this', 'ManagedObjectReference'], | ||
| 4827 | ['maxCount', undef], | ||
| 4828 | ]; | ||
| 4829 | return $self->soap_call('ReadNextTasks', 'TaskInfo', 1, $x_args, \%args); | ||
| 4830 | } | ||
| 4831 | |||
| 4832 | sub ReadPreviousEvents { | ||
| 4833 | my ($self, %args) = @_; | ||
| 4834 | my $x_args = [ | ||
| 4835 | ['_this', 'ManagedObjectReference'], | ||
| 4836 | ['maxCount', undef], | ||
| 4837 | ]; | ||
| 4838 | return $self->soap_call('ReadPreviousEvents', 'Event', 1, $x_args, \%args); | ||
| 4839 | } | ||
| 4840 | |||
| 4841 | sub ReadPreviousTasks { | ||
| 4842 | my ($self, %args) = @_; | ||
| 4843 | my $x_args = [ | ||
| 4844 | ['_this', 'ManagedObjectReference'], | ||
| 4845 | ['maxCount', undef], | ||
| 4846 | ]; | ||
| 4847 | return $self->soap_call('ReadPreviousTasks', 'TaskInfo', 1, $x_args, \%args); | ||
| 4848 | } | ||
| 4849 | |||
| 4850 | sub RebootGuest { | ||
| 4851 | my ($self, %args) = @_; | ||
| 4852 | my $x_args = [ | ||
| 4853 | ['_this', 'ManagedObjectReference'], | ||
| 4854 | ]; | ||
| 4855 | return $self->soap_call('RebootGuest', undef, 0, $x_args, \%args); | ||
| 4856 | } | ||
| 4857 | |||
| 4858 | sub RebootHost_Task { | ||
| 4859 | my ($self, %args) = @_; | ||
| 4860 | my $x_args = [ | ||
| 4861 | ['_this', 'ManagedObjectReference'], | ||
| 4862 | ['force', 'boolean'], | ||
| 4863 | ]; | ||
| 4864 | return $self->soap_call('RebootHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4865 | } | ||
| 4866 | |||
| 4867 | sub RecommendDatastores { | ||
| 4868 | my ($self, %args) = @_; | ||
| 4869 | my $x_args = [ | ||
| 4870 | ['_this', 'ManagedObjectReference'], | ||
| 4871 | ['storageSpec', 'StoragePlacementSpec'], | ||
| 4872 | ]; | ||
| 4873 | return $self->soap_call('RecommendDatastores', 'StoragePlacementResult', 0, $x_args, \%args); | ||
| 4874 | } | ||
| 4875 | |||
| 4876 | sub RecommendHostsForVm { | ||
| 4877 | my ($self, %args) = @_; | ||
| 4878 | my $x_args = [ | ||
| 4879 | ['_this', 'ManagedObjectReference'], | ||
| 4880 | ['vm', 'ManagedObjectReference'], | ||
| 4881 | ['pool', 'ManagedObjectReference'], | ||
| 4882 | ]; | ||
| 4883 | return $self->soap_call('RecommendHostsForVm', 'ClusterHostRecommendation', 1, $x_args, \%args); | ||
| 4884 | } | ||
| 4885 | |||
| 4886 | sub RecommissionVsanNode_Task { | ||
| 4887 | my ($self, %args) = @_; | ||
| 4888 | my $x_args = [ | ||
| 4889 | ['_this', 'ManagedObjectReference'], | ||
| 4890 | ]; | ||
| 4891 | return $self->soap_call('RecommissionVsanNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4892 | } | ||
| 4893 | |||
| 4894 | sub ReconcileDatastoreInventory_Task { | ||
| 4895 | my ($self, %args) = @_; | ||
| 4896 | my $x_args = [ | ||
| 4897 | ['_this', 'ManagedObjectReference'], | ||
| 4898 | ['datastore', 'ManagedObjectReference'], | ||
| 4899 | ]; | ||
| 4900 | return $self->soap_call('ReconcileDatastoreInventory_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4901 | } | ||
| 4902 | |||
| 4903 | sub ReconfigVM_Task { | ||
| 4904 | my ($self, %args) = @_; | ||
| 4905 | my $x_args = [ | ||
| 4906 | ['_this', 'ManagedObjectReference'], | ||
| 4907 | ['spec', 'VirtualMachineConfigSpec'], | ||
| 4908 | ]; | ||
| 4909 | return $self->soap_call('ReconfigVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4910 | } | ||
| 4911 | |||
| 4912 | sub ReconfigurationSatisfiable { | ||
| 4913 | my ($self, %args) = @_; | ||
| 4914 | my $x_args = [ | ||
| 4915 | ['_this', 'ManagedObjectReference'], | ||
| 4916 | ['pcbs', 'VsanPolicyChangeBatch'], | ||
| 4917 | ['ignoreSatisfiability', 'boolean'], | ||
| 4918 | ]; | ||
| 4919 | return $self->soap_call('ReconfigurationSatisfiable', 'VsanPolicySatisfiability', 1, $x_args, \%args); | ||
| 4920 | } | ||
| 4921 | |||
| 4922 | sub ReconfigureAlarm { | ||
| 4923 | my ($self, %args) = @_; | ||
| 4924 | my $x_args = [ | ||
| 4925 | ['_this', 'ManagedObjectReference'], | ||
| 4926 | ['spec', 'AlarmSpec'], | ||
| 4927 | ]; | ||
| 4928 | return $self->soap_call('ReconfigureAlarm', undef, 0, $x_args, \%args); | ||
| 4929 | } | ||
| 4930 | |||
| 4931 | sub ReconfigureAutostart { | ||
| 4932 | my ($self, %args) = @_; | ||
| 4933 | my $x_args = [ | ||
| 4934 | ['_this', 'ManagedObjectReference'], | ||
| 4935 | ['spec', 'HostAutoStartManagerConfig'], | ||
| 4936 | ]; | ||
| 4937 | return $self->soap_call('ReconfigureAutostart', undef, 0, $x_args, \%args); | ||
| 4938 | } | ||
| 4939 | |||
| 4940 | sub ReconfigureCluster_Task { | ||
| 4941 | my ($self, %args) = @_; | ||
| 4942 | my $x_args = [ | ||
| 4943 | ['_this', 'ManagedObjectReference'], | ||
| 4944 | ['spec', 'ClusterConfigSpec'], | ||
| 4945 | ['modify', 'boolean'], | ||
| 4946 | ]; | ||
| 4947 | return $self->soap_call('ReconfigureCluster_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4948 | } | ||
| 4949 | |||
| 4950 | sub ReconfigureComputeResource_Task { | ||
| 4951 | my ($self, %args) = @_; | ||
| 4952 | my $x_args = [ | ||
| 4953 | ['_this', 'ManagedObjectReference'], | ||
| 4954 | ['spec', 'ComputeResourceConfigSpec'], | ||
| 4955 | ['modify', 'boolean'], | ||
| 4956 | ]; | ||
| 4957 | return $self->soap_call('ReconfigureComputeResource_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4958 | } | ||
| 4959 | |||
| 4960 | sub ReconfigureDVPort_Task { | ||
| 4961 | my ($self, %args) = @_; | ||
| 4962 | my $x_args = [ | ||
| 4963 | ['_this', 'ManagedObjectReference'], | ||
| 4964 | ['port', 'DVPortConfigSpec'], | ||
| 4965 | ]; | ||
| 4966 | return $self->soap_call('ReconfigureDVPort_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4967 | } | ||
| 4968 | |||
| 4969 | sub ReconfigureDVPortgroup_Task { | ||
| 4970 | my ($self, %args) = @_; | ||
| 4971 | my $x_args = [ | ||
| 4972 | ['_this', 'ManagedObjectReference'], | ||
| 4973 | ['spec', 'DVPortgroupConfigSpec'], | ||
| 4974 | ]; | ||
| 4975 | return $self->soap_call('ReconfigureDVPortgroup_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4976 | } | ||
| 4977 | |||
| 4978 | sub ReconfigureDatacenter_Task { | ||
| 4979 | my ($self, %args) = @_; | ||
| 4980 | my $x_args = [ | ||
| 4981 | ['_this', 'ManagedObjectReference'], | ||
| 4982 | ['spec', 'DatacenterConfigSpec'], | ||
| 4983 | ['modify', 'boolean'], | ||
| 4984 | ]; | ||
| 4985 | return $self->soap_call('ReconfigureDatacenter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 4986 | } | ||
| 4987 | |||
| 4988 | sub ReconfigureDomObject { | ||
| 4989 | my ($self, %args) = @_; | ||
| 4990 | my $x_args = [ | ||
| 4991 | ['_this', 'ManagedObjectReference'], | ||
| 4992 | ['uuid', undef], | ||
| 4993 | ['policy', undef], | ||
| 4994 | ]; | ||
| 4995 | return $self->soap_call('ReconfigureDomObject', undef, 0, $x_args, \%args); | ||
| 4996 | } | ||
| 4997 | |||
| 4998 | sub ReconfigureDvs_Task { | ||
| 4999 | my ($self, %args) = @_; | ||
| 5000 | my $x_args = [ | ||
| 5001 | ['_this', 'ManagedObjectReference'], | ||
| 5002 | ['spec', 'DVSConfigSpec'], | ||
| 5003 | ]; | ||
| 5004 | return $self->soap_call('ReconfigureDvs_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5005 | } | ||
| 5006 | |||
| 5007 | sub ReconfigureHostForDAS_Task { | ||
| 5008 | my ($self, %args) = @_; | ||
| 5009 | my $x_args = [ | ||
| 5010 | ['_this', 'ManagedObjectReference'], | ||
| 5011 | ]; | ||
| 5012 | return $self->soap_call('ReconfigureHostForDAS_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5013 | } | ||
| 5014 | |||
| 5015 | sub ReconfigureScheduledTask { | ||
| 5016 | my ($self, %args) = @_; | ||
| 5017 | my $x_args = [ | ||
| 5018 | ['_this', 'ManagedObjectReference'], | ||
| 5019 | ['spec', 'ScheduledTaskSpec'], | ||
| 5020 | ]; | ||
| 5021 | return $self->soap_call('ReconfigureScheduledTask', undef, 0, $x_args, \%args); | ||
| 5022 | } | ||
| 5023 | |||
| 5024 | sub ReconfigureServiceConsoleReservation { | ||
| 5025 | my ($self, %args) = @_; | ||
| 5026 | my $x_args = [ | ||
| 5027 | ['_this', 'ManagedObjectReference'], | ||
| 5028 | ['cfgBytes', undef], | ||
| 5029 | ]; | ||
| 5030 | return $self->soap_call('ReconfigureServiceConsoleReservation', undef, 0, $x_args, \%args); | ||
| 5031 | } | ||
| 5032 | |||
| 5033 | sub ReconfigureSnmpAgent { | ||
| 5034 | my ($self, %args) = @_; | ||
| 5035 | my $x_args = [ | ||
| 5036 | ['_this', 'ManagedObjectReference'], | ||
| 5037 | ['spec', 'HostSnmpConfigSpec'], | ||
| 5038 | ]; | ||
| 5039 | return $self->soap_call('ReconfigureSnmpAgent', undef, 0, $x_args, \%args); | ||
| 5040 | } | ||
| 5041 | |||
| 5042 | sub ReconfigureVirtualMachineReservation { | ||
| 5043 | my ($self, %args) = @_; | ||
| 5044 | my $x_args = [ | ||
| 5045 | ['_this', 'ManagedObjectReference'], | ||
| 5046 | ['spec', 'VirtualMachineMemoryReservationSpec'], | ||
| 5047 | ]; | ||
| 5048 | return $self->soap_call('ReconfigureVirtualMachineReservation', undef, 0, $x_args, \%args); | ||
| 5049 | } | ||
| 5050 | |||
| 5051 | sub ReconnectHost_Task { | ||
| 5052 | my ($self, %args) = @_; | ||
| 5053 | my $x_args = [ | ||
| 5054 | ['_this', 'ManagedObjectReference'], | ||
| 5055 | ['cnxSpec', 'HostConnectSpec'], | ||
| 5056 | ['reconnectSpec', 'HostSystemReconnectSpec'], | ||
| 5057 | ]; | ||
| 5058 | return $self->soap_call('ReconnectHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5059 | } | ||
| 5060 | |||
| 5061 | sub RectifyDvsHost_Task { | ||
| 5062 | my ($self, %args) = @_; | ||
| 5063 | my $x_args = [ | ||
| 5064 | ['_this', 'ManagedObjectReference'], | ||
| 5065 | ['hosts', 'ManagedObjectReference'], | ||
| 5066 | ]; | ||
| 5067 | return $self->soap_call('RectifyDvsHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5068 | } | ||
| 5069 | |||
| 5070 | sub RectifyDvsOnHost_Task { | ||
| 5071 | my ($self, %args) = @_; | ||
| 5072 | my $x_args = [ | ||
| 5073 | ['_this', 'ManagedObjectReference'], | ||
| 5074 | ['hosts', 'ManagedObjectReference'], | ||
| 5075 | ]; | ||
| 5076 | return $self->soap_call('RectifyDvsOnHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5077 | } | ||
| 5078 | |||
| 5079 | sub Refresh { | ||
| 5080 | my ($self, %args) = @_; | ||
| 5081 | my $x_args = [ | ||
| 5082 | ['_this', 'ManagedObjectReference'], | ||
| 5083 | ]; | ||
| 5084 | return $self->soap_call('Refresh', undef, 0, $x_args, \%args); | ||
| 5085 | } | ||
| 5086 | |||
| 5087 | sub RefreshDVPortState { | ||
| 5088 | my ($self, %args) = @_; | ||
| 5089 | my $x_args = [ | ||
| 5090 | ['_this', 'ManagedObjectReference'], | ||
| 5091 | ['portKeys', undef], | ||
| 5092 | ]; | ||
| 5093 | return $self->soap_call('RefreshDVPortState', undef, 0, $x_args, \%args); | ||
| 5094 | } | ||
| 5095 | |||
| 5096 | sub RefreshDatastore { | ||
| 5097 | my ($self, %args) = @_; | ||
| 5098 | my $x_args = [ | ||
| 5099 | ['_this', 'ManagedObjectReference'], | ||
| 5100 | ]; | ||
| 5101 | return $self->soap_call('RefreshDatastore', undef, 0, $x_args, \%args); | ||
| 5102 | } | ||
| 5103 | |||
| 5104 | sub RefreshDatastoreStorageInfo { | ||
| 5105 | my ($self, %args) = @_; | ||
| 5106 | my $x_args = [ | ||
| 5107 | ['_this', 'ManagedObjectReference'], | ||
| 5108 | ]; | ||
| 5109 | return $self->soap_call('RefreshDatastoreStorageInfo', undef, 0, $x_args, \%args); | ||
| 5110 | } | ||
| 5111 | |||
| 5112 | sub RefreshDateTimeSystem { | ||
| 5113 | my ($self, %args) = @_; | ||
| 5114 | my $x_args = [ | ||
| 5115 | ['_this', 'ManagedObjectReference'], | ||
| 5116 | ]; | ||
| 5117 | return $self->soap_call('RefreshDateTimeSystem', undef, 0, $x_args, \%args); | ||
| 5118 | } | ||
| 5119 | |||
| 5120 | sub RefreshFirewall { | ||
| 5121 | my ($self, %args) = @_; | ||
| 5122 | my $x_args = [ | ||
| 5123 | ['_this', 'ManagedObjectReference'], | ||
| 5124 | ]; | ||
| 5125 | return $self->soap_call('RefreshFirewall', undef, 0, $x_args, \%args); | ||
| 5126 | } | ||
| 5127 | |||
| 5128 | sub RefreshGraphicsManager { | ||
| 5129 | my ($self, %args) = @_; | ||
| 5130 | my $x_args = [ | ||
| 5131 | ['_this', 'ManagedObjectReference'], | ||
| 5132 | ]; | ||
| 5133 | return $self->soap_call('RefreshGraphicsManager', undef, 0, $x_args, \%args); | ||
| 5134 | } | ||
| 5135 | |||
| 5136 | sub RefreshHealthStatusSystem { | ||
| 5137 | my ($self, %args) = @_; | ||
| 5138 | my $x_args = [ | ||
| 5139 | ['_this', 'ManagedObjectReference'], | ||
| 5140 | ]; | ||
| 5141 | return $self->soap_call('RefreshHealthStatusSystem', undef, 0, $x_args, \%args); | ||
| 5142 | } | ||
| 5143 | |||
| 5144 | sub RefreshNetworkSystem { | ||
| 5145 | my ($self, %args) = @_; | ||
| 5146 | my $x_args = [ | ||
| 5147 | ['_this', 'ManagedObjectReference'], | ||
| 5148 | ]; | ||
| 5149 | return $self->soap_call('RefreshNetworkSystem', undef, 0, $x_args, \%args); | ||
| 5150 | } | ||
| 5151 | |||
| 5152 | sub RefreshRecommendation { | ||
| 5153 | my ($self, %args) = @_; | ||
| 5154 | my $x_args = [ | ||
| 5155 | ['_this', 'ManagedObjectReference'], | ||
| 5156 | ]; | ||
| 5157 | return $self->soap_call('RefreshRecommendation', undef, 0, $x_args, \%args); | ||
| 5158 | } | ||
| 5159 | |||
| 5160 | sub RefreshRuntime { | ||
| 5161 | my ($self, %args) = @_; | ||
| 5162 | my $x_args = [ | ||
| 5163 | ['_this', 'ManagedObjectReference'], | ||
| 5164 | ]; | ||
| 5165 | return $self->soap_call('RefreshRuntime', undef, 0, $x_args, \%args); | ||
| 5166 | } | ||
| 5167 | |||
| 5168 | sub RefreshServices { | ||
| 5169 | my ($self, %args) = @_; | ||
| 5170 | my $x_args = [ | ||
| 5171 | ['_this', 'ManagedObjectReference'], | ||
| 5172 | ]; | ||
| 5173 | return $self->soap_call('RefreshServices', undef, 0, $x_args, \%args); | ||
| 5174 | } | ||
| 5175 | |||
| 5176 | sub RefreshStorageDrsRecommendation { | ||
| 5177 | my ($self, %args) = @_; | ||
| 5178 | my $x_args = [ | ||
| 5179 | ['_this', 'ManagedObjectReference'], | ||
| 5180 | ['pod', 'ManagedObjectReference'], | ||
| 5181 | ]; | ||
| 5182 | return $self->soap_call('RefreshStorageDrsRecommendation', undef, 0, $x_args, \%args); | ||
| 5183 | } | ||
| 5184 | |||
| 5185 | sub RefreshStorageInfo { | ||
| 5186 | my ($self, %args) = @_; | ||
| 5187 | my $x_args = [ | ||
| 5188 | ['_this', 'ManagedObjectReference'], | ||
| 5189 | ]; | ||
| 5190 | return $self->soap_call('RefreshStorageInfo', undef, 0, $x_args, \%args); | ||
| 5191 | } | ||
| 5192 | |||
| 5193 | sub RefreshStorageSystem { | ||
| 5194 | my ($self, %args) = @_; | ||
| 5195 | my $x_args = [ | ||
| 5196 | ['_this', 'ManagedObjectReference'], | ||
| 5197 | ]; | ||
| 5198 | return $self->soap_call('RefreshStorageSystem', undef, 0, $x_args, \%args); | ||
| 5199 | } | ||
| 5200 | |||
| 5201 | sub RegisterChildVM_Task { | ||
| 5202 | my ($self, %args) = @_; | ||
| 5203 | my $x_args = [ | ||
| 5204 | ['_this', 'ManagedObjectReference'], | ||
| 5205 | ['path', undef], | ||
| 5206 | ['name', undef], | ||
| 5207 | ['host', 'ManagedObjectReference'], | ||
| 5208 | ]; | ||
| 5209 | return $self->soap_call('RegisterChildVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5210 | } | ||
| 5211 | |||
| 5212 | sub RegisterDisk { | ||
| 5213 | my ($self, %args) = @_; | ||
| 5214 | my $x_args = [ | ||
| 5215 | ['_this', 'ManagedObjectReference'], | ||
| 5216 | ['path', undef], | ||
| 5217 | ['name', undef], | ||
| 5218 | ]; | ||
| 5219 | return $self->soap_call('RegisterDisk', 'VStorageObject', 0, $x_args, \%args); | ||
| 5220 | } | ||
| 5221 | |||
| 5222 | sub RegisterExtension { | ||
| 5223 | my ($self, %args) = @_; | ||
| 5224 | my $x_args = [ | ||
| 5225 | ['_this', 'ManagedObjectReference'], | ||
| 5226 | ['extension', 'Extension'], | ||
| 5227 | ]; | ||
| 5228 | return $self->soap_call('RegisterExtension', undef, 0, $x_args, \%args); | ||
| 5229 | } | ||
| 5230 | |||
| 5231 | sub RegisterHealthUpdateProvider { | ||
| 5232 | my ($self, %args) = @_; | ||
| 5233 | my $x_args = [ | ||
| 5234 | ['_this', 'ManagedObjectReference'], | ||
| 5235 | ['name', undef], | ||
| 5236 | ['healthUpdateInfo', 'HealthUpdateInfo'], | ||
| 5237 | ]; | ||
| 5238 | return $self->soap_call('RegisterHealthUpdateProvider', undef, 0, $x_args, \%args); | ||
| 5239 | } | ||
| 5240 | |||
| 5241 | sub RegisterKmipServer { | ||
| 5242 | my ($self, %args) = @_; | ||
| 5243 | my $x_args = [ | ||
| 5244 | ['_this', 'ManagedObjectReference'], | ||
| 5245 | ['server', 'KmipServerSpec'], | ||
| 5246 | ]; | ||
| 5247 | return $self->soap_call('RegisterKmipServer', undef, 0, $x_args, \%args); | ||
| 5248 | } | ||
| 5249 | |||
| 5250 | sub RegisterVM_Task { | ||
| 5251 | my ($self, %args) = @_; | ||
| 5252 | my $x_args = [ | ||
| 5253 | ['_this', 'ManagedObjectReference'], | ||
| 5254 | ['path', undef], | ||
| 5255 | ['name', undef], | ||
| 5256 | ['asTemplate', 'boolean'], | ||
| 5257 | ['pool', 'ManagedObjectReference'], | ||
| 5258 | ['host', 'ManagedObjectReference'], | ||
| 5259 | ]; | ||
| 5260 | return $self->soap_call('RegisterVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5261 | } | ||
| 5262 | |||
| 5263 | sub ReleaseCredentialsInGuest { | ||
| 5264 | my ($self, %args) = @_; | ||
| 5265 | my $x_args = [ | ||
| 5266 | ['_this', 'ManagedObjectReference'], | ||
| 5267 | ['vm', 'ManagedObjectReference'], | ||
| 5268 | ['auth', 'GuestAuthentication'], | ||
| 5269 | ]; | ||
| 5270 | return $self->soap_call('ReleaseCredentialsInGuest', undef, 0, $x_args, \%args); | ||
| 5271 | } | ||
| 5272 | |||
| 5273 | sub ReleaseIpAllocation { | ||
| 5274 | my ($self, %args) = @_; | ||
| 5275 | my $x_args = [ | ||
| 5276 | ['_this', 'ManagedObjectReference'], | ||
| 5277 | ['dc', 'ManagedObjectReference'], | ||
| 5278 | ['poolId', undef], | ||
| 5279 | ['allocationId', undef], | ||
| 5280 | ]; | ||
| 5281 | return $self->soap_call('ReleaseIpAllocation', undef, 0, $x_args, \%args); | ||
| 5282 | } | ||
| 5283 | |||
| 5284 | sub ReleaseManagedSnapshot { | ||
| 5285 | my ($self, %args) = @_; | ||
| 5286 | my $x_args = [ | ||
| 5287 | ['_this', 'ManagedObjectReference'], | ||
| 5288 | ['vdisk', undef], | ||
| 5289 | ['datacenter', 'ManagedObjectReference'], | ||
| 5290 | ]; | ||
| 5291 | return $self->soap_call('ReleaseManagedSnapshot', undef, 0, $x_args, \%args); | ||
| 5292 | } | ||
| 5293 | |||
| 5294 | sub Reload { | ||
| 5295 | my ($self, %args) = @_; | ||
| 5296 | my $x_args = [ | ||
| 5297 | ['_this', 'ManagedObjectReference'], | ||
| 5298 | ]; | ||
| 5299 | return $self->soap_call('Reload', undef, 0, $x_args, \%args); | ||
| 5300 | } | ||
| 5301 | |||
| 5302 | sub RelocateVM_Task { | ||
| 5303 | my ($self, %args) = @_; | ||
| 5304 | my $x_args = [ | ||
| 5305 | ['_this', 'ManagedObjectReference'], | ||
| 5306 | ['spec', 'VirtualMachineRelocateSpec'], | ||
| 5307 | ['priority', 'VirtualMachineMovePriority'], | ||
| 5308 | ]; | ||
| 5309 | return $self->soap_call('RelocateVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5310 | } | ||
| 5311 | |||
| 5312 | sub RelocateVStorageObject_Task { | ||
| 5313 | my ($self, %args) = @_; | ||
| 5314 | my $x_args = [ | ||
| 5315 | ['_this', 'ManagedObjectReference'], | ||
| 5316 | ['id', 'ID'], | ||
| 5317 | ['datastore', 'ManagedObjectReference'], | ||
| 5318 | ['spec', 'VslmRelocateSpec'], | ||
| 5319 | ]; | ||
| 5320 | return $self->soap_call('RelocateVStorageObject_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5321 | } | ||
| 5322 | |||
| 5323 | sub RemoveAlarm { | ||
| 5324 | my ($self, %args) = @_; | ||
| 5325 | my $x_args = [ | ||
| 5326 | ['_this', 'ManagedObjectReference'], | ||
| 5327 | ]; | ||
| 5328 | return $self->soap_call('RemoveAlarm', undef, 0, $x_args, \%args); | ||
| 5329 | } | ||
| 5330 | |||
| 5331 | sub RemoveAllSnapshots_Task { | ||
| 5332 | my ($self, %args) = @_; | ||
| 5333 | my $x_args = [ | ||
| 5334 | ['_this', 'ManagedObjectReference'], | ||
| 5335 | ['consolidate', 'boolean'], | ||
| 5336 | ]; | ||
| 5337 | return $self->soap_call('RemoveAllSnapshots_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5338 | } | ||
| 5339 | |||
| 5340 | sub RemoveAssignedLicense { | ||
| 5341 | my ($self, %args) = @_; | ||
| 5342 | my $x_args = [ | ||
| 5343 | ['_this', 'ManagedObjectReference'], | ||
| 5344 | ['entityId', undef], | ||
| 5345 | ]; | ||
| 5346 | return $self->soap_call('RemoveAssignedLicense', undef, 0, $x_args, \%args); | ||
| 5347 | } | ||
| 5348 | |||
| 5349 | sub RemoveAuthorizationRole { | ||
| 5350 | my ($self, %args) = @_; | ||
| 5351 | my $x_args = [ | ||
| 5352 | ['_this', 'ManagedObjectReference'], | ||
| 5353 | ['roleId', undef], | ||
| 5354 | ['failIfUsed', 'boolean'], | ||
| 5355 | ]; | ||
| 5356 | return $self->soap_call('RemoveAuthorizationRole', undef, 0, $x_args, \%args); | ||
| 5357 | } | ||
| 5358 | |||
| 5359 | sub RemoveCustomFieldDef { | ||
| 5360 | my ($self, %args) = @_; | ||
| 5361 | my $x_args = [ | ||
| 5362 | ['_this', 'ManagedObjectReference'], | ||
| 5363 | ['key', undef], | ||
| 5364 | ]; | ||
| 5365 | return $self->soap_call('RemoveCustomFieldDef', undef, 0, $x_args, \%args); | ||
| 5366 | } | ||
| 5367 | |||
| 5368 | sub RemoveDatastore { | ||
| 5369 | my ($self, %args) = @_; | ||
| 5370 | my $x_args = [ | ||
| 5371 | ['_this', 'ManagedObjectReference'], | ||
| 5372 | ['datastore', 'ManagedObjectReference'], | ||
| 5373 | ]; | ||
| 5374 | return $self->soap_call('RemoveDatastore', undef, 0, $x_args, \%args); | ||
| 5375 | } | ||
| 5376 | |||
| 5377 | sub RemoveDatastoreEx_Task { | ||
| 5378 | my ($self, %args) = @_; | ||
| 5379 | my $x_args = [ | ||
| 5380 | ['_this', 'ManagedObjectReference'], | ||
| 5381 | ['datastore', 'ManagedObjectReference'], | ||
| 5382 | ]; | ||
| 5383 | return $self->soap_call('RemoveDatastoreEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5384 | } | ||
| 5385 | |||
| 5386 | sub RemoveDiskMapping_Task { | ||
| 5387 | my ($self, %args) = @_; | ||
| 5388 | my $x_args = [ | ||
| 5389 | ['_this', 'ManagedObjectReference'], | ||
| 5390 | ['mapping', 'VsanHostDiskMapping'], | ||
| 5391 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 5392 | ['timeout', undef], | ||
| 5393 | ]; | ||
| 5394 | return $self->soap_call('RemoveDiskMapping_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5395 | } | ||
| 5396 | |||
| 5397 | sub RemoveDisk_Task { | ||
| 5398 | my ($self, %args) = @_; | ||
| 5399 | my $x_args = [ | ||
| 5400 | ['_this', 'ManagedObjectReference'], | ||
| 5401 | ['disk', 'HostScsiDisk'], | ||
| 5402 | ['maintenanceSpec', 'HostMaintenanceSpec'], | ||
| 5403 | ['timeout', undef], | ||
| 5404 | ]; | ||
| 5405 | return $self->soap_call('RemoveDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5406 | } | ||
| 5407 | |||
| 5408 | sub RemoveEntityPermission { | ||
| 5409 | my ($self, %args) = @_; | ||
| 5410 | my $x_args = [ | ||
| 5411 | ['_this', 'ManagedObjectReference'], | ||
| 5412 | ['entity', 'ManagedObjectReference'], | ||
| 5413 | ['user', undef], | ||
| 5414 | ['isGroup', 'boolean'], | ||
| 5415 | ]; | ||
| 5416 | return $self->soap_call('RemoveEntityPermission', undef, 0, $x_args, \%args); | ||
| 5417 | } | ||
| 5418 | |||
| 5419 | sub RemoveFilter { | ||
| 5420 | my ($self, %args) = @_; | ||
| 5421 | my $x_args = [ | ||
| 5422 | ['_this', 'ManagedObjectReference'], | ||
| 5423 | ['filterId', undef], | ||
| 5424 | ]; | ||
| 5425 | return $self->soap_call('RemoveFilter', undef, 0, $x_args, \%args); | ||
| 5426 | } | ||
| 5427 | |||
| 5428 | sub RemoveFilterEntities { | ||
| 5429 | my ($self, %args) = @_; | ||
| 5430 | my $x_args = [ | ||
| 5431 | ['_this', 'ManagedObjectReference'], | ||
| 5432 | ['filterId', undef], | ||
| 5433 | ['entities', 'ManagedObjectReference'], | ||
| 5434 | ]; | ||
| 5435 | return $self->soap_call('RemoveFilterEntities', undef, 0, $x_args, \%args); | ||
| 5436 | } | ||
| 5437 | |||
| 5438 | sub RemoveGroup { | ||
| 5439 | my ($self, %args) = @_; | ||
| 5440 | my $x_args = [ | ||
| 5441 | ['_this', 'ManagedObjectReference'], | ||
| 5442 | ['groupName', undef], | ||
| 5443 | ]; | ||
| 5444 | return $self->soap_call('RemoveGroup', undef, 0, $x_args, \%args); | ||
| 5445 | } | ||
| 5446 | |||
| 5447 | sub RemoveGuestAlias { | ||
| 5448 | my ($self, %args) = @_; | ||
| 5449 | my $x_args = [ | ||
| 5450 | ['_this', 'ManagedObjectReference'], | ||
| 5451 | ['vm', 'ManagedObjectReference'], | ||
| 5452 | ['auth', 'GuestAuthentication'], | ||
| 5453 | ['username', undef], | ||
| 5454 | ['base64Cert', undef], | ||
| 5455 | ['subject', 'GuestAuthSubject'], | ||
| 5456 | ]; | ||
| 5457 | return $self->soap_call('RemoveGuestAlias', undef, 0, $x_args, \%args); | ||
| 5458 | } | ||
| 5459 | |||
| 5460 | sub RemoveGuestAliasByCert { | ||
| 5461 | my ($self, %args) = @_; | ||
| 5462 | my $x_args = [ | ||
| 5463 | ['_this', 'ManagedObjectReference'], | ||
| 5464 | ['vm', 'ManagedObjectReference'], | ||
| 5465 | ['auth', 'GuestAuthentication'], | ||
| 5466 | ['username', undef], | ||
| 5467 | ['base64Cert', undef], | ||
| 5468 | ]; | ||
| 5469 | return $self->soap_call('RemoveGuestAliasByCert', undef, 0, $x_args, \%args); | ||
| 5470 | } | ||
| 5471 | |||
| 5472 | sub RemoveInternetScsiSendTargets { | ||
| 5473 | my ($self, %args) = @_; | ||
| 5474 | my $x_args = [ | ||
| 5475 | ['_this', 'ManagedObjectReference'], | ||
| 5476 | ['iScsiHbaDevice', undef], | ||
| 5477 | ['targets', 'HostInternetScsiHbaSendTarget'], | ||
| 5478 | ]; | ||
| 5479 | return $self->soap_call('RemoveInternetScsiSendTargets', undef, 0, $x_args, \%args); | ||
| 5480 | } | ||
| 5481 | |||
| 5482 | sub RemoveInternetScsiStaticTargets { | ||
| 5483 | my ($self, %args) = @_; | ||
| 5484 | my $x_args = [ | ||
| 5485 | ['_this', 'ManagedObjectReference'], | ||
| 5486 | ['iScsiHbaDevice', undef], | ||
| 5487 | ['targets', 'HostInternetScsiHbaStaticTarget'], | ||
| 5488 | ]; | ||
| 5489 | return $self->soap_call('RemoveInternetScsiStaticTargets', undef, 0, $x_args, \%args); | ||
| 5490 | } | ||
| 5491 | |||
| 5492 | sub RemoveKey { | ||
| 5493 | my ($self, %args) = @_; | ||
| 5494 | my $x_args = [ | ||
| 5495 | ['_this', 'ManagedObjectReference'], | ||
| 5496 | ['key', 'CryptoKeyId'], | ||
| 5497 | ['force', 'boolean'], | ||
| 5498 | ]; | ||
| 5499 | return $self->soap_call('RemoveKey', undef, 0, $x_args, \%args); | ||
| 5500 | } | ||
| 5501 | |||
| 5502 | sub RemoveKeys { | ||
| 5503 | my ($self, %args) = @_; | ||
| 5504 | my $x_args = [ | ||
| 5505 | ['_this', 'ManagedObjectReference'], | ||
| 5506 | ['keys', 'CryptoKeyId'], | ||
| 5507 | ['force', 'boolean'], | ||
| 5508 | ]; | ||
| 5509 | return $self->soap_call('RemoveKeys', 'CryptoKeyResult', 1, $x_args, \%args); | ||
| 5510 | } | ||
| 5511 | |||
| 5512 | sub RemoveKmipServer { | ||
| 5513 | my ($self, %args) = @_; | ||
| 5514 | my $x_args = [ | ||
| 5515 | ['_this', 'ManagedObjectReference'], | ||
| 5516 | ['clusterId', 'KeyProviderId'], | ||
| 5517 | ['serverName', undef], | ||
| 5518 | ]; | ||
| 5519 | return $self->soap_call('RemoveKmipServer', undef, 0, $x_args, \%args); | ||
| 5520 | } | ||
| 5521 | |||
| 5522 | sub RemoveLicense { | ||
| 5523 | my ($self, %args) = @_; | ||
| 5524 | my $x_args = [ | ||
| 5525 | ['_this', 'ManagedObjectReference'], | ||
| 5526 | ['licenseKey', undef], | ||
| 5527 | ]; | ||
| 5528 | return $self->soap_call('RemoveLicense', undef, 0, $x_args, \%args); | ||
| 5529 | } | ||
| 5530 | |||
| 5531 | sub RemoveLicenseLabel { | ||
| 5532 | my ($self, %args) = @_; | ||
| 5533 | my $x_args = [ | ||
| 5534 | ['_this', 'ManagedObjectReference'], | ||
| 5535 | ['licenseKey', undef], | ||
| 5536 | ['labelKey', undef], | ||
| 5537 | ]; | ||
| 5538 | return $self->soap_call('RemoveLicenseLabel', undef, 0, $x_args, \%args); | ||
| 5539 | } | ||
| 5540 | |||
| 5541 | sub RemoveMonitoredEntities { | ||
| 5542 | my ($self, %args) = @_; | ||
| 5543 | my $x_args = [ | ||
| 5544 | ['_this', 'ManagedObjectReference'], | ||
| 5545 | ['providerId', undef], | ||
| 5546 | ['entities', 'ManagedObjectReference'], | ||
| 5547 | ]; | ||
| 5548 | return $self->soap_call('RemoveMonitoredEntities', undef, 0, $x_args, \%args); | ||
| 5549 | } | ||
| 5550 | |||
| 5551 | sub RemoveNetworkResourcePool { | ||
| 5552 | my ($self, %args) = @_; | ||
| 5553 | my $x_args = [ | ||
| 5554 | ['_this', 'ManagedObjectReference'], | ||
| 5555 | ['key', undef], | ||
| 5556 | ]; | ||
| 5557 | return $self->soap_call('RemoveNetworkResourcePool', undef, 0, $x_args, \%args); | ||
| 5558 | } | ||
| 5559 | |||
| 5560 | sub RemovePerfInterval { | ||
| 5561 | my ($self, %args) = @_; | ||
| 5562 | my $x_args = [ | ||
| 5563 | ['_this', 'ManagedObjectReference'], | ||
| 5564 | ['samplePeriod', undef], | ||
| 5565 | ]; | ||
| 5566 | return $self->soap_call('RemovePerfInterval', undef, 0, $x_args, \%args); | ||
| 5567 | } | ||
| 5568 | |||
| 5569 | sub RemovePortGroup { | ||
| 5570 | my ($self, %args) = @_; | ||
| 5571 | my $x_args = [ | ||
| 5572 | ['_this', 'ManagedObjectReference'], | ||
| 5573 | ['pgName', undef], | ||
| 5574 | ]; | ||
| 5575 | return $self->soap_call('RemovePortGroup', undef, 0, $x_args, \%args); | ||
| 5576 | } | ||
| 5577 | |||
| 5578 | sub RemoveScheduledTask { | ||
| 5579 | my ($self, %args) = @_; | ||
| 5580 | my $x_args = [ | ||
| 5581 | ['_this', 'ManagedObjectReference'], | ||
| 5582 | ]; | ||
| 5583 | return $self->soap_call('RemoveScheduledTask', undef, 0, $x_args, \%args); | ||
| 5584 | } | ||
| 5585 | |||
| 5586 | sub RemoveServiceConsoleVirtualNic { | ||
| 5587 | my ($self, %args) = @_; | ||
| 5588 | my $x_args = [ | ||
| 5589 | ['_this', 'ManagedObjectReference'], | ||
| 5590 | ['device', undef], | ||
| 5591 | ]; | ||
| 5592 | return $self->soap_call('RemoveServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 5593 | } | ||
| 5594 | |||
| 5595 | sub RemoveSmartCardTrustAnchor { | ||
| 5596 | my ($self, %args) = @_; | ||
| 5597 | my $x_args = [ | ||
| 5598 | ['_this', 'ManagedObjectReference'], | ||
| 5599 | ['issuer', undef], | ||
| 5600 | ['serial', undef], | ||
| 5601 | ]; | ||
| 5602 | return $self->soap_call('RemoveSmartCardTrustAnchor', undef, 0, $x_args, \%args); | ||
| 5603 | } | ||
| 5604 | |||
| 5605 | sub RemoveSmartCardTrustAnchorByFingerprint { | ||
| 5606 | my ($self, %args) = @_; | ||
| 5607 | my $x_args = [ | ||
| 5608 | ['_this', 'ManagedObjectReference'], | ||
| 5609 | ['fingerprint', undef], | ||
| 5610 | ['digest', undef], | ||
| 5611 | ]; | ||
| 5612 | return $self->soap_call('RemoveSmartCardTrustAnchorByFingerprint', undef, 0, $x_args, \%args); | ||
| 5613 | } | ||
| 5614 | |||
| 5615 | sub RemoveSnapshot_Task { | ||
| 5616 | my ($self, %args) = @_; | ||
| 5617 | my $x_args = [ | ||
| 5618 | ['_this', 'ManagedObjectReference'], | ||
| 5619 | ['removeChildren', 'boolean'], | ||
| 5620 | ['consolidate', 'boolean'], | ||
| 5621 | ]; | ||
| 5622 | return $self->soap_call('RemoveSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5623 | } | ||
| 5624 | |||
| 5625 | sub RemoveUser { | ||
| 5626 | my ($self, %args) = @_; | ||
| 5627 | my $x_args = [ | ||
| 5628 | ['_this', 'ManagedObjectReference'], | ||
| 5629 | ['userName', undef], | ||
| 5630 | ]; | ||
| 5631 | return $self->soap_call('RemoveUser', undef, 0, $x_args, \%args); | ||
| 5632 | } | ||
| 5633 | |||
| 5634 | sub RemoveVirtualNic { | ||
| 5635 | my ($self, %args) = @_; | ||
| 5636 | my $x_args = [ | ||
| 5637 | ['_this', 'ManagedObjectReference'], | ||
| 5638 | ['device', undef], | ||
| 5639 | ]; | ||
| 5640 | return $self->soap_call('RemoveVirtualNic', undef, 0, $x_args, \%args); | ||
| 5641 | } | ||
| 5642 | |||
| 5643 | sub RemoveVirtualSwitch { | ||
| 5644 | my ($self, %args) = @_; | ||
| 5645 | my $x_args = [ | ||
| 5646 | ['_this', 'ManagedObjectReference'], | ||
| 5647 | ['vswitchName', undef], | ||
| 5648 | ]; | ||
| 5649 | return $self->soap_call('RemoveVirtualSwitch', undef, 0, $x_args, \%args); | ||
| 5650 | } | ||
| 5651 | |||
| 5652 | sub RenameCustomFieldDef { | ||
| 5653 | my ($self, %args) = @_; | ||
| 5654 | my $x_args = [ | ||
| 5655 | ['_this', 'ManagedObjectReference'], | ||
| 5656 | ['key', undef], | ||
| 5657 | ['name', undef], | ||
| 5658 | ]; | ||
| 5659 | return $self->soap_call('RenameCustomFieldDef', undef, 0, $x_args, \%args); | ||
| 5660 | } | ||
| 5661 | |||
| 5662 | sub RenameCustomizationSpec { | ||
| 5663 | my ($self, %args) = @_; | ||
| 5664 | my $x_args = [ | ||
| 5665 | ['_this', 'ManagedObjectReference'], | ||
| 5666 | ['name', undef], | ||
| 5667 | ['newName', undef], | ||
| 5668 | ]; | ||
| 5669 | return $self->soap_call('RenameCustomizationSpec', undef, 0, $x_args, \%args); | ||
| 5670 | } | ||
| 5671 | |||
| 5672 | sub RenameDatastore { | ||
| 5673 | my ($self, %args) = @_; | ||
| 5674 | my $x_args = [ | ||
| 5675 | ['_this', 'ManagedObjectReference'], | ||
| 5676 | ['newName', undef], | ||
| 5677 | ]; | ||
| 5678 | return $self->soap_call('RenameDatastore', undef, 0, $x_args, \%args); | ||
| 5679 | } | ||
| 5680 | |||
| 5681 | sub RenameSnapshot { | ||
| 5682 | my ($self, %args) = @_; | ||
| 5683 | my $x_args = [ | ||
| 5684 | ['_this', 'ManagedObjectReference'], | ||
| 5685 | ['name', undef], | ||
| 5686 | ['description', undef], | ||
| 5687 | ]; | ||
| 5688 | return $self->soap_call('RenameSnapshot', undef, 0, $x_args, \%args); | ||
| 5689 | } | ||
| 5690 | |||
| 5691 | sub RenameVStorageObject { | ||
| 5692 | my ($self, %args) = @_; | ||
| 5693 | my $x_args = [ | ||
| 5694 | ['_this', 'ManagedObjectReference'], | ||
| 5695 | ['id', 'ID'], | ||
| 5696 | ['datastore', 'ManagedObjectReference'], | ||
| 5697 | ['name', undef], | ||
| 5698 | ]; | ||
| 5699 | return $self->soap_call('RenameVStorageObject', undef, 0, $x_args, \%args); | ||
| 5700 | } | ||
| 5701 | |||
| 5702 | sub Rename_Task { | ||
| 5703 | my ($self, %args) = @_; | ||
| 5704 | my $x_args = [ | ||
| 5705 | ['_this', 'ManagedObjectReference'], | ||
| 5706 | ['newName', undef], | ||
| 5707 | ]; | ||
| 5708 | return $self->soap_call('Rename_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5709 | } | ||
| 5710 | |||
| 5711 | sub ReplaceCACertificatesAndCRLs { | ||
| 5712 | my ($self, %args) = @_; | ||
| 5713 | my $x_args = [ | ||
| 5714 | ['_this', 'ManagedObjectReference'], | ||
| 5715 | ['caCert', undef], | ||
| 5716 | ['caCrl', undef], | ||
| 5717 | ]; | ||
| 5718 | return $self->soap_call('ReplaceCACertificatesAndCRLs', undef, 0, $x_args, \%args); | ||
| 5719 | } | ||
| 5720 | |||
| 5721 | sub ReplaceSmartCardTrustAnchors { | ||
| 5722 | my ($self, %args) = @_; | ||
| 5723 | my $x_args = [ | ||
| 5724 | ['_this', 'ManagedObjectReference'], | ||
| 5725 | ['certs', undef], | ||
| 5726 | ]; | ||
| 5727 | return $self->soap_call('ReplaceSmartCardTrustAnchors', undef, 0, $x_args, \%args); | ||
| 5728 | } | ||
| 5729 | |||
| 5730 | sub RescanAllHba { | ||
| 5731 | my ($self, %args) = @_; | ||
| 5732 | my $x_args = [ | ||
| 5733 | ['_this', 'ManagedObjectReference'], | ||
| 5734 | ]; | ||
| 5735 | return $self->soap_call('RescanAllHba', undef, 0, $x_args, \%args); | ||
| 5736 | } | ||
| 5737 | |||
| 5738 | sub RescanHba { | ||
| 5739 | my ($self, %args) = @_; | ||
| 5740 | my $x_args = [ | ||
| 5741 | ['_this', 'ManagedObjectReference'], | ||
| 5742 | ['hbaDevice', undef], | ||
| 5743 | ]; | ||
| 5744 | return $self->soap_call('RescanHba', undef, 0, $x_args, \%args); | ||
| 5745 | } | ||
| 5746 | |||
| 5747 | sub RescanVffs { | ||
| 5748 | my ($self, %args) = @_; | ||
| 5749 | my $x_args = [ | ||
| 5750 | ['_this', 'ManagedObjectReference'], | ||
| 5751 | ]; | ||
| 5752 | return $self->soap_call('RescanVffs', undef, 0, $x_args, \%args); | ||
| 5753 | } | ||
| 5754 | |||
| 5755 | sub RescanVmfs { | ||
| 5756 | my ($self, %args) = @_; | ||
| 5757 | my $x_args = [ | ||
| 5758 | ['_this', 'ManagedObjectReference'], | ||
| 5759 | ]; | ||
| 5760 | return $self->soap_call('RescanVmfs', undef, 0, $x_args, \%args); | ||
| 5761 | } | ||
| 5762 | |||
| 5763 | sub ResetCollector { | ||
| 5764 | my ($self, %args) = @_; | ||
| 5765 | my $x_args = [ | ||
| 5766 | ['_this', 'ManagedObjectReference'], | ||
| 5767 | ]; | ||
| 5768 | return $self->soap_call('ResetCollector', undef, 0, $x_args, \%args); | ||
| 5769 | } | ||
| 5770 | |||
| 5771 | sub ResetCounterLevelMapping { | ||
| 5772 | my ($self, %args) = @_; | ||
| 5773 | my $x_args = [ | ||
| 5774 | ['_this', 'ManagedObjectReference'], | ||
| 5775 | ['counters', undef], | ||
| 5776 | ]; | ||
| 5777 | return $self->soap_call('ResetCounterLevelMapping', undef, 0, $x_args, \%args); | ||
| 5778 | } | ||
| 5779 | |||
| 5780 | sub ResetEntityPermissions { | ||
| 5781 | my ($self, %args) = @_; | ||
| 5782 | my $x_args = [ | ||
| 5783 | ['_this', 'ManagedObjectReference'], | ||
| 5784 | ['entity', 'ManagedObjectReference'], | ||
| 5785 | ['permission', 'Permission'], | ||
| 5786 | ]; | ||
| 5787 | return $self->soap_call('ResetEntityPermissions', undef, 0, $x_args, \%args); | ||
| 5788 | } | ||
| 5789 | |||
| 5790 | sub ResetFirmwareToFactoryDefaults { | ||
| 5791 | my ($self, %args) = @_; | ||
| 5792 | my $x_args = [ | ||
| 5793 | ['_this', 'ManagedObjectReference'], | ||
| 5794 | ]; | ||
| 5795 | return $self->soap_call('ResetFirmwareToFactoryDefaults', undef, 0, $x_args, \%args); | ||
| 5796 | } | ||
| 5797 | |||
| 5798 | sub ResetGuestInformation { | ||
| 5799 | my ($self, %args) = @_; | ||
| 5800 | my $x_args = [ | ||
| 5801 | ['_this', 'ManagedObjectReference'], | ||
| 5802 | ]; | ||
| 5803 | return $self->soap_call('ResetGuestInformation', undef, 0, $x_args, \%args); | ||
| 5804 | } | ||
| 5805 | |||
| 5806 | sub ResetListView { | ||
| 5807 | my ($self, %args) = @_; | ||
| 5808 | my $x_args = [ | ||
| 5809 | ['_this', 'ManagedObjectReference'], | ||
| 5810 | ['obj', 'ManagedObjectReference'], | ||
| 5811 | ]; | ||
| 5812 | return $self->soap_call('ResetListView', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 5813 | } | ||
| 5814 | |||
| 5815 | sub ResetListViewFromView { | ||
| 5816 | my ($self, %args) = @_; | ||
| 5817 | my $x_args = [ | ||
| 5818 | ['_this', 'ManagedObjectReference'], | ||
| 5819 | ['view', 'ManagedObjectReference'], | ||
| 5820 | ]; | ||
| 5821 | return $self->soap_call('ResetListViewFromView', undef, 0, $x_args, \%args); | ||
| 5822 | } | ||
| 5823 | |||
| 5824 | sub ResetSystemHealthInfo { | ||
| 5825 | my ($self, %args) = @_; | ||
| 5826 | my $x_args = [ | ||
| 5827 | ['_this', 'ManagedObjectReference'], | ||
| 5828 | ]; | ||
| 5829 | return $self->soap_call('ResetSystemHealthInfo', undef, 0, $x_args, \%args); | ||
| 5830 | } | ||
| 5831 | |||
| 5832 | sub ResetVM_Task { | ||
| 5833 | my ($self, %args) = @_; | ||
| 5834 | my $x_args = [ | ||
| 5835 | ['_this', 'ManagedObjectReference'], | ||
| 5836 | ]; | ||
| 5837 | return $self->soap_call('ResetVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5838 | } | ||
| 5839 | |||
| 5840 | sub ResignatureUnresolvedVmfsVolume_Task { | ||
| 5841 | my ($self, %args) = @_; | ||
| 5842 | my $x_args = [ | ||
| 5843 | ['_this', 'ManagedObjectReference'], | ||
| 5844 | ['resolutionSpec', 'HostUnresolvedVmfsResignatureSpec'], | ||
| 5845 | ]; | ||
| 5846 | return $self->soap_call('ResignatureUnresolvedVmfsVolume_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5847 | } | ||
| 5848 | |||
| 5849 | sub ResolveInstallationErrorsOnCluster_Task { | ||
| 5850 | my ($self, %args) = @_; | ||
| 5851 | my $x_args = [ | ||
| 5852 | ['_this', 'ManagedObjectReference'], | ||
| 5853 | ['filterId', undef], | ||
| 5854 | ['cluster', 'ManagedObjectReference'], | ||
| 5855 | ]; | ||
| 5856 | return $self->soap_call('ResolveInstallationErrorsOnCluster_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5857 | } | ||
| 5858 | |||
| 5859 | sub ResolveInstallationErrorsOnHost_Task { | ||
| 5860 | my ($self, %args) = @_; | ||
| 5861 | my $x_args = [ | ||
| 5862 | ['_this', 'ManagedObjectReference'], | ||
| 5863 | ['filterId', undef], | ||
| 5864 | ['host', 'ManagedObjectReference'], | ||
| 5865 | ]; | ||
| 5866 | return $self->soap_call('ResolveInstallationErrorsOnHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5867 | } | ||
| 5868 | |||
| 5869 | sub ResolveMultipleUnresolvedVmfsVolumes { | ||
| 5870 | my ($self, %args) = @_; | ||
| 5871 | my $x_args = [ | ||
| 5872 | ['_this', 'ManagedObjectReference'], | ||
| 5873 | ['resolutionSpec', 'HostUnresolvedVmfsResolutionSpec'], | ||
| 5874 | ]; | ||
| 5875 | return $self->soap_call('ResolveMultipleUnresolvedVmfsVolumes', 'HostUnresolvedVmfsResolutionResult', 1, $x_args, \%args); | ||
| 5876 | } | ||
| 5877 | |||
| 5878 | sub ResolveMultipleUnresolvedVmfsVolumesEx_Task { | ||
| 5879 | my ($self, %args) = @_; | ||
| 5880 | my $x_args = [ | ||
| 5881 | ['_this', 'ManagedObjectReference'], | ||
| 5882 | ['resolutionSpec', 'HostUnresolvedVmfsResolutionSpec'], | ||
| 5883 | ]; | ||
| 5884 | return $self->soap_call('ResolveMultipleUnresolvedVmfsVolumesEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 5885 | } | ||
| 5886 | |||
| 5887 | sub RestartService { | ||
| 5888 | my ($self, %args) = @_; | ||
| 5889 | my $x_args = [ | ||
| 5890 | ['_this', 'ManagedObjectReference'], | ||
| 5891 | ['id', undef], | ||
| 5892 | ]; | ||
| 5893 | return $self->soap_call('RestartService', undef, 0, $x_args, \%args); | ||
| 5894 | } | ||
| 5895 | |||
| 5896 | sub RestartServiceConsoleVirtualNic { | ||
| 5897 | my ($self, %args) = @_; | ||
| 5898 | my $x_args = [ | ||
| 5899 | ['_this', 'ManagedObjectReference'], | ||
| 5900 | ['device', undef], | ||
| 5901 | ]; | ||
| 5902 | return $self->soap_call('RestartServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 5903 | } | ||
| 5904 | |||
| 5905 | sub RestoreFirmwareConfiguration { | ||
| 5906 | my ($self, %args) = @_; | ||
| 5907 | my $x_args = [ | ||
| 5908 | ['_this', 'ManagedObjectReference'], | ||
| 5909 | ['force', 'boolean'], | ||
| 5910 | ]; | ||
| 5911 | return $self->soap_call('RestoreFirmwareConfiguration', undef, 0, $x_args, \%args); | ||
| 5912 | } | ||
| 5913 | |||
| 5914 | sub RetrieveAllPermissions { | ||
| 5915 | my ($self, %args) = @_; | ||
| 5916 | my $x_args = [ | ||
| 5917 | ['_this', 'ManagedObjectReference'], | ||
| 5918 | ]; | ||
| 5919 | return $self->soap_call('RetrieveAllPermissions', 'Permission', 1, $x_args, \%args); | ||
| 5920 | } | ||
| 5921 | |||
| 5922 | sub RetrieveAnswerFile { | ||
| 5923 | my ($self, %args) = @_; | ||
| 5924 | my $x_args = [ | ||
| 5925 | ['_this', 'ManagedObjectReference'], | ||
| 5926 | ['host', 'ManagedObjectReference'], | ||
| 5927 | ]; | ||
| 5928 | return $self->soap_call('RetrieveAnswerFile', 'AnswerFile', 0, $x_args, \%args); | ||
| 5929 | } | ||
| 5930 | |||
| 5931 | sub RetrieveAnswerFileForProfile { | ||
| 5932 | my ($self, %args) = @_; | ||
| 5933 | my $x_args = [ | ||
| 5934 | ['_this', 'ManagedObjectReference'], | ||
| 5935 | ['host', 'ManagedObjectReference'], | ||
| 5936 | ['applyProfile', 'HostApplyProfile'], | ||
| 5937 | ]; | ||
| 5938 | return $self->soap_call('RetrieveAnswerFileForProfile', 'AnswerFile', 0, $x_args, \%args); | ||
| 5939 | } | ||
| 5940 | |||
| 5941 | sub RetrieveArgumentDescription { | ||
| 5942 | my ($self, %args) = @_; | ||
| 5943 | my $x_args = [ | ||
| 5944 | ['_this', 'ManagedObjectReference'], | ||
| 5945 | ['eventTypeId', undef], | ||
| 5946 | ]; | ||
| 5947 | return $self->soap_call('RetrieveArgumentDescription', 'EventArgDesc', 1, $x_args, \%args); | ||
| 5948 | } | ||
| 5949 | |||
| 5950 | sub RetrieveClientCert { | ||
| 5951 | my ($self, %args) = @_; | ||
| 5952 | my $x_args = [ | ||
| 5953 | ['_this', 'ManagedObjectReference'], | ||
| 5954 | ['cluster', 'KeyProviderId'], | ||
| 5955 | ]; | ||
| 5956 | return $self->soap_call('RetrieveClientCert', undef, 0, $x_args, \%args); | ||
| 5957 | } | ||
| 5958 | |||
| 5959 | sub RetrieveClientCsr { | ||
| 5960 | my ($self, %args) = @_; | ||
| 5961 | my $x_args = [ | ||
| 5962 | ['_this', 'ManagedObjectReference'], | ||
| 5963 | ['cluster', 'KeyProviderId'], | ||
| 5964 | ]; | ||
| 5965 | return $self->soap_call('RetrieveClientCsr', undef, 0, $x_args, \%args); | ||
| 5966 | } | ||
| 5967 | |||
| 5968 | sub RetrieveDasAdvancedRuntimeInfo { | ||
| 5969 | my ($self, %args) = @_; | ||
| 5970 | my $x_args = [ | ||
| 5971 | ['_this', 'ManagedObjectReference'], | ||
| 5972 | ]; | ||
| 5973 | return $self->soap_call('RetrieveDasAdvancedRuntimeInfo', 'ClusterDasAdvancedRuntimeInfo', 0, $x_args, \%args); | ||
| 5974 | } | ||
| 5975 | |||
| 5976 | sub RetrieveDescription { | ||
| 5977 | my ($self, %args) = @_; | ||
| 5978 | my $x_args = [ | ||
| 5979 | ['_this', 'ManagedObjectReference'], | ||
| 5980 | ]; | ||
| 5981 | return $self->soap_call('RetrieveDescription', 'ProfileDescription', 0, $x_args, \%args); | ||
| 5982 | } | ||
| 5983 | |||
| 5984 | sub RetrieveDiskPartitionInfo { | ||
| 5985 | my ($self, %args) = @_; | ||
| 5986 | my $x_args = [ | ||
| 5987 | ['_this', 'ManagedObjectReference'], | ||
| 5988 | ['devicePath', undef], | ||
| 5989 | ]; | ||
| 5990 | return $self->soap_call('RetrieveDiskPartitionInfo', 'HostDiskPartitionInfo', 1, $x_args, \%args); | ||
| 5991 | } | ||
| 5992 | |||
| 5993 | sub RetrieveEntityPermissions { | ||
| 5994 | my ($self, %args) = @_; | ||
| 5995 | my $x_args = [ | ||
| 5996 | ['_this', 'ManagedObjectReference'], | ||
| 5997 | ['entity', 'ManagedObjectReference'], | ||
| 5998 | ['inherited', 'boolean'], | ||
| 5999 | ]; | ||
| 6000 | return $self->soap_call('RetrieveEntityPermissions', 'Permission', 1, $x_args, \%args); | ||
| 6001 | } | ||
| 6002 | |||
| 6003 | sub RetrieveEntityScheduledTask { | ||
| 6004 | my ($self, %args) = @_; | ||
| 6005 | my $x_args = [ | ||
| 6006 | ['_this', 'ManagedObjectReference'], | ||
| 6007 | ['entity', 'ManagedObjectReference'], | ||
| 6008 | ]; | ||
| 6009 | return $self->soap_call('RetrieveEntityScheduledTask', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 6010 | } | ||
| 6011 | |||
| 6012 | sub RetrieveHardwareUptime { | ||
| 6013 | my ($self, %args) = @_; | ||
| 6014 | my $x_args = [ | ||
| 6015 | ['_this', 'ManagedObjectReference'], | ||
| 6016 | ]; | ||
| 6017 | return $self->soap_call('RetrieveHardwareUptime', undef, 0, $x_args, \%args); | ||
| 6018 | } | ||
| 6019 | |||
| 6020 | sub RetrieveHostAccessControlEntries { | ||
| 6021 | my ($self, %args) = @_; | ||
| 6022 | my $x_args = [ | ||
| 6023 | ['_this', 'ManagedObjectReference'], | ||
| 6024 | ]; | ||
| 6025 | return $self->soap_call('RetrieveHostAccessControlEntries', 'HostAccessControlEntry', 1, $x_args, \%args); | ||
| 6026 | } | ||
| 6027 | |||
| 6028 | sub RetrieveHostCustomizations { | ||
| 6029 | my ($self, %args) = @_; | ||
| 6030 | my $x_args = [ | ||
| 6031 | ['_this', 'ManagedObjectReference'], | ||
| 6032 | ['hosts', 'ManagedObjectReference'], | ||
| 6033 | ]; | ||
| 6034 | return $self->soap_call('RetrieveHostCustomizations', 'StructuredCustomizations', 1, $x_args, \%args); | ||
| 6035 | } | ||
| 6036 | |||
| 6037 | sub RetrieveHostCustomizationsForProfile { | ||
| 6038 | my ($self, %args) = @_; | ||
| 6039 | my $x_args = [ | ||
| 6040 | ['_this', 'ManagedObjectReference'], | ||
| 6041 | ['hosts', 'ManagedObjectReference'], | ||
| 6042 | ['applyProfile', 'HostApplyProfile'], | ||
| 6043 | ]; | ||
| 6044 | return $self->soap_call('RetrieveHostCustomizationsForProfile', 'StructuredCustomizations', 1, $x_args, \%args); | ||
| 6045 | } | ||
| 6046 | |||
| 6047 | sub RetrieveHostSpecification { | ||
| 6048 | my ($self, %args) = @_; | ||
| 6049 | my $x_args = [ | ||
| 6050 | ['_this', 'ManagedObjectReference'], | ||
| 6051 | ['host', 'ManagedObjectReference'], | ||
| 6052 | ['fromHost', 'boolean'], | ||
| 6053 | ]; | ||
| 6054 | return $self->soap_call('RetrieveHostSpecification', 'HostSpecification', 0, $x_args, \%args); | ||
| 6055 | } | ||
| 6056 | |||
| 6057 | sub RetrieveKmipServerCert { | ||
| 6058 | my ($self, %args) = @_; | ||
| 6059 | my $x_args = [ | ||
| 6060 | ['_this', 'ManagedObjectReference'], | ||
| 6061 | ['keyProvider', 'KeyProviderId'], | ||
| 6062 | ['server', 'KmipServerInfo'], | ||
| 6063 | ]; | ||
| 6064 | return $self->soap_call('RetrieveKmipServerCert', 'CryptoManagerKmipServerCertInfo', 0, $x_args, \%args); | ||
| 6065 | } | ||
| 6066 | |||
| 6067 | sub RetrieveKmipServersStatus_Task { | ||
| 6068 | my ($self, %args) = @_; | ||
| 6069 | my $x_args = [ | ||
| 6070 | ['_this', 'ManagedObjectReference'], | ||
| 6071 | ['clusters', 'KmipClusterInfo'], | ||
| 6072 | ]; | ||
| 6073 | return $self->soap_call('RetrieveKmipServersStatus_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6074 | } | ||
| 6075 | |||
| 6076 | sub RetrieveObjectScheduledTask { | ||
| 6077 | my ($self, %args) = @_; | ||
| 6078 | my $x_args = [ | ||
| 6079 | ['_this', 'ManagedObjectReference'], | ||
| 6080 | ['obj', 'ManagedObjectReference'], | ||
| 6081 | ]; | ||
| 6082 | return $self->soap_call('RetrieveObjectScheduledTask', 'ManagedObjectReference', 1, $x_args, \%args); | ||
| 6083 | } | ||
| 6084 | |||
| 6085 | sub RetrieveProductComponents { | ||
| 6086 | my ($self, %args) = @_; | ||
| 6087 | my $x_args = [ | ||
| 6088 | ['_this', 'ManagedObjectReference'], | ||
| 6089 | ]; | ||
| 6090 | return $self->soap_call('RetrieveProductComponents', 'ProductComponentInfo', 1, $x_args, \%args); | ||
| 6091 | } | ||
| 6092 | |||
| 6093 | sub RetrieveProperties { | ||
| 6094 | my ($self, %args) = @_; | ||
| 6095 | my $x_args = [ | ||
| 6096 | ['_this', 'ManagedObjectReference'], | ||
| 6097 | ['specSet', 'PropertyFilterSpec'], | ||
| 6098 | ]; | ||
| 6099 | return $self->soap_call('RetrieveProperties', 'ObjectContent', 1, $x_args, \%args); | ||
| 6100 | } | ||
| 6101 | |||
| 6102 | sub RetrievePropertiesEx { | ||
| 6103 | my ($self, %args) = @_; | ||
| 6104 | my $x_args = [ | ||
| 6105 | ['_this', 'ManagedObjectReference'], | ||
| 6106 | ['specSet', 'PropertyFilterSpec'], | ||
| 6107 | ['options', 'RetrieveOptions'], | ||
| 6108 | ]; | ||
| 6109 | return $self->soap_call('RetrievePropertiesEx', 'RetrieveResult', 0, $x_args, \%args); | ||
| 6110 | } | ||
| 6111 | |||
| 6112 | sub RetrieveRolePermissions { | ||
| 6113 | my ($self, %args) = @_; | ||
| 6114 | my $x_args = [ | ||
| 6115 | ['_this', 'ManagedObjectReference'], | ||
| 6116 | ['roleId', undef], | ||
| 6117 | ]; | ||
| 6118 | return $self->soap_call('RetrieveRolePermissions', 'Permission', 1, $x_args, \%args); | ||
| 6119 | } | ||
| 6120 | |||
| 6121 | sub RetrieveSelfSignedClientCert { | ||
| 6122 | my ($self, %args) = @_; | ||
| 6123 | my $x_args = [ | ||
| 6124 | ['_this', 'ManagedObjectReference'], | ||
| 6125 | ['cluster', 'KeyProviderId'], | ||
| 6126 | ]; | ||
| 6127 | return $self->soap_call('RetrieveSelfSignedClientCert', undef, 0, $x_args, \%args); | ||
| 6128 | } | ||
| 6129 | |||
| 6130 | sub RetrieveServiceContent { | ||
| 6131 | my ($self, %args) = @_; | ||
| 6132 | my $x_args = [ | ||
| 6133 | ['_this', 'ManagedObjectReference'], | ||
| 6134 | ]; | ||
| 6135 | return $self->soap_call('RetrieveServiceContent', 'ServiceContent', 0, $x_args, \%args); | ||
| 6136 | } | ||
| 6137 | |||
| 6138 | sub RetrieveUserGroups { | ||
| 6139 | my ($self, %args) = @_; | ||
| 6140 | my $x_args = [ | ||
| 6141 | ['_this', 'ManagedObjectReference'], | ||
| 6142 | ['domain', undef], | ||
| 6143 | ['searchStr', undef], | ||
| 6144 | ['belongsToGroup', undef], | ||
| 6145 | ['belongsToUser', undef], | ||
| 6146 | ['exactMatch', 'boolean'], | ||
| 6147 | ['findUsers', 'boolean'], | ||
| 6148 | ['findGroups', 'boolean'], | ||
| 6149 | ]; | ||
| 6150 | return $self->soap_call('RetrieveUserGroups', 'UserSearchResult', 1, $x_args, \%args); | ||
| 6151 | } | ||
| 6152 | |||
| 6153 | sub RetrieveVStorageObject { | ||
| 6154 | my ($self, %args) = @_; | ||
| 6155 | my $x_args = [ | ||
| 6156 | ['_this', 'ManagedObjectReference'], | ||
| 6157 | ['id', 'ID'], | ||
| 6158 | ['datastore', 'ManagedObjectReference'], | ||
| 6159 | ]; | ||
| 6160 | return $self->soap_call('RetrieveVStorageObject', 'VStorageObject', 0, $x_args, \%args); | ||
| 6161 | } | ||
| 6162 | |||
| 6163 | sub RetrieveVStorageObjectState { | ||
| 6164 | my ($self, %args) = @_; | ||
| 6165 | my $x_args = [ | ||
| 6166 | ['_this', 'ManagedObjectReference'], | ||
| 6167 | ['id', 'ID'], | ||
| 6168 | ['datastore', 'ManagedObjectReference'], | ||
| 6169 | ]; | ||
| 6170 | return $self->soap_call('RetrieveVStorageObjectState', 'VStorageObjectStateInfo', 0, $x_args, \%args); | ||
| 6171 | } | ||
| 6172 | |||
| 6173 | sub RevertToCurrentSnapshot_Task { | ||
| 6174 | my ($self, %args) = @_; | ||
| 6175 | my $x_args = [ | ||
| 6176 | ['_this', 'ManagedObjectReference'], | ||
| 6177 | ['host', 'ManagedObjectReference'], | ||
| 6178 | ['suppressPowerOn', 'boolean'], | ||
| 6179 | ]; | ||
| 6180 | return $self->soap_call('RevertToCurrentSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6181 | } | ||
| 6182 | |||
| 6183 | sub RevertToSnapshot_Task { | ||
| 6184 | my ($self, %args) = @_; | ||
| 6185 | my $x_args = [ | ||
| 6186 | ['_this', 'ManagedObjectReference'], | ||
| 6187 | ['host', 'ManagedObjectReference'], | ||
| 6188 | ['suppressPowerOn', 'boolean'], | ||
| 6189 | ]; | ||
| 6190 | return $self->soap_call('RevertToSnapshot_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6191 | } | ||
| 6192 | |||
| 6193 | sub RewindCollector { | ||
| 6194 | my ($self, %args) = @_; | ||
| 6195 | my $x_args = [ | ||
| 6196 | ['_this', 'ManagedObjectReference'], | ||
| 6197 | ]; | ||
| 6198 | return $self->soap_call('RewindCollector', undef, 0, $x_args, \%args); | ||
| 6199 | } | ||
| 6200 | |||
| 6201 | sub RunScheduledTask { | ||
| 6202 | my ($self, %args) = @_; | ||
| 6203 | my $x_args = [ | ||
| 6204 | ['_this', 'ManagedObjectReference'], | ||
| 6205 | ]; | ||
| 6206 | return $self->soap_call('RunScheduledTask', undef, 0, $x_args, \%args); | ||
| 6207 | } | ||
| 6208 | |||
| 6209 | sub RunVsanPhysicalDiskDiagnostics { | ||
| 6210 | my ($self, %args) = @_; | ||
| 6211 | my $x_args = [ | ||
| 6212 | ['_this', 'ManagedObjectReference'], | ||
| 6213 | ['disks', undef], | ||
| 6214 | ]; | ||
| 6215 | return $self->soap_call('RunVsanPhysicalDiskDiagnostics', 'HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult', 1, $x_args, \%args); | ||
| 6216 | } | ||
| 6217 | |||
| 6218 | sub ScanHostPatchV2_Task { | ||
| 6219 | my ($self, %args) = @_; | ||
| 6220 | my $x_args = [ | ||
| 6221 | ['_this', 'ManagedObjectReference'], | ||
| 6222 | ['metaUrls', undef], | ||
| 6223 | ['bundleUrls', undef], | ||
| 6224 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 6225 | ]; | ||
| 6226 | return $self->soap_call('ScanHostPatchV2_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6227 | } | ||
| 6228 | |||
| 6229 | sub ScanHostPatch_Task { | ||
| 6230 | my ($self, %args) = @_; | ||
| 6231 | my $x_args = [ | ||
| 6232 | ['_this', 'ManagedObjectReference'], | ||
| 6233 | ['repository', 'HostPatchManagerLocator'], | ||
| 6234 | ['updateID', undef], | ||
| 6235 | ]; | ||
| 6236 | return $self->soap_call('ScanHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6237 | } | ||
| 6238 | |||
| 6239 | sub ScheduleReconcileDatastoreInventory { | ||
| 6240 | my ($self, %args) = @_; | ||
| 6241 | my $x_args = [ | ||
| 6242 | ['_this', 'ManagedObjectReference'], | ||
| 6243 | ['datastore', 'ManagedObjectReference'], | ||
| 6244 | ]; | ||
| 6245 | return $self->soap_call('ScheduleReconcileDatastoreInventory', undef, 0, $x_args, \%args); | ||
| 6246 | } | ||
| 6247 | |||
| 6248 | sub SearchDatastoreSubFolders_Task { | ||
| 6249 | my ($self, %args) = @_; | ||
| 6250 | my $x_args = [ | ||
| 6251 | ['_this', 'ManagedObjectReference'], | ||
| 6252 | ['datastorePath', undef], | ||
| 6253 | ['searchSpec', 'HostDatastoreBrowserSearchSpec'], | ||
| 6254 | ]; | ||
| 6255 | return $self->soap_call('SearchDatastoreSubFolders_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6256 | } | ||
| 6257 | |||
| 6258 | sub SearchDatastore_Task { | ||
| 6259 | my ($self, %args) = @_; | ||
| 6260 | my $x_args = [ | ||
| 6261 | ['_this', 'ManagedObjectReference'], | ||
| 6262 | ['datastorePath', undef], | ||
| 6263 | ['searchSpec', 'HostDatastoreBrowserSearchSpec'], | ||
| 6264 | ]; | ||
| 6265 | return $self->soap_call('SearchDatastore_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6266 | } | ||
| 6267 | |||
| 6268 | sub SelectActivePartition { | ||
| 6269 | my ($self, %args) = @_; | ||
| 6270 | my $x_args = [ | ||
| 6271 | ['_this', 'ManagedObjectReference'], | ||
| 6272 | ['partition', 'HostScsiDiskPartition'], | ||
| 6273 | ]; | ||
| 6274 | return $self->soap_call('SelectActivePartition', undef, 0, $x_args, \%args); | ||
| 6275 | } | ||
| 6276 | |||
| 6277 | sub SelectVnic { | ||
| 6278 | my ($self, %args) = @_; | ||
| 6279 | my $x_args = [ | ||
| 6280 | ['_this', 'ManagedObjectReference'], | ||
| 6281 | ['device', undef], | ||
| 6282 | ]; | ||
| 6283 | return $self->soap_call('SelectVnic', undef, 0, $x_args, \%args); | ||
| 6284 | } | ||
| 6285 | |||
| 6286 | sub SelectVnicForNicType { | ||
| 6287 | my ($self, %args) = @_; | ||
| 6288 | my $x_args = [ | ||
| 6289 | ['_this', 'ManagedObjectReference'], | ||
| 6290 | ['nicType', undef], | ||
| 6291 | ['device', undef], | ||
| 6292 | ]; | ||
| 6293 | return $self->soap_call('SelectVnicForNicType', undef, 0, $x_args, \%args); | ||
| 6294 | } | ||
| 6295 | |||
| 6296 | sub SendNMI { | ||
| 6297 | my ($self, %args) = @_; | ||
| 6298 | my $x_args = [ | ||
| 6299 | ['_this', 'ManagedObjectReference'], | ||
| 6300 | ]; | ||
| 6301 | return $self->soap_call('SendNMI', undef, 0, $x_args, \%args); | ||
| 6302 | } | ||
| 6303 | |||
| 6304 | sub SendTestNotification { | ||
| 6305 | my ($self, %args) = @_; | ||
| 6306 | my $x_args = [ | ||
| 6307 | ['_this', 'ManagedObjectReference'], | ||
| 6308 | ]; | ||
| 6309 | return $self->soap_call('SendTestNotification', undef, 0, $x_args, \%args); | ||
| 6310 | } | ||
| 6311 | |||
| 6312 | sub SessionIsActive { | ||
| 6313 | my ($self, %args) = @_; | ||
| 6314 | my $x_args = [ | ||
| 6315 | ['_this', 'ManagedObjectReference'], | ||
| 6316 | ['sessionID', undef], | ||
| 6317 | ['userName', undef], | ||
| 6318 | ]; | ||
| 6319 | return $self->soap_call('SessionIsActive', 'boolean', 0, $x_args, \%args); | ||
| 6320 | } | ||
| 6321 | |||
| 6322 | sub SetCollectorPageSize { | ||
| 6323 | my ($self, %args) = @_; | ||
| 6324 | my $x_args = [ | ||
| 6325 | ['_this', 'ManagedObjectReference'], | ||
| 6326 | ['maxCount', undef], | ||
| 6327 | ]; | ||
| 6328 | return $self->soap_call('SetCollectorPageSize', undef, 0, $x_args, \%args); | ||
| 6329 | } | ||
| 6330 | |||
| 6331 | sub SetDisplayTopology { | ||
| 6332 | my ($self, %args) = @_; | ||
| 6333 | my $x_args = [ | ||
| 6334 | ['_this', 'ManagedObjectReference'], | ||
| 6335 | ['displays', 'VirtualMachineDisplayTopology'], | ||
| 6336 | ]; | ||
| 6337 | return $self->soap_call('SetDisplayTopology', undef, 0, $x_args, \%args); | ||
| 6338 | } | ||
| 6339 | |||
| 6340 | sub SetEntityPermissions { | ||
| 6341 | my ($self, %args) = @_; | ||
| 6342 | my $x_args = [ | ||
| 6343 | ['_this', 'ManagedObjectReference'], | ||
| 6344 | ['entity', 'ManagedObjectReference'], | ||
| 6345 | ['permission', 'Permission'], | ||
| 6346 | ]; | ||
| 6347 | return $self->soap_call('SetEntityPermissions', undef, 0, $x_args, \%args); | ||
| 6348 | } | ||
| 6349 | |||
| 6350 | sub SetExtensionCertificate { | ||
| 6351 | my ($self, %args) = @_; | ||
| 6352 | my $x_args = [ | ||
| 6353 | ['_this', 'ManagedObjectReference'], | ||
| 6354 | ['extensionKey', undef], | ||
| 6355 | ['certificatePem', undef], | ||
| 6356 | ]; | ||
| 6357 | return $self->soap_call('SetExtensionCertificate', undef, 0, $x_args, \%args); | ||
| 6358 | } | ||
| 6359 | |||
| 6360 | sub SetField { | ||
| 6361 | my ($self, %args) = @_; | ||
| 6362 | my $x_args = [ | ||
| 6363 | ['_this', 'ManagedObjectReference'], | ||
| 6364 | ['entity', 'ManagedObjectReference'], | ||
| 6365 | ['key', undef], | ||
| 6366 | ['value', undef], | ||
| 6367 | ]; | ||
| 6368 | return $self->soap_call('SetField', undef, 0, $x_args, \%args); | ||
| 6369 | } | ||
| 6370 | |||
| 6371 | sub SetLicenseEdition { | ||
| 6372 | my ($self, %args) = @_; | ||
| 6373 | my $x_args = [ | ||
| 6374 | ['_this', 'ManagedObjectReference'], | ||
| 6375 | ['host', 'ManagedObjectReference'], | ||
| 6376 | ['featureKey', undef], | ||
| 6377 | ]; | ||
| 6378 | return $self->soap_call('SetLicenseEdition', undef, 0, $x_args, \%args); | ||
| 6379 | } | ||
| 6380 | |||
| 6381 | sub SetLocale { | ||
| 6382 | my ($self, %args) = @_; | ||
| 6383 | my $x_args = [ | ||
| 6384 | ['_this', 'ManagedObjectReference'], | ||
| 6385 | ['locale', undef], | ||
| 6386 | ]; | ||
| 6387 | return $self->soap_call('SetLocale', undef, 0, $x_args, \%args); | ||
| 6388 | } | ||
| 6389 | |||
| 6390 | sub SetMultipathLunPolicy { | ||
| 6391 | my ($self, %args) = @_; | ||
| 6392 | my $x_args = [ | ||
| 6393 | ['_this', 'ManagedObjectReference'], | ||
| 6394 | ['lunId', undef], | ||
| 6395 | ['policy', 'HostMultipathInfoLogicalUnitPolicy'], | ||
| 6396 | ]; | ||
| 6397 | return $self->soap_call('SetMultipathLunPolicy', undef, 0, $x_args, \%args); | ||
| 6398 | } | ||
| 6399 | |||
| 6400 | sub SetNFSUser { | ||
| 6401 | my ($self, %args) = @_; | ||
| 6402 | my $x_args = [ | ||
| 6403 | ['_this', 'ManagedObjectReference'], | ||
| 6404 | ['user', undef], | ||
| 6405 | ['password', undef], | ||
| 6406 | ]; | ||
| 6407 | return $self->soap_call('SetNFSUser', undef, 0, $x_args, \%args); | ||
| 6408 | } | ||
| 6409 | |||
| 6410 | sub SetPublicKey { | ||
| 6411 | my ($self, %args) = @_; | ||
| 6412 | my $x_args = [ | ||
| 6413 | ['_this', 'ManagedObjectReference'], | ||
| 6414 | ['extensionKey', undef], | ||
| 6415 | ['publicKey', undef], | ||
| 6416 | ]; | ||
| 6417 | return $self->soap_call('SetPublicKey', undef, 0, $x_args, \%args); | ||
| 6418 | } | ||
| 6419 | |||
| 6420 | sub SetRegistryValueInGuest { | ||
| 6421 | my ($self, %args) = @_; | ||
| 6422 | my $x_args = [ | ||
| 6423 | ['_this', 'ManagedObjectReference'], | ||
| 6424 | ['vm', 'ManagedObjectReference'], | ||
| 6425 | ['auth', 'GuestAuthentication'], | ||
| 6426 | ['value', 'GuestRegValueSpec'], | ||
| 6427 | ]; | ||
| 6428 | return $self->soap_call('SetRegistryValueInGuest', undef, 0, $x_args, \%args); | ||
| 6429 | } | ||
| 6430 | |||
| 6431 | sub SetScreenResolution { | ||
| 6432 | my ($self, %args) = @_; | ||
| 6433 | my $x_args = [ | ||
| 6434 | ['_this', 'ManagedObjectReference'], | ||
| 6435 | ['width', undef], | ||
| 6436 | ['height', undef], | ||
| 6437 | ]; | ||
| 6438 | return $self->soap_call('SetScreenResolution', undef, 0, $x_args, \%args); | ||
| 6439 | } | ||
| 6440 | |||
| 6441 | sub SetTaskDescription { | ||
| 6442 | my ($self, %args) = @_; | ||
| 6443 | my $x_args = [ | ||
| 6444 | ['_this', 'ManagedObjectReference'], | ||
| 6445 | ['description', 'LocalizableMessage'], | ||
| 6446 | ]; | ||
| 6447 | return $self->soap_call('SetTaskDescription', undef, 0, $x_args, \%args); | ||
| 6448 | } | ||
| 6449 | |||
| 6450 | sub SetTaskState { | ||
| 6451 | my ($self, %args) = @_; | ||
| 6452 | my $x_args = [ | ||
| 6453 | ['_this', 'ManagedObjectReference'], | ||
| 6454 | ['state', 'TaskInfoState'], | ||
| 6455 | ['result', 'anyType'], | ||
| 6456 | ['fault', 'LocalizedMethodFault'], | ||
| 6457 | ]; | ||
| 6458 | return $self->soap_call('SetTaskState', undef, 0, $x_args, \%args); | ||
| 6459 | } | ||
| 6460 | |||
| 6461 | sub SetVirtualDiskUuid { | ||
| 6462 | my ($self, %args) = @_; | ||
| 6463 | my $x_args = [ | ||
| 6464 | ['_this', 'ManagedObjectReference'], | ||
| 6465 | ['name', undef], | ||
| 6466 | ['datacenter', 'ManagedObjectReference'], | ||
| 6467 | ['uuid', undef], | ||
| 6468 | ]; | ||
| 6469 | return $self->soap_call('SetVirtualDiskUuid', undef, 0, $x_args, \%args); | ||
| 6470 | } | ||
| 6471 | |||
| 6472 | sub ShrinkVirtualDisk_Task { | ||
| 6473 | my ($self, %args) = @_; | ||
| 6474 | my $x_args = [ | ||
| 6475 | ['_this', 'ManagedObjectReference'], | ||
| 6476 | ['name', undef], | ||
| 6477 | ['datacenter', 'ManagedObjectReference'], | ||
| 6478 | ['copy', 'boolean'], | ||
| 6479 | ]; | ||
| 6480 | return $self->soap_call('ShrinkVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6481 | } | ||
| 6482 | |||
| 6483 | sub ShutdownGuest { | ||
| 6484 | my ($self, %args) = @_; | ||
| 6485 | my $x_args = [ | ||
| 6486 | ['_this', 'ManagedObjectReference'], | ||
| 6487 | ]; | ||
| 6488 | return $self->soap_call('ShutdownGuest', undef, 0, $x_args, \%args); | ||
| 6489 | } | ||
| 6490 | |||
| 6491 | sub ShutdownHost_Task { | ||
| 6492 | my ($self, %args) = @_; | ||
| 6493 | my $x_args = [ | ||
| 6494 | ['_this', 'ManagedObjectReference'], | ||
| 6495 | ['force', 'boolean'], | ||
| 6496 | ]; | ||
| 6497 | return $self->soap_call('ShutdownHost_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6498 | } | ||
| 6499 | |||
| 6500 | sub StageHostPatch_Task { | ||
| 6501 | my ($self, %args) = @_; | ||
| 6502 | my $x_args = [ | ||
| 6503 | ['_this', 'ManagedObjectReference'], | ||
| 6504 | ['metaUrls', undef], | ||
| 6505 | ['bundleUrls', undef], | ||
| 6506 | ['vibUrls', undef], | ||
| 6507 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 6508 | ]; | ||
| 6509 | return $self->soap_call('StageHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6510 | } | ||
| 6511 | |||
| 6512 | sub StampAllRulesWithUuid_Task { | ||
| 6513 | my ($self, %args) = @_; | ||
| 6514 | my $x_args = [ | ||
| 6515 | ['_this', 'ManagedObjectReference'], | ||
| 6516 | ]; | ||
| 6517 | return $self->soap_call('StampAllRulesWithUuid_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6518 | } | ||
| 6519 | |||
| 6520 | sub StandbyGuest { | ||
| 6521 | my ($self, %args) = @_; | ||
| 6522 | my $x_args = [ | ||
| 6523 | ['_this', 'ManagedObjectReference'], | ||
| 6524 | ]; | ||
| 6525 | return $self->soap_call('StandbyGuest', undef, 0, $x_args, \%args); | ||
| 6526 | } | ||
| 6527 | |||
| 6528 | sub StartProgramInGuest { | ||
| 6529 | my ($self, %args) = @_; | ||
| 6530 | my $x_args = [ | ||
| 6531 | ['_this', 'ManagedObjectReference'], | ||
| 6532 | ['vm', 'ManagedObjectReference'], | ||
| 6533 | ['auth', 'GuestAuthentication'], | ||
| 6534 | ['spec', 'GuestProgramSpec'], | ||
| 6535 | ]; | ||
| 6536 | return $self->soap_call('StartProgramInGuest', undef, 0, $x_args, \%args); | ||
| 6537 | } | ||
| 6538 | |||
| 6539 | sub StartRecording_Task { | ||
| 6540 | my ($self, %args) = @_; | ||
| 6541 | my $x_args = [ | ||
| 6542 | ['_this', 'ManagedObjectReference'], | ||
| 6543 | ['name', undef], | ||
| 6544 | ['description', undef], | ||
| 6545 | ]; | ||
| 6546 | return $self->soap_call('StartRecording_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6547 | } | ||
| 6548 | |||
| 6549 | sub StartReplaying_Task { | ||
| 6550 | my ($self, %args) = @_; | ||
| 6551 | my $x_args = [ | ||
| 6552 | ['_this', 'ManagedObjectReference'], | ||
| 6553 | ['replaySnapshot', 'ManagedObjectReference'], | ||
| 6554 | ]; | ||
| 6555 | return $self->soap_call('StartReplaying_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6556 | } | ||
| 6557 | |||
| 6558 | sub StartService { | ||
| 6559 | my ($self, %args) = @_; | ||
| 6560 | my $x_args = [ | ||
| 6561 | ['_this', 'ManagedObjectReference'], | ||
| 6562 | ['id', undef], | ||
| 6563 | ]; | ||
| 6564 | return $self->soap_call('StartService', undef, 0, $x_args, \%args); | ||
| 6565 | } | ||
| 6566 | |||
| 6567 | sub StopRecording_Task { | ||
| 6568 | my ($self, %args) = @_; | ||
| 6569 | my $x_args = [ | ||
| 6570 | ['_this', 'ManagedObjectReference'], | ||
| 6571 | ]; | ||
| 6572 | return $self->soap_call('StopRecording_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6573 | } | ||
| 6574 | |||
| 6575 | sub StopReplaying_Task { | ||
| 6576 | my ($self, %args) = @_; | ||
| 6577 | my $x_args = [ | ||
| 6578 | ['_this', 'ManagedObjectReference'], | ||
| 6579 | ]; | ||
| 6580 | return $self->soap_call('StopReplaying_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6581 | } | ||
| 6582 | |||
| 6583 | sub StopService { | ||
| 6584 | my ($self, %args) = @_; | ||
| 6585 | my $x_args = [ | ||
| 6586 | ['_this', 'ManagedObjectReference'], | ||
| 6587 | ['id', undef], | ||
| 6588 | ]; | ||
| 6589 | return $self->soap_call('StopService', undef, 0, $x_args, \%args); | ||
| 6590 | } | ||
| 6591 | |||
| 6592 | sub SuspendVApp_Task { | ||
| 6593 | my ($self, %args) = @_; | ||
| 6594 | my $x_args = [ | ||
| 6595 | ['_this', 'ManagedObjectReference'], | ||
| 6596 | ]; | ||
| 6597 | return $self->soap_call('SuspendVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6598 | } | ||
| 6599 | |||
| 6600 | sub SuspendVM_Task { | ||
| 6601 | my ($self, %args) = @_; | ||
| 6602 | my $x_args = [ | ||
| 6603 | ['_this', 'ManagedObjectReference'], | ||
| 6604 | ]; | ||
| 6605 | return $self->soap_call('SuspendVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6606 | } | ||
| 6607 | |||
| 6608 | sub TerminateFaultTolerantVM_Task { | ||
| 6609 | my ($self, %args) = @_; | ||
| 6610 | my $x_args = [ | ||
| 6611 | ['_this', 'ManagedObjectReference'], | ||
| 6612 | ['vm', 'ManagedObjectReference'], | ||
| 6613 | ]; | ||
| 6614 | return $self->soap_call('TerminateFaultTolerantVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6615 | } | ||
| 6616 | |||
| 6617 | sub TerminateProcessInGuest { | ||
| 6618 | my ($self, %args) = @_; | ||
| 6619 | my $x_args = [ | ||
| 6620 | ['_this', 'ManagedObjectReference'], | ||
| 6621 | ['vm', 'ManagedObjectReference'], | ||
| 6622 | ['auth', 'GuestAuthentication'], | ||
| 6623 | ['pid', undef], | ||
| 6624 | ]; | ||
| 6625 | return $self->soap_call('TerminateProcessInGuest', undef, 0, $x_args, \%args); | ||
| 6626 | } | ||
| 6627 | |||
| 6628 | sub TerminateSession { | ||
| 6629 | my ($self, %args) = @_; | ||
| 6630 | my $x_args = [ | ||
| 6631 | ['_this', 'ManagedObjectReference'], | ||
| 6632 | ['sessionId', undef], | ||
| 6633 | ]; | ||
| 6634 | return $self->soap_call('TerminateSession', undef, 0, $x_args, \%args); | ||
| 6635 | } | ||
| 6636 | |||
| 6637 | sub TerminateVM { | ||
| 6638 | my ($self, %args) = @_; | ||
| 6639 | my $x_args = [ | ||
| 6640 | ['_this', 'ManagedObjectReference'], | ||
| 6641 | ]; | ||
| 6642 | return $self->soap_call('TerminateVM', undef, 0, $x_args, \%args); | ||
| 6643 | } | ||
| 6644 | |||
| 6645 | sub TurnDiskLocatorLedOff_Task { | ||
| 6646 | my ($self, %args) = @_; | ||
| 6647 | my $x_args = [ | ||
| 6648 | ['_this', 'ManagedObjectReference'], | ||
| 6649 | ['scsiDiskUuids', undef], | ||
| 6650 | ]; | ||
| 6651 | return $self->soap_call('TurnDiskLocatorLedOff_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6652 | } | ||
| 6653 | |||
| 6654 | sub TurnDiskLocatorLedOn_Task { | ||
| 6655 | my ($self, %args) = @_; | ||
| 6656 | my $x_args = [ | ||
| 6657 | ['_this', 'ManagedObjectReference'], | ||
| 6658 | ['scsiDiskUuids', undef], | ||
| 6659 | ]; | ||
| 6660 | return $self->soap_call('TurnDiskLocatorLedOn_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6661 | } | ||
| 6662 | |||
| 6663 | sub TurnOffFaultToleranceForVM_Task { | ||
| 6664 | my ($self, %args) = @_; | ||
| 6665 | my $x_args = [ | ||
| 6666 | ['_this', 'ManagedObjectReference'], | ||
| 6667 | ]; | ||
| 6668 | return $self->soap_call('TurnOffFaultToleranceForVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6669 | } | ||
| 6670 | |||
| 6671 | sub UnassignUserFromGroup { | ||
| 6672 | my ($self, %args) = @_; | ||
| 6673 | my $x_args = [ | ||
| 6674 | ['_this', 'ManagedObjectReference'], | ||
| 6675 | ['user', undef], | ||
| 6676 | ['group', undef], | ||
| 6677 | ]; | ||
| 6678 | return $self->soap_call('UnassignUserFromGroup', undef, 0, $x_args, \%args); | ||
| 6679 | } | ||
| 6680 | |||
| 6681 | sub UnbindVnic { | ||
| 6682 | my ($self, %args) = @_; | ||
| 6683 | my $x_args = [ | ||
| 6684 | ['_this', 'ManagedObjectReference'], | ||
| 6685 | ['iScsiHbaName', undef], | ||
| 6686 | ['vnicDevice', undef], | ||
| 6687 | ['force', 'boolean'], | ||
| 6688 | ]; | ||
| 6689 | return $self->soap_call('UnbindVnic', undef, 0, $x_args, \%args); | ||
| 6690 | } | ||
| 6691 | |||
| 6692 | sub UninstallHostPatch_Task { | ||
| 6693 | my ($self, %args) = @_; | ||
| 6694 | my $x_args = [ | ||
| 6695 | ['_this', 'ManagedObjectReference'], | ||
| 6696 | ['bulletinIds', undef], | ||
| 6697 | ['spec', 'HostPatchManagerPatchManagerOperationSpec'], | ||
| 6698 | ]; | ||
| 6699 | return $self->soap_call('UninstallHostPatch_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6700 | } | ||
| 6701 | |||
| 6702 | sub UninstallIoFilter_Task { | ||
| 6703 | my ($self, %args) = @_; | ||
| 6704 | my $x_args = [ | ||
| 6705 | ['_this', 'ManagedObjectReference'], | ||
| 6706 | ['filterId', undef], | ||
| 6707 | ['compRes', 'ManagedObjectReference'], | ||
| 6708 | ]; | ||
| 6709 | return $self->soap_call('UninstallIoFilter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6710 | } | ||
| 6711 | |||
| 6712 | sub UninstallService { | ||
| 6713 | my ($self, %args) = @_; | ||
| 6714 | my $x_args = [ | ||
| 6715 | ['_this', 'ManagedObjectReference'], | ||
| 6716 | ['id', undef], | ||
| 6717 | ]; | ||
| 6718 | return $self->soap_call('UninstallService', undef, 0, $x_args, \%args); | ||
| 6719 | } | ||
| 6720 | |||
| 6721 | sub UnmapVmfsVolumeEx_Task { | ||
| 6722 | my ($self, %args) = @_; | ||
| 6723 | my $x_args = [ | ||
| 6724 | ['_this', 'ManagedObjectReference'], | ||
| 6725 | ['vmfsUuid', undef], | ||
| 6726 | ]; | ||
| 6727 | return $self->soap_call('UnmapVmfsVolumeEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6728 | } | ||
| 6729 | |||
| 6730 | sub UnmountDiskMapping_Task { | ||
| 6731 | my ($self, %args) = @_; | ||
| 6732 | my $x_args = [ | ||
| 6733 | ['_this', 'ManagedObjectReference'], | ||
| 6734 | ['mapping', 'VsanHostDiskMapping'], | ||
| 6735 | ]; | ||
| 6736 | return $self->soap_call('UnmountDiskMapping_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6737 | } | ||
| 6738 | |||
| 6739 | sub UnmountForceMountedVmfsVolume { | ||
| 6740 | my ($self, %args) = @_; | ||
| 6741 | my $x_args = [ | ||
| 6742 | ['_this', 'ManagedObjectReference'], | ||
| 6743 | ['vmfsUuid', undef], | ||
| 6744 | ]; | ||
| 6745 | return $self->soap_call('UnmountForceMountedVmfsVolume', undef, 0, $x_args, \%args); | ||
| 6746 | } | ||
| 6747 | |||
| 6748 | sub UnmountToolsInstaller { | ||
| 6749 | my ($self, %args) = @_; | ||
| 6750 | my $x_args = [ | ||
| 6751 | ['_this', 'ManagedObjectReference'], | ||
| 6752 | ]; | ||
| 6753 | return $self->soap_call('UnmountToolsInstaller', undef, 0, $x_args, \%args); | ||
| 6754 | } | ||
| 6755 | |||
| 6756 | sub UnmountVffsVolume { | ||
| 6757 | my ($self, %args) = @_; | ||
| 6758 | my $x_args = [ | ||
| 6759 | ['_this', 'ManagedObjectReference'], | ||
| 6760 | ['vffsUuid', undef], | ||
| 6761 | ]; | ||
| 6762 | return $self->soap_call('UnmountVffsVolume', undef, 0, $x_args, \%args); | ||
| 6763 | } | ||
| 6764 | |||
| 6765 | sub UnmountVmfsVolume { | ||
| 6766 | my ($self, %args) = @_; | ||
| 6767 | my $x_args = [ | ||
| 6768 | ['_this', 'ManagedObjectReference'], | ||
| 6769 | ['vmfsUuid', undef], | ||
| 6770 | ]; | ||
| 6771 | return $self->soap_call('UnmountVmfsVolume', undef, 0, $x_args, \%args); | ||
| 6772 | } | ||
| 6773 | |||
| 6774 | sub UnmountVmfsVolumeEx_Task { | ||
| 6775 | my ($self, %args) = @_; | ||
| 6776 | my $x_args = [ | ||
| 6777 | ['_this', 'ManagedObjectReference'], | ||
| 6778 | ['vmfsUuid', undef], | ||
| 6779 | ]; | ||
| 6780 | return $self->soap_call('UnmountVmfsVolumeEx_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6781 | } | ||
| 6782 | |||
| 6783 | sub UnregisterAndDestroy_Task { | ||
| 6784 | my ($self, %args) = @_; | ||
| 6785 | my $x_args = [ | ||
| 6786 | ['_this', 'ManagedObjectReference'], | ||
| 6787 | ]; | ||
| 6788 | return $self->soap_call('UnregisterAndDestroy_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6789 | } | ||
| 6790 | |||
| 6791 | sub UnregisterExtension { | ||
| 6792 | my ($self, %args) = @_; | ||
| 6793 | my $x_args = [ | ||
| 6794 | ['_this', 'ManagedObjectReference'], | ||
| 6795 | ['extensionKey', undef], | ||
| 6796 | ]; | ||
| 6797 | return $self->soap_call('UnregisterExtension', undef, 0, $x_args, \%args); | ||
| 6798 | } | ||
| 6799 | |||
| 6800 | sub UnregisterHealthUpdateProvider { | ||
| 6801 | my ($self, %args) = @_; | ||
| 6802 | my $x_args = [ | ||
| 6803 | ['_this', 'ManagedObjectReference'], | ||
| 6804 | ['providerId', undef], | ||
| 6805 | ]; | ||
| 6806 | return $self->soap_call('UnregisterHealthUpdateProvider', undef, 0, $x_args, \%args); | ||
| 6807 | } | ||
| 6808 | |||
| 6809 | sub UnregisterVM { | ||
| 6810 | my ($self, %args) = @_; | ||
| 6811 | my $x_args = [ | ||
| 6812 | ['_this', 'ManagedObjectReference'], | ||
| 6813 | ]; | ||
| 6814 | return $self->soap_call('UnregisterVM', undef, 0, $x_args, \%args); | ||
| 6815 | } | ||
| 6816 | |||
| 6817 | sub UpdateAnswerFile_Task { | ||
| 6818 | my ($self, %args) = @_; | ||
| 6819 | my $x_args = [ | ||
| 6820 | ['_this', 'ManagedObjectReference'], | ||
| 6821 | ['host', 'ManagedObjectReference'], | ||
| 6822 | ['configSpec', 'AnswerFileCreateSpec'], | ||
| 6823 | ]; | ||
| 6824 | return $self->soap_call('UpdateAnswerFile_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6825 | } | ||
| 6826 | |||
| 6827 | sub UpdateAssignedLicense { | ||
| 6828 | my ($self, %args) = @_; | ||
| 6829 | my $x_args = [ | ||
| 6830 | ['_this', 'ManagedObjectReference'], | ||
| 6831 | ['entity', undef], | ||
| 6832 | ['licenseKey', undef], | ||
| 6833 | ['entityDisplayName', undef], | ||
| 6834 | ]; | ||
| 6835 | return $self->soap_call('UpdateAssignedLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 6836 | } | ||
| 6837 | |||
| 6838 | sub UpdateAuthorizationRole { | ||
| 6839 | my ($self, %args) = @_; | ||
| 6840 | my $x_args = [ | ||
| 6841 | ['_this', 'ManagedObjectReference'], | ||
| 6842 | ['roleId', undef], | ||
| 6843 | ['newName', undef], | ||
| 6844 | ['privIds', undef], | ||
| 6845 | ]; | ||
| 6846 | return $self->soap_call('UpdateAuthorizationRole', undef, 0, $x_args, \%args); | ||
| 6847 | } | ||
| 6848 | |||
| 6849 | sub UpdateBootDevice { | ||
| 6850 | my ($self, %args) = @_; | ||
| 6851 | my $x_args = [ | ||
| 6852 | ['_this', 'ManagedObjectReference'], | ||
| 6853 | ['key', undef], | ||
| 6854 | ]; | ||
| 6855 | return $self->soap_call('UpdateBootDevice', undef, 0, $x_args, \%args); | ||
| 6856 | } | ||
| 6857 | |||
| 6858 | sub UpdateChildResourceConfiguration { | ||
| 6859 | my ($self, %args) = @_; | ||
| 6860 | my $x_args = [ | ||
| 6861 | ['_this', 'ManagedObjectReference'], | ||
| 6862 | ['spec', 'ResourceConfigSpec'], | ||
| 6863 | ]; | ||
| 6864 | return $self->soap_call('UpdateChildResourceConfiguration', undef, 0, $x_args, \%args); | ||
| 6865 | } | ||
| 6866 | |||
| 6867 | sub UpdateClusterProfile { | ||
| 6868 | my ($self, %args) = @_; | ||
| 6869 | my $x_args = [ | ||
| 6870 | ['_this', 'ManagedObjectReference'], | ||
| 6871 | ['config', 'ClusterProfileConfigSpec'], | ||
| 6872 | ]; | ||
| 6873 | return $self->soap_call('UpdateClusterProfile', undef, 0, $x_args, \%args); | ||
| 6874 | } | ||
| 6875 | |||
| 6876 | sub UpdateConfig { | ||
| 6877 | my ($self, %args) = @_; | ||
| 6878 | my $x_args = [ | ||
| 6879 | ['_this', 'ManagedObjectReference'], | ||
| 6880 | ['name', undef], | ||
| 6881 | ['config', 'ResourceConfigSpec'], | ||
| 6882 | ]; | ||
| 6883 | return $self->soap_call('UpdateConfig', undef, 0, $x_args, \%args); | ||
| 6884 | } | ||
| 6885 | |||
| 6886 | sub UpdateConsoleIpRouteConfig { | ||
| 6887 | my ($self, %args) = @_; | ||
| 6888 | my $x_args = [ | ||
| 6889 | ['_this', 'ManagedObjectReference'], | ||
| 6890 | ['config', 'HostIpRouteConfig'], | ||
| 6891 | ]; | ||
| 6892 | return $self->soap_call('UpdateConsoleIpRouteConfig', undef, 0, $x_args, \%args); | ||
| 6893 | } | ||
| 6894 | |||
| 6895 | sub UpdateCounterLevelMapping { | ||
| 6896 | my ($self, %args) = @_; | ||
| 6897 | my $x_args = [ | ||
| 6898 | ['_this', 'ManagedObjectReference'], | ||
| 6899 | ['counterLevelMap', 'PerformanceManagerCounterLevelMapping'], | ||
| 6900 | ]; | ||
| 6901 | return $self->soap_call('UpdateCounterLevelMapping', undef, 0, $x_args, \%args); | ||
| 6902 | } | ||
| 6903 | |||
| 6904 | sub UpdateDVSHealthCheckConfig_Task { | ||
| 6905 | my ($self, %args) = @_; | ||
| 6906 | my $x_args = [ | ||
| 6907 | ['_this', 'ManagedObjectReference'], | ||
| 6908 | ['healthCheckConfig', 'DVSHealthCheckConfig'], | ||
| 6909 | ]; | ||
| 6910 | return $self->soap_call('UpdateDVSHealthCheckConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6911 | } | ||
| 6912 | |||
| 6913 | sub UpdateDVSLacpGroupConfig_Task { | ||
| 6914 | my ($self, %args) = @_; | ||
| 6915 | my $x_args = [ | ||
| 6916 | ['_this', 'ManagedObjectReference'], | ||
| 6917 | ['lacpGroupSpec', 'VMwareDvsLacpGroupSpec'], | ||
| 6918 | ]; | ||
| 6919 | return $self->soap_call('UpdateDVSLacpGroupConfig_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 6920 | } | ||
| 6921 | |||
| 6922 | sub UpdateDateTime { | ||
| 6923 | my ($self, %args) = @_; | ||
| 6924 | my $x_args = [ | ||
| 6925 | ['_this', 'ManagedObjectReference'], | ||
| 6926 | ['dateTime', undef], | ||
| 6927 | ]; | ||
| 6928 | return $self->soap_call('UpdateDateTime', undef, 0, $x_args, \%args); | ||
| 6929 | } | ||
| 6930 | |||
| 6931 | sub UpdateDateTimeConfig { | ||
| 6932 | my ($self, %args) = @_; | ||
| 6933 | my $x_args = [ | ||
| 6934 | ['_this', 'ManagedObjectReference'], | ||
| 6935 | ['config', 'HostDateTimeConfig'], | ||
| 6936 | ]; | ||
| 6937 | return $self->soap_call('UpdateDateTimeConfig', undef, 0, $x_args, \%args); | ||
| 6938 | } | ||
| 6939 | |||
| 6940 | sub UpdateDefaultPolicy { | ||
| 6941 | my ($self, %args) = @_; | ||
| 6942 | my $x_args = [ | ||
| 6943 | ['_this', 'ManagedObjectReference'], | ||
| 6944 | ['defaultPolicy', 'HostFirewallDefaultPolicy'], | ||
| 6945 | ]; | ||
| 6946 | return $self->soap_call('UpdateDefaultPolicy', undef, 0, $x_args, \%args); | ||
| 6947 | } | ||
| 6948 | |||
| 6949 | sub UpdateDiskPartitions { | ||
| 6950 | my ($self, %args) = @_; | ||
| 6951 | my $x_args = [ | ||
| 6952 | ['_this', 'ManagedObjectReference'], | ||
| 6953 | ['devicePath', undef], | ||
| 6954 | ['spec', 'HostDiskPartitionSpec'], | ||
| 6955 | ]; | ||
| 6956 | return $self->soap_call('UpdateDiskPartitions', undef, 0, $x_args, \%args); | ||
| 6957 | } | ||
| 6958 | |||
| 6959 | sub UpdateDnsConfig { | ||
| 6960 | my ($self, %args) = @_; | ||
| 6961 | my $x_args = [ | ||
| 6962 | ['_this', 'ManagedObjectReference'], | ||
| 6963 | ['config', 'HostDnsConfig'], | ||
| 6964 | ]; | ||
| 6965 | return $self->soap_call('UpdateDnsConfig', undef, 0, $x_args, \%args); | ||
| 6966 | } | ||
| 6967 | |||
| 6968 | sub UpdateDvsCapability { | ||
| 6969 | my ($self, %args) = @_; | ||
| 6970 | my $x_args = [ | ||
| 6971 | ['_this', 'ManagedObjectReference'], | ||
| 6972 | ['capability', 'DVSCapability'], | ||
| 6973 | ]; | ||
| 6974 | return $self->soap_call('UpdateDvsCapability', undef, 0, $x_args, \%args); | ||
| 6975 | } | ||
| 6976 | |||
| 6977 | sub UpdateExtension { | ||
| 6978 | my ($self, %args) = @_; | ||
| 6979 | my $x_args = [ | ||
| 6980 | ['_this', 'ManagedObjectReference'], | ||
| 6981 | ['extension', 'Extension'], | ||
| 6982 | ]; | ||
| 6983 | return $self->soap_call('UpdateExtension', undef, 0, $x_args, \%args); | ||
| 6984 | } | ||
| 6985 | |||
| 6986 | sub UpdateFlags { | ||
| 6987 | my ($self, %args) = @_; | ||
| 6988 | my $x_args = [ | ||
| 6989 | ['_this', 'ManagedObjectReference'], | ||
| 6990 | ['flagInfo', 'HostFlagInfo'], | ||
| 6991 | ]; | ||
| 6992 | return $self->soap_call('UpdateFlags', undef, 0, $x_args, \%args); | ||
| 6993 | } | ||
| 6994 | |||
| 6995 | sub UpdateGraphicsConfig { | ||
| 6996 | my ($self, %args) = @_; | ||
| 6997 | my $x_args = [ | ||
| 6998 | ['_this', 'ManagedObjectReference'], | ||
| 6999 | ['config', 'HostGraphicsConfig'], | ||
| 7000 | ]; | ||
| 7001 | return $self->soap_call('UpdateGraphicsConfig', undef, 0, $x_args, \%args); | ||
| 7002 | } | ||
| 7003 | |||
| 7004 | sub UpdateHostCustomizations_Task { | ||
| 7005 | my ($self, %args) = @_; | ||
| 7006 | my $x_args = [ | ||
| 7007 | ['_this', 'ManagedObjectReference'], | ||
| 7008 | ['hostToConfigSpecMap', 'HostProfileManagerHostToConfigSpecMap'], | ||
| 7009 | ]; | ||
| 7010 | return $self->soap_call('UpdateHostCustomizations_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7011 | } | ||
| 7012 | |||
| 7013 | sub UpdateHostImageAcceptanceLevel { | ||
| 7014 | my ($self, %args) = @_; | ||
| 7015 | my $x_args = [ | ||
| 7016 | ['_this', 'ManagedObjectReference'], | ||
| 7017 | ['newAcceptanceLevel', undef], | ||
| 7018 | ]; | ||
| 7019 | return $self->soap_call('UpdateHostImageAcceptanceLevel', undef, 0, $x_args, \%args); | ||
| 7020 | } | ||
| 7021 | |||
| 7022 | sub UpdateHostProfile { | ||
| 7023 | my ($self, %args) = @_; | ||
| 7024 | my $x_args = [ | ||
| 7025 | ['_this', 'ManagedObjectReference'], | ||
| 7026 | ['config', 'HostProfileConfigSpec'], | ||
| 7027 | ]; | ||
| 7028 | return $self->soap_call('UpdateHostProfile', undef, 0, $x_args, \%args); | ||
| 7029 | } | ||
| 7030 | |||
| 7031 | sub UpdateHostSpecification { | ||
| 7032 | my ($self, %args) = @_; | ||
| 7033 | my $x_args = [ | ||
| 7034 | ['_this', 'ManagedObjectReference'], | ||
| 7035 | ['host', 'ManagedObjectReference'], | ||
| 7036 | ['hostSpec', 'HostSpecification'], | ||
| 7037 | ]; | ||
| 7038 | return $self->soap_call('UpdateHostSpecification', undef, 0, $x_args, \%args); | ||
| 7039 | } | ||
| 7040 | |||
| 7041 | sub UpdateHostSubSpecification { | ||
| 7042 | my ($self, %args) = @_; | ||
| 7043 | my $x_args = [ | ||
| 7044 | ['_this', 'ManagedObjectReference'], | ||
| 7045 | ['host', 'ManagedObjectReference'], | ||
| 7046 | ['hostSubSpec', 'HostSubSpecification'], | ||
| 7047 | ]; | ||
| 7048 | return $self->soap_call('UpdateHostSubSpecification', undef, 0, $x_args, \%args); | ||
| 7049 | } | ||
| 7050 | |||
| 7051 | sub UpdateInternetScsiAdvancedOptions { | ||
| 7052 | my ($self, %args) = @_; | ||
| 7053 | my $x_args = [ | ||
| 7054 | ['_this', 'ManagedObjectReference'], | ||
| 7055 | ['iScsiHbaDevice', undef], | ||
| 7056 | ['targetSet', 'HostInternetScsiHbaTargetSet'], | ||
| 7057 | ['options', 'HostInternetScsiHbaParamValue'], | ||
| 7058 | ]; | ||
| 7059 | return $self->soap_call('UpdateInternetScsiAdvancedOptions', undef, 0, $x_args, \%args); | ||
| 7060 | } | ||
| 7061 | |||
| 7062 | sub UpdateInternetScsiAlias { | ||
| 7063 | my ($self, %args) = @_; | ||
| 7064 | my $x_args = [ | ||
| 7065 | ['_this', 'ManagedObjectReference'], | ||
| 7066 | ['iScsiHbaDevice', undef], | ||
| 7067 | ['iScsiAlias', undef], | ||
| 7068 | ]; | ||
| 7069 | return $self->soap_call('UpdateInternetScsiAlias', undef, 0, $x_args, \%args); | ||
| 7070 | } | ||
| 7071 | |||
| 7072 | sub UpdateInternetScsiAuthenticationProperties { | ||
| 7073 | my ($self, %args) = @_; | ||
| 7074 | my $x_args = [ | ||
| 7075 | ['_this', 'ManagedObjectReference'], | ||
| 7076 | ['iScsiHbaDevice', undef], | ||
| 7077 | ['authenticationProperties', 'HostInternetScsiHbaAuthenticationProperties'], | ||
| 7078 | ['targetSet', 'HostInternetScsiHbaTargetSet'], | ||
| 7079 | ]; | ||
| 7080 | return $self->soap_call('UpdateInternetScsiAuthenticationProperties', undef, 0, $x_args, \%args); | ||
| 7081 | } | ||
| 7082 | |||
| 7083 | sub UpdateInternetScsiDigestProperties { | ||
| 7084 | my ($self, %args) = @_; | ||
| 7085 | my $x_args = [ | ||
| 7086 | ['_this', 'ManagedObjectReference'], | ||
| 7087 | ['iScsiHbaDevice', undef], | ||
| 7088 | ['targetSet', 'HostInternetScsiHbaTargetSet'], | ||
| 7089 | ['digestProperties', 'HostInternetScsiHbaDigestProperties'], | ||
| 7090 | ]; | ||
| 7091 | return $self->soap_call('UpdateInternetScsiDigestProperties', undef, 0, $x_args, \%args); | ||
| 7092 | } | ||
| 7093 | |||
| 7094 | sub UpdateInternetScsiDiscoveryProperties { | ||
| 7095 | my ($self, %args) = @_; | ||
| 7096 | my $x_args = [ | ||
| 7097 | ['_this', 'ManagedObjectReference'], | ||
| 7098 | ['iScsiHbaDevice', undef], | ||
| 7099 | ['discoveryProperties', 'HostInternetScsiHbaDiscoveryProperties'], | ||
| 7100 | ]; | ||
| 7101 | return $self->soap_call('UpdateInternetScsiDiscoveryProperties', undef, 0, $x_args, \%args); | ||
| 7102 | } | ||
| 7103 | |||
| 7104 | sub UpdateInternetScsiIPProperties { | ||
| 7105 | my ($self, %args) = @_; | ||
| 7106 | my $x_args = [ | ||
| 7107 | ['_this', 'ManagedObjectReference'], | ||
| 7108 | ['iScsiHbaDevice', undef], | ||
| 7109 | ['ipProperties', 'HostInternetScsiHbaIPProperties'], | ||
| 7110 | ]; | ||
| 7111 | return $self->soap_call('UpdateInternetScsiIPProperties', undef, 0, $x_args, \%args); | ||
| 7112 | } | ||
| 7113 | |||
| 7114 | sub UpdateInternetScsiName { | ||
| 7115 | my ($self, %args) = @_; | ||
| 7116 | my $x_args = [ | ||
| 7117 | ['_this', 'ManagedObjectReference'], | ||
| 7118 | ['iScsiHbaDevice', undef], | ||
| 7119 | ['iScsiName', undef], | ||
| 7120 | ]; | ||
| 7121 | return $self->soap_call('UpdateInternetScsiName', undef, 0, $x_args, \%args); | ||
| 7122 | } | ||
| 7123 | |||
| 7124 | sub UpdateIpConfig { | ||
| 7125 | my ($self, %args) = @_; | ||
| 7126 | my $x_args = [ | ||
| 7127 | ['_this', 'ManagedObjectReference'], | ||
| 7128 | ['ipConfig', 'HostIpConfig'], | ||
| 7129 | ]; | ||
| 7130 | return $self->soap_call('UpdateIpConfig', undef, 0, $x_args, \%args); | ||
| 7131 | } | ||
| 7132 | |||
| 7133 | sub UpdateIpPool { | ||
| 7134 | my ($self, %args) = @_; | ||
| 7135 | my $x_args = [ | ||
| 7136 | ['_this', 'ManagedObjectReference'], | ||
| 7137 | ['dc', 'ManagedObjectReference'], | ||
| 7138 | ['pool', 'IpPool'], | ||
| 7139 | ]; | ||
| 7140 | return $self->soap_call('UpdateIpPool', undef, 0, $x_args, \%args); | ||
| 7141 | } | ||
| 7142 | |||
| 7143 | sub UpdateIpRouteConfig { | ||
| 7144 | my ($self, %args) = @_; | ||
| 7145 | my $x_args = [ | ||
| 7146 | ['_this', 'ManagedObjectReference'], | ||
| 7147 | ['config', 'HostIpRouteConfig'], | ||
| 7148 | ]; | ||
| 7149 | return $self->soap_call('UpdateIpRouteConfig', undef, 0, $x_args, \%args); | ||
| 7150 | } | ||
| 7151 | |||
| 7152 | sub UpdateIpRouteTableConfig { | ||
| 7153 | my ($self, %args) = @_; | ||
| 7154 | my $x_args = [ | ||
| 7155 | ['_this', 'ManagedObjectReference'], | ||
| 7156 | ['config', 'HostIpRouteTableConfig'], | ||
| 7157 | ]; | ||
| 7158 | return $self->soap_call('UpdateIpRouteTableConfig', undef, 0, $x_args, \%args); | ||
| 7159 | } | ||
| 7160 | |||
| 7161 | sub UpdateIpmi { | ||
| 7162 | my ($self, %args) = @_; | ||
| 7163 | my $x_args = [ | ||
| 7164 | ['_this', 'ManagedObjectReference'], | ||
| 7165 | ['ipmiInfo', 'HostIpmiInfo'], | ||
| 7166 | ]; | ||
| 7167 | return $self->soap_call('UpdateIpmi', undef, 0, $x_args, \%args); | ||
| 7168 | } | ||
| 7169 | |||
| 7170 | sub UpdateKmipServer { | ||
| 7171 | my ($self, %args) = @_; | ||
| 7172 | my $x_args = [ | ||
| 7173 | ['_this', 'ManagedObjectReference'], | ||
| 7174 | ['server', 'KmipServerSpec'], | ||
| 7175 | ]; | ||
| 7176 | return $self->soap_call('UpdateKmipServer', undef, 0, $x_args, \%args); | ||
| 7177 | } | ||
| 7178 | |||
| 7179 | sub UpdateKmsSignedCsrClientCert { | ||
| 7180 | my ($self, %args) = @_; | ||
| 7181 | my $x_args = [ | ||
| 7182 | ['_this', 'ManagedObjectReference'], | ||
| 7183 | ['cluster', 'KeyProviderId'], | ||
| 7184 | ['certificate', undef], | ||
| 7185 | ]; | ||
| 7186 | return $self->soap_call('UpdateKmsSignedCsrClientCert', undef, 0, $x_args, \%args); | ||
| 7187 | } | ||
| 7188 | |||
| 7189 | sub UpdateLicense { | ||
| 7190 | my ($self, %args) = @_; | ||
| 7191 | my $x_args = [ | ||
| 7192 | ['_this', 'ManagedObjectReference'], | ||
| 7193 | ['licenseKey', undef], | ||
| 7194 | ['labels', 'KeyValue'], | ||
| 7195 | ]; | ||
| 7196 | return $self->soap_call('UpdateLicense', 'LicenseManagerLicenseInfo', 0, $x_args, \%args); | ||
| 7197 | } | ||
| 7198 | |||
| 7199 | sub UpdateLicenseLabel { | ||
| 7200 | my ($self, %args) = @_; | ||
| 7201 | my $x_args = [ | ||
| 7202 | ['_this', 'ManagedObjectReference'], | ||
| 7203 | ['licenseKey', undef], | ||
| 7204 | ['labelKey', undef], | ||
| 7205 | ['labelValue', undef], | ||
| 7206 | ]; | ||
| 7207 | return $self->soap_call('UpdateLicenseLabel', undef, 0, $x_args, \%args); | ||
| 7208 | } | ||
| 7209 | |||
| 7210 | sub UpdateLinkedChildren { | ||
| 7211 | my ($self, %args) = @_; | ||
| 7212 | my $x_args = [ | ||
| 7213 | ['_this', 'ManagedObjectReference'], | ||
| 7214 | ['addChangeSet', 'VirtualAppLinkInfo'], | ||
| 7215 | ['removeSet', 'ManagedObjectReference'], | ||
| 7216 | ]; | ||
| 7217 | return $self->soap_call('UpdateLinkedChildren', undef, 0, $x_args, \%args); | ||
| 7218 | } | ||
| 7219 | |||
| 7220 | sub UpdateLocalSwapDatastore { | ||
| 7221 | my ($self, %args) = @_; | ||
| 7222 | my $x_args = [ | ||
| 7223 | ['_this', 'ManagedObjectReference'], | ||
| 7224 | ['datastore', 'ManagedObjectReference'], | ||
| 7225 | ]; | ||
| 7226 | return $self->soap_call('UpdateLocalSwapDatastore', undef, 0, $x_args, \%args); | ||
| 7227 | } | ||
| 7228 | |||
| 7229 | sub UpdateLockdownExceptions { | ||
| 7230 | my ($self, %args) = @_; | ||
| 7231 | my $x_args = [ | ||
| 7232 | ['_this', 'ManagedObjectReference'], | ||
| 7233 | ['users', undef], | ||
| 7234 | ]; | ||
| 7235 | return $self->soap_call('UpdateLockdownExceptions', undef, 0, $x_args, \%args); | ||
| 7236 | } | ||
| 7237 | |||
| 7238 | sub UpdateModuleOptionString { | ||
| 7239 | my ($self, %args) = @_; | ||
| 7240 | my $x_args = [ | ||
| 7241 | ['_this', 'ManagedObjectReference'], | ||
| 7242 | ['name', undef], | ||
| 7243 | ['options', undef], | ||
| 7244 | ]; | ||
| 7245 | return $self->soap_call('UpdateModuleOptionString', undef, 0, $x_args, \%args); | ||
| 7246 | } | ||
| 7247 | |||
| 7248 | sub UpdateNetworkConfig { | ||
| 7249 | my ($self, %args) = @_; | ||
| 7250 | my $x_args = [ | ||
| 7251 | ['_this', 'ManagedObjectReference'], | ||
| 7252 | ['config', 'HostNetworkConfig'], | ||
| 7253 | ['changeMode', undef], | ||
| 7254 | ]; | ||
| 7255 | return $self->soap_call('UpdateNetworkConfig', 'HostNetworkConfigResult', 0, $x_args, \%args); | ||
| 7256 | } | ||
| 7257 | |||
| 7258 | sub UpdateNetworkResourcePool { | ||
| 7259 | my ($self, %args) = @_; | ||
| 7260 | my $x_args = [ | ||
| 7261 | ['_this', 'ManagedObjectReference'], | ||
| 7262 | ['configSpec', 'DVSNetworkResourcePoolConfigSpec'], | ||
| 7263 | ]; | ||
| 7264 | return $self->soap_call('UpdateNetworkResourcePool', undef, 0, $x_args, \%args); | ||
| 7265 | } | ||
| 7266 | |||
| 7267 | sub UpdateOptions { | ||
| 7268 | my ($self, %args) = @_; | ||
| 7269 | my $x_args = [ | ||
| 7270 | ['_this', 'ManagedObjectReference'], | ||
| 7271 | ['changedValue', 'OptionValue'], | ||
| 7272 | ]; | ||
| 7273 | return $self->soap_call('UpdateOptions', undef, 0, $x_args, \%args); | ||
| 7274 | } | ||
| 7275 | |||
| 7276 | sub UpdatePassthruConfig { | ||
| 7277 | my ($self, %args) = @_; | ||
| 7278 | my $x_args = [ | ||
| 7279 | ['_this', 'ManagedObjectReference'], | ||
| 7280 | ['config', 'HostPciPassthruConfig'], | ||
| 7281 | ]; | ||
| 7282 | return $self->soap_call('UpdatePassthruConfig', undef, 0, $x_args, \%args); | ||
| 7283 | } | ||
| 7284 | |||
| 7285 | sub UpdatePerfInterval { | ||
| 7286 | my ($self, %args) = @_; | ||
| 7287 | my $x_args = [ | ||
| 7288 | ['_this', 'ManagedObjectReference'], | ||
| 7289 | ['interval', 'PerfInterval'], | ||
| 7290 | ]; | ||
| 7291 | return $self->soap_call('UpdatePerfInterval', undef, 0, $x_args, \%args); | ||
| 7292 | } | ||
| 7293 | |||
| 7294 | sub UpdatePhysicalNicLinkSpeed { | ||
| 7295 | my ($self, %args) = @_; | ||
| 7296 | my $x_args = [ | ||
| 7297 | ['_this', 'ManagedObjectReference'], | ||
| 7298 | ['device', undef], | ||
| 7299 | ['linkSpeed', 'PhysicalNicLinkInfo'], | ||
| 7300 | ]; | ||
| 7301 | return $self->soap_call('UpdatePhysicalNicLinkSpeed', undef, 0, $x_args, \%args); | ||
| 7302 | } | ||
| 7303 | |||
| 7304 | sub UpdatePortGroup { | ||
| 7305 | my ($self, %args) = @_; | ||
| 7306 | my $x_args = [ | ||
| 7307 | ['_this', 'ManagedObjectReference'], | ||
| 7308 | ['pgName', undef], | ||
| 7309 | ['portgrp', 'HostPortGroupSpec'], | ||
| 7310 | ]; | ||
| 7311 | return $self->soap_call('UpdatePortGroup', undef, 0, $x_args, \%args); | ||
| 7312 | } | ||
| 7313 | |||
| 7314 | sub UpdateProgress { | ||
| 7315 | my ($self, %args) = @_; | ||
| 7316 | my $x_args = [ | ||
| 7317 | ['_this', 'ManagedObjectReference'], | ||
| 7318 | ['percentDone', undef], | ||
| 7319 | ]; | ||
| 7320 | return $self->soap_call('UpdateProgress', undef, 0, $x_args, \%args); | ||
| 7321 | } | ||
| 7322 | |||
| 7323 | sub UpdateReferenceHost { | ||
| 7324 | my ($self, %args) = @_; | ||
| 7325 | my $x_args = [ | ||
| 7326 | ['_this', 'ManagedObjectReference'], | ||
| 7327 | ['host', 'ManagedObjectReference'], | ||
| 7328 | ]; | ||
| 7329 | return $self->soap_call('UpdateReferenceHost', undef, 0, $x_args, \%args); | ||
| 7330 | } | ||
| 7331 | |||
| 7332 | sub UpdateRuleset { | ||
| 7333 | my ($self, %args) = @_; | ||
| 7334 | my $x_args = [ | ||
| 7335 | ['_this', 'ManagedObjectReference'], | ||
| 7336 | ['id', undef], | ||
| 7337 | ['spec', 'HostFirewallRulesetRulesetSpec'], | ||
| 7338 | ]; | ||
| 7339 | return $self->soap_call('UpdateRuleset', undef, 0, $x_args, \%args); | ||
| 7340 | } | ||
| 7341 | |||
| 7342 | sub UpdateScsiLunDisplayName { | ||
| 7343 | my ($self, %args) = @_; | ||
| 7344 | my $x_args = [ | ||
| 7345 | ['_this', 'ManagedObjectReference'], | ||
| 7346 | ['lunUuid', undef], | ||
| 7347 | ['displayName', undef], | ||
| 7348 | ]; | ||
| 7349 | return $self->soap_call('UpdateScsiLunDisplayName', undef, 0, $x_args, \%args); | ||
| 7350 | } | ||
| 7351 | |||
| 7352 | sub UpdateSelfSignedClientCert { | ||
| 7353 | my ($self, %args) = @_; | ||
| 7354 | my $x_args = [ | ||
| 7355 | ['_this', 'ManagedObjectReference'], | ||
| 7356 | ['cluster', 'KeyProviderId'], | ||
| 7357 | ['certificate', undef], | ||
| 7358 | ]; | ||
| 7359 | return $self->soap_call('UpdateSelfSignedClientCert', undef, 0, $x_args, \%args); | ||
| 7360 | } | ||
| 7361 | |||
| 7362 | sub UpdateServiceConsoleVirtualNic { | ||
| 7363 | my ($self, %args) = @_; | ||
| 7364 | my $x_args = [ | ||
| 7365 | ['_this', 'ManagedObjectReference'], | ||
| 7366 | ['device', undef], | ||
| 7367 | ['nic', 'HostVirtualNicSpec'], | ||
| 7368 | ]; | ||
| 7369 | return $self->soap_call('UpdateServiceConsoleVirtualNic', undef, 0, $x_args, \%args); | ||
| 7370 | } | ||
| 7371 | |||
| 7372 | sub UpdateServiceMessage { | ||
| 7373 | my ($self, %args) = @_; | ||
| 7374 | my $x_args = [ | ||
| 7375 | ['_this', 'ManagedObjectReference'], | ||
| 7376 | ['message', undef], | ||
| 7377 | ]; | ||
| 7378 | return $self->soap_call('UpdateServiceMessage', undef, 0, $x_args, \%args); | ||
| 7379 | } | ||
| 7380 | |||
| 7381 | sub UpdateServicePolicy { | ||
| 7382 | my ($self, %args) = @_; | ||
| 7383 | my $x_args = [ | ||
| 7384 | ['_this', 'ManagedObjectReference'], | ||
| 7385 | ['id', undef], | ||
| 7386 | ['policy', undef], | ||
| 7387 | ]; | ||
| 7388 | return $self->soap_call('UpdateServicePolicy', undef, 0, $x_args, \%args); | ||
| 7389 | } | ||
| 7390 | |||
| 7391 | sub UpdateSoftwareInternetScsiEnabled { | ||
| 7392 | my ($self, %args) = @_; | ||
| 7393 | my $x_args = [ | ||
| 7394 | ['_this', 'ManagedObjectReference'], | ||
| 7395 | ['enabled', 'boolean'], | ||
| 7396 | ]; | ||
| 7397 | return $self->soap_call('UpdateSoftwareInternetScsiEnabled', undef, 0, $x_args, \%args); | ||
| 7398 | } | ||
| 7399 | |||
| 7400 | sub UpdateSystemResources { | ||
| 7401 | my ($self, %args) = @_; | ||
| 7402 | my $x_args = [ | ||
| 7403 | ['_this', 'ManagedObjectReference'], | ||
| 7404 | ['resourceInfo', 'HostSystemResourceInfo'], | ||
| 7405 | ]; | ||
| 7406 | return $self->soap_call('UpdateSystemResources', undef, 0, $x_args, \%args); | ||
| 7407 | } | ||
| 7408 | |||
| 7409 | sub UpdateSystemSwapConfiguration { | ||
| 7410 | my ($self, %args) = @_; | ||
| 7411 | my $x_args = [ | ||
| 7412 | ['_this', 'ManagedObjectReference'], | ||
| 7413 | ['sysSwapConfig', 'HostSystemSwapConfiguration'], | ||
| 7414 | ]; | ||
| 7415 | return $self->soap_call('UpdateSystemSwapConfiguration', undef, 0, $x_args, \%args); | ||
| 7416 | } | ||
| 7417 | |||
| 7418 | sub UpdateSystemUsers { | ||
| 7419 | my ($self, %args) = @_; | ||
| 7420 | my $x_args = [ | ||
| 7421 | ['_this', 'ManagedObjectReference'], | ||
| 7422 | ['users', undef], | ||
| 7423 | ]; | ||
| 7424 | return $self->soap_call('UpdateSystemUsers', undef, 0, $x_args, \%args); | ||
| 7425 | } | ||
| 7426 | |||
| 7427 | sub UpdateUser { | ||
| 7428 | my ($self, %args) = @_; | ||
| 7429 | my $x_args = [ | ||
| 7430 | ['_this', 'ManagedObjectReference'], | ||
| 7431 | ['user', 'HostAccountSpec'], | ||
| 7432 | ]; | ||
| 7433 | return $self->soap_call('UpdateUser', undef, 0, $x_args, \%args); | ||
| 7434 | } | ||
| 7435 | |||
| 7436 | sub UpdateVAppConfig { | ||
| 7437 | my ($self, %args) = @_; | ||
| 7438 | my $x_args = [ | ||
| 7439 | ['_this', 'ManagedObjectReference'], | ||
| 7440 | ['spec', 'VAppConfigSpec'], | ||
| 7441 | ]; | ||
| 7442 | return $self->soap_call('UpdateVAppConfig', undef, 0, $x_args, \%args); | ||
| 7443 | } | ||
| 7444 | |||
| 7445 | sub UpdateVVolVirtualMachineFiles_Task { | ||
| 7446 | my ($self, %args) = @_; | ||
| 7447 | my $x_args = [ | ||
| 7448 | ['_this', 'ManagedObjectReference'], | ||
| 7449 | ['failoverPair', 'DatastoreVVolContainerFailoverPair'], | ||
| 7450 | ]; | ||
| 7451 | return $self->soap_call('UpdateVVolVirtualMachineFiles_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7452 | } | ||
| 7453 | |||
| 7454 | sub UpdateVirtualMachineFiles_Task { | ||
| 7455 | my ($self, %args) = @_; | ||
| 7456 | my $x_args = [ | ||
| 7457 | ['_this', 'ManagedObjectReference'], | ||
| 7458 | ['mountPathDatastoreMapping', 'DatastoreMountPathDatastorePair'], | ||
| 7459 | ]; | ||
| 7460 | return $self->soap_call('UpdateVirtualMachineFiles_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7461 | } | ||
| 7462 | |||
| 7463 | sub UpdateVirtualNic { | ||
| 7464 | my ($self, %args) = @_; | ||
| 7465 | my $x_args = [ | ||
| 7466 | ['_this', 'ManagedObjectReference'], | ||
| 7467 | ['device', undef], | ||
| 7468 | ['nic', 'HostVirtualNicSpec'], | ||
| 7469 | ]; | ||
| 7470 | return $self->soap_call('UpdateVirtualNic', undef, 0, $x_args, \%args); | ||
| 7471 | } | ||
| 7472 | |||
| 7473 | sub UpdateVirtualSwitch { | ||
| 7474 | my ($self, %args) = @_; | ||
| 7475 | my $x_args = [ | ||
| 7476 | ['_this', 'ManagedObjectReference'], | ||
| 7477 | ['vswitchName', undef], | ||
| 7478 | ['spec', 'HostVirtualSwitchSpec'], | ||
| 7479 | ]; | ||
| 7480 | return $self->soap_call('UpdateVirtualSwitch', undef, 0, $x_args, \%args); | ||
| 7481 | } | ||
| 7482 | |||
| 7483 | sub UpdateVmfsUnmapPriority { | ||
| 7484 | my ($self, %args) = @_; | ||
| 7485 | my $x_args = [ | ||
| 7486 | ['_this', 'ManagedObjectReference'], | ||
| 7487 | ['vmfsUuid', undef], | ||
| 7488 | ['unmapPriority', undef], | ||
| 7489 | ]; | ||
| 7490 | return $self->soap_call('UpdateVmfsUnmapPriority', undef, 0, $x_args, \%args); | ||
| 7491 | } | ||
| 7492 | |||
| 7493 | sub UpdateVsan_Task { | ||
| 7494 | my ($self, %args) = @_; | ||
| 7495 | my $x_args = [ | ||
| 7496 | ['_this', 'ManagedObjectReference'], | ||
| 7497 | ['config', 'VsanHostConfigInfo'], | ||
| 7498 | ]; | ||
| 7499 | return $self->soap_call('UpdateVsan_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7500 | } | ||
| 7501 | |||
| 7502 | sub UpgradeIoFilter_Task { | ||
| 7503 | my ($self, %args) = @_; | ||
| 7504 | my $x_args = [ | ||
| 7505 | ['_this', 'ManagedObjectReference'], | ||
| 7506 | ['filterId', undef], | ||
| 7507 | ['compRes', 'ManagedObjectReference'], | ||
| 7508 | ['vibUrl', undef], | ||
| 7509 | ]; | ||
| 7510 | return $self->soap_call('UpgradeIoFilter_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7511 | } | ||
| 7512 | |||
| 7513 | sub UpgradeTools_Task { | ||
| 7514 | my ($self, %args) = @_; | ||
| 7515 | my $x_args = [ | ||
| 7516 | ['_this', 'ManagedObjectReference'], | ||
| 7517 | ['installerOptions', undef], | ||
| 7518 | ]; | ||
| 7519 | return $self->soap_call('UpgradeTools_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7520 | } | ||
| 7521 | |||
| 7522 | sub UpgradeVM_Task { | ||
| 7523 | my ($self, %args) = @_; | ||
| 7524 | my $x_args = [ | ||
| 7525 | ['_this', 'ManagedObjectReference'], | ||
| 7526 | ['version', undef], | ||
| 7527 | ]; | ||
| 7528 | return $self->soap_call('UpgradeVM_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7529 | } | ||
| 7530 | |||
| 7531 | sub UpgradeVmLayout { | ||
| 7532 | my ($self, %args) = @_; | ||
| 7533 | my $x_args = [ | ||
| 7534 | ['_this', 'ManagedObjectReference'], | ||
| 7535 | ]; | ||
| 7536 | return $self->soap_call('UpgradeVmLayout', undef, 0, $x_args, \%args); | ||
| 7537 | } | ||
| 7538 | |||
| 7539 | sub UpgradeVmfs { | ||
| 7540 | my ($self, %args) = @_; | ||
| 7541 | my $x_args = [ | ||
| 7542 | ['_this', 'ManagedObjectReference'], | ||
| 7543 | ['vmfsPath', undef], | ||
| 7544 | ]; | ||
| 7545 | return $self->soap_call('UpgradeVmfs', undef, 0, $x_args, \%args); | ||
| 7546 | } | ||
| 7547 | |||
| 7548 | sub UpgradeVsanObjects { | ||
| 7549 | my ($self, %args) = @_; | ||
| 7550 | my $x_args = [ | ||
| 7551 | ['_this', 'ManagedObjectReference'], | ||
| 7552 | ['uuids', undef], | ||
| 7553 | ['newVersion', undef], | ||
| 7554 | ]; | ||
| 7555 | return $self->soap_call('UpgradeVsanObjects', 'HostVsanInternalSystemVsanObjectOperationResult', 1, $x_args, \%args); | ||
| 7556 | } | ||
| 7557 | |||
| 7558 | sub UploadClientCert { | ||
| 7559 | my ($self, %args) = @_; | ||
| 7560 | my $x_args = [ | ||
| 7561 | ['_this', 'ManagedObjectReference'], | ||
| 7562 | ['cluster', 'KeyProviderId'], | ||
| 7563 | ['certificate', undef], | ||
| 7564 | ['privateKey', undef], | ||
| 7565 | ]; | ||
| 7566 | return $self->soap_call('UploadClientCert', undef, 0, $x_args, \%args); | ||
| 7567 | } | ||
| 7568 | |||
| 7569 | sub UploadKmipServerCert { | ||
| 7570 | my ($self, %args) = @_; | ||
| 7571 | my $x_args = [ | ||
| 7572 | ['_this', 'ManagedObjectReference'], | ||
| 7573 | ['cluster', 'KeyProviderId'], | ||
| 7574 | ['certificate', undef], | ||
| 7575 | ]; | ||
| 7576 | return $self->soap_call('UploadKmipServerCert', undef, 0, $x_args, \%args); | ||
| 7577 | } | ||
| 7578 | |||
| 7579 | sub ValidateCredentialsInGuest { | ||
| 7580 | my ($self, %args) = @_; | ||
| 7581 | my $x_args = [ | ||
| 7582 | ['_this', 'ManagedObjectReference'], | ||
| 7583 | ['vm', 'ManagedObjectReference'], | ||
| 7584 | ['auth', 'GuestAuthentication'], | ||
| 7585 | ]; | ||
| 7586 | return $self->soap_call('ValidateCredentialsInGuest', undef, 0, $x_args, \%args); | ||
| 7587 | } | ||
| 7588 | |||
| 7589 | sub ValidateHost { | ||
| 7590 | my ($self, %args) = @_; | ||
| 7591 | my $x_args = [ | ||
| 7592 | ['_this', 'ManagedObjectReference'], | ||
| 7593 | ['ovfDescriptor', undef], | ||
| 7594 | ['host', 'ManagedObjectReference'], | ||
| 7595 | ['vhp', 'OvfValidateHostParams'], | ||
| 7596 | ]; | ||
| 7597 | return $self->soap_call('ValidateHost', 'OvfValidateHostResult', 0, $x_args, \%args); | ||
| 7598 | } | ||
| 7599 | |||
| 7600 | sub ValidateMigration { | ||
| 7601 | my ($self, %args) = @_; | ||
| 7602 | my $x_args = [ | ||
| 7603 | ['_this', 'ManagedObjectReference'], | ||
| 7604 | ['vm', 'ManagedObjectReference'], | ||
| 7605 | ['state', 'VirtualMachinePowerState'], | ||
| 7606 | ['testType', undef], | ||
| 7607 | ['pool', 'ManagedObjectReference'], | ||
| 7608 | ['host', 'ManagedObjectReference'], | ||
| 7609 | ]; | ||
| 7610 | return $self->soap_call('ValidateMigration', 'Event', 1, $x_args, \%args); | ||
| 7611 | } | ||
| 7612 | |||
| 7613 | sub WaitForUpdates { | ||
| 7614 | my ($self, %args) = @_; | ||
| 7615 | my $x_args = [ | ||
| 7616 | ['_this', 'ManagedObjectReference'], | ||
| 7617 | ['version', undef], | ||
| 7618 | ]; | ||
| 7619 | return $self->soap_call('WaitForUpdates', 'UpdateSet', 0, $x_args, \%args); | ||
| 7620 | } | ||
| 7621 | |||
| 7622 | sub WaitForUpdatesEx { | ||
| 7623 | my ($self, %args) = @_; | ||
| 7624 | my $x_args = [ | ||
| 7625 | ['_this', 'ManagedObjectReference'], | ||
| 7626 | ['version', undef], | ||
| 7627 | ['options', 'WaitOptions'], | ||
| 7628 | ]; | ||
| 7629 | return $self->soap_call('WaitForUpdatesEx', 'UpdateSet', 0, $x_args, \%args); | ||
| 7630 | } | ||
| 7631 | |||
| 7632 | sub XmlToCustomizationSpecItem { | ||
| 7633 | my ($self, %args) = @_; | ||
| 7634 | my $x_args = [ | ||
| 7635 | ['_this', 'ManagedObjectReference'], | ||
| 7636 | ['specItemXml', undef], | ||
| 7637 | ]; | ||
| 7638 | return $self->soap_call('XmlToCustomizationSpecItem', 'CustomizationSpecItem', 0, $x_args, \%args); | ||
| 7639 | } | ||
| 7640 | |||
| 7641 | sub ZeroFillVirtualDisk_Task { | ||
| 7642 | my ($self, %args) = @_; | ||
| 7643 | my $x_args = [ | ||
| 7644 | ['_this', 'ManagedObjectReference'], | ||
| 7645 | ['name', undef], | ||
| 7646 | ['datacenter', 'ManagedObjectReference'], | ||
| 7647 | ]; | ||
| 7648 | return $self->soap_call('ZeroFillVirtualDisk_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7649 | } | ||
| 7650 | |||
| 7651 | sub configureVcha_Task { | ||
| 7652 | my ($self, %args) = @_; | ||
| 7653 | my $x_args = [ | ||
| 7654 | ['_this', 'ManagedObjectReference'], | ||
| 7655 | ['configSpec', 'VchaClusterConfigSpec'], | ||
| 7656 | ]; | ||
| 7657 | return $self->soap_call('configureVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7658 | } | ||
| 7659 | |||
| 7660 | sub createPassiveNode_Task { | ||
| 7661 | my ($self, %args) = @_; | ||
| 7662 | my $x_args = [ | ||
| 7663 | ['_this', 'ManagedObjectReference'], | ||
| 7664 | ['passiveDeploymentSpec', 'PassiveNodeDeploymentSpec'], | ||
| 7665 | ['sourceVcSpec', 'SourceNodeSpec'], | ||
| 7666 | ]; | ||
| 7667 | return $self->soap_call('createPassiveNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7668 | } | ||
| 7669 | |||
| 7670 | sub createWitnessNode_Task { | ||
| 7671 | my ($self, %args) = @_; | ||
| 7672 | my $x_args = [ | ||
| 7673 | ['_this', 'ManagedObjectReference'], | ||
| 7674 | ['witnessDeploymentSpec', 'NodeDeploymentSpec'], | ||
| 7675 | ['sourceVcSpec', 'SourceNodeSpec'], | ||
| 7676 | ]; | ||
| 7677 | return $self->soap_call('createWitnessNode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7678 | } | ||
| 7679 | |||
| 7680 | sub deployVcha_Task { | ||
| 7681 | my ($self, %args) = @_; | ||
| 7682 | my $x_args = [ | ||
| 7683 | ['_this', 'ManagedObjectReference'], | ||
| 7684 | ['deploymentSpec', 'VchaClusterDeploymentSpec'], | ||
| 7685 | ]; | ||
| 7686 | return $self->soap_call('deployVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7687 | } | ||
| 7688 | |||
| 7689 | sub destroyVcha_Task { | ||
| 7690 | my ($self, %args) = @_; | ||
| 7691 | my $x_args = [ | ||
| 7692 | ['_this', 'ManagedObjectReference'], | ||
| 7693 | ]; | ||
| 7694 | return $self->soap_call('destroyVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7695 | } | ||
| 7696 | |||
| 7697 | sub fetchSoftwarePackages { | ||
| 7698 | my ($self, %args) = @_; | ||
| 7699 | my $x_args = [ | ||
| 7700 | ['_this', 'ManagedObjectReference'], | ||
| 7701 | ]; | ||
| 7702 | return $self->soap_call('fetchSoftwarePackages', 'SoftwarePackage', 1, $x_args, \%args); | ||
| 7703 | } | ||
| 7704 | |||
| 7705 | sub getClusterMode { | ||
| 7706 | my ($self, %args) = @_; | ||
| 7707 | my $x_args = [ | ||
| 7708 | ['_this', 'ManagedObjectReference'], | ||
| 7709 | ]; | ||
| 7710 | return $self->soap_call('getClusterMode', undef, 0, $x_args, \%args); | ||
| 7711 | } | ||
| 7712 | |||
| 7713 | sub getVchaConfig { | ||
| 7714 | my ($self, %args) = @_; | ||
| 7715 | my $x_args = [ | ||
| 7716 | ['_this', 'ManagedObjectReference'], | ||
| 7717 | ]; | ||
| 7718 | return $self->soap_call('getVchaConfig', 'VchaClusterConfigInfo', 0, $x_args, \%args); | ||
| 7719 | } | ||
| 7720 | |||
| 7721 | sub initiateFailover_Task { | ||
| 7722 | my ($self, %args) = @_; | ||
| 7723 | my $x_args = [ | ||
| 7724 | ['_this', 'ManagedObjectReference'], | ||
| 7725 | ['planned', 'boolean'], | ||
| 7726 | ]; | ||
| 7727 | return $self->soap_call('initiateFailover_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7728 | } | ||
| 7729 | |||
| 7730 | sub installDate { | ||
| 7731 | my ($self, %args) = @_; | ||
| 7732 | my $x_args = [ | ||
| 7733 | ['_this', 'ManagedObjectReference'], | ||
| 7734 | ]; | ||
| 7735 | return $self->soap_call('installDate', undef, 0, $x_args, \%args); | ||
| 7736 | } | ||
| 7737 | |||
| 7738 | sub prepareVcha_Task { | ||
| 7739 | my ($self, %args) = @_; | ||
| 7740 | my $x_args = [ | ||
| 7741 | ['_this', 'ManagedObjectReference'], | ||
| 7742 | ['networkSpec', 'VchaClusterNetworkSpec'], | ||
| 7743 | ]; | ||
| 7744 | return $self->soap_call('prepareVcha_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7745 | } | ||
| 7746 | |||
| 7747 | sub queryDatacenterConfigOptionDescriptor { | ||
| 7748 | my ($self, %args) = @_; | ||
| 7749 | my $x_args = [ | ||
| 7750 | ['_this', 'ManagedObjectReference'], | ||
| 7751 | ]; | ||
| 7752 | return $self->soap_call('queryDatacenterConfigOptionDescriptor', 'VirtualMachineConfigOptionDescriptor', 1, $x_args, \%args); | ||
| 7753 | } | ||
| 7754 | |||
| 7755 | sub reloadVirtualMachineFromPath_Task { | ||
| 7756 | my ($self, %args) = @_; | ||
| 7757 | my $x_args = [ | ||
| 7758 | ['_this', 'ManagedObjectReference'], | ||
| 7759 | ['configurationPath', undef], | ||
| 7760 | ]; | ||
| 7761 | return $self->soap_call('reloadVirtualMachineFromPath_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7762 | } | ||
| 7763 | |||
| 7764 | sub setClusterMode_Task { | ||
| 7765 | my ($self, %args) = @_; | ||
| 7766 | my $x_args = [ | ||
| 7767 | ['_this', 'ManagedObjectReference'], | ||
| 7768 | ['mode', undef], | ||
| 7769 | ]; | ||
| 7770 | return $self->soap_call('setClusterMode_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7771 | } | ||
| 7772 | |||
| 7773 | sub setCustomValue { | ||
| 7774 | my ($self, %args) = @_; | ||
| 7775 | my $x_args = [ | ||
| 7776 | ['_this', 'ManagedObjectReference'], | ||
| 7777 | ['key', undef], | ||
| 7778 | ['value', undef], | ||
| 7779 | ]; | ||
| 7780 | return $self->soap_call('setCustomValue', undef, 0, $x_args, \%args); | ||
| 7781 | } | ||
| 7782 | |||
| 7783 | sub unregisterVApp_Task { | ||
| 7784 | my ($self, %args) = @_; | ||
| 7785 | my $x_args = [ | ||
| 7786 | ['_this', 'ManagedObjectReference'], | ||
| 7787 | ]; | ||
| 7788 | return $self->soap_call('unregisterVApp_Task', 'ManagedObjectReference', 0, $x_args, \%args); | ||
| 7789 | } | ||
| 7790 | |||
| 7791 | 1; |