diff --git a/.teamcity/.gitignore b/.teamcity/.gitignore
deleted file mode 100644
index 7f995f335..000000000
--- a/.teamcity/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-*.iml
-target/
diff --git a/.teamcity/pom.xml b/.teamcity/pom.xml
deleted file mode 100644
index 49f9e3cd6..000000000
--- a/.teamcity/pom.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
- 4.0.0
- PackerVSphere Config DSL Script
- PackerVSphere
- PackerVSphere_dsl
- 1.0-SNAPSHOT
-
-
- org.jetbrains.teamcity
- configs-dsl-kotlin-parent
- 1.0-SNAPSHOT
-
-
-
-
- jetbrains-all
- https://download.jetbrains.com/teamcity-repository
-
- true
-
-
-
- teamcity-server
- https://teamcity.jetbrains.com/app/dsl-plugins-repository
-
- true
-
-
-
-
-
-
- JetBrains
- https://download.jetbrains.com/teamcity-repository
-
-
-
-
- .
-
-
- kotlin-maven-plugin
- org.jetbrains.kotlin
- ${kotlin.version}
-
-
-
-
- compile
- process-sources
-
- compile
-
-
-
- test-compile
- process-test-sources
-
- test-compile
-
-
-
-
-
- org.jetbrains.teamcity
- teamcity-configs-maven-plugin
- ${teamcity.dsl.version}
-
- kotlin
- target/generated-configs
-
-
-
-
-
-
-
- org.jetbrains.teamcity
- configs-dsl-kotlin
- ${teamcity.dsl.version}
- compile
-
-
- org.jetbrains.teamcity
- configs-dsl-kotlin-plugins
- 1.0-SNAPSHOT
- pom
- compile
-
-
- org.jetbrains.kotlin
- kotlin-stdlib-jdk8
- ${kotlin.version}
- compile
-
-
- org.jetbrains.kotlin
- kotlin-script-runtime
- ${kotlin.version}
- compile
-
-
-
\ No newline at end of file
diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts
deleted file mode 100644
index 8bf94e4c1..000000000
--- a/.teamcity/settings.kts
+++ /dev/null
@@ -1,137 +0,0 @@
-import jetbrains.buildServer.configs.kotlin.v2018_2.*
-import jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures.PullRequests
-import jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures.commitStatusPublisher
-import jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures.pullRequests
-import jetbrains.buildServer.configs.kotlin.v2018_2.buildSteps.dockerCompose
-import jetbrains.buildServer.configs.kotlin.v2018_2.buildSteps.script
-import jetbrains.buildServer.configs.kotlin.v2018_2.triggers.vcs
-import jetbrains.buildServer.configs.kotlin.v2018_2.vcs.GitVcsRoot
-
-version = "2018.2"
-
-project {
- description = "https://github.com/jetbrains-infra/packer-builder-vsphere"
-
- vcsRoot(GitHub)
- buildType(Build)
-
- features {
- feature {
- type = "OAuthProvider"
- param("providerType", "GitHub")
- param("displayName", "GitHub.com")
- param("gitHubUrl", "https://github.com/")
- param("clientId", "1abfd46417d7795298a1")
- param("secure:clientSecret", "credentialsJSON:5fe99dc3-4d1d-4fd6-9f5c-e87fbcbd9a4e")
- param("defaultTokenScope", "public_repo,repo,repo:status,write:repo_hook")
- }
- feature {
- type = "IssueTracker"
- param("name", "packer-builder-vsphere")
- param("type", "GithubIssues")
- param("repository", "https://github.com/jetbrains-infra/packer-builder-vsphere")
- param("authType", "anonymous")
- param("pattern", """#(\d+)""")
- }
- }
-}
-
-object GitHub : GitVcsRoot({
- name = "packer-builder-vsphere"
- url = "https://github.com/jetbrains-infra/packer-builder-vsphere"
- branch = "master"
- branchSpec = "+:refs/heads/(*)"
- userNameStyle = GitVcsRoot.UserNameStyle.FULL
-})
-
-object Build : BuildType({
- val golangImage = "jetbrainsinfra/golang:1.11.4"
-
- name = "Build"
-
- vcs {
- root(GitHub)
- }
-
- requirements {
- equals("docker.server.osType", "linux")
- exists("dockerCompose.version")
-
- doesNotContain("teamcity.agent.name", "ubuntu-single-build")
- }
-
- params {
- param("env.GOPATH", "%teamcity.build.checkoutDir%/build/modules")
- param("env.GOCACHE", "%teamcity.build.checkoutDir%/build/cache")
-
- password("env.VPN_PASSWORD", "credentialsJSON:8c355e81-9a26-4788-8fea-c854cd646c35")
- param ("env.VSPHERE_USERNAME", """vsphere65.test\teamcity""")
- password("env.VSPHERE_PASSWORD", "credentialsJSON:d5e7ac7f-357b-464a-b2fa-ddd4c433b22b")
- }
-
- steps {
- script {
- name = "Build"
- scriptContent = "make build -j 3"
- dockerImage = golangImage
- dockerPull = true
- }
-
- dockerCompose {
- name = "Start VPN tunnel"
- file = "teamcity-services.yml"
- }
-
- script {
- name = "Test"
- scriptContent = "make test | go-test-teamcity"
- dockerImage = golangImage
- dockerPull = true
- dockerRunParameters = "--network=container:vpn"
- }
- script {
- name = "gofmt"
- executionMode = BuildStep.ExecutionMode.RUN_ON_FAILURE
- scriptContent = "./gofmt.sh"
- dockerImage = golangImage
- dockerPull = true
- }
- }
-
- features {
- commitStatusPublisher {
- publisher = github {
- githubUrl = "https://api.github.com"
- authType = personalToken {
- token = "credentialsJSON:5ead3bb1-c370-4589-beb8-24f8d02c36bc"
- }
- }
- }
- pullRequests {
- provider = github {
- authType = token {
- token = "credentialsJSON:5ead3bb1-c370-4589-beb8-24f8d02c36bc"
- }
- filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
- }
- }
- }
-
- triggers {
- vcs {
- triggerRules = """
- -:*.md
- -:.teamcity/
- """.trimIndent()
- branchFilter = """
- +:*
- -:temp-*
- -:pull/*
- """.trimIndent()
- }
- }
- maxRunningBuilds = 2
-
- artifactRules = "bin/* => packer-builder-vsphere-%build.number%.zip"
- allowExternalStatus = true
-})
diff --git a/builder/vsphere/clone/builder.go b/builder/vsphere/clone/builder.go
index 8c4a54365..48e1681c0 100644
--- a/builder/vsphere/clone/builder.go
+++ b/builder/vsphere/clone/builder.go
@@ -2,6 +2,7 @@ package clone
import (
"context"
+ "github.com/hashicorp/hcl/v2/hcldec"
"github.com/hashicorp/packer/builder/vsphere/common"
"github.com/hashicorp/packer/builder/vsphere/driver"
packerCommon "github.com/hashicorp/packer/common"
@@ -15,14 +16,16 @@ type Builder struct {
runner multistep.Runner
}
-func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
+func (b *Builder) ConfigSpec() hcldec.ObjectSpec { return b.config.FlatMapstructure().HCL2Spec() }
+
+func (b *Builder) Prepare(raws ...interface{}) ([]string, []string, error) {
c, warnings, errs := NewConfig(raws...)
if errs != nil {
- return warnings, errs
+ return warnings, nil, errs
}
b.config = c
- return warnings, nil
+ return warnings, nil, nil
}
func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (packer.Artifact, error) {
diff --git a/builder/vsphere/clone/builder_acc_test.go b/builder/vsphere/clone/builder_acc_test.go
index 081d43dd9..ec988ed83 100644
--- a/builder/vsphere/clone/builder_acc_test.go
+++ b/builder/vsphere/clone/builder_acc_test.go
@@ -11,6 +11,7 @@ import (
)
func TestCloneBuilderAcc_default(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
config := defaultConfig()
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
@@ -101,6 +102,7 @@ func checkDefault(t *testing.T, name string, host string, datastore string) buil
}
func TestCloneBuilderAcc_artifact(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
config := defaultConfig()
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
@@ -126,6 +128,7 @@ func checkArtifact(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_folder(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: folderConfig(),
@@ -163,6 +166,7 @@ func checkFolder(t *testing.T, folder string) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_resourcePool(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: resourcePoolConfig(),
@@ -200,6 +204,7 @@ func checkResourcePool(t *testing.T, pool string) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_datastore(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: datastoreConfig(),
@@ -259,6 +264,7 @@ func multipleDatastoresConfig() string {
}
func TestCloneBuilderAcc_fullClone(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: fullCloneConfig(),
@@ -291,6 +297,7 @@ func checkFullClone(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_linkedClone(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: linkedCloneConfig(),
@@ -323,6 +330,7 @@ func checkLinkedClone(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_network(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: networkConfig(),
@@ -368,6 +376,7 @@ func checkNetwork(t *testing.T, name string) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_hardware(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: hardwareConfig(),
@@ -457,6 +466,7 @@ func checkHardware(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_RAMReservation(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: RAMReservationConfig(),
@@ -490,6 +500,7 @@ func checkRAMReservation(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_sshPassword(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: sshPasswordConfig(),
@@ -525,6 +536,7 @@ func checkDefaultBootOrder(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_sshKey(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: sshKeyConfig(),
@@ -540,6 +552,7 @@ func sshKeyConfig() string {
}
func TestCloneBuilderAcc_snapshot(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: snapshotConfig(),
@@ -574,6 +587,7 @@ func checkSnapshot(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_template(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: templateConfig(),
@@ -606,6 +620,7 @@ func checkTemplate(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_bootOrder(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: bootOrderConfig(),
@@ -644,6 +659,7 @@ func checkBootOrder(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_notes(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
builderT.Test(t, builderT.TestCase{
Builder: &Builder{},
Template: notesConfig(),
@@ -678,6 +694,7 @@ func checkNotes(t *testing.T) builderT.TestCheckFunc {
}
func TestCloneBuilderAcc_windows(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
t.Skip("test is too slow")
config := windowsConfig()
builderT.Test(t, builderT.TestCase{
diff --git a/builder/vsphere/clone/config.go b/builder/vsphere/clone/config.go
index 6a780934f..f03685a82 100644
--- a/builder/vsphere/clone/config.go
+++ b/builder/vsphere/clone/config.go
@@ -1,5 +1,5 @@
//go:generate struct-markdown
-//go:generate mapstructure-to-hcl2 -type ShutdownConfig
+//go:generate mapstructure-to-hcl2 -type Config
package clone
diff --git a/builder/vsphere/clone/config.hcl2spec.go b/builder/vsphere/clone/config.hcl2spec.go
index 8c548ebcf..992a83aa0 100644
--- a/builder/vsphere/clone/config.hcl2spec.go
+++ b/builder/vsphere/clone/config.hcl2spec.go
@@ -1,7 +1,192 @@
-// Code generated by "mapstructure-to-hcl2 -type ShutdownConfig"; DO NOT EDIT.
+// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
package clone
import (
"github.com/hashicorp/hcl/v2/hcldec"
"github.com/zclconf/go-cty/cty"
)
+
+// FlatConfig is an auto-generated flat version of Config.
+// Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.
+type FlatConfig struct {
+ PackerBuildName *string `mapstructure:"packer_build_name" cty:"packer_build_name"`
+ PackerBuilderType *string `mapstructure:"packer_builder_type" cty:"packer_builder_type"`
+ PackerDebug *bool `mapstructure:"packer_debug" cty:"packer_debug"`
+ PackerForce *bool `mapstructure:"packer_force" cty:"packer_force"`
+ PackerOnError *string `mapstructure:"packer_on_error" cty:"packer_on_error"`
+ PackerUserVars map[string]string `mapstructure:"packer_user_variables" cty:"packer_user_variables"`
+ PackerSensitiveVars []string `mapstructure:"packer_sensitive_variables" cty:"packer_sensitive_variables"`
+ VCenterServer *string `mapstructure:"vcenter_server" cty:"vcenter_server"`
+ Username *string `mapstructure:"username" cty:"username"`
+ Password *string `mapstructure:"password" cty:"password"`
+ InsecureConnection *bool `mapstructure:"insecure_connection" cty:"insecure_connection"`
+ Datacenter *string `mapstructure:"datacenter" cty:"datacenter"`
+ Template *string `mapstructure:"template" cty:"template"`
+ DiskSize *int64 `mapstructure:"disk_size" cty:"disk_size"`
+ LinkedClone *bool `mapstructure:"linked_clone" cty:"linked_clone"`
+ Network *string `mapstructure:"network" cty:"network"`
+ Notes *string `mapstructure:"notes" cty:"notes"`
+ VMName *string `mapstructure:"vm_name" cty:"vm_name"`
+ Folder *string `mapstructure:"folder" cty:"folder"`
+ Cluster *string `mapstructure:"cluster" cty:"cluster"`
+ Host *string `mapstructure:"host" cty:"host"`
+ ResourcePool *string `mapstructure:"resource_pool" cty:"resource_pool"`
+ Datastore *string `mapstructure:"datastore" cty:"datastore"`
+ CPUs *int32 `mapstructure:"CPUs" cty:"CPUs"`
+ CpuCores *int32 `mapstructure:"cpu_cores" cty:"cpu_cores"`
+ CPUReservation *int64 `mapstructure:"CPU_reservation" cty:"CPU_reservation"`
+ CPULimit *int64 `mapstructure:"CPU_limit" cty:"CPU_limit"`
+ CpuHotAddEnabled *bool `mapstructure:"CPU_hot_plug" cty:"CPU_hot_plug"`
+ RAM *int64 `mapstructure:"RAM" cty:"RAM"`
+ RAMReservation *int64 `mapstructure:"RAM_reservation" cty:"RAM_reservation"`
+ RAMReserveAll *bool `mapstructure:"RAM_reserve_all" cty:"RAM_reserve_all"`
+ MemoryHotAddEnabled *bool `mapstructure:"RAM_hot_plug" cty:"RAM_hot_plug"`
+ VideoRAM *int64 `mapstructure:"video_ram" cty:"video_ram"`
+ NestedHV *bool `mapstructure:"NestedHV" cty:"NestedHV"`
+ ConfigParams map[string]string `mapstructure:"configuration_parameters" cty:"configuration_parameters"`
+ BootOrder *string `mapstructure:"boot_order" cty:"boot_order"`
+ WaitTimeout *string `mapstructure:"ip_wait_timeout" cty:"ip_wait_timeout"`
+ SettleTimeout *string `mapstructure:"ip_settle_timeout" cty:"ip_settle_timeout"`
+ Type *string `mapstructure:"communicator" cty:"communicator"`
+ PauseBeforeConnect *string `mapstructure:"pause_before_connecting" cty:"pause_before_connecting"`
+ SSHHost *string `mapstructure:"ssh_host" cty:"ssh_host"`
+ SSHPort *int `mapstructure:"ssh_port" cty:"ssh_port"`
+ SSHUsername *string `mapstructure:"ssh_username" cty:"ssh_username"`
+ SSHPassword *string `mapstructure:"ssh_password" cty:"ssh_password"`
+ SSHKeyPairName *string `mapstructure:"ssh_keypair_name" cty:"ssh_keypair_name"`
+ SSHTemporaryKeyPairName *string `mapstructure:"temporary_key_pair_name" cty:"temporary_key_pair_name"`
+ SSHClearAuthorizedKeys *bool `mapstructure:"ssh_clear_authorized_keys" cty:"ssh_clear_authorized_keys"`
+ SSHPrivateKeyFile *string `mapstructure:"ssh_private_key_file" cty:"ssh_private_key_file"`
+ SSHPty *bool `mapstructure:"ssh_pty" cty:"ssh_pty"`
+ SSHTimeout *string `mapstructure:"ssh_timeout" cty:"ssh_timeout"`
+ SSHAgentAuth *bool `mapstructure:"ssh_agent_auth" cty:"ssh_agent_auth"`
+ SSHDisableAgentForwarding *bool `mapstructure:"ssh_disable_agent_forwarding" cty:"ssh_disable_agent_forwarding"`
+ SSHHandshakeAttempts *int `mapstructure:"ssh_handshake_attempts" cty:"ssh_handshake_attempts"`
+ SSHBastionHost *string `mapstructure:"ssh_bastion_host" cty:"ssh_bastion_host"`
+ SSHBastionPort *int `mapstructure:"ssh_bastion_port" cty:"ssh_bastion_port"`
+ SSHBastionAgentAuth *bool `mapstructure:"ssh_bastion_agent_auth" cty:"ssh_bastion_agent_auth"`
+ SSHBastionUsername *string `mapstructure:"ssh_bastion_username" cty:"ssh_bastion_username"`
+ SSHBastionPassword *string `mapstructure:"ssh_bastion_password" cty:"ssh_bastion_password"`
+ SSHBastionPrivateKeyFile *string `mapstructure:"ssh_bastion_private_key_file" cty:"ssh_bastion_private_key_file"`
+ SSHFileTransferMethod *string `mapstructure:"ssh_file_transfer_method" cty:"ssh_file_transfer_method"`
+ SSHProxyHost *string `mapstructure:"ssh_proxy_host" cty:"ssh_proxy_host"`
+ SSHProxyPort *int `mapstructure:"ssh_proxy_port" cty:"ssh_proxy_port"`
+ SSHProxyUsername *string `mapstructure:"ssh_proxy_username" cty:"ssh_proxy_username"`
+ SSHProxyPassword *string `mapstructure:"ssh_proxy_password" cty:"ssh_proxy_password"`
+ SSHKeepAliveInterval *string `mapstructure:"ssh_keep_alive_interval" cty:"ssh_keep_alive_interval"`
+ SSHReadWriteTimeout *string `mapstructure:"ssh_read_write_timeout" cty:"ssh_read_write_timeout"`
+ SSHRemoteTunnels []string `mapstructure:"ssh_remote_tunnels" cty:"ssh_remote_tunnels"`
+ SSHLocalTunnels []string `mapstructure:"ssh_local_tunnels" cty:"ssh_local_tunnels"`
+ SSHPublicKey []byte `mapstructure:"ssh_public_key" cty:"ssh_public_key"`
+ SSHPrivateKey []byte `mapstructure:"ssh_private_key" cty:"ssh_private_key"`
+ WinRMUser *string `mapstructure:"winrm_username" cty:"winrm_username"`
+ WinRMPassword *string `mapstructure:"winrm_password" cty:"winrm_password"`
+ WinRMHost *string `mapstructure:"winrm_host" cty:"winrm_host"`
+ WinRMPort *int `mapstructure:"winrm_port" cty:"winrm_port"`
+ WinRMTimeout *string `mapstructure:"winrm_timeout" cty:"winrm_timeout"`
+ WinRMUseSSL *bool `mapstructure:"winrm_use_ssl" cty:"winrm_use_ssl"`
+ WinRMInsecure *bool `mapstructure:"winrm_insecure" cty:"winrm_insecure"`
+ WinRMUseNTLM *bool `mapstructure:"winrm_use_ntlm" cty:"winrm_use_ntlm"`
+ Command *string `mapstructure:"shutdown_command" cty:"shutdown_command"`
+ Timeout *string `mapstructure:"shutdown_timeout" cty:"shutdown_timeout"`
+ CreateSnapshot *bool `mapstructure:"create_snapshot" cty:"create_snapshot"`
+ ConvertToTemplate *bool `mapstructure:"convert_to_template" cty:"convert_to_template"`
+}
+
+// FlatMapstructure returns a new FlatConfig.
+// FlatConfig is an auto-generated flat version of Config.
+// Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
+func (*Config) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } {
+ return new(FlatConfig)
+}
+
+// HCL2Spec returns the hcl spec of a Config.
+// This spec is used by HCL to read the fields of Config.
+// The decoded values from this spec will then be applied to a FlatConfig.
+func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
+ s := map[string]hcldec.Spec{
+ "packer_build_name": &hcldec.AttrSpec{Name: "packer_build_name", Type: cty.String, Required: false},
+ "packer_builder_type": &hcldec.AttrSpec{Name: "packer_builder_type", Type: cty.String, Required: false},
+ "packer_debug": &hcldec.AttrSpec{Name: "packer_debug", Type: cty.Bool, Required: false},
+ "packer_force": &hcldec.AttrSpec{Name: "packer_force", Type: cty.Bool, Required: false},
+ "packer_on_error": &hcldec.AttrSpec{Name: "packer_on_error", Type: cty.String, Required: false},
+ "packer_user_variables": &hcldec.BlockAttrsSpec{TypeName: "packer_user_variables", ElementType: cty.String, Required: false},
+ "packer_sensitive_variables": &hcldec.AttrSpec{Name: "packer_sensitive_variables", Type: cty.List(cty.String), Required: false},
+ "vcenter_server": &hcldec.AttrSpec{Name: "vcenter_server", Type: cty.String, Required: false},
+ "username": &hcldec.AttrSpec{Name: "username", Type: cty.String, Required: false},
+ "password": &hcldec.AttrSpec{Name: "password", Type: cty.String, Required: false},
+ "insecure_connection": &hcldec.AttrSpec{Name: "insecure_connection", Type: cty.Bool, Required: false},
+ "datacenter": &hcldec.AttrSpec{Name: "datacenter", Type: cty.String, Required: false},
+ "template": &hcldec.AttrSpec{Name: "template", Type: cty.String, Required: false},
+ "disk_size": &hcldec.AttrSpec{Name: "disk_size", Type: cty.Number, Required: false},
+ "linked_clone": &hcldec.AttrSpec{Name: "linked_clone", Type: cty.Bool, Required: false},
+ "network": &hcldec.AttrSpec{Name: "network", Type: cty.String, Required: false},
+ "notes": &hcldec.AttrSpec{Name: "notes", Type: cty.String, Required: false},
+ "vm_name": &hcldec.AttrSpec{Name: "vm_name", Type: cty.String, Required: false},
+ "folder": &hcldec.AttrSpec{Name: "folder", Type: cty.String, Required: false},
+ "cluster": &hcldec.AttrSpec{Name: "cluster", Type: cty.String, Required: false},
+ "host": &hcldec.AttrSpec{Name: "host", Type: cty.String, Required: false},
+ "resource_pool": &hcldec.AttrSpec{Name: "resource_pool", Type: cty.String, Required: false},
+ "datastore": &hcldec.AttrSpec{Name: "datastore", Type: cty.String, Required: false},
+ "CPUs": &hcldec.AttrSpec{Name: "CPUs", Type: cty.Number, Required: false},
+ "cpu_cores": &hcldec.AttrSpec{Name: "cpu_cores", Type: cty.Number, Required: false},
+ "CPU_reservation": &hcldec.AttrSpec{Name: "CPU_reservation", Type: cty.Number, Required: false},
+ "CPU_limit": &hcldec.AttrSpec{Name: "CPU_limit", Type: cty.Number, Required: false},
+ "CPU_hot_plug": &hcldec.AttrSpec{Name: "CPU_hot_plug", Type: cty.Bool, Required: false},
+ "RAM": &hcldec.AttrSpec{Name: "RAM", Type: cty.Number, Required: false},
+ "RAM_reservation": &hcldec.AttrSpec{Name: "RAM_reservation", Type: cty.Number, Required: false},
+ "RAM_reserve_all": &hcldec.AttrSpec{Name: "RAM_reserve_all", Type: cty.Bool, Required: false},
+ "RAM_hot_plug": &hcldec.AttrSpec{Name: "RAM_hot_plug", Type: cty.Bool, Required: false},
+ "video_ram": &hcldec.AttrSpec{Name: "video_ram", Type: cty.Number, Required: false},
+ "NestedHV": &hcldec.AttrSpec{Name: "NestedHV", Type: cty.Bool, Required: false},
+ "configuration_parameters": &hcldec.BlockAttrsSpec{TypeName: "configuration_parameters", ElementType: cty.String, Required: false},
+ "boot_order": &hcldec.AttrSpec{Name: "boot_order", Type: cty.String, Required: false},
+ "ip_wait_timeout": &hcldec.AttrSpec{Name: "ip_wait_timeout", Type: cty.String, Required: false},
+ "ip_settle_timeout": &hcldec.AttrSpec{Name: "ip_settle_timeout", Type: cty.String, Required: false},
+ "communicator": &hcldec.AttrSpec{Name: "communicator", Type: cty.String, Required: false},
+ "pause_before_connecting": &hcldec.AttrSpec{Name: "pause_before_connecting", Type: cty.String, Required: false},
+ "ssh_host": &hcldec.AttrSpec{Name: "ssh_host", Type: cty.String, Required: false},
+ "ssh_port": &hcldec.AttrSpec{Name: "ssh_port", Type: cty.Number, Required: false},
+ "ssh_username": &hcldec.AttrSpec{Name: "ssh_username", Type: cty.String, Required: false},
+ "ssh_password": &hcldec.AttrSpec{Name: "ssh_password", Type: cty.String, Required: false},
+ "ssh_keypair_name": &hcldec.AttrSpec{Name: "ssh_keypair_name", Type: cty.String, Required: false},
+ "temporary_key_pair_name": &hcldec.AttrSpec{Name: "temporary_key_pair_name", Type: cty.String, Required: false},
+ "ssh_clear_authorized_keys": &hcldec.AttrSpec{Name: "ssh_clear_authorized_keys", Type: cty.Bool, Required: false},
+ "ssh_private_key_file": &hcldec.AttrSpec{Name: "ssh_private_key_file", Type: cty.String, Required: false},
+ "ssh_pty": &hcldec.AttrSpec{Name: "ssh_pty", Type: cty.Bool, Required: false},
+ "ssh_timeout": &hcldec.AttrSpec{Name: "ssh_timeout", Type: cty.String, Required: false},
+ "ssh_agent_auth": &hcldec.AttrSpec{Name: "ssh_agent_auth", Type: cty.Bool, Required: false},
+ "ssh_disable_agent_forwarding": &hcldec.AttrSpec{Name: "ssh_disable_agent_forwarding", Type: cty.Bool, Required: false},
+ "ssh_handshake_attempts": &hcldec.AttrSpec{Name: "ssh_handshake_attempts", Type: cty.Number, Required: false},
+ "ssh_bastion_host": &hcldec.AttrSpec{Name: "ssh_bastion_host", Type: cty.String, Required: false},
+ "ssh_bastion_port": &hcldec.AttrSpec{Name: "ssh_bastion_port", Type: cty.Number, Required: false},
+ "ssh_bastion_agent_auth": &hcldec.AttrSpec{Name: "ssh_bastion_agent_auth", Type: cty.Bool, Required: false},
+ "ssh_bastion_username": &hcldec.AttrSpec{Name: "ssh_bastion_username", Type: cty.String, Required: false},
+ "ssh_bastion_password": &hcldec.AttrSpec{Name: "ssh_bastion_password", Type: cty.String, Required: false},
+ "ssh_bastion_private_key_file": &hcldec.AttrSpec{Name: "ssh_bastion_private_key_file", Type: cty.String, Required: false},
+ "ssh_file_transfer_method": &hcldec.AttrSpec{Name: "ssh_file_transfer_method", Type: cty.String, Required: false},
+ "ssh_proxy_host": &hcldec.AttrSpec{Name: "ssh_proxy_host", Type: cty.String, Required: false},
+ "ssh_proxy_port": &hcldec.AttrSpec{Name: "ssh_proxy_port", Type: cty.Number, Required: false},
+ "ssh_proxy_username": &hcldec.AttrSpec{Name: "ssh_proxy_username", Type: cty.String, Required: false},
+ "ssh_proxy_password": &hcldec.AttrSpec{Name: "ssh_proxy_password", Type: cty.String, Required: false},
+ "ssh_keep_alive_interval": &hcldec.AttrSpec{Name: "ssh_keep_alive_interval", Type: cty.String, Required: false},
+ "ssh_read_write_timeout": &hcldec.AttrSpec{Name: "ssh_read_write_timeout", Type: cty.String, Required: false},
+ "ssh_remote_tunnels": &hcldec.AttrSpec{Name: "ssh_remote_tunnels", Type: cty.List(cty.String), Required: false},
+ "ssh_local_tunnels": &hcldec.AttrSpec{Name: "ssh_local_tunnels", Type: cty.List(cty.String), Required: false},
+ "ssh_public_key": &hcldec.AttrSpec{Name: "ssh_public_key", Type: cty.List(cty.Number), Required: false},
+ "ssh_private_key": &hcldec.AttrSpec{Name: "ssh_private_key", Type: cty.List(cty.Number), Required: false},
+ "winrm_username": &hcldec.AttrSpec{Name: "winrm_username", Type: cty.String, Required: false},
+ "winrm_password": &hcldec.AttrSpec{Name: "winrm_password", Type: cty.String, Required: false},
+ "winrm_host": &hcldec.AttrSpec{Name: "winrm_host", Type: cty.String, Required: false},
+ "winrm_port": &hcldec.AttrSpec{Name: "winrm_port", Type: cty.Number, Required: false},
+ "winrm_timeout": &hcldec.AttrSpec{Name: "winrm_timeout", Type: cty.String, Required: false},
+ "winrm_use_ssl": &hcldec.AttrSpec{Name: "winrm_use_ssl", Type: cty.Bool, Required: false},
+ "winrm_insecure": &hcldec.AttrSpec{Name: "winrm_insecure", Type: cty.Bool, Required: false},
+ "winrm_use_ntlm": &hcldec.AttrSpec{Name: "winrm_use_ntlm", Type: cty.Bool, Required: false},
+ "shutdown_command": &hcldec.AttrSpec{Name: "shutdown_command", Type: cty.String, Required: false},
+ "shutdown_timeout": &hcldec.AttrSpec{Name: "shutdown_timeout", Type: cty.String, Required: false},
+ "create_snapshot": &hcldec.AttrSpec{Name: "create_snapshot", Type: cty.Bool, Required: false},
+ "convert_to_template": &hcldec.AttrSpec{Name: "convert_to_template", Type: cty.Bool, Required: false},
+ }
+ return s
+}
diff --git a/builder/vsphere/clone/leak_test.go b/builder/vsphere/clone/leak_test.go
deleted file mode 100644
index a6aa3a00b..000000000
--- a/builder/vsphere/clone/leak_test.go
+++ /dev/null
@@ -1,8 +0,0 @@
-package clone
-
-import "testing"
-import "go.uber.org/goleak"
-
-func TestMain(m *testing.M) {
- goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"))
-}
diff --git a/builder/vsphere/driver/datastore_acc_test.go b/builder/vsphere/driver/datastore_acc_test.go
index 75a522711..a45b2ffb4 100644
--- a/builder/vsphere/driver/datastore_acc_test.go
+++ b/builder/vsphere/driver/datastore_acc_test.go
@@ -8,6 +8,7 @@ import (
)
func TestDatastoreAcc(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
d := newTestDriver(t)
ds, err := d.FindDatastore("datastore1", "")
if err != nil {
@@ -23,6 +24,7 @@ func TestDatastoreAcc(t *testing.T) {
}
func TestFileUpload(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
dsName := "datastore1"
hostName := "esxi-1.vsphere65.test"
@@ -58,6 +60,7 @@ func TestFileUpload(t *testing.T) {
}
func TestFileUploadDRS(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
dsName := "datastore3"
hostName := ""
diff --git a/builder/vsphere/driver/folder_acc_test.go b/builder/vsphere/driver/folder_acc_test.go
index 29d1364e0..7f3b527b6 100644
--- a/builder/vsphere/driver/folder_acc_test.go
+++ b/builder/vsphere/driver/folder_acc_test.go
@@ -3,6 +3,7 @@ package driver
import "testing"
func TestFolderAcc(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
d := newTestDriver(t)
f, err := d.FindFolder("folder1/folder2")
if err != nil {
diff --git a/builder/vsphere/driver/host_acc_test.go b/builder/vsphere/driver/host_acc_test.go
index 765550551..faee0fdaa 100644
--- a/builder/vsphere/driver/host_acc_test.go
+++ b/builder/vsphere/driver/host_acc_test.go
@@ -5,6 +5,7 @@ import (
)
func TestHostAcc(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
d := newTestDriver(t)
host, err := d.FindHost(TestHostName)
if err != nil {
diff --git a/builder/vsphere/driver/leak_test.go b/builder/vsphere/driver/leak_test.go
deleted file mode 100644
index 26f8b3908..000000000
--- a/builder/vsphere/driver/leak_test.go
+++ /dev/null
@@ -1,8 +0,0 @@
-package driver
-
-import "testing"
-import "go.uber.org/goleak"
-
-func TestMain(m *testing.M) {
- goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"))
-}
diff --git a/builder/vsphere/driver/resource_pool_acc_test.go b/builder/vsphere/driver/resource_pool_acc_test.go
index a2b3a93d4..bfb38d2cc 100644
--- a/builder/vsphere/driver/resource_pool_acc_test.go
+++ b/builder/vsphere/driver/resource_pool_acc_test.go
@@ -3,6 +3,7 @@ package driver
import "testing"
func TestResourcePoolAcc(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
d := newTestDriver(t)
p, err := d.FindResourcePool("", "esxi-1.vsphere65.test", "pool1/pool2")
if err != nil {
diff --git a/builder/vsphere/driver/vm_clone_acc_test.go b/builder/vsphere/driver/vm_clone_acc_test.go
index d6add46d7..664103f1f 100644
--- a/builder/vsphere/driver/vm_clone_acc_test.go
+++ b/builder/vsphere/driver/vm_clone_acc_test.go
@@ -9,6 +9,7 @@ import (
)
func TestVMAcc_clone(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
testCases := []struct {
name string
config *CloneConfig
diff --git a/builder/vsphere/driver/vm_create_acc_test.go b/builder/vsphere/driver/vm_create_acc_test.go
index 5b53dbcca..32b2c2b40 100644
--- a/builder/vsphere/driver/vm_create_acc_test.go
+++ b/builder/vsphere/driver/vm_create_acc_test.go
@@ -6,6 +6,7 @@ import (
)
func TestVMAcc_create(t *testing.T) {
+ t.Skip("Acceptance tests not configured yet.")
testCases := []struct {
name string
config *CreateConfig
diff --git a/builder/vsphere/examples/macos/setup/iso-macos.sh b/builder/vsphere/examples/macos/setup/iso-macos.sh
old mode 100755
new mode 100644
diff --git a/builder/vsphere/examples/macos/setup/iso-setup.sh b/builder/vsphere/examples/macos/setup/iso-setup.sh
old mode 100755
new mode 100644
diff --git a/builder/vsphere/examples/macos/setup/postinstall b/builder/vsphere/examples/macos/setup/postinstall
old mode 100755
new mode 100644
diff --git a/builder/vsphere/iso/builder.go b/builder/vsphere/iso/builder.go
index 21e367b37..0cae03611 100644
--- a/builder/vsphere/iso/builder.go
+++ b/builder/vsphere/iso/builder.go
@@ -2,6 +2,7 @@ package iso
import (
"context"
+ "github.com/hashicorp/hcl/v2/hcldec"
"github.com/hashicorp/packer/builder/vsphere/common"
"github.com/hashicorp/packer/builder/vsphere/driver"
packerCommon "github.com/hashicorp/packer/common"
@@ -15,14 +16,16 @@ type Builder struct {
runner multistep.Runner
}
-func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
+func (b *Builder) ConfigSpec() hcldec.ObjectSpec { return b.config.FlatMapstructure().HCL2Spec() }
+
+func (b *Builder) Prepare(raws ...interface{}) ([]string, []string, error) {
c, warnings, errs := NewConfig(raws...)
if errs != nil {
- return warnings, errs
+ return warnings, nil, errs
}
b.config = c
- return warnings, nil
+ return warnings, nil, nil
}
func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (packer.Artifact, error) {
diff --git a/builder/vsphere/iso/config.go b/builder/vsphere/iso/config.go
index 732c0ca36..e5c060519 100644
--- a/builder/vsphere/iso/config.go
+++ b/builder/vsphere/iso/config.go
@@ -1,9 +1,10 @@
+//go:generate mapstructure-to-hcl2 -type Config
+
package iso
import (
"github.com/hashicorp/packer/builder/vsphere/common"
packerCommon "github.com/hashicorp/packer/common"
- "github.com/hashicorp/packer/common/bootcommand"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer"
@@ -22,12 +23,12 @@ type Config struct {
packerCommon.ISOConfig `mapstructure:",squash"`
- CDRomConfig `mapstructure:",squash"`
- FloppyConfig `mapstructure:",squash"`
- common.RunConfig `mapstructure:",squash"`
- bootcommand.BootConfig `mapstructure:",squash"`
- common.WaitIpConfig `mapstructure:",squash"`
- Comm communicator.Config `mapstructure:",squash"`
+ CDRomConfig `mapstructure:",squash"`
+ FloppyConfig `mapstructure:",squash"`
+ common.RunConfig `mapstructure:",squash"`
+ BootConfig `mapstructure:",squash"`
+ common.WaitIpConfig `mapstructure:",squash"`
+ Comm communicator.Config `mapstructure:",squash"`
common.ShutdownConfig `mapstructure:",squash"`
diff --git a/builder/vsphere/iso/config.hcl2spec.go b/builder/vsphere/iso/config.hcl2spec.go
new file mode 100644
index 000000000..7ea8949ca
--- /dev/null
+++ b/builder/vsphere/iso/config.hcl2spec.go
@@ -0,0 +1,238 @@
+// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
+package iso
+
+import (
+ "github.com/hashicorp/hcl/v2/hcldec"
+ "github.com/zclconf/go-cty/cty"
+)
+
+// FlatConfig is an auto-generated flat version of Config.
+// Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.
+type FlatConfig struct {
+ PackerBuildName *string `mapstructure:"packer_build_name" cty:"packer_build_name"`
+ PackerBuilderType *string `mapstructure:"packer_builder_type" cty:"packer_builder_type"`
+ PackerDebug *bool `mapstructure:"packer_debug" cty:"packer_debug"`
+ PackerForce *bool `mapstructure:"packer_force" cty:"packer_force"`
+ PackerOnError *string `mapstructure:"packer_on_error" cty:"packer_on_error"`
+ PackerUserVars map[string]string `mapstructure:"packer_user_variables" cty:"packer_user_variables"`
+ PackerSensitiveVars []string `mapstructure:"packer_sensitive_variables" cty:"packer_sensitive_variables"`
+ HTTPDir *string `mapstructure:"http_directory" cty:"http_directory"`
+ HTTPPortMin *int `mapstructure:"http_port_min" cty:"http_port_min"`
+ HTTPPortMax *int `mapstructure:"http_port_max" cty:"http_port_max"`
+ VCenterServer *string `mapstructure:"vcenter_server" cty:"vcenter_server"`
+ Username *string `mapstructure:"username" cty:"username"`
+ Password *string `mapstructure:"password" cty:"password"`
+ InsecureConnection *bool `mapstructure:"insecure_connection" cty:"insecure_connection"`
+ Datacenter *string `mapstructure:"datacenter" cty:"datacenter"`
+ Version *uint `mapstructure:"vm_version" cty:"vm_version"`
+ GuestOSType *string `mapstructure:"guest_os_type" cty:"guest_os_type"`
+ Firmware *string `mapstructure:"firmware" cty:"firmware"`
+ DiskControllerType *string `mapstructure:"disk_controller_type" cty:"disk_controller_type"`
+ DiskSize *int64 `mapstructure:"disk_size" cty:"disk_size"`
+ DiskThinProvisioned *bool `mapstructure:"disk_thin_provisioned" cty:"disk_thin_provisioned"`
+ Network *string `mapstructure:"network" cty:"network"`
+ NetworkCard *string `mapstructure:"network_card" cty:"network_card"`
+ USBController *bool `mapstructure:"usb_controller" cty:"usb_controller"`
+ Notes *string `mapstructure:"notes" cty:"notes"`
+ VMName *string `mapstructure:"vm_name" cty:"vm_name"`
+ Folder *string `mapstructure:"folder" cty:"folder"`
+ Cluster *string `mapstructure:"cluster" cty:"cluster"`
+ Host *string `mapstructure:"host" cty:"host"`
+ ResourcePool *string `mapstructure:"resource_pool" cty:"resource_pool"`
+ Datastore *string `mapstructure:"datastore" cty:"datastore"`
+ CPUs *int32 `mapstructure:"CPUs" cty:"CPUs"`
+ CpuCores *int32 `mapstructure:"cpu_cores" cty:"cpu_cores"`
+ CPUReservation *int64 `mapstructure:"CPU_reservation" cty:"CPU_reservation"`
+ CPULimit *int64 `mapstructure:"CPU_limit" cty:"CPU_limit"`
+ CpuHotAddEnabled *bool `mapstructure:"CPU_hot_plug" cty:"CPU_hot_plug"`
+ RAM *int64 `mapstructure:"RAM" cty:"RAM"`
+ RAMReservation *int64 `mapstructure:"RAM_reservation" cty:"RAM_reservation"`
+ RAMReserveAll *bool `mapstructure:"RAM_reserve_all" cty:"RAM_reserve_all"`
+ MemoryHotAddEnabled *bool `mapstructure:"RAM_hot_plug" cty:"RAM_hot_plug"`
+ VideoRAM *int64 `mapstructure:"video_ram" cty:"video_ram"`
+ NestedHV *bool `mapstructure:"NestedHV" cty:"NestedHV"`
+ ConfigParams map[string]string `mapstructure:"configuration_parameters" cty:"configuration_parameters"`
+ ISOChecksum *string `mapstructure:"iso_checksum" required:"true" cty:"iso_checksum"`
+ ISOChecksumURL *string `mapstructure:"iso_checksum_url" cty:"iso_checksum_url"`
+ ISOChecksumType *string `mapstructure:"iso_checksum_type" cty:"iso_checksum_type"`
+ RawSingleISOUrl *string `mapstructure:"iso_url" required:"true" cty:"iso_url"`
+ ISOUrls []string `mapstructure:"iso_urls" cty:"iso_urls"`
+ TargetPath *string `mapstructure:"iso_target_path" cty:"iso_target_path"`
+ TargetExtension *string `mapstructure:"iso_target_extension" cty:"iso_target_extension"`
+ CdromType *string `mapstructure:"cdrom_type" cty:"cdrom_type"`
+ ISOPaths []string `mapstructure:"iso_paths" cty:"iso_paths"`
+ FloppyIMGPath *string `mapstructure:"floppy_img_path" cty:"floppy_img_path"`
+ FloppyFiles []string `mapstructure:"floppy_files" cty:"floppy_files"`
+ FloppyDirectories []string `mapstructure:"floppy_dirs" cty:"floppy_dirs"`
+ BootOrder *string `mapstructure:"boot_order" cty:"boot_order"`
+ BootCommand []string `mapstructure:"boot_command" cty:"boot_command"`
+ BootWait *string `mapstructure:"boot_wait" cty:"boot_wait"`
+ HTTPIP *string `mapstructure:"http_ip" cty:"http_ip"`
+ WaitTimeout *string `mapstructure:"ip_wait_timeout" cty:"ip_wait_timeout"`
+ SettleTimeout *string `mapstructure:"ip_settle_timeout" cty:"ip_settle_timeout"`
+ Type *string `mapstructure:"communicator" cty:"communicator"`
+ PauseBeforeConnect *string `mapstructure:"pause_before_connecting" cty:"pause_before_connecting"`
+ SSHHost *string `mapstructure:"ssh_host" cty:"ssh_host"`
+ SSHPort *int `mapstructure:"ssh_port" cty:"ssh_port"`
+ SSHUsername *string `mapstructure:"ssh_username" cty:"ssh_username"`
+ SSHPassword *string `mapstructure:"ssh_password" cty:"ssh_password"`
+ SSHKeyPairName *string `mapstructure:"ssh_keypair_name" cty:"ssh_keypair_name"`
+ SSHTemporaryKeyPairName *string `mapstructure:"temporary_key_pair_name" cty:"temporary_key_pair_name"`
+ SSHClearAuthorizedKeys *bool `mapstructure:"ssh_clear_authorized_keys" cty:"ssh_clear_authorized_keys"`
+ SSHPrivateKeyFile *string `mapstructure:"ssh_private_key_file" cty:"ssh_private_key_file"`
+ SSHPty *bool `mapstructure:"ssh_pty" cty:"ssh_pty"`
+ SSHTimeout *string `mapstructure:"ssh_timeout" cty:"ssh_timeout"`
+ SSHAgentAuth *bool `mapstructure:"ssh_agent_auth" cty:"ssh_agent_auth"`
+ SSHDisableAgentForwarding *bool `mapstructure:"ssh_disable_agent_forwarding" cty:"ssh_disable_agent_forwarding"`
+ SSHHandshakeAttempts *int `mapstructure:"ssh_handshake_attempts" cty:"ssh_handshake_attempts"`
+ SSHBastionHost *string `mapstructure:"ssh_bastion_host" cty:"ssh_bastion_host"`
+ SSHBastionPort *int `mapstructure:"ssh_bastion_port" cty:"ssh_bastion_port"`
+ SSHBastionAgentAuth *bool `mapstructure:"ssh_bastion_agent_auth" cty:"ssh_bastion_agent_auth"`
+ SSHBastionUsername *string `mapstructure:"ssh_bastion_username" cty:"ssh_bastion_username"`
+ SSHBastionPassword *string `mapstructure:"ssh_bastion_password" cty:"ssh_bastion_password"`
+ SSHBastionPrivateKeyFile *string `mapstructure:"ssh_bastion_private_key_file" cty:"ssh_bastion_private_key_file"`
+ SSHFileTransferMethod *string `mapstructure:"ssh_file_transfer_method" cty:"ssh_file_transfer_method"`
+ SSHProxyHost *string `mapstructure:"ssh_proxy_host" cty:"ssh_proxy_host"`
+ SSHProxyPort *int `mapstructure:"ssh_proxy_port" cty:"ssh_proxy_port"`
+ SSHProxyUsername *string `mapstructure:"ssh_proxy_username" cty:"ssh_proxy_username"`
+ SSHProxyPassword *string `mapstructure:"ssh_proxy_password" cty:"ssh_proxy_password"`
+ SSHKeepAliveInterval *string `mapstructure:"ssh_keep_alive_interval" cty:"ssh_keep_alive_interval"`
+ SSHReadWriteTimeout *string `mapstructure:"ssh_read_write_timeout" cty:"ssh_read_write_timeout"`
+ SSHRemoteTunnels []string `mapstructure:"ssh_remote_tunnels" cty:"ssh_remote_tunnels"`
+ SSHLocalTunnels []string `mapstructure:"ssh_local_tunnels" cty:"ssh_local_tunnels"`
+ SSHPublicKey []byte `mapstructure:"ssh_public_key" cty:"ssh_public_key"`
+ SSHPrivateKey []byte `mapstructure:"ssh_private_key" cty:"ssh_private_key"`
+ WinRMUser *string `mapstructure:"winrm_username" cty:"winrm_username"`
+ WinRMPassword *string `mapstructure:"winrm_password" cty:"winrm_password"`
+ WinRMHost *string `mapstructure:"winrm_host" cty:"winrm_host"`
+ WinRMPort *int `mapstructure:"winrm_port" cty:"winrm_port"`
+ WinRMTimeout *string `mapstructure:"winrm_timeout" cty:"winrm_timeout"`
+ WinRMUseSSL *bool `mapstructure:"winrm_use_ssl" cty:"winrm_use_ssl"`
+ WinRMInsecure *bool `mapstructure:"winrm_insecure" cty:"winrm_insecure"`
+ WinRMUseNTLM *bool `mapstructure:"winrm_use_ntlm" cty:"winrm_use_ntlm"`
+ Command *string `mapstructure:"shutdown_command" cty:"shutdown_command"`
+ Timeout *string `mapstructure:"shutdown_timeout" cty:"shutdown_timeout"`
+ CreateSnapshot *bool `mapstructure:"create_snapshot" cty:"create_snapshot"`
+ ConvertToTemplate *bool `mapstructure:"convert_to_template" cty:"convert_to_template"`
+}
+
+// FlatMapstructure returns a new FlatConfig.
+// FlatConfig is an auto-generated flat version of Config.
+// Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
+func (*Config) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec } {
+ return new(FlatConfig)
+}
+
+// HCL2Spec returns the hcl spec of a Config.
+// This spec is used by HCL to read the fields of Config.
+// The decoded values from this spec will then be applied to a FlatConfig.
+func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
+ s := map[string]hcldec.Spec{
+ "packer_build_name": &hcldec.AttrSpec{Name: "packer_build_name", Type: cty.String, Required: false},
+ "packer_builder_type": &hcldec.AttrSpec{Name: "packer_builder_type", Type: cty.String, Required: false},
+ "packer_debug": &hcldec.AttrSpec{Name: "packer_debug", Type: cty.Bool, Required: false},
+ "packer_force": &hcldec.AttrSpec{Name: "packer_force", Type: cty.Bool, Required: false},
+ "packer_on_error": &hcldec.AttrSpec{Name: "packer_on_error", Type: cty.String, Required: false},
+ "packer_user_variables": &hcldec.BlockAttrsSpec{TypeName: "packer_user_variables", ElementType: cty.String, Required: false},
+ "packer_sensitive_variables": &hcldec.AttrSpec{Name: "packer_sensitive_variables", Type: cty.List(cty.String), Required: false},
+ "http_directory": &hcldec.AttrSpec{Name: "http_directory", Type: cty.String, Required: false},
+ "http_port_min": &hcldec.AttrSpec{Name: "http_port_min", Type: cty.Number, Required: false},
+ "http_port_max": &hcldec.AttrSpec{Name: "http_port_max", Type: cty.Number, Required: false},
+ "vcenter_server": &hcldec.AttrSpec{Name: "vcenter_server", Type: cty.String, Required: false},
+ "username": &hcldec.AttrSpec{Name: "username", Type: cty.String, Required: false},
+ "password": &hcldec.AttrSpec{Name: "password", Type: cty.String, Required: false},
+ "insecure_connection": &hcldec.AttrSpec{Name: "insecure_connection", Type: cty.Bool, Required: false},
+ "datacenter": &hcldec.AttrSpec{Name: "datacenter", Type: cty.String, Required: false},
+ "vm_version": &hcldec.AttrSpec{Name: "vm_version", Type: cty.Number, Required: false},
+ "guest_os_type": &hcldec.AttrSpec{Name: "guest_os_type", Type: cty.String, Required: false},
+ "firmware": &hcldec.AttrSpec{Name: "firmware", Type: cty.String, Required: false},
+ "disk_controller_type": &hcldec.AttrSpec{Name: "disk_controller_type", Type: cty.String, Required: false},
+ "disk_size": &hcldec.AttrSpec{Name: "disk_size", Type: cty.Number, Required: false},
+ "disk_thin_provisioned": &hcldec.AttrSpec{Name: "disk_thin_provisioned", Type: cty.Bool, Required: false},
+ "network": &hcldec.AttrSpec{Name: "network", Type: cty.String, Required: false},
+ "network_card": &hcldec.AttrSpec{Name: "network_card", Type: cty.String, Required: false},
+ "usb_controller": &hcldec.AttrSpec{Name: "usb_controller", Type: cty.Bool, Required: false},
+ "notes": &hcldec.AttrSpec{Name: "notes", Type: cty.String, Required: false},
+ "vm_name": &hcldec.AttrSpec{Name: "vm_name", Type: cty.String, Required: false},
+ "folder": &hcldec.AttrSpec{Name: "folder", Type: cty.String, Required: false},
+ "cluster": &hcldec.AttrSpec{Name: "cluster", Type: cty.String, Required: false},
+ "host": &hcldec.AttrSpec{Name: "host", Type: cty.String, Required: false},
+ "resource_pool": &hcldec.AttrSpec{Name: "resource_pool", Type: cty.String, Required: false},
+ "datastore": &hcldec.AttrSpec{Name: "datastore", Type: cty.String, Required: false},
+ "CPUs": &hcldec.AttrSpec{Name: "CPUs", Type: cty.Number, Required: false},
+ "cpu_cores": &hcldec.AttrSpec{Name: "cpu_cores", Type: cty.Number, Required: false},
+ "CPU_reservation": &hcldec.AttrSpec{Name: "CPU_reservation", Type: cty.Number, Required: false},
+ "CPU_limit": &hcldec.AttrSpec{Name: "CPU_limit", Type: cty.Number, Required: false},
+ "CPU_hot_plug": &hcldec.AttrSpec{Name: "CPU_hot_plug", Type: cty.Bool, Required: false},
+ "RAM": &hcldec.AttrSpec{Name: "RAM", Type: cty.Number, Required: false},
+ "RAM_reservation": &hcldec.AttrSpec{Name: "RAM_reservation", Type: cty.Number, Required: false},
+ "RAM_reserve_all": &hcldec.AttrSpec{Name: "RAM_reserve_all", Type: cty.Bool, Required: false},
+ "RAM_hot_plug": &hcldec.AttrSpec{Name: "RAM_hot_plug", Type: cty.Bool, Required: false},
+ "video_ram": &hcldec.AttrSpec{Name: "video_ram", Type: cty.Number, Required: false},
+ "NestedHV": &hcldec.AttrSpec{Name: "NestedHV", Type: cty.Bool, Required: false},
+ "configuration_parameters": &hcldec.BlockAttrsSpec{TypeName: "configuration_parameters", ElementType: cty.String, Required: false},
+ "iso_checksum": &hcldec.AttrSpec{Name: "iso_checksum", Type: cty.String, Required: false},
+ "iso_checksum_url": &hcldec.AttrSpec{Name: "iso_checksum_url", Type: cty.String, Required: false},
+ "iso_checksum_type": &hcldec.AttrSpec{Name: "iso_checksum_type", Type: cty.String, Required: false},
+ "iso_url": &hcldec.AttrSpec{Name: "iso_url", Type: cty.String, Required: false},
+ "iso_urls": &hcldec.AttrSpec{Name: "iso_urls", Type: cty.List(cty.String), Required: false},
+ "iso_target_path": &hcldec.AttrSpec{Name: "iso_target_path", Type: cty.String, Required: false},
+ "iso_target_extension": &hcldec.AttrSpec{Name: "iso_target_extension", Type: cty.String, Required: false},
+ "cdrom_type": &hcldec.AttrSpec{Name: "cdrom_type", Type: cty.String, Required: false},
+ "iso_paths": &hcldec.AttrSpec{Name: "iso_paths", Type: cty.List(cty.String), Required: false},
+ "floppy_img_path": &hcldec.AttrSpec{Name: "floppy_img_path", Type: cty.String, Required: false},
+ "floppy_files": &hcldec.AttrSpec{Name: "floppy_files", Type: cty.List(cty.String), Required: false},
+ "floppy_dirs": &hcldec.AttrSpec{Name: "floppy_dirs", Type: cty.List(cty.String), Required: false},
+ "boot_order": &hcldec.AttrSpec{Name: "boot_order", Type: cty.String, Required: false},
+ "boot_command": &hcldec.AttrSpec{Name: "boot_command", Type: cty.List(cty.String), Required: false},
+ "boot_wait": &hcldec.AttrSpec{Name: "boot_wait", Type: cty.String, Required: false},
+ "http_ip": &hcldec.AttrSpec{Name: "http_ip", Type: cty.String, Required: false},
+ "ip_wait_timeout": &hcldec.AttrSpec{Name: "ip_wait_timeout", Type: cty.String, Required: false},
+ "ip_settle_timeout": &hcldec.AttrSpec{Name: "ip_settle_timeout", Type: cty.String, Required: false},
+ "communicator": &hcldec.AttrSpec{Name: "communicator", Type: cty.String, Required: false},
+ "pause_before_connecting": &hcldec.AttrSpec{Name: "pause_before_connecting", Type: cty.String, Required: false},
+ "ssh_host": &hcldec.AttrSpec{Name: "ssh_host", Type: cty.String, Required: false},
+ "ssh_port": &hcldec.AttrSpec{Name: "ssh_port", Type: cty.Number, Required: false},
+ "ssh_username": &hcldec.AttrSpec{Name: "ssh_username", Type: cty.String, Required: false},
+ "ssh_password": &hcldec.AttrSpec{Name: "ssh_password", Type: cty.String, Required: false},
+ "ssh_keypair_name": &hcldec.AttrSpec{Name: "ssh_keypair_name", Type: cty.String, Required: false},
+ "temporary_key_pair_name": &hcldec.AttrSpec{Name: "temporary_key_pair_name", Type: cty.String, Required: false},
+ "ssh_clear_authorized_keys": &hcldec.AttrSpec{Name: "ssh_clear_authorized_keys", Type: cty.Bool, Required: false},
+ "ssh_private_key_file": &hcldec.AttrSpec{Name: "ssh_private_key_file", Type: cty.String, Required: false},
+ "ssh_pty": &hcldec.AttrSpec{Name: "ssh_pty", Type: cty.Bool, Required: false},
+ "ssh_timeout": &hcldec.AttrSpec{Name: "ssh_timeout", Type: cty.String, Required: false},
+ "ssh_agent_auth": &hcldec.AttrSpec{Name: "ssh_agent_auth", Type: cty.Bool, Required: false},
+ "ssh_disable_agent_forwarding": &hcldec.AttrSpec{Name: "ssh_disable_agent_forwarding", Type: cty.Bool, Required: false},
+ "ssh_handshake_attempts": &hcldec.AttrSpec{Name: "ssh_handshake_attempts", Type: cty.Number, Required: false},
+ "ssh_bastion_host": &hcldec.AttrSpec{Name: "ssh_bastion_host", Type: cty.String, Required: false},
+ "ssh_bastion_port": &hcldec.AttrSpec{Name: "ssh_bastion_port", Type: cty.Number, Required: false},
+ "ssh_bastion_agent_auth": &hcldec.AttrSpec{Name: "ssh_bastion_agent_auth", Type: cty.Bool, Required: false},
+ "ssh_bastion_username": &hcldec.AttrSpec{Name: "ssh_bastion_username", Type: cty.String, Required: false},
+ "ssh_bastion_password": &hcldec.AttrSpec{Name: "ssh_bastion_password", Type: cty.String, Required: false},
+ "ssh_bastion_private_key_file": &hcldec.AttrSpec{Name: "ssh_bastion_private_key_file", Type: cty.String, Required: false},
+ "ssh_file_transfer_method": &hcldec.AttrSpec{Name: "ssh_file_transfer_method", Type: cty.String, Required: false},
+ "ssh_proxy_host": &hcldec.AttrSpec{Name: "ssh_proxy_host", Type: cty.String, Required: false},
+ "ssh_proxy_port": &hcldec.AttrSpec{Name: "ssh_proxy_port", Type: cty.Number, Required: false},
+ "ssh_proxy_username": &hcldec.AttrSpec{Name: "ssh_proxy_username", Type: cty.String, Required: false},
+ "ssh_proxy_password": &hcldec.AttrSpec{Name: "ssh_proxy_password", Type: cty.String, Required: false},
+ "ssh_keep_alive_interval": &hcldec.AttrSpec{Name: "ssh_keep_alive_interval", Type: cty.String, Required: false},
+ "ssh_read_write_timeout": &hcldec.AttrSpec{Name: "ssh_read_write_timeout", Type: cty.String, Required: false},
+ "ssh_remote_tunnels": &hcldec.AttrSpec{Name: "ssh_remote_tunnels", Type: cty.List(cty.String), Required: false},
+ "ssh_local_tunnels": &hcldec.AttrSpec{Name: "ssh_local_tunnels", Type: cty.List(cty.String), Required: false},
+ "ssh_public_key": &hcldec.AttrSpec{Name: "ssh_public_key", Type: cty.List(cty.Number), Required: false},
+ "ssh_private_key": &hcldec.AttrSpec{Name: "ssh_private_key", Type: cty.List(cty.Number), Required: false},
+ "winrm_username": &hcldec.AttrSpec{Name: "winrm_username", Type: cty.String, Required: false},
+ "winrm_password": &hcldec.AttrSpec{Name: "winrm_password", Type: cty.String, Required: false},
+ "winrm_host": &hcldec.AttrSpec{Name: "winrm_host", Type: cty.String, Required: false},
+ "winrm_port": &hcldec.AttrSpec{Name: "winrm_port", Type: cty.Number, Required: false},
+ "winrm_timeout": &hcldec.AttrSpec{Name: "winrm_timeout", Type: cty.String, Required: false},
+ "winrm_use_ssl": &hcldec.AttrSpec{Name: "winrm_use_ssl", Type: cty.Bool, Required: false},
+ "winrm_insecure": &hcldec.AttrSpec{Name: "winrm_insecure", Type: cty.Bool, Required: false},
+ "winrm_use_ntlm": &hcldec.AttrSpec{Name: "winrm_use_ntlm", Type: cty.Bool, Required: false},
+ "shutdown_command": &hcldec.AttrSpec{Name: "shutdown_command", Type: cty.String, Required: false},
+ "shutdown_timeout": &hcldec.AttrSpec{Name: "shutdown_timeout", Type: cty.String, Required: false},
+ "create_snapshot": &hcldec.AttrSpec{Name: "create_snapshot", Type: cty.Bool, Required: false},
+ "convert_to_template": &hcldec.AttrSpec{Name: "convert_to_template", Type: cty.Bool, Required: false},
+ }
+ return s
+}
diff --git a/builder/vsphere/iso/leak_test.go b/builder/vsphere/iso/leak_test.go
deleted file mode 100644
index c7e35604f..000000000
--- a/builder/vsphere/iso/leak_test.go
+++ /dev/null
@@ -1,8 +0,0 @@
-package iso
-
-import "testing"
-import "go.uber.org/goleak"
-
-func TestMain(m *testing.M) {
- goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"))
-}
diff --git a/builder/vsphere/test/test-key.pub b/builder/vsphere/test/test-key.pub
old mode 100755
new mode 100644
diff --git a/go.mod b/go.mod
index 7faf02788..8a7289ff5 100644
--- a/go.mod
+++ b/go.mod
@@ -145,13 +145,12 @@ require (
github.com/ufilesdk-dev/ufile-gosdk v0.0.0-20190830075812-b4dbc4ef43a6
github.com/ugorji/go v0.0.0-20151218193438-646ae4a518c1
github.com/ulikunitz/xz v0.5.5
- github.com/vmware/govmomi v0.0.0-20170707011325-c2105a174311
+ github.com/vmware/govmomi v0.21.0
github.com/xanzy/go-cloudstack v0.0.0-20190526095453-42f262b63ed0
github.com/yandex-cloud/go-genproto v0.0.0-20190916101622-7617782d381e
github.com/yandex-cloud/go-sdk v0.0.0-20190916101744-c781afa45829
github.com/zclconf/go-cty v1.1.2-0.20191126233707-f0f7fd24c4af
go.opencensus.io v0.22.2 // indirect
- go.uber.org/goleak v1.0.0
golang.org/x/crypto v0.0.0-20191202143827-86a70503ff7e
golang.org/x/exp v0.0.0-20191129062945-2f5052295587 // indirect
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect
diff --git a/go.sum b/go.sum
index 018566778..ba8e78e84 100644
--- a/go.sum
+++ b/go.sum
@@ -107,6 +107,7 @@ github.com/creack/goselect v0.1.0/go.mod h1:gHrIcH/9UZDn2qgeTUeW5K9eZsVYCH6/60J/
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892/go.mod h1:CTDl0pzVzE5DEzZhPfvhY/9sPFMQIxaJ9VAMs9AagrE=
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
github.com/digitalocean/go-libvirt v0.0.0-20190626172931-4d226dd6c437 h1:phR13shVFOIpa1pnLBmewI9p16NEladLPvVylLPeexo=
@@ -196,6 +197,7 @@ github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OI
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/shlex v0.0.0-20150127133951-6f45313302b9 h1:JM174NTeGNJ2m/oLH3UOWOvWQQKd+BoL3hcSCUWFLt0=
github.com/google/shlex v0.0.0-20150127133951-6f45313302b9/go.mod h1:RpwtwJQFrIEPstU94h88MWPXP2ektJZ8cZ0YntAmXiE=
+github.com/google/uuid v0.0.0-20170306145142-6a5e28554805/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA=
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
@@ -459,8 +461,9 @@ github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok=
github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8=
github.com/vmihailenco/msgpack v3.3.3+incompatible h1:wapg9xDUZDzGCNFlwc5SqI1rvcciqcxEHac4CYj89xI=
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
-github.com/vmware/govmomi v0.0.0-20170707011325-c2105a174311 h1:s5pyxd5S6wRs2WpEE0xRfWUF46Wbz44h203KnbX0ecI=
-github.com/vmware/govmomi v0.0.0-20170707011325-c2105a174311/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU=
+github.com/vmware/govmomi v0.21.0 h1:jc8uMuxpcV2xMAA/cnEDlnsIjvqcMra5Y8onh/U3VuY=
+github.com/vmware/govmomi v0.21.0/go.mod h1:zbnFoBQ9GIjs2RVETy8CNEpb+L+Lwkjs3XZUL0B3/m0=
+github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728/go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk=
github.com/xanzy/go-cloudstack v0.0.0-20190526095453-42f262b63ed0 h1:NJrcIkdzq0C3I8ypAZwFE9RHtGbfp+mJvqIcoFATZuk=
github.com/xanzy/go-cloudstack v0.0.0-20190526095453-42f262b63ed0/go.mod h1:sBh287mCRwCz6zyXHMmw7sSZGPohVpnx+o+OY4M+i3A=
github.com/yandex-cloud/go-genproto v0.0.0-20190916101622-7617782d381e h1:hzwq5GUKP0aQzDja1XP4sBYyOmnezs/RVtzP+xiLbfI=
@@ -478,8 +481,6 @@ go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2 h1:75k/FF0Q2YM8QYo07VPddOLBslDt1MZOdEslOHvmzAs=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
-go.uber.org/goleak v1.0.0 h1:qsup4IcBdlmsnGfqyLl4Ntn3C2XCCuKAE7DwHpScyUo=
-go.uber.org/goleak v1.0.0/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -613,7 +614,6 @@ golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20190909214602-067311248421/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
diff --git a/vendor/github.com/vmware/govmomi/.drone.sec b/vendor/github.com/vmware/govmomi/.drone.sec
deleted file mode 100644
index ad52e59ac..000000000
--- a/vendor/github.com/vmware/govmomi/.drone.sec
+++ /dev/null
@@ -1 +0,0 @@
-eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.kK6pryC8R-O1R0Gj9ydLvQuIZlcYLGze23WdW7xbpiEEKdz6nweJrMm7ysy8lgu1tM47JVo19p2_b26bNKSQshCUOETvd7Hb2UMZOjnyUnqdyAAyoi6UkIquXfUUbHTNS0iMxwSxxW9KMp2GXNq8-o6T8xQZTDirBJFKKd8ZNUasTaoa5j8U9IfdR1aCavTBuOhvk8IVs-jSbY5TVJMJiE0IOPXois7aRJ6uAiANQBk9VKLegEcZD_qAewecXHDsHi-u0jbmg3o3PPaJaK_Qv5dsPlR2M-E2kE3AGUn0-zn5zYRngoAZ8WZr2O4GvLdltJKq9i2z7jOrdOzzRcDRow.96qvwl_E1Hj15u7Q.hWs-jQ8FsqQFD7pE9N-UEP1BWQ9rsJIcCaPvQRIp8Fukm_vvlw9YEaEq0ERLrsUWsJWpd1ca8_h8x7xD6f_d5YppwRqRHIeGIsdBOTMhNs0lG8ikkQXLat-UroCpy8EC17nuUtDE2E2Kdxrk4Cdd6Bk-dKk0Ta4w3Ud0YBKa.P8zrO7xizgv0i98eVWWzEg
\ No newline at end of file
diff --git a/vendor/github.com/vmware/govmomi/.drone.yml b/vendor/github.com/vmware/govmomi/.drone.yml
deleted file mode 100644
index dee4bf5b3..000000000
--- a/vendor/github.com/vmware/govmomi/.drone.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-clone:
- tags: true
- path: github.com/vmware/govmomi
-build:
- image: golang:1.7
- pull: true
- environment:
- - GOVC_TEST_URL=$$GOVC_TEST_URL
- - GOVC_INSECURE=1
- - VCA=1
- commands:
- - make all install
- - git clone https://github.com/sstephenson/bats.git /tmp/bats
- - /tmp/bats/install.sh /usr/local
- - apt-get -qq update && apt-get install -yqq uuid-runtime bsdmainutils jq
- - govc/test/images/update.sh
- - bats govc/test
diff --git a/vendor/github.com/vmware/govmomi/.gitignore b/vendor/github.com/vmware/govmomi/.gitignore
index 769c24400..71b0b8426 100644
--- a/vendor/github.com/vmware/govmomi/.gitignore
+++ b/vendor/github.com/vmware/govmomi/.gitignore
@@ -1 +1,6 @@
secrets.yml
+dist/
+.idea/
+
+# Ignore editor temp files
+*~
diff --git a/vendor/github.com/vmware/govmomi/.goreleaser.yml b/vendor/github.com/vmware/govmomi/.goreleaser.yml
new file mode 100644
index 000000000..6a374cd9b
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/.goreleaser.yml
@@ -0,0 +1,118 @@
+---
+project_name: govmomi
+builds:
+- id: govc
+ goos:
+ - linux
+ - darwin
+ - windows
+ - freebsd
+ goarch:
+ - amd64
+ - 386
+ - arm64
+ env:
+ - CGO_ENABLED=0
+ main: ./govc/main.go
+ binary: govc
+ flags: -compiler gc
+ ldflags: -X github.com/vmware/govmomi/govc/flags.GitVersion={{.Version}}
+- id: vcsim
+ goos:
+ - linux
+ - darwin
+ - windows
+ - freebsd
+ goarch:
+ - amd64
+ - 386
+ - arm64
+ env:
+ - CGO_ENABLED=0
+ main: ./vcsim/main.go
+ binary: vcsim
+ flags: -compiler gc
+ ldflags: -X github.com/vmware/govmomi/vcsim/flags.GitVersion={{.Version}}
+archives:
+- id: govcbuild
+ builds: ['govc']
+ name_template: 'govc_{{ .Os }}_{{ .Arch }}'
+ format: gz
+ format_overrides:
+ - goos: windows
+ format: zip
+ files:
+ - none*
+- id: vcsimbuild
+ builds: ['vcsim']
+ name_template: 'vcsim_{{ .Os }}_{{ .Arch }}'
+ format: gz
+ format_overrides:
+ - goos: windows
+ format: zip
+ files:
+ - none*
+checksum:
+ name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
+changelog:
+ sort: asc
+ filters:
+ exclude:
+ - '^docs:'
+ - '^test:'
+ - Merge pull request
+ - Merge branch
+brews:
+ - name: govc
+ ids:
+ - govc
+ github:
+ owner: govmomi
+ name: homebrew-tap
+ commit_author:
+ name: Alfred the Narwhal
+ email: cna-alfred@vmware.com
+ folder: Formula
+ homepage: "https://github.com/vmware/govmomi/blob/master/govc/README.md"
+ description: "govc is a vSphere CLI built on top of govmomi."
+ test: |
+ system "#{bin}/govc version"
+ install: |
+ bin.install "govc"
+ - name: vcsim
+ ids:
+ - vcsim
+ github:
+ owner: govmomi
+ name: homebrew-tap
+ commit_author:
+ name: Alfred the Narwhal
+ email: cna-alfred@vmware.com
+ folder: Formula
+ homepage: "https://github.com/vmware/govmomi/blob/master/vcsim/README.md"
+ description: "vcsim is a vSphere API simulator built on top of govmomi."
+ test: |
+ system "#{bin}/vcsim -h"
+ install: |
+ bin.install "vcsim"
+dockers:
+- image_templates:
+ - "vmware/govc:{{ .Tag }}"
+ - "vmware/govc:v{{ .Major }}"
+ - "vmware/govc:v{{ .Major }}.{{ .Minor }}"
+ - "vmware/govc:latest"
+ goos: linux
+ goarch: amd64
+ dockerfile: Dockerfile.govc
+ binaries:
+ - govc
+- image_templates:
+ - "vmware/vcsim:{{ .Tag }}"
+ - "vmware/vcsim:v{{ .Major }}"
+ - "vmware/vcsim:v{{ .Major }}.{{ .Minor }}"
+ - "vmware/vcsim:latest"
+ goos: linux
+ goarch: amd64
+ dockerfile: Dockerfile.vcsim
+ binaries:
+ - vcsim
diff --git a/vendor/github.com/vmware/govmomi/.mailmap b/vendor/github.com/vmware/govmomi/.mailmap
index b6f07fac3..705bc72c3 100644
--- a/vendor/github.com/vmware/govmomi/.mailmap
+++ b/vendor/github.com/vmware/govmomi/.mailmap
@@ -1,17 +1,29 @@
+Amanda H. L. de Andrade amandahla
+Amanda H. L. de Andrade Amanda Hager Lopes de Andrade Katz
Amit Bathla
+Andrew Kutz akutz
+Andrew Kutz
+Andrew Kutz Andrew Kutz <101085+akutz@users.noreply.github.com>
Bruce Downs
Bruce Downs
+Bruce Downs
Clint Greenwood
Cédric Blomart
Cédric Blomart cedric
David Stark
Eric Gray
Eric Yutao eric
+Fabio Rapposelli
Henrik Hodne
Jeremy Canady
Pieter Noordhuis
Takaaki Furukawa takaaki.furukawa
Takaaki Furukawa tkak
Vadim Egorov
+Anfernee Yongkun Gui
+Anfernee Yongkun Gui Yongkun Anfernee Gui
Zach Tucker
Zee Yang
+Jiatong Wang jiatongw
+Uwe Bessle Uwe Bessle
+Uwe Bessle Uwe Bessle
diff --git a/vendor/github.com/vmware/govmomi/.travis.yml b/vendor/github.com/vmware/govmomi/.travis.yml
index 23798f283..8c474b77a 100644
--- a/vendor/github.com/vmware/govmomi/.travis.yml
+++ b/vendor/github.com/vmware/govmomi/.travis.yml
@@ -1,12 +1,95 @@
-sudo: false
+# Use the newer Travis-CI build templates based on the
+# Ubuntu Linux distribution "Xenial Xerus" release.
+os: linux
+dist: xenial
-language: go
+# Disable sudo for all builds by default. This ensures all jobs use
+# Travis-CI's containerized build environment unless specified otherwise.
+# The container builds have *much* shorter queue times than the VM-based
+# build environment on which the sudo builds depend.
+sudo: false
+services: false
-go:
- - 1.8
+# Set the version of Go.
+language: go
+go: 1.12
-before_install:
- - make vendor
+# Always set the project's Go import path to ensure that forked
+# builds get cloned to the correct location.
+go_import_path: github.com/vmware/govmomi
-script:
- - make check test
+# Ensure all the jobs know where the temp directory is.
+env:
+ global: TMPDIR=/tmp
+
+jobs:
+ include:
+
+ # The "lint" stage runs the various linters against the project.
+ - &lint-stage
+ stage: lint
+ env: LINTER=govet
+ install: true
+ script: make "${LINTER}"
+
+ - <<: *lint-stage
+ env: LINTER=goimports
+
+ # The "build" stage verifies the program can be built against the
+ # various GOOS and GOARCH combinations found in the Go releaser
+ # config file, ".goreleaser.yml".
+ - &build-stage
+ stage: build
+ env: GOOS=linux GOARCH=amd64
+ install: true
+ script: make install
+
+ - <<: *build-stage
+ env: GOOS=linux GOARCH=386
+
+ - <<: *build-stage
+ env: GOOS=darwin GOARCH=amd64
+ - <<: *build-stage
+ env: GOOS=darwin GOARCH=386
+
+ - <<: *build-stage
+ env: GOOS=freebsd GOARCH=amd64
+ - <<: *build-stage
+ env: GOOS=freebsd GOARCH=386
+
+ - <<: *build-stage
+ env: GOOS=windows GOARCH=amd64
+ - <<: *build-stage
+ env: GOOS=windows GOARCH=386
+
+ # The test stage executes the test target.
+ - stage: test
+ install: true
+ script: make test
+
+ # The deploy stage deploys the build artifacts using goreleaser.
+ #
+ # This stage will only be activated when there is an annotated tag present
+ # or when the text "/ci-deploy" is present in the commit message. However,
+ # the "deploy" phase of the build will still only be executed on non-PR
+ # builds as that restriction is baked into Travis-CI.
+ #
+ # Finally, this stage requires the Travis-CI VM infrastructure in order to
+ # leverage Docker. This will increase the amount of time the jobs sit
+ # in the queue, waiting to be built. However, it's a necessity as Travis-CI
+ # only allows the use of Docker with VM builds.
+ - stage: deploy
+ if: tag IS present OR commit_message =~ /\/ci-deploy/
+ sudo: required
+ services: docker
+ install: true
+ script: make install
+ after_success: docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
+ deploy:
+ - provider: script
+ skip_cleanup: true
+ script: curl -sL http://git.io/goreleaser | bash
+ addons:
+ apt:
+ update: true
+ packages: xmlstarlet
diff --git a/vendor/github.com/vmware/govmomi/CHANGELOG.md b/vendor/github.com/vmware/govmomi/CHANGELOG.md
index 2dc436bf1..af8dde7bc 100644
--- a/vendor/github.com/vmware/govmomi/CHANGELOG.md
+++ b/vendor/github.com/vmware/govmomi/CHANGELOG.md
@@ -1,5 +1,81 @@
# changelog
+### 0.21.0 (2019-07-24)
+
+* Add vsan package
+
+* Add vslm (FCD) global catalog support
+
+* Add content library support
+
+### 0.20.0 (2019-02-06)
+
+* Add vslm package for managing First Class Disks
+
+* Add LoginByToken to session KeepAliveHandler
+
+### 0.19.0 (2018-09-30)
+
+* New vapi/rest and and vapi/tags packages
+
+* Allowing the use of STS for exchanging tokens
+
+* Add object.VirtualMachine.UUID method
+
+* SetRootCAs on the soap.Client returns an error for invalid certificates
+
+* Add ClusterComputeResource.MoveInto method
+
+### 0.18.0 (2018-05-24)
+
+* Add VirtualDiskManager wrapper to set UUID
+
+* Add vmxnet2, pcnet32 and sriov to VirtualDeviceList.EthernetCardTypes
+
+* Add new vSphere 6.7 APIs
+
+* Decrease LoginExtensionByCertificate tunnel usage
+
+* SAML token authentication support via SessionManager.LoginByToken
+
+* New SSO admin client for managing users
+
+* New STS client for issuing and renewing SAML tokens
+
+* New Lookup Service client for discovering endpoints such as STS and ssoadmin
+
+* Switch from gvt to go dep for managing dependencies
+
+### 0.17.1 (2018-03-19)
+
+* vcsim: add Destroy method for Folder and Datacenter types
+
+* In progress.Reader emit final report on EOF.
+
+* vcsim: add EventManager.QueryEvents
+
+### 0.17.0 (2018-02-28)
+
+* Add HostStorageSystem.AttachScsiLun method
+
+* Avoid possible panic in Datastore.Stat (#969)
+
+* Destroy event history collectors (#962)
+
+* Add VirtualDiskManager.CreateChildDisk method
+
+### 0.16.0 (2017-11-08)
+
+* Add support for SOAP request operation ID header
+
+* Moved ovf helpers from govc import.ovf command to ovf and nfc packages
+
+* Added guest/toolbox (client) package
+
+* Added toolbox package and toolbox command
+
+* Added simulator package and vcsim command
+
### 0.15.0 (2017-06-19)
* WaitOptions.MaxWaitSeconds is now optional
diff --git a/vendor/github.com/vmware/govmomi/CONTRIBUTORS b/vendor/github.com/vmware/govmomi/CONTRIBUTORS
index 22630d95e..93ca21b68 100644
--- a/vendor/github.com/vmware/govmomi/CONTRIBUTORS
+++ b/vendor/github.com/vmware/govmomi/CONTRIBUTORS
@@ -3,34 +3,55 @@
# This script is generated by contributors.sh
#
+Abhijeet Kasurde
abrarshivani
+Adam Shannon
+Alessandro Cortiana
+Alex Bozhenko
+Alex Ellis (VMware)
+Alex
Alvaro Miranda
-amandahla
+Amanda H. L. de Andrade
Amit Bathla
+amit bezalel
+Andrew
Andrew Chin
+Andrew Kutz
+Andrey Klimentyev
+Anfernee Yongkun Gui
+angystardust
aniketGslab
Arran Walker
Aryeh Weinreb
Austin Parker
Balu Dontu
bastienbc
+Benjamin Peterson
Bob Killen
Brad Fitzpatrick
Bruce Downs
Cédric Blomart
+Chris Marchesi
Christian Höltje
Clint Greenwood
+CuiHaozhi
Danny Lockard
+Dave Smith-Uchida
Dave Tucker
Davide Agnello
David Stark
+Davinder Kumar
+Deric Crago
Doug MacEachern
Eloy Coto
Eric Gray
Eric Yutao
+Erik Hollensbe
+Ethan Kaley
Fabio Rapposelli
Faiyaz Ahmed
forkbomber
+freebsdly
Gavin Gray
Gavrie Philipson
George Hicken
@@ -38,24 +59,65 @@ Gerrit Renker
gthombare
Hasan Mahmood
Henrik Hodne
+hui luo
Isaac Rodman
Ivan Porto Carrero
+James King
Jason Kincl
Jeremy Canady
+jeremy-clerc
+Jiatong Wang
+João Pereira
+Jonas Ausevicius
+Jorge Sevilla
+kayrus
+Kevin George
+leslie-qiwa
Louie Jiang
+maplain
Marc Carmier
+Maria Ntalla
+Marin Atanasov Nikolov
+Mario Trangoni
+Mark Peek
+Matt Clay
+Matthew Cosgrove
+Matt Moriarity
Mevan Samaratunga
+Michal Jankowski
+mingwei
Nicolas Lamirault
+Omar Kohl
+Parham Alvani
+Pierre Gronlier
Pieter Noordhuis
+prydin
+rHermes
+Rowan Jacobs
runner.mei
S.Çağlar Onur
Sergey Ignatov
+Sten Feldman
+Stepan Mazurov
Steve Purcell
Takaaki Furukawa
+Tamas Eger
+tanishi
Ted Zlatanov
Thibaut Ackermann
+Tim McNamara
+Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>
+Trevor Dawe
+Uwe Bessle
Vadim Egorov
+Vikram Krishnamurthy
+Volodymyr Bobyr
+William Lam
+Witold Krecicki
Yang Yang
+ykakarap
Yuya Kusakabe
+Zacharias Taubert
Zach Tucker
Zee Yang
+zyuxin
diff --git a/vendor/github.com/vmware/govmomi/Dockerfile.govc b/vendor/github.com/vmware/govmomi/Dockerfile.govc
new file mode 100644
index 000000000..4f84fadaa
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/Dockerfile.govc
@@ -0,0 +1,4 @@
+FROM scratch
+LABEL maintainer="fabio@vmware.com"
+COPY govc /
+ENTRYPOINT [ "/govc" ]
\ No newline at end of file
diff --git a/vendor/github.com/vmware/govmomi/Dockerfile.vcsim b/vendor/github.com/vmware/govmomi/Dockerfile.vcsim
new file mode 100644
index 000000000..117e9b553
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/Dockerfile.vcsim
@@ -0,0 +1,4 @@
+FROM scratch
+LABEL maintainer="fabio@vmware.com"
+COPY vcsim /
+ENTRYPOINT [ "/vcsim" ]
\ No newline at end of file
diff --git a/vendor/github.com/vmware/govmomi/Gopkg.lock b/vendor/github.com/vmware/govmomi/Gopkg.lock
new file mode 100644
index 000000000..f45057fb2
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/Gopkg.lock
@@ -0,0 +1,60 @@
+# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
+
+
+[[projects]]
+ branch = "improvements"
+ digest = "1:b183578c34fabccaf65f1a57d2efeec2086abdce1446978d69ab3a0016cb750c"
+ name = "github.com/davecgh/go-xdr"
+ packages = ["xdr2"]
+ pruneopts = "NUT"
+ revision = "4930550ba2e22f87187498acfd78348b15f4e7a8"
+ source = "https://github.com/rasky/go-xdr"
+
+[[projects]]
+ digest = "1:1ab18cf8c2084968d6dca0dd46fbda9efba08664ecd7957b63c7ca57bb2455df"
+ name = "github.com/google/uuid"
+ packages = ["."]
+ pruneopts = "NUT"
+ revision = "6a5e28554805e78ea6141142aba763936c4761c0"
+
+[[projects]]
+ branch = "govmomi"
+ digest = "1:f49ed6cb2129e9a3ce9dde5037cb243b5849c0ec0c7973b9d1e987872d8b8cc6"
+ name = "github.com/kr/pretty"
+ packages = ["."]
+ pruneopts = "NUT"
+ revision = "2ee9d7453c02ef7fa518a83ae23644eb8872186a"
+ source = "https://github.com/dougm/pretty"
+
+[[projects]]
+ branch = "master"
+ digest = "1:c3a7836b5904db0f8b609595b619916a6831cb35b8b714aec39f96d00c6155d8"
+ name = "github.com/kr/text"
+ packages = ["."]
+ pruneopts = "NUT"
+ revision = "7cafcd837844e784b526369c9bce262804aebc60"
+
+[[projects]]
+ branch = "master"
+ digest = "1:4bea31865971675c482ed875caeabe7d2182dcb47d52900b7da5236d66dc9970"
+ name = "github.com/vmware/vmw-guestinfo"
+ packages = [
+ "bdoor",
+ "message",
+ "vmcheck",
+ ]
+ pruneopts = "NUT"
+ revision = "25eff159a728be87e103a0b8045e08273f4dbec4"
+
+[solve-meta]
+ analyzer-name = "dep"
+ analyzer-version = 1
+ input-imports = [
+ "github.com/davecgh/go-xdr/xdr2",
+ "github.com/google/uuid",
+ "github.com/kr/pretty",
+ "github.com/vmware/vmw-guestinfo/message",
+ "github.com/vmware/vmw-guestinfo/vmcheck",
+ ]
+ solver-name = "gps-cdcl"
+ solver-version = 1
diff --git a/vendor/github.com/vmware/govmomi/Gopkg.toml b/vendor/github.com/vmware/govmomi/Gopkg.toml
new file mode 100644
index 000000000..4c4d6765e
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/Gopkg.toml
@@ -0,0 +1,19 @@
+# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
+# for detailed Gopkg.toml documentation.
+#
+# Refer to https://github.com/toml-lang/toml for detailed TOML docs.
+
+[prune]
+ non-go = true
+ go-tests = true
+ unused-packages = true
+
+[[constraint]]
+ branch = "improvements"
+ name = "github.com/davecgh/go-xdr"
+ source = "https://github.com/rasky/go-xdr"
+
+[[constraint]]
+ branch = "govmomi"
+ name = "github.com/kr/pretty"
+ source = "https://github.com/dougm/pretty"
diff --git a/vendor/github.com/vmware/govmomi/Makefile b/vendor/github.com/vmware/govmomi/Makefile
index 9ffd57516..99898f78c 100644
--- a/vendor/github.com/vmware/govmomi/Makefile
+++ b/vendor/github.com/vmware/govmomi/Makefile
@@ -1,4 +1,5 @@
-.PHONY: test
+GO ?= go
+pkgs = $(shell $(GO) list ./... | grep -v 'github.com/vmware/govmomi/vim25/xml')
all: check test
@@ -6,19 +7,26 @@ check: goimports govet
goimports:
@echo checking go imports...
- @go get golang.org/x/tools/cmd/goimports
+ @command -v goimports >/dev/null 2>&1 || $(GO) get golang.org/x/tools/cmd/goimports
@! goimports -d . 2>&1 | egrep -v '^$$'
govet:
@echo checking go vet...
- @go tool vet -structtags=false -methods=false $$(find . -mindepth 1 -maxdepth 1 -type d -not -name vendor)
-
-test:
- go test -v $(TEST_OPTS) ./...
+ @$(GO) vet -structtag=false -methods=false $(pkgs)
install:
- go install -v github.com/vmware/govmomi/govc
- go install -v github.com/vmware/govmomi/vcsim
+ $(MAKE) -C govc install
+ $(MAKE) -C vcsim install
+
+go-test:
+ GORACE=history_size=5 $(GO) test -timeout 5m -count 1 -race -v $(TEST_OPTS) ./...
+
+govc-test: install
+ ./govc/test/images/update.sh
+ (cd govc/test && ./vendor/github.com/sstephenson/bats/libexec/bats -t .)
+
+.PHONY: test
+test: go-test govc-test
doc: install
./govc/usage.sh > ./govc/USAGE.md
diff --git a/vendor/github.com/vmware/govmomi/README.md b/vendor/github.com/vmware/govmomi/README.md
index b5978ddb0..d1764705d 100644
--- a/vendor/github.com/vmware/govmomi/README.md
+++ b/vendor/github.com/vmware/govmomi/README.md
@@ -5,14 +5,19 @@
A Go library for interacting with VMware vSphere APIs (ESXi and/or vCenter).
-For `govc`, a CLI built on top of govmomi, check out the [govc](./govc) directory and [USAGE](./govc/USAGE.md) document.
+In addition to the vSphere API client, this repository includes:
+
+* [govc](./govc) - vSphere CLI
+
+* [vcsim](./vcsim) - vSphere API mock framework
+
+* [toolbox](./toolbox) - VM guest tools framework
## Compatibility
-This library is built for and tested against ESXi and vCenter 5.5, 6.0 and 6.5.
+This library is built for and tested against ESXi and vCenter 6.0, 6.5 and 6.7.
-If you're able to use it against older versions of ESXi and/or vCenter, please
-leave a note and we'll include it in this compatibility list.
+It may work with versions 5.5 and 5.1, but neither are officially supported.
## Documentation
@@ -25,17 +30,12 @@ See [godoc.org][godoc] for documentation.
[apiref]:http://pubs.vmware.com/vsphere-6-5/index.jsp#com.vmware.wssdk.apiref.doc/right-pane.html
[godoc]:http://godoc.org/github.com/vmware/govmomi
-[drone]:https://drone.io
-[dronesrc]:https://github.com/drone/drone
-[dronecli]:http://readme.drone.io/devs/cli/
-#### Building with CI
-Merges to this repository will trigger builds in both Travis and [Drone][drone].
+## Installation
-To build locally with Drone:
-- Ensure that you have Docker 1.6 or higher installed.
-- Install the [Drone command line tools][dronecli].
-- Run `drone exec` from within the root directory of the govmomi repository.
+```sh
+go get -u github.com/vmware/govmomi
+```
## Discussion
@@ -53,9 +53,21 @@ Refer to the [CHANGELOG](CHANGELOG.md) for version to version changes.
* [Docker Machine](https://github.com/docker/machine/tree/master/drivers/vmwarevsphere)
+* [Docker InfraKit](https://github.com/docker/infrakit/tree/master/pkg/provider/vsphere)
+
+* [Docker LinuxKit](https://github.com/linuxkit/linuxkit/tree/master/src/cmd/linuxkit)
+
* [Kubernetes](https://github.com/kubernetes/kubernetes/tree/master/pkg/cloudprovider/providers/vsphere)
-* [Terraform](https://github.com/hashicorp/terraform/tree/master/builtin/providers/vsphere)
+* [Kubernetes Cloud Provider](https://github.com/kubernetes/cloud-provider-vsphere)
+
+* [Kubernetes Cluster API](https://github.com/kubernetes-sigs/cluster-api-provider-vsphere)
+
+* [Kubernetes kops](https://github.com/kubernetes/kops/tree/master/upup/pkg/fi/cloudup/vsphere)
+
+* [Terraform](https://github.com/terraform-providers/terraform-provider-vsphere)
+
+* [Packer](https://github.com/jetbrains-infra/packer-builder-vsphere)
* [VMware VIC Engine](https://github.com/vmware/vic)
@@ -67,6 +79,12 @@ Refer to the [CHANGELOG](CHANGELOG.md) for version to version changes.
* [Libretto](https://github.com/apcera/libretto/tree/master/virtualmachine/vsphere)
+* [Telegraf](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/vsphere)
+
+* [Open Storage](https://github.com/libopenstorage/openstorage/tree/master/pkg/storageops/vsphere)
+
+* [Juju](https://github.com/juju/juju)
+
## Related projects
* [rbvmomi](https://github.com/vmware/rbvmomi)
@@ -75,4 +93,4 @@ Refer to the [CHANGELOG](CHANGELOG.md) for version to version changes.
## License
-govmomi is available under the [Apache 2 license](LICENSE).
+govmomi is available under the [Apache 2 license](LICENSE.txt).
diff --git a/vendor/github.com/vmware/govmomi/client.go b/vendor/github.com/vmware/govmomi/client.go
index e3dc7976a..ad49fe6bf 100644
--- a/vendor/github.com/vmware/govmomi/client.go
+++ b/vendor/github.com/vmware/govmomi/client.go
@@ -58,7 +58,6 @@ package govmomi
import (
"context"
- "crypto/tls"
"net/url"
"github.com/vmware/govmomi/property"
@@ -99,41 +98,11 @@ func NewClient(ctx context.Context, u *url.URL, insecure bool) (*Client, error)
return c, nil
}
-// NewClientWithCertificate creates a new client from a URL. The client authenticates with the
-// server with the certificate before returning if the URL contains user information.
-func NewClientWithCertificate(ctx context.Context, u *url.URL, insecure bool, cert tls.Certificate) (*Client, error) {
- soapClient := soap.NewClient(u, insecure)
- soapClient.SetCertificate(cert)
- vimClient, err := vim25.NewClient(ctx, soapClient)
- if err != nil {
- return nil, err
- }
-
- c := &Client{
- Client: vimClient,
- SessionManager: session.NewManager(vimClient),
- }
-
- if u.User != nil {
- err = c.LoginExtensionByCertificate(ctx, u.User.Username(), "")
- if err != nil {
- return nil, err
- }
- }
-
- return c, nil
-}
-
// Login dispatches to the SessionManager.
func (c *Client) Login(ctx context.Context, u *url.Userinfo) error {
return c.SessionManager.Login(ctx, u)
}
-// Login dispatches to the SessionManager.
-func (c *Client) LoginExtensionByCertificate(ctx context.Context, key string, locale string) error {
- return c.SessionManager.LoginExtensionByCertificate(ctx, key, locale)
-}
-
// Logout dispatches to the SessionManager.
func (c *Client) Logout(ctx context.Context) error {
// Close any idle connections after logging out.
diff --git a/vendor/github.com/vmware/govmomi/find/finder.go b/vendor/github.com/vmware/govmomi/find/finder.go
index 04d0e891a..a46c70bf5 100644
--- a/vendor/github.com/vmware/govmomi/find/finder.go
+++ b/vendor/github.com/vmware/govmomi/find/finder.go
@@ -38,16 +38,26 @@ type Finder struct {
folders *object.DatacenterFolders
}
-func NewFinder(client *vim25.Client, all bool) *Finder {
+func NewFinder(client *vim25.Client, all ...bool) *Finder {
+ props := false
+ if len(all) == 1 {
+ props = all[0]
+ }
+
f := &Finder{
client: client,
si: object.NewSearchIndex(client),
r: recurser{
Collector: property.DefaultCollector(client),
- All: all,
+ All: props,
},
}
+ if len(all) == 0 {
+ // attempt to avoid SetDatacenter() requirement
+ f.dc, _ = f.DefaultDatacenter(context.Background())
+ }
+
return f
}
@@ -253,7 +263,7 @@ func (f *Finder) managedObjectList(ctx context.Context, path string, tl bool, in
fn = f.dcReference
}
- if len(path) == 0 {
+ if path == "" {
path = "."
}
@@ -625,6 +635,15 @@ func (f *Finder) ClusterComputeResourceList(ctx context.Context, path string) ([
return ccrs, nil
}
+func (f *Finder) DefaultClusterComputeResource(ctx context.Context) (*object.ClusterComputeResource, error) {
+ cr, err := f.ClusterComputeResource(ctx, "*")
+ if err != nil {
+ return nil, toDefaultError(err)
+ }
+
+ return cr, nil
+}
+
func (f *Finder) ClusterComputeResource(ctx context.Context, path string) (*object.ClusterComputeResource, error) {
ccrs, err := f.ClusterComputeResourceList(ctx, path)
if err != nil {
@@ -638,6 +657,18 @@ func (f *Finder) ClusterComputeResource(ctx context.Context, path string) (*obje
return ccrs[0], nil
}
+func (f *Finder) ClusterComputeResourceOrDefault(ctx context.Context, path string) (*object.ClusterComputeResource, error) {
+ if path != "" {
+ cr, err := f.ClusterComputeResource(ctx, path)
+ if err != nil {
+ return nil, err
+ }
+ return cr, nil
+ }
+
+ return f.DefaultClusterComputeResource(ctx)
+}
+
func (f *Finder) HostSystemList(ctx context.Context, path string) ([]*object.HostSystem, error) {
s := &spec{
Relative: f.hostFolder,
@@ -695,7 +726,7 @@ func (f *Finder) HostSystem(ctx context.Context, path string) (*object.HostSyste
}
func (f *Finder) DefaultHostSystem(ctx context.Context) (*object.HostSystem, error) {
- hs, err := f.HostSystem(ctx, "*/*")
+ hs, err := f.HostSystem(ctx, "*")
if err != nil {
return nil, toDefaultError(err)
}
@@ -885,6 +916,12 @@ func (f *Finder) DefaultFolder(ctx context.Context) (*object.Folder, error) {
}
folder := object.NewFolder(f.client, ref.Reference())
+ // Set the InventoryPath of the newly created folder object
+ // The default foler becomes the datacenter's "vm" folder.
+ // The "vm" folder always exists for a datacenter. It cannot be
+ // removed or replaced
+ folder.SetInventoryPath(path.Join(f.dc.InventoryPath, "vm"))
+
return folder, nil
}
diff --git a/vendor/github.com/vmware/govmomi/find/recurser.go b/vendor/github.com/vmware/govmomi/find/recurser.go
index 806029568..80d958a26 100644
--- a/vendor/github.com/vmware/govmomi/find/recurser.go
+++ b/vendor/github.com/vmware/govmomi/find/recurser.go
@@ -190,7 +190,7 @@ func (r recurser) List(ctx context.Context, s *spec, root list.Element, parts []
}
if !matched {
- matched = strings.HasSuffix(e.Path, path.Join(all...))
+ matched = strings.HasSuffix(e.Path, "/"+path.Join(all...))
if matched {
// name contains a '/'
out = append(out, e)
diff --git a/vendor/github.com/vmware/govmomi/go.mod b/vendor/github.com/vmware/govmomi/go.mod
new file mode 100644
index 000000000..50a00611d
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/go.mod
@@ -0,0 +1,13 @@
+module github.com/vmware/govmomi
+
+replace github.com/davecgh/go-xdr => github.com/rasky/go-xdr v0.0.0-20170217172119-4930550ba2e2
+
+replace github.com/kr/pretty v0.1.0 => github.com/dougm/pretty v0.0.0-20171025230240-2ee9d7453c02
+
+require (
+ github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892
+ github.com/google/uuid v0.0.0-20170306145142-6a5e28554805
+ github.com/kr/pretty v0.1.0
+ github.com/kr/text v0.1.0 // indirect
+ github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728
+)
diff --git a/vendor/github.com/vmware/govmomi/go.sum b/vendor/github.com/vmware/govmomi/go.sum
new file mode 100644
index 000000000..72b4a8ed2
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/go.sum
@@ -0,0 +1,13 @@
+github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892 h1:qg9VbHo1TlL0KDM0vYvBG9EY0X0Yku5WYIPoFWt8f6o=
+github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892/go.mod h1:CTDl0pzVzE5DEzZhPfvhY/9sPFMQIxaJ9VAMs9AagrE=
+github.com/dougm/pretty v0.0.0-20171025230240-2ee9d7453c02 h1:tR3jsKPiO/mb6ntzk/dJlHZtm37CPfVp1C9KIo534+4=
+github.com/dougm/pretty v0.0.0-20171025230240-2ee9d7453c02/go.mod h1:7NQ3kWOx2cZOSjtcveTa5nqupVr2s6/83sG+rTlI7uA=
+github.com/google/uuid v0.0.0-20170306145142-6a5e28554805 h1:skl44gU1qEIcRpwKjb9bhlRwjvr96wLdvpTogCBBJe8=
+github.com/google/uuid v0.0.0-20170306145142-6a5e28554805/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
+github.com/rasky/go-xdr v0.0.0-20170217172119-4930550ba2e2 h1:lbe6PJ3nOQAUvpx9P3GtsQ/jyNBOHLV+cj2++uZrpa4=
+github.com/rasky/go-xdr v0.0.0-20170217172119-4930550ba2e2/go.mod h1:Nfe4efndBz4TibWycNE+lqyJZiMX4ycx+QKV8Ta0f/o=
+github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728 h1:sH9mEk+flyDxiUa5BuPiuhDETMbzrt9A20I2wktMvRQ=
+github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728/go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk=
diff --git a/vendor/github.com/vmware/govmomi/nfc/lease.go b/vendor/github.com/vmware/govmomi/nfc/lease.go
new file mode 100644
index 000000000..d6c90ac52
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/nfc/lease.go
@@ -0,0 +1,233 @@
+/*
+Copyright (c) 2015-2017 VMware, Inc. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package nfc
+
+import (
+ "context"
+ "errors"
+ "fmt"
+ "io"
+ "path"
+
+ "github.com/vmware/govmomi/property"
+ "github.com/vmware/govmomi/vim25"
+ "github.com/vmware/govmomi/vim25/methods"
+ "github.com/vmware/govmomi/vim25/mo"
+ "github.com/vmware/govmomi/vim25/soap"
+ "github.com/vmware/govmomi/vim25/types"
+)
+
+type Lease struct {
+ types.ManagedObjectReference
+
+ c *vim25.Client
+}
+
+func NewLease(c *vim25.Client, ref types.ManagedObjectReference) *Lease {
+ return &Lease{ref, c}
+}
+
+// Abort wraps methods.Abort
+func (l *Lease) Abort(ctx context.Context, fault *types.LocalizedMethodFault) error {
+ req := types.HttpNfcLeaseAbort{
+ This: l.Reference(),
+ Fault: fault,
+ }
+
+ _, err := methods.HttpNfcLeaseAbort(ctx, l.c, &req)
+ if err != nil {
+ return err
+ }
+
+ return nil
+}
+
+// Complete wraps methods.Complete
+func (l *Lease) Complete(ctx context.Context) error {
+ req := types.HttpNfcLeaseComplete{
+ This: l.Reference(),
+ }
+
+ _, err := methods.HttpNfcLeaseComplete(ctx, l.c, &req)
+ if err != nil {
+ return err
+ }
+
+ return nil
+}
+
+// GetManifest wraps methods.GetManifest
+func (l *Lease) GetManifest(ctx context.Context) error {
+ req := types.HttpNfcLeaseGetManifest{
+ This: l.Reference(),
+ }
+
+ _, err := methods.HttpNfcLeaseGetManifest(ctx, l.c, &req)
+ if err != nil {
+ return err
+ }
+
+ return nil
+}
+
+// Progress wraps methods.Progress
+func (l *Lease) Progress(ctx context.Context, percent int32) error {
+ req := types.HttpNfcLeaseProgress{
+ This: l.Reference(),
+ Percent: percent,
+ }
+
+ _, err := methods.HttpNfcLeaseProgress(ctx, l.c, &req)
+ if err != nil {
+ return err
+ }
+
+ return nil
+}
+
+type LeaseInfo struct {
+ types.HttpNfcLeaseInfo
+
+ Items []FileItem
+}
+
+func (l *Lease) newLeaseInfo(li *types.HttpNfcLeaseInfo, items []types.OvfFileItem) (*LeaseInfo, error) {
+ info := &LeaseInfo{
+ HttpNfcLeaseInfo: *li,
+ }
+
+ for _, device := range li.DeviceUrl {
+ u, err := l.c.ParseURL(device.Url)
+ if err != nil {
+ return nil, err
+ }
+
+ if device.SslThumbprint != "" {
+ // TODO: prefer host management IP
+ l.c.SetThumbprint(u.Host, device.SslThumbprint)
+ }
+
+ if len(items) == 0 {
+ // this is an export
+ item := types.OvfFileItem{
+ DeviceId: device.Key,
+ Path: device.TargetId,
+ Size: device.FileSize,
+ }
+
+ if item.Size == 0 {
+ item.Size = li.TotalDiskCapacityInKB * 1024
+ }
+
+ if item.Path == "" {
+ item.Path = path.Base(device.Url)
+ }
+
+ info.Items = append(info.Items, NewFileItem(u, item))
+
+ continue
+ }
+
+ // this is an import
+ for _, item := range items {
+ if device.ImportKey == item.DeviceId {
+ info.Items = append(info.Items, NewFileItem(u, item))
+ break
+ }
+ }
+ }
+
+ return info, nil
+}
+
+func (l *Lease) Wait(ctx context.Context, items []types.OvfFileItem) (*LeaseInfo, error) {
+ var lease mo.HttpNfcLease
+
+ pc := property.DefaultCollector(l.c)
+ err := property.Wait(ctx, pc, l.Reference(), []string{"state", "info", "error"}, func(pc []types.PropertyChange) bool {
+ done := false
+
+ for _, c := range pc {
+ if c.Val == nil {
+ continue
+ }
+
+ switch c.Name {
+ case "error":
+ val := c.Val.(types.LocalizedMethodFault)
+ lease.Error = &val
+ done = true
+ case "info":
+ val := c.Val.(types.HttpNfcLeaseInfo)
+ lease.Info = &val
+ case "state":
+ lease.State = c.Val.(types.HttpNfcLeaseState)
+ if lease.State != types.HttpNfcLeaseStateInitializing {
+ done = true
+ }
+ }
+ }
+
+ return done
+ })
+
+ if err != nil {
+ return nil, err
+ }
+
+ if lease.State == types.HttpNfcLeaseStateReady {
+ return l.newLeaseInfo(lease.Info, items)
+ }
+
+ if lease.Error != nil {
+ return nil, errors.New(lease.Error.LocalizedMessage)
+ }
+
+ return nil, fmt.Errorf("unexpected nfc lease state: %s", lease.State)
+}
+
+func (l *Lease) StartUpdater(ctx context.Context, info *LeaseInfo) *LeaseUpdater {
+ return newLeaseUpdater(ctx, l, info)
+}
+
+func (l *Lease) Upload(ctx context.Context, item FileItem, f io.Reader, opts soap.Upload) error {
+ if opts.Progress == nil {
+ opts.Progress = item
+ }
+
+ // Non-disk files (such as .iso) use the PUT method.
+ // Overwrite: t header is also required in this case (ovftool does the same)
+ if item.Create {
+ opts.Method = "PUT"
+ opts.Headers = map[string]string{
+ "Overwrite": "t",
+ }
+ } else {
+ opts.Method = "POST"
+ opts.Type = "application/x-vnd.vmware-streamVmdk"
+ }
+
+ return l.c.Upload(ctx, f, item.URL, &opts)
+}
+
+func (l *Lease) DownloadFile(ctx context.Context, file string, item FileItem, opts soap.Download) error {
+ if opts.Progress == nil {
+ opts.Progress = item
+ }
+
+ return l.c.DownloadFile(ctx, file, item.URL, &opts)
+}
diff --git a/vendor/github.com/vmware/govmomi/nfc/lease_updater.go b/vendor/github.com/vmware/govmomi/nfc/lease_updater.go
new file mode 100644
index 000000000..02ce9cf53
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/nfc/lease_updater.go
@@ -0,0 +1,146 @@
+/*
+Copyright (c) 2014-2015 VMware, Inc. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package nfc
+
+import (
+ "context"
+ "log"
+ "net/url"
+ "sync"
+ "sync/atomic"
+ "time"
+
+ "github.com/vmware/govmomi/vim25/progress"
+ "github.com/vmware/govmomi/vim25/types"
+)
+
+type FileItem struct {
+ types.OvfFileItem
+ URL *url.URL
+
+ ch chan progress.Report
+}
+
+func NewFileItem(u *url.URL, item types.OvfFileItem) FileItem {
+ return FileItem{
+ OvfFileItem: item,
+ URL: u,
+ ch: make(chan progress.Report),
+ }
+}
+
+func (o FileItem) Sink() chan<- progress.Report {
+ return o.ch
+}
+
+// File converts the FileItem.OvfFileItem to an OvfFile
+func (o FileItem) File() types.OvfFile {
+ return types.OvfFile{
+ DeviceId: o.DeviceId,
+ Path: o.Path,
+ Size: o.Size,
+ }
+}
+
+type LeaseUpdater struct {
+ pos int64 // Number of bytes (keep first to ensure 64 bit alignment)
+ total int64 // Total number of bytes (keep first to ensure 64 bit alignment)
+
+ lease *Lease
+
+ done chan struct{} // When lease updater should stop
+
+ wg sync.WaitGroup // Track when update loop is done
+}
+
+func newLeaseUpdater(ctx context.Context, lease *Lease, info *LeaseInfo) *LeaseUpdater {
+ l := LeaseUpdater{
+ lease: lease,
+
+ done: make(chan struct{}),
+ }
+
+ for _, item := range info.Items {
+ l.total += item.Size
+ go l.waitForProgress(item)
+ }
+
+ // Kickstart update loop
+ l.wg.Add(1)
+ go l.run()
+
+ return &l
+}
+
+func (l *LeaseUpdater) waitForProgress(item FileItem) {
+ var pos, total int64
+
+ total = item.Size
+
+ for {
+ select {
+ case <-l.done:
+ return
+ case p, ok := <-item.ch:
+ // Return in case of error
+ if ok && p.Error() != nil {
+ return
+ }
+
+ if !ok {
+ // Last element on the channel, add to total
+ atomic.AddInt64(&l.pos, total-pos)
+ return
+ }
+
+ // Approximate progress in number of bytes
+ x := int64(float32(total) * (p.Percentage() / 100.0))
+ atomic.AddInt64(&l.pos, x-pos)
+ pos = x
+ }
+ }
+}
+
+func (l *LeaseUpdater) run() {
+ defer l.wg.Done()
+
+ tick := time.NewTicker(2 * time.Second)
+ defer tick.Stop()
+
+ for {
+ select {
+ case <-l.done:
+ return
+ case <-tick.C:
+ // From the vim api HttpNfcLeaseProgress(percent) doc, percent ==
+ // "Completion status represented as an integer in the 0-100 range."
+ // Always report the current value of percent, as it will renew the
+ // lease even if the value hasn't changed or is 0.
+ percent := int32(float32(100*atomic.LoadInt64(&l.pos)) / float32(l.total))
+ err := l.lease.Progress(context.TODO(), percent)
+ if err != nil {
+ log.Printf("NFC lease progress: %s", err)
+ return
+ }
+ }
+ }
+}
+
+func (l *LeaseUpdater) Done() {
+ close(l.done)
+ l.wg.Wait()
+}
diff --git a/vendor/github.com/vmware/govmomi/object/cluster_compute_resource.go b/vendor/github.com/vmware/govmomi/object/cluster_compute_resource.go
index 225f41b6d..24c346825 100644
--- a/vendor/github.com/vmware/govmomi/object/cluster_compute_resource.go
+++ b/vendor/github.com/vmware/govmomi/object/cluster_compute_resource.go
@@ -21,6 +21,7 @@ import (
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/methods"
+ "github.com/vmware/govmomi/vim25/mo"
"github.com/vmware/govmomi/vim25/types"
)
@@ -34,19 +35,15 @@ func NewClusterComputeResource(c *vim25.Client, ref types.ManagedObjectReference
}
}
-func (c ClusterComputeResource) ReconfigureCluster(ctx context.Context, spec types.ClusterConfigSpec) (*Task, error) {
- req := types.ReconfigureCluster_Task{
- This: c.Reference(),
- Spec: spec,
- Modify: true,
- }
+func (c ClusterComputeResource) Configuration(ctx context.Context) (*types.ClusterConfigInfoEx, error) {
+ var obj mo.ClusterComputeResource
- res, err := methods.ReconfigureCluster_Task(ctx, c.c, &req)
+ err := c.Properties(ctx, c.Reference(), []string{"configurationEx"}, &obj)
if err != nil {
return nil, err
}
- return NewTask(c.c, res.Returnval), nil
+ return obj.ConfigurationEx.(*types.ClusterConfigInfoEx), nil
}
func (c ClusterComputeResource) AddHost(ctx context.Context, spec types.HostConnectSpec, asConnected bool, license *string, resourcePool *types.ManagedObjectReference) (*Task, error) {
@@ -72,12 +69,18 @@ func (c ClusterComputeResource) AddHost(ctx context.Context, spec types.HostConn
return NewTask(c.c, res.Returnval), nil
}
-func (c ClusterComputeResource) Destroy(ctx context.Context) (*Task, error) {
- req := types.Destroy_Task{
+func (c ClusterComputeResource) MoveInto(ctx context.Context, hosts ...*HostSystem) (*Task, error) {
+ req := types.MoveInto_Task{
This: c.Reference(),
}
- res, err := methods.Destroy_Task(ctx, c.c, &req)
+ hostReferences := make([]types.ManagedObjectReference, len(hosts))
+ for i, host := range hosts {
+ hostReferences[i] = host.Reference()
+ }
+ req.Host = hostReferences
+
+ res, err := methods.MoveInto_Task(ctx, c.c, &req)
if err != nil {
return nil, err
}
diff --git a/vendor/github.com/vmware/govmomi/object/common.go b/vendor/github.com/vmware/govmomi/object/common.go
index 8f0a94ff6..abb4076c7 100644
--- a/vendor/github.com/vmware/govmomi/object/common.go
+++ b/vendor/github.com/vmware/govmomi/object/common.go
@@ -85,9 +85,22 @@ func (c Common) ObjectName(ctx context.Context) (string, error) {
return "", err
}
- return o.Name, nil
+ if o.Name != "" {
+ return o.Name, nil
+ }
+
+ // Network has its own "name" field...
+ var n mo.Network
+
+ err = c.Properties(ctx, c.Reference(), []string{"name"}, &n)
+ if err != nil {
+ return "", err
+ }
+
+ return n.Name, nil
}
+// Properties is a wrapper for property.DefaultCollector().RetrieveOne()
func (c Common) Properties(ctx context.Context, r types.ManagedObjectReference, ps []string, dst interface{}) error {
return property.DefaultCollector(c.c).RetrieveOne(ctx, r, ps, dst)
}
@@ -118,3 +131,14 @@ func (c Common) Rename(ctx context.Context, name string) (*Task, error) {
return NewTask(c.c, res.Returnval), nil
}
+
+func (c Common) SetCustomValue(ctx context.Context, key string, value string) error {
+ req := types.SetCustomValue{
+ This: c.Reference(),
+ Key: key,
+ Value: value,
+ }
+
+ _, err := methods.SetCustomValue(ctx, c.c, &req)
+ return err
+}
diff --git a/vendor/github.com/vmware/govmomi/object/compute_resource.go b/vendor/github.com/vmware/govmomi/object/compute_resource.go
index ac1c73019..7645fddaf 100644
--- a/vendor/github.com/vmware/govmomi/object/compute_resource.go
+++ b/vendor/github.com/vmware/govmomi/object/compute_resource.go
@@ -109,16 +109,3 @@ func (c ComputeResource) Reconfigure(ctx context.Context, spec types.BaseCompute
return NewTask(c.c, res.Returnval), nil
}
-
-func (c ComputeResource) Destroy(ctx context.Context) (*Task, error) {
- req := types.Destroy_Task{
- This: c.Reference(),
- }
-
- res, err := methods.Destroy_Task(ctx, c.c, &req)
- if err != nil {
- return nil, err
- }
-
- return NewTask(c.c, res.Returnval), nil
-}
diff --git a/vendor/github.com/vmware/govmomi/object/custom_fields_manager.go b/vendor/github.com/vmware/govmomi/object/custom_fields_manager.go
index 60b78df2b..ef748ef2c 100644
--- a/vendor/github.com/vmware/govmomi/object/custom_fields_manager.go
+++ b/vendor/github.com/vmware/govmomi/object/custom_fields_manager.go
@@ -102,7 +102,9 @@ func (m CustomFieldsManager) Set(ctx context.Context, entity types.ManagedObject
return err
}
-func (m CustomFieldsManager) Field(ctx context.Context) ([]types.CustomFieldDef, error) {
+type CustomFieldDefList []types.CustomFieldDef
+
+func (m CustomFieldsManager) Field(ctx context.Context) (CustomFieldDefList, error) {
var fm mo.CustomFieldsManager
err := m.Properties(ctx, m.Reference(), []string{"field"}, &fm)
@@ -113,19 +115,19 @@ func (m CustomFieldsManager) Field(ctx context.Context) ([]types.CustomFieldDef,
return fm.Field, nil
}
-func (m CustomFieldsManager) FindKey(ctx context.Context, key string) (int32, error) {
+func (m CustomFieldsManager) FindKey(ctx context.Context, name string) (int32, error) {
field, err := m.Field(ctx)
if err != nil {
return -1, err
}
for _, def := range field {
- if def.Name == key {
+ if def.Name == name {
return def.Key, nil
}
}
- k, err := strconv.Atoi(key)
+ k, err := strconv.Atoi(name)
if err == nil {
// assume literal int key
return int32(k), nil
@@ -133,3 +135,12 @@ func (m CustomFieldsManager) FindKey(ctx context.Context, key string) (int32, er
return -1, ErrKeyNameNotFound
}
+
+func (l CustomFieldDefList) ByKey(key int32) *types.CustomFieldDef {
+ for _, def := range l {
+ if def.Key == key {
+ return &def
+ }
+ }
+ return nil
+}
diff --git a/vendor/github.com/vmware/govmomi/object/datacenter.go b/vendor/github.com/vmware/govmomi/object/datacenter.go
index adddc5ffa..41fa35265 100644
--- a/vendor/github.com/vmware/govmomi/object/datacenter.go
+++ b/vendor/github.com/vmware/govmomi/object/datacenter.go
@@ -88,3 +88,42 @@ func (d Datacenter) Destroy(ctx context.Context) (*Task, error) {
return NewTask(d.c, res.Returnval), nil
}
+
+// PowerOnVM powers on multiple virtual machines with a single vCenter call.
+// If called against ESX, serially powers on the list of VMs and the returned *Task will always be nil.
+func (d Datacenter) PowerOnVM(ctx context.Context, vm []types.ManagedObjectReference, option ...types.BaseOptionValue) (*Task, error) {
+ if d.Client().IsVC() {
+ req := types.PowerOnMultiVM_Task{
+ This: d.Reference(),
+ Vm: vm,
+ Option: option,
+ }
+
+ res, err := methods.PowerOnMultiVM_Task(ctx, d.c, &req)
+ if err != nil {
+ return nil, err
+ }
+
+ return NewTask(d.c, res.Returnval), nil
+ }
+
+ for _, ref := range vm {
+ obj := NewVirtualMachine(d.Client(), ref)
+ task, err := obj.PowerOn(ctx)
+ if err != nil {
+ return nil, err
+ }
+
+ err = task.Wait(ctx)
+ if err != nil {
+ // Ignore any InvalidPowerState fault, as it indicates the VM is already powered on
+ if f, ok := err.(types.HasFault); ok {
+ if _, ok = f.Fault().(*types.InvalidPowerState); !ok {
+ return nil, err
+ }
+ }
+ }
+ }
+
+ return nil, nil
+}
diff --git a/vendor/github.com/vmware/govmomi/object/datastore.go b/vendor/github.com/vmware/govmomi/object/datastore.go
index fc696cdf2..65264ae15 100644
--- a/vendor/github.com/vmware/govmomi/object/datastore.go
+++ b/vendor/github.com/vmware/govmomi/object/datastore.go
@@ -17,17 +17,16 @@ limitations under the License.
package object
import (
+ "context"
"fmt"
"io"
"math/rand"
+ "net/http"
+ "net/url"
"os"
"path"
"strings"
- "context"
- "net/http"
- "net/url"
-
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/session"
"github.com/vmware/govmomi/vim25"
@@ -69,6 +68,11 @@ func NewDatastore(c *vim25.Client, ref types.ManagedObjectReference) *Datastore
}
func (d Datastore) Path(path string) string {
+ var p DatastorePath
+ if p.FromString(path) {
+ return p.String() // already in "[datastore] path" format
+ }
+
return (&DatastorePath{
Datastore: d.Name(),
Path: path,
@@ -284,7 +288,7 @@ func (d Datastore) Upload(ctx context.Context, f io.Reader, path string, param *
if err != nil {
return err
}
- return d.Client().Upload(f, u, p)
+ return d.Client().Upload(ctx, f, u, p)
}
// UploadFile via soap.Upload with an http service ticket
@@ -293,7 +297,7 @@ func (d Datastore) UploadFile(ctx context.Context, file string, path string, par
if err != nil {
return err
}
- return d.Client().UploadFile(file, u, p)
+ return d.Client().UploadFile(ctx, file, u, p)
}
// Download via soap.Download with an http service ticket
@@ -302,7 +306,7 @@ func (d Datastore) Download(ctx context.Context, path string, param *soap.Downlo
if err != nil {
return nil, 0, err
}
- return d.Client().Download(u, p)
+ return d.Client().Download(ctx, u, p)
}
// DownloadFile via soap.Download with an http service ticket
@@ -311,7 +315,7 @@ func (d Datastore) DownloadFile(ctx context.Context, path string, file string, p
if err != nil {
return err
}
- return d.Client().DownloadFile(file, u, p)
+ return d.Client().DownloadFile(ctx, file, u, p)
}
// AttachedHosts returns hosts that have this Datastore attached, accessible and writable.
@@ -406,12 +410,9 @@ func (d Datastore) Stat(ctx context.Context, file string) (types.BaseFileInfo, e
info, err := task.WaitForResult(ctx, nil)
if err != nil {
- if info == nil || info.Error != nil {
- _, ok := info.Error.Fault.(*types.FileNotFound)
- if ok {
- // FileNotFound means the base path doesn't exist.
- return nil, DatastoreNoSuchDirectoryError{"stat", dsPath}
- }
+ if types.IsFileNotFound(err) {
+ // FileNotFound means the base path doesn't exist.
+ return nil, DatastoreNoSuchDirectoryError{"stat", dsPath}
}
return nil, err
diff --git a/vendor/github.com/vmware/govmomi/object/datastore_file.go b/vendor/github.com/vmware/govmomi/object/datastore_file.go
index d4813a756..86d7d9c72 100644
--- a/vendor/github.com/vmware/govmomi/object/datastore_file.go
+++ b/vendor/github.com/vmware/govmomi/object/datastore_file.go
@@ -25,6 +25,7 @@ import (
"net/http"
"os"
"path"
+ "sync"
"time"
"github.com/vmware/govmomi/vim25/soap"
@@ -171,7 +172,7 @@ func (f *DatastoreFile) Stat() (os.FileInfo, error) {
return nil, err
}
- res, err := f.d.Client().DownloadRequest(u, p)
+ res, err := f.d.Client().DownloadRequest(f.ctx, u, p)
if err != nil {
return nil, err
}
@@ -201,7 +202,7 @@ func (f *DatastoreFile) get() (io.Reader, error) {
}
}
- res, err := f.d.Client().DownloadRequest(u, p)
+ res, err := f.d.Client().DownloadRequest(f.ctx, u, p)
if err != nil {
return nil, err
}
@@ -296,10 +297,8 @@ func (f *DatastoreFile) TailFunc(lines int, include func(line int, message strin
nread = bsize + remain
eof = true
- } else {
- if pos, err = f.Seek(offset, io.SeekEnd); err != nil {
- return err
- }
+ } else if pos, err = f.Seek(offset, io.SeekEnd); err != nil {
+ return err
}
if _, err = io.CopyN(buf, f, nread); err != nil {
@@ -347,6 +346,7 @@ type followDatastoreFile struct {
r *DatastoreFile
c chan struct{}
i time.Duration
+ o sync.Once
}
// Read reads up to len(b) bytes from the DatastoreFile being followed.
@@ -398,11 +398,15 @@ func (f *followDatastoreFile) Read(p []byte) (int, error) {
// Close will stop Follow polling and close the underlying DatastoreFile.
func (f *followDatastoreFile) Close() error {
- close(f.c)
+ f.o.Do(func() { close(f.c) })
return nil
}
// Follow returns an io.ReadCloser to stream the file contents as data is appended.
func (f *DatastoreFile) Follow(interval time.Duration) io.ReadCloser {
- return &followDatastoreFile{f, make(chan struct{}), interval}
+ return &followDatastoreFile{
+ r: f,
+ c: make(chan struct{}),
+ i: interval,
+ }
}
diff --git a/vendor/github.com/vmware/govmomi/object/datastore_file_manager.go b/vendor/github.com/vmware/govmomi/object/datastore_file_manager.go
index 7164fbbed..a6e29c2c5 100644
--- a/vendor/github.com/vmware/govmomi/object/datastore_file_manager.go
+++ b/vendor/github.com/vmware/govmomi/object/datastore_file_manager.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2017-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@ import (
"path"
"strings"
+ "github.com/vmware/govmomi/vim25/progress"
"github.com/vmware/govmomi/vim25/soap"
)
@@ -36,7 +37,8 @@ type DatastoreFileManager struct {
FileManager *FileManager
VirtualDiskManager *VirtualDiskManager
- Force bool
+ Force bool
+ DatacenterTarget *Datacenter
}
// NewFileManager creates a new instance of DatastoreFileManager
@@ -49,11 +51,25 @@ func (d Datastore) NewFileManager(dc *Datacenter, force bool) *DatastoreFileMana
FileManager: NewFileManager(c),
VirtualDiskManager: NewVirtualDiskManager(c),
Force: force,
+ DatacenterTarget: dc,
}
return m
}
+func (m *DatastoreFileManager) WithProgress(ctx context.Context, s progress.Sinker) context.Context {
+ return context.WithValue(ctx, m, s)
+}
+
+func (m *DatastoreFileManager) wait(ctx context.Context, task *Task) error {
+ var logger progress.Sinker
+ if s, ok := ctx.Value(m).(progress.Sinker); ok {
+ logger = s
+ }
+ _, err := task.WaitForResult(ctx, logger)
+ return err
+}
+
// Delete dispatches to the appropriate Delete method based on file name extension
func (m *DatastoreFileManager) Delete(ctx context.Context, name string) error {
switch path.Ext(name) {
@@ -73,7 +89,7 @@ func (m *DatastoreFileManager) DeleteFile(ctx context.Context, name string) erro
return err
}
- return task.Wait(ctx)
+ return m.wait(ctx, task)
}
// DeleteVirtualDisk calls VirtualDiskManager.DeleteVirtualDisk
@@ -94,7 +110,74 @@ func (m *DatastoreFileManager) DeleteVirtualDisk(ctx context.Context, name strin
return err
}
- return task.Wait(ctx)
+ return m.wait(ctx, task)
+}
+
+// CopyFile calls FileManager.CopyDatastoreFile
+func (m *DatastoreFileManager) CopyFile(ctx context.Context, src string, dst string) error {
+ srcp := m.Path(src)
+ dstp := m.Path(dst)
+
+ task, err := m.FileManager.CopyDatastoreFile(ctx, srcp.String(), m.Datacenter, dstp.String(), m.DatacenterTarget, m.Force)
+ if err != nil {
+ return err
+ }
+
+ return m.wait(ctx, task)
+}
+
+// Copy dispatches to the appropriate FileManager or VirtualDiskManager Copy method based on file name extension
+func (m *DatastoreFileManager) Copy(ctx context.Context, src string, dst string) error {
+ srcp := m.Path(src)
+ dstp := m.Path(dst)
+
+ f := m.FileManager.CopyDatastoreFile
+
+ if srcp.IsVMDK() {
+ // types.VirtualDiskSpec=nil as it is not implemented by vCenter
+ f = func(ctx context.Context, src string, srcDC *Datacenter, dst string, dstDC *Datacenter, force bool) (*Task, error) {
+ return m.VirtualDiskManager.CopyVirtualDisk(ctx, src, srcDC, dst, dstDC, nil, force)
+ }
+ }
+
+ task, err := f(ctx, srcp.String(), m.Datacenter, dstp.String(), m.DatacenterTarget, m.Force)
+ if err != nil {
+ return err
+ }
+
+ return m.wait(ctx, task)
+}
+
+// MoveFile calls FileManager.MoveDatastoreFile
+func (m *DatastoreFileManager) MoveFile(ctx context.Context, src string, dst string) error {
+ srcp := m.Path(src)
+ dstp := m.Path(dst)
+
+ task, err := m.FileManager.MoveDatastoreFile(ctx, srcp.String(), m.Datacenter, dstp.String(), m.DatacenterTarget, m.Force)
+ if err != nil {
+ return err
+ }
+
+ return m.wait(ctx, task)
+}
+
+// Move dispatches to the appropriate FileManager or VirtualDiskManager Move method based on file name extension
+func (m *DatastoreFileManager) Move(ctx context.Context, src string, dst string) error {
+ srcp := m.Path(src)
+ dstp := m.Path(dst)
+
+ f := m.FileManager.MoveDatastoreFile
+
+ if srcp.IsVMDK() {
+ f = m.VirtualDiskManager.MoveVirtualDisk
+ }
+
+ task, err := f(ctx, srcp.String(), m.Datacenter, dstp.String(), m.DatacenterTarget, m.Force)
+ if err != nil {
+ return err
+ }
+
+ return m.wait(ctx, task)
}
// Path converts path name to a DatastorePath
diff --git a/vendor/github.com/vmware/govmomi/object/datastore_path.go b/vendor/github.com/vmware/govmomi/object/datastore_path.go
index ea152103d..104c7dfe3 100644
--- a/vendor/github.com/vmware/govmomi/object/datastore_path.go
+++ b/vendor/github.com/vmware/govmomi/object/datastore_path.go
@@ -18,6 +18,7 @@ package object
import (
"fmt"
+ "path"
"strings"
)
@@ -30,7 +31,7 @@ type DatastorePath struct {
// FromString parses a datastore path.
// Returns true if the path could be parsed, false otherwise.
func (p *DatastorePath) FromString(s string) bool {
- if len(s) == 0 {
+ if s == "" {
return false
}
@@ -63,3 +64,8 @@ func (p *DatastorePath) String() string {
return strings.Join([]string{s, p.Path}, " ")
}
+
+// IsVMDK returns true if Path has a ".vmdk" extension
+func (p *DatastorePath) IsVMDK() bool {
+ return path.Ext(p.Path) == ".vmdk"
+}
diff --git a/vendor/github.com/vmware/govmomi/object/diagnostic_manager.go b/vendor/github.com/vmware/govmomi/object/diagnostic_manager.go
index 5baf1ad90..026dc1cb5 100644
--- a/vendor/github.com/vmware/govmomi/object/diagnostic_manager.go
+++ b/vendor/github.com/vmware/govmomi/object/diagnostic_manager.go
@@ -71,10 +71,8 @@ func (m DiagnosticManager) GenerateLogBundles(ctx context.Context, includeDefaul
IncludeDefault: includeDefault,
}
- if host != nil {
- for _, h := range host {
- req.Host = append(req.Host, h.Reference())
- }
+ for _, h := range host {
+ req.Host = append(req.Host, h.Reference())
}
res, err := methods.GenerateLogBundles_Task(ctx, m.c, &req)
diff --git a/vendor/github.com/vmware/govmomi/object/distributed_virtual_portgroup.go b/vendor/github.com/vmware/govmomi/object/distributed_virtual_portgroup.go
index 864bb783f..f8ac5512c 100644
--- a/vendor/github.com/vmware/govmomi/object/distributed_virtual_portgroup.go
+++ b/vendor/github.com/vmware/govmomi/object/distributed_virtual_portgroup.go
@@ -18,6 +18,7 @@ package object
import (
"context"
+ "fmt"
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/methods"
@@ -38,12 +39,18 @@ func NewDistributedVirtualPortgroup(c *vim25.Client, ref types.ManagedObjectRefe
// EthernetCardBackingInfo returns the VirtualDeviceBackingInfo for this DistributedVirtualPortgroup
func (p DistributedVirtualPortgroup) EthernetCardBackingInfo(ctx context.Context) (types.BaseVirtualDeviceBackingInfo, error) {
var dvp mo.DistributedVirtualPortgroup
- var dvs mo.VmwareDistributedVirtualSwitch // TODO: should be mo.BaseDistributedVirtualSwitch
+ var dvs mo.DistributedVirtualSwitch
+ prop := "config.distributedVirtualSwitch"
- if err := p.Properties(ctx, p.Reference(), []string{"key", "config.distributedVirtualSwitch"}, &dvp); err != nil {
+ if err := p.Properties(ctx, p.Reference(), []string{"key", prop}, &dvp); err != nil {
return nil, err
}
+ // "This property should always be set unless the user's setting does not have System.Read privilege on the object referred to by this property."
+ if dvp.Config.DistributedVirtualSwitch == nil {
+ return nil, fmt.Errorf("no System.Read privilege on: %s.%s", p.Reference(), prop)
+ }
+
if err := p.Properties(ctx, *dvp.Config.DistributedVirtualSwitch, []string{"uuid"}, &dvs); err != nil {
return nil, err
}
diff --git a/vendor/github.com/vmware/govmomi/object/distributed_virtual_switch.go b/vendor/github.com/vmware/govmomi/object/distributed_virtual_switch.go
index 29ee52d95..526ce4bf7 100644
--- a/vendor/github.com/vmware/govmomi/object/distributed_virtual_switch.go
+++ b/vendor/github.com/vmware/govmomi/object/distributed_virtual_switch.go
@@ -65,3 +65,16 @@ func (s DistributedVirtualSwitch) AddPortgroup(ctx context.Context, spec []types
return NewTask(s.Client(), res.Returnval), nil
}
+
+func (s DistributedVirtualSwitch) FetchDVPorts(ctx context.Context, criteria *types.DistributedVirtualSwitchPortCriteria) ([]types.DistributedVirtualPort, error) {
+ req := &types.FetchDVPorts{
+ This: s.Reference(),
+ Criteria: criteria,
+ }
+
+ res, err := methods.FetchDVPorts(ctx, s.Client(), req)
+ if err != nil {
+ return nil, err
+ }
+ return res.Returnval, nil
+}
diff --git a/vendor/github.com/vmware/govmomi/object/file_manager.go b/vendor/github.com/vmware/govmomi/object/file_manager.go
index ba947be20..8e8f5d3b0 100644
--- a/vendor/github.com/vmware/govmomi/object/file_manager.go
+++ b/vendor/github.com/vmware/govmomi/object/file_manager.go
@@ -85,8 +85,8 @@ func (f FileManager) DeleteDatastoreFile(ctx context.Context, name string, dc *D
// MakeDirectory creates a folder using the specified name.
func (f FileManager) MakeDirectory(ctx context.Context, name string, dc *Datacenter, createParentDirectories bool) error {
req := types.MakeDirectory{
- This: f.Reference(),
- Name: name,
+ This: f.Reference(),
+ Name: name,
CreateParentDirectories: types.NewBool(createParentDirectories),
}
diff --git a/vendor/github.com/vmware/govmomi/object/host_certificate_manager.go b/vendor/github.com/vmware/govmomi/object/host_certificate_manager.go
index 2875a9fc1..ddf1d8c59 100644
--- a/vendor/github.com/vmware/govmomi/object/host_certificate_manager.go
+++ b/vendor/github.com/vmware/govmomi/object/host_certificate_manager.go
@@ -66,7 +66,7 @@ func (m HostCertificateManager) CertificateInfo(ctx context.Context) (*HostCerti
// Use InstallServerCertificate to import this certificate.
func (m HostCertificateManager) GenerateCertificateSigningRequest(ctx context.Context, useIPAddressAsCommonName bool) (string, error) {
req := types.GenerateCertificateSigningRequest{
- This: m.Reference(),
+ This: m.Reference(),
UseIpAddressAsCommonName: useIPAddressAsCommonName,
}
diff --git a/vendor/github.com/vmware/govmomi/object/host_datastore_system.go b/vendor/github.com/vmware/govmomi/object/host_datastore_system.go
index 7b738e611..64f3add91 100644
--- a/vendor/github.com/vmware/govmomi/object/host_datastore_system.go
+++ b/vendor/github.com/vmware/govmomi/object/host_datastore_system.go
@@ -117,3 +117,19 @@ func (s HostDatastoreSystem) QueryVmfsDatastoreCreateOptions(ctx context.Context
return res.Returnval, nil
}
+
+func (s HostDatastoreSystem) ResignatureUnresolvedVmfsVolumes(ctx context.Context, devicePaths []string) (*Task, error) {
+ req := &types.ResignatureUnresolvedVmfsVolume_Task{
+ This: s.Reference(),
+ ResolutionSpec: types.HostUnresolvedVmfsResignatureSpec{
+ ExtentDevicePath: devicePaths,
+ },
+ }
+
+ res, err := methods.ResignatureUnresolvedVmfsVolume_Task(ctx, s.Client(), req)
+ if err != nil {
+ return nil, err
+ }
+
+ return NewTask(s.c, res.Returnval), nil
+}
diff --git a/vendor/github.com/vmware/govmomi/object/host_network_system.go b/vendor/github.com/vmware/govmomi/object/host_network_system.go
index c21e1ec35..340b764a5 100644
--- a/vendor/github.com/vmware/govmomi/object/host_network_system.go
+++ b/vendor/github.com/vmware/govmomi/object/host_network_system.go
@@ -98,18 +98,18 @@ func (o HostNetworkSystem) AddVirtualSwitch(ctx context.Context, vswitchName str
}
// QueryNetworkHint wraps methods.QueryNetworkHint
-func (o HostNetworkSystem) QueryNetworkHint(ctx context.Context, device []string) error {
+func (o HostNetworkSystem) QueryNetworkHint(ctx context.Context, device []string) ([]types.PhysicalNicHintInfo, error) {
req := types.QueryNetworkHint{
This: o.Reference(),
Device: device,
}
- _, err := methods.QueryNetworkHint(ctx, o.c, &req)
+ res, err := methods.QueryNetworkHint(ctx, o.c, &req)
if err != nil {
- return err
+ return nil, err
}
- return nil
+ return res.Returnval, err
}
// RefreshNetworkSystem wraps methods.RefreshNetworkSystem
diff --git a/vendor/github.com/vmware/govmomi/object/host_storage_system.go b/vendor/github.com/vmware/govmomi/object/host_storage_system.go
index 2a433ff2a..5c9f08eee 100644
--- a/vendor/github.com/vmware/govmomi/object/host_storage_system.go
+++ b/vendor/github.com/vmware/govmomi/object/host_storage_system.go
@@ -88,6 +88,24 @@ func (s HostStorageSystem) RescanAllHba(ctx context.Context) error {
return err
}
+func (s HostStorageSystem) Refresh(ctx context.Context) error {
+ req := types.RefreshStorageSystem{
+ This: s.Reference(),
+ }
+
+ _, err := methods.RefreshStorageSystem(ctx, s.c, &req)
+ return err
+}
+
+func (s HostStorageSystem) RescanVmfs(ctx context.Context) error {
+ req := types.RescanVmfs{
+ This: s.Reference(),
+ }
+
+ _, err := methods.RescanVmfs(ctx, s.c, &req)
+ return err
+}
+
func (s HostStorageSystem) MarkAsSsd(ctx context.Context, uuid string) (*Task, error) {
req := types.MarkAsSsd_Task{
This: s.Reference(),
@@ -143,3 +161,40 @@ func (s HostStorageSystem) MarkAsNonLocal(ctx context.Context, uuid string) (*Ta
return NewTask(s.c, res.Returnval), nil
}
+
+func (s HostStorageSystem) AttachScsiLun(ctx context.Context, uuid string) error {
+ req := types.AttachScsiLun{
+ This: s.Reference(),
+ LunUuid: uuid,
+ }
+
+ _, err := methods.AttachScsiLun(ctx, s.c, &req)
+
+ return err
+}
+
+func (s HostStorageSystem) QueryUnresolvedVmfsVolumes(ctx context.Context) ([]types.HostUnresolvedVmfsVolume, error) {
+ req := &types.QueryUnresolvedVmfsVolume{
+ This: s.Reference(),
+ }
+
+ res, err := methods.QueryUnresolvedVmfsVolume(ctx, s.Client(), req)
+ if err != nil {
+ return nil, err
+ }
+ return res.Returnval, nil
+}
+
+func (s HostStorageSystem) UnmountVmfsVolume(ctx context.Context, vmfsUuid string) error {
+ req := &types.UnmountVmfsVolume{
+ This: s.Reference(),
+ VmfsUuid: vmfsUuid,
+ }
+
+ _, err := methods.UnmountVmfsVolume(ctx, s.Client(), req)
+ if err != nil {
+ return err
+ }
+
+ return nil
+}
diff --git a/vendor/github.com/vmware/govmomi/object/host_vsan_internal_system.go b/vendor/github.com/vmware/govmomi/object/host_vsan_internal_system.go
index 65e4587f6..1430e8a88 100644
--- a/vendor/github.com/vmware/govmomi/object/host_vsan_internal_system.go
+++ b/vendor/github.com/vmware/govmomi/object/host_vsan_internal_system.go
@@ -42,7 +42,7 @@ func (m HostVsanInternalSystem) QueryVsanObjectUuidsByFilter(ctx context.Context
req := types.QueryVsanObjectUuidsByFilter{
This: m.Reference(),
Uuids: uuids,
- Limit: limit,
+ Limit: &limit,
Version: version,
}
diff --git a/vendor/github.com/vmware/govmomi/object/http_nfc_lease.go b/vendor/github.com/vmware/govmomi/object/http_nfc_lease.go
deleted file mode 100644
index 3ca53558b..000000000
--- a/vendor/github.com/vmware/govmomi/object/http_nfc_lease.go
+++ /dev/null
@@ -1,143 +0,0 @@
-/*
-Copyright (c) 2015 VMware, Inc. All Rights Reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-package object
-
-import (
- "context"
- "errors"
- "fmt"
-
- "github.com/vmware/govmomi/property"
- "github.com/vmware/govmomi/vim25"
- "github.com/vmware/govmomi/vim25/methods"
- "github.com/vmware/govmomi/vim25/mo"
- "github.com/vmware/govmomi/vim25/types"
-)
-
-type HttpNfcLease struct {
- Common
-}
-
-func NewHttpNfcLease(c *vim25.Client, ref types.ManagedObjectReference) *HttpNfcLease {
- return &HttpNfcLease{
- Common: NewCommon(c, ref),
- }
-}
-
-// HttpNfcLeaseAbort wraps methods.HttpNfcLeaseAbort
-func (o HttpNfcLease) HttpNfcLeaseAbort(ctx context.Context, fault *types.LocalizedMethodFault) error {
- req := types.HttpNfcLeaseAbort{
- This: o.Reference(),
- Fault: fault,
- }
-
- _, err := methods.HttpNfcLeaseAbort(ctx, o.c, &req)
- if err != nil {
- return err
- }
-
- return nil
-}
-
-// HttpNfcLeaseComplete wraps methods.HttpNfcLeaseComplete
-func (o HttpNfcLease) HttpNfcLeaseComplete(ctx context.Context) error {
- req := types.HttpNfcLeaseComplete{
- This: o.Reference(),
- }
-
- _, err := methods.HttpNfcLeaseComplete(ctx, o.c, &req)
- if err != nil {
- return err
- }
-
- return nil
-}
-
-// HttpNfcLeaseGetManifest wraps methods.HttpNfcLeaseGetManifest
-func (o HttpNfcLease) HttpNfcLeaseGetManifest(ctx context.Context) error {
- req := types.HttpNfcLeaseGetManifest{
- This: o.Reference(),
- }
-
- _, err := methods.HttpNfcLeaseGetManifest(ctx, o.c, &req)
- if err != nil {
- return err
- }
-
- return nil
-}
-
-// HttpNfcLeaseProgress wraps methods.HttpNfcLeaseProgress
-func (o HttpNfcLease) HttpNfcLeaseProgress(ctx context.Context, percent int32) error {
- req := types.HttpNfcLeaseProgress{
- This: o.Reference(),
- Percent: percent,
- }
-
- _, err := methods.HttpNfcLeaseProgress(ctx, o.c, &req)
- if err != nil {
- return err
- }
-
- return nil
-}
-
-func (o HttpNfcLease) Wait(ctx context.Context) (*types.HttpNfcLeaseInfo, error) {
- var lease mo.HttpNfcLease
-
- pc := property.DefaultCollector(o.c)
- err := property.Wait(ctx, pc, o.Reference(), []string{"state", "info", "error"}, func(pc []types.PropertyChange) bool {
- done := false
-
- for _, c := range pc {
- if c.Val == nil {
- continue
- }
-
- switch c.Name {
- case "error":
- val := c.Val.(types.LocalizedMethodFault)
- lease.Error = &val
- done = true
- case "info":
- val := c.Val.(types.HttpNfcLeaseInfo)
- lease.Info = &val
- case "state":
- lease.State = c.Val.(types.HttpNfcLeaseState)
- if lease.State != types.HttpNfcLeaseStateInitializing {
- done = true
- }
- }
- }
-
- return done
- })
-
- if err != nil {
- return nil, err
- }
-
- if lease.State == types.HttpNfcLeaseStateReady {
- return lease.Info, nil
- }
-
- if lease.Error != nil {
- return nil, errors.New(lease.Error.LocalizedMessage)
- }
-
- return nil, fmt.Errorf("unexpected nfc lease state: %s", lease.State)
-}
diff --git a/vendor/github.com/vmware/govmomi/object/ovf_manager.go b/vendor/github.com/vmware/govmomi/object/ovf_manager.go
deleted file mode 100644
index 7fedf689f..000000000
--- a/vendor/github.com/vmware/govmomi/object/ovf_manager.go
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
-Copyright (c) 2015 VMware, Inc. All Rights Reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-package object
-
-import (
- "context"
-
- "github.com/vmware/govmomi/vim25"
- "github.com/vmware/govmomi/vim25/methods"
- "github.com/vmware/govmomi/vim25/types"
-)
-
-type OvfManager struct {
- Common
-}
-
-func NewOvfManager(c *vim25.Client) *OvfManager {
- o := OvfManager{
- Common: NewCommon(c, *c.ServiceContent.OvfManager),
- }
-
- return &o
-}
-
-// CreateDescriptor wraps methods.CreateDescriptor
-func (o OvfManager) CreateDescriptor(ctx context.Context, obj Reference, cdp types.OvfCreateDescriptorParams) (*types.OvfCreateDescriptorResult, error) {
- req := types.CreateDescriptor{
- This: o.Reference(),
- Obj: obj.Reference(),
- Cdp: cdp,
- }
-
- res, err := methods.CreateDescriptor(ctx, o.c, &req)
- if err != nil {
- return nil, err
- }
-
- return &res.Returnval, nil
-}
-
-// CreateImportSpec wraps methods.CreateImportSpec
-func (o OvfManager) CreateImportSpec(ctx context.Context, ovfDescriptor string, resourcePool Reference, datastore Reference, cisp types.OvfCreateImportSpecParams) (*types.OvfCreateImportSpecResult, error) {
- req := types.CreateImportSpec{
- This: o.Reference(),
- OvfDescriptor: ovfDescriptor,
- ResourcePool: resourcePool.Reference(),
- Datastore: datastore.Reference(),
- Cisp: cisp,
- }
-
- res, err := methods.CreateImportSpec(ctx, o.c, &req)
- if err != nil {
- return nil, err
- }
-
- return &res.Returnval, nil
-}
-
-// ParseDescriptor wraps methods.ParseDescriptor
-func (o OvfManager) ParseDescriptor(ctx context.Context, ovfDescriptor string, pdp types.OvfParseDescriptorParams) (*types.OvfParseDescriptorResult, error) {
- req := types.ParseDescriptor{
- This: o.Reference(),
- OvfDescriptor: ovfDescriptor,
- Pdp: pdp,
- }
-
- res, err := methods.ParseDescriptor(ctx, o.c, &req)
- if err != nil {
- return nil, err
- }
-
- return &res.Returnval, nil
-}
-
-// ValidateHost wraps methods.ValidateHost
-func (o OvfManager) ValidateHost(ctx context.Context, ovfDescriptor string, host Reference, vhp types.OvfValidateHostParams) (*types.OvfValidateHostResult, error) {
- req := types.ValidateHost{
- This: o.Reference(),
- OvfDescriptor: ovfDescriptor,
- Host: host.Reference(),
- Vhp: vhp,
- }
-
- res, err := methods.ValidateHost(ctx, o.c, &req)
- if err != nil {
- return nil, err
- }
-
- return &res.Returnval, nil
-}
diff --git a/vendor/github.com/vmware/govmomi/object/resource_pool.go b/vendor/github.com/vmware/govmomi/object/resource_pool.go
index 791fd3822..55c2e2b2f 100644
--- a/vendor/github.com/vmware/govmomi/object/resource_pool.go
+++ b/vendor/github.com/vmware/govmomi/object/resource_pool.go
@@ -19,6 +19,7 @@ package object
import (
"context"
+ "github.com/vmware/govmomi/nfc"
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/methods"
"github.com/vmware/govmomi/vim25/types"
@@ -34,7 +35,7 @@ func NewResourcePool(c *vim25.Client, ref types.ManagedObjectReference) *Resourc
}
}
-func (p ResourcePool) ImportVApp(ctx context.Context, spec types.BaseImportSpec, folder *Folder, host *HostSystem) (*HttpNfcLease, error) {
+func (p ResourcePool) ImportVApp(ctx context.Context, spec types.BaseImportSpec, folder *Folder, host *HostSystem) (*nfc.Lease, error) {
req := types.ImportVApp{
This: p.Reference(),
Spec: spec,
@@ -55,7 +56,7 @@ func (p ResourcePool) ImportVApp(ctx context.Context, spec types.BaseImportSpec,
return nil, err
}
- return NewHttpNfcLease(p.c, res.Returnval), nil
+ return nfc.NewLease(p.c, res.Returnval), nil
}
func (p ResourcePool) Create(ctx context.Context, name string, spec types.ResourceConfigSpec) (*ResourcePool, error) {
diff --git a/vendor/github.com/vmware/govmomi/object/task.go b/vendor/github.com/vmware/govmomi/object/task.go
index 8572b4363..d77b6278a 100644
--- a/vendor/github.com/vmware/govmomi/object/task.go
+++ b/vendor/github.com/vmware/govmomi/object/task.go
@@ -22,6 +22,7 @@ import (
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/task"
"github.com/vmware/govmomi/vim25"
+ "github.com/vmware/govmomi/vim25/methods"
"github.com/vmware/govmomi/vim25/progress"
"github.com/vmware/govmomi/vim25/types"
)
@@ -47,7 +48,19 @@ func (t *Task) Wait(ctx context.Context) error {
return err
}
-func (t *Task) WaitForResult(ctx context.Context, s progress.Sinker) (*types.TaskInfo, error) {
+func (t *Task) WaitForResult(ctx context.Context, s ...progress.Sinker) (*types.TaskInfo, error) {
+ var pr progress.Sinker
+ if len(s) == 1 {
+ pr = s[0]
+ }
p := property.DefaultCollector(t.c)
- return task.Wait(ctx, t.Reference(), p, s)
+ return task.Wait(ctx, t.Reference(), p, pr)
+}
+
+func (t *Task) Cancel(ctx context.Context) error {
+ _, err := methods.CancelTask(ctx, t.Client(), &types.CancelTask{
+ This: t.Reference(),
+ })
+
+ return err
}
diff --git a/vendor/github.com/vmware/govmomi/object/types.go b/vendor/github.com/vmware/govmomi/object/types.go
index aefb611fd..4eb8d1b8b 100644
--- a/vendor/github.com/vmware/govmomi/object/types.go
+++ b/vendor/github.com/vmware/govmomi/object/types.go
@@ -47,8 +47,10 @@ func NewReference(c *vim25.Client, e types.ManagedObjectReference) Reference {
return NewClusterComputeResource(c, e)
case "HostSystem":
return NewHostSystem(c, e)
- case "Network", "OpaqueNetwork":
+ case "Network":
return NewNetwork(c, e)
+ case "OpaqueNetwork":
+ return NewOpaqueNetwork(c, e)
case "ResourcePool":
return NewResourcePool(c, e)
case "DistributedVirtualSwitch":
diff --git a/vendor/github.com/vmware/govmomi/object/virtual_device_list.go b/vendor/github.com/vmware/govmomi/object/virtual_device_list.go
index 24821aa6b..58b61f5d5 100644
--- a/vendor/github.com/vmware/govmomi/object/virtual_device_list.go
+++ b/vendor/github.com/vmware/govmomi/object/virtual_device_list.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2015 VMware, Inc. All Rights Reserved.
+Copyright (c) 2015-2017 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -30,6 +30,7 @@ import (
// Type values for use in BootOrder
const (
+ DeviceTypeNone = "-"
DeviceTypeCdrom = "cdrom"
DeviceTypeDisk = "disk"
DeviceTypeEthernet = "ethernet"
@@ -60,7 +61,10 @@ func EthernetCardTypes() VirtualDeviceList {
return VirtualDeviceList([]types.BaseVirtualDevice{
&types.VirtualE1000{},
&types.VirtualE1000e{},
+ &types.VirtualVmxnet2{},
&types.VirtualVmxnet3{},
+ &types.VirtualPCNet32{},
+ &types.VirtualSriovEthernetCard{},
}).Select(func(device types.BaseVirtualDevice) bool {
c := device.(types.BaseVirtualEthernetCard).GetVirtualEthernetCard()
c.GetVirtualDevice().Key = -1
@@ -225,8 +229,10 @@ func (l VirtualDeviceList) FindSCSIController(name string) (*types.VirtualSCSICo
func (l VirtualDeviceList) CreateSCSIController(name string) (types.BaseVirtualDevice, error) {
ctypes := SCSIControllerTypes()
- if name == "scsi" || name == "" {
+ if name == "" || name == "scsi" {
name = ctypes.Type(ctypes[0])
+ } else if name == "virtualscsi" {
+ name = "pvscsi" // ovf VirtualSCSI mapping
}
found := ctypes.Select(func(device types.BaseVirtualDevice) bool {
@@ -754,6 +760,9 @@ func (l VirtualDeviceList) PrimaryMacAddress() string {
// convert a BaseVirtualDevice to a BaseVirtualMachineBootOptionsBootableDevice
var bootableDevices = map[string]func(device types.BaseVirtualDevice) types.BaseVirtualMachineBootOptionsBootableDevice{
+ DeviceTypeNone: func(types.BaseVirtualDevice) types.BaseVirtualMachineBootOptionsBootableDevice {
+ return &types.VirtualMachineBootOptionsBootableDevice{}
+ },
DeviceTypeCdrom: func(types.BaseVirtualDevice) types.BaseVirtualMachineBootOptionsBootableDevice {
return &types.VirtualMachineBootOptionsBootableCdromDevice{}
},
@@ -773,17 +782,23 @@ var bootableDevices = map[string]func(device types.BaseVirtualDevice) types.Base
}
// BootOrder returns a list of devices which can be used to set boot order via VirtualMachine.SetBootOptions.
-// The order can any of "ethernet", "cdrom", "floppy" or "disk" or by specific device name.
+// The order can be any of "ethernet", "cdrom", "floppy" or "disk" or by specific device name.
+// A value of "-" will clear the existing boot order on the VC/ESX side.
func (l VirtualDeviceList) BootOrder(order []string) []types.BaseVirtualMachineBootOptionsBootableDevice {
var devices []types.BaseVirtualMachineBootOptionsBootableDevice
for _, name := range order {
if kind, ok := bootableDevices[name]; ok {
+ if name == DeviceTypeNone {
+ // Not covered in the API docs, nor obvious, but this clears the boot order on the VC/ESX side.
+ devices = append(devices, new(types.VirtualMachineBootOptionsBootableDevice))
+ continue
+ }
+
for _, device := range l {
if l.Type(device) == name {
devices = append(devices, kind(device))
}
-
}
continue
}
@@ -824,7 +839,7 @@ func (l VirtualDeviceList) TypeName(device types.BaseVirtualDevice) string {
return dtype.Elem().Name()
}
-var deviceNameRegexp = regexp.MustCompile(`(?:Virtual)?(?:Machine)?(\w+?)(?:Card|Device|Controller)?$`)
+var deviceNameRegexp = regexp.MustCompile(`(?:Virtual)?(?:Machine)?(\w+?)(?:Card|EthernetCard|Device|Controller)?$`)
func (l VirtualDeviceList) deviceName(device types.BaseVirtualDevice) string {
name := "device"
diff --git a/vendor/github.com/vmware/govmomi/object/virtual_disk_manager.go b/vendor/github.com/vmware/govmomi/object/virtual_disk_manager.go
index b26e2f71c..72439caf9 100644
--- a/vendor/github.com/vmware/govmomi/object/virtual_disk_manager.go
+++ b/vendor/github.com/vmware/govmomi/object/virtual_disk_manager.go
@@ -145,6 +145,47 @@ func (m VirtualDiskManager) DeleteVirtualDisk(ctx context.Context, name string,
return NewTask(m.c, res.Returnval), nil
}
+// InflateVirtualDisk inflates a virtual disk.
+func (m VirtualDiskManager) InflateVirtualDisk(ctx context.Context, name string, dc *Datacenter) (*Task, error) {
+ req := types.InflateVirtualDisk_Task{
+ This: m.Reference(),
+ Name: name,
+ }
+
+ if dc != nil {
+ ref := dc.Reference()
+ req.Datacenter = &ref
+ }
+
+ res, err := methods.InflateVirtualDisk_Task(ctx, m.c, &req)
+ if err != nil {
+ return nil, err
+ }
+
+ return NewTask(m.c, res.Returnval), nil
+}
+
+// ShrinkVirtualDisk shrinks a virtual disk.
+func (m VirtualDiskManager) ShrinkVirtualDisk(ctx context.Context, name string, dc *Datacenter, copy *bool) (*Task, error) {
+ req := types.ShrinkVirtualDisk_Task{
+ This: m.Reference(),
+ Name: name,
+ Copy: copy,
+ }
+
+ if dc != nil {
+ ref := dc.Reference()
+ req.Datacenter = &ref
+ }
+
+ res, err := methods.ShrinkVirtualDisk_Task(ctx, m.c, &req)
+ if err != nil {
+ return nil, err
+ }
+
+ return NewTask(m.c, res.Returnval), nil
+}
+
// Queries virtual disk uuid
func (m VirtualDiskManager) QueryVirtualDiskUuid(ctx context.Context, name string, dc *Datacenter) (string, error) {
req := types.QueryVirtualDiskUuid{
@@ -168,3 +209,19 @@ func (m VirtualDiskManager) QueryVirtualDiskUuid(ctx context.Context, name strin
return res.Returnval, nil
}
+
+func (m VirtualDiskManager) SetVirtualDiskUuid(ctx context.Context, name string, dc *Datacenter, uuid string) error {
+ req := types.SetVirtualDiskUuid{
+ This: m.Reference(),
+ Name: name,
+ Uuid: uuid,
+ }
+
+ if dc != nil {
+ ref := dc.Reference()
+ req.Datacenter = &ref
+ }
+
+ _, err := methods.SetVirtualDiskUuid(ctx, m.c, &req)
+ return err
+}
diff --git a/vendor/github.com/vmware/govmomi/object/virtual_disk_manager_internal.go b/vendor/github.com/vmware/govmomi/object/virtual_disk_manager_internal.go
index 642cd62f6..faa9ecad5 100644
--- a/vendor/github.com/vmware/govmomi/object/virtual_disk_manager_internal.go
+++ b/vendor/github.com/vmware/govmomi/object/virtual_disk_manager_internal.go
@@ -46,9 +46,10 @@ type queryVirtualDiskInfoTaskResponse struct {
}
type queryVirtualDiskInfoTaskBody struct {
- Req *queryVirtualDiskInfoTaskRequest `xml:"urn:internalvim25 QueryVirtualDiskInfo_Task,omitempty"`
- Res *queryVirtualDiskInfoTaskResponse `xml:"urn:vim25 QueryVirtualDiskInfo_TaskResponse,omitempty"`
- Err *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+ Req *queryVirtualDiskInfoTaskRequest `xml:"urn:internalvim25 QueryVirtualDiskInfo_Task,omitempty"`
+ Res *queryVirtualDiskInfoTaskResponse `xml:"urn:vim25 QueryVirtualDiskInfo_TaskResponse,omitempty"`
+ InternalRes *queryVirtualDiskInfoTaskResponse `xml:"urn:internalvim25 QueryVirtualDiskInfo_TaskResponse,omitempty"`
+ Err *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
func (b *queryVirtualDiskInfoTaskBody) Fault() *soap.Fault { return b.Err }
@@ -62,7 +63,11 @@ func queryVirtualDiskInfoTask(ctx context.Context, r soap.RoundTripper, req *que
return nil, err
}
- return resBody.Res, nil
+ if resBody.Res != nil {
+ return resBody.Res, nil
+ }
+
+ return resBody.InternalRes, nil
}
type VirtualDiskInfo struct {
@@ -95,3 +100,67 @@ func (m VirtualDiskManager) QueryVirtualDiskInfo(ctx context.Context, name strin
return info.Result.(arrayOfVirtualDiskInfo).VirtualDiskInfo, nil
}
+
+type createChildDiskTaskRequest struct {
+ This types.ManagedObjectReference `xml:"_this"`
+ ChildName string `xml:"childName"`
+ ChildDatacenter *types.ManagedObjectReference `xml:"childDatacenter,omitempty"`
+ ParentName string `xml:"parentName"`
+ ParentDatacenter *types.ManagedObjectReference `xml:"parentDatacenter,omitempty"`
+ IsLinkedClone bool `xml:"isLinkedClone"`
+}
+
+type createChildDiskTaskResponse struct {
+ Returnval types.ManagedObjectReference `xml:"returnval"`
+}
+
+type createChildDiskTaskBody struct {
+ Req *createChildDiskTaskRequest `xml:"urn:internalvim25 CreateChildDisk_Task,omitempty"`
+ Res *createChildDiskTaskResponse `xml:"urn:vim25 CreateChildDisk_TaskResponse,omitempty"`
+ InternalRes *createChildDiskTaskResponse `xml:"urn:internalvim25 CreateChildDisk_TaskResponse,omitempty"`
+ Err *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *createChildDiskTaskBody) Fault() *soap.Fault { return b.Err }
+
+func createChildDiskTask(ctx context.Context, r soap.RoundTripper, req *createChildDiskTaskRequest) (*createChildDiskTaskResponse, error) {
+ var reqBody, resBody createChildDiskTaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ if resBody.Res != nil {
+ return resBody.Res, nil // vim-version <= 6.5
+ }
+
+ return resBody.InternalRes, nil // vim-version >= 6.7
+}
+
+func (m VirtualDiskManager) CreateChildDisk(ctx context.Context, parent string, pdc *Datacenter, name string, dc *Datacenter, linked bool) (*Task, error) {
+ req := createChildDiskTaskRequest{
+ This: m.Reference(),
+ ChildName: name,
+ ParentName: parent,
+ IsLinkedClone: linked,
+ }
+
+ if dc != nil {
+ ref := dc.Reference()
+ req.ChildDatacenter = &ref
+ }
+
+ if pdc != nil {
+ ref := pdc.Reference()
+ req.ParentDatacenter = &ref
+ }
+
+ res, err := createChildDiskTask(ctx, m.Client(), &req)
+ if err != nil {
+ return nil, err
+ }
+
+ return NewTask(m.Client(), res.Returnval), nil
+}
diff --git a/vendor/github.com/vmware/govmomi/object/virtual_machine.go b/vendor/github.com/vmware/govmomi/object/virtual_machine.go
index 02c4e2371..9284b4940 100644
--- a/vendor/github.com/vmware/govmomi/object/virtual_machine.go
+++ b/vendor/github.com/vmware/govmomi/object/virtual_machine.go
@@ -23,6 +23,7 @@ import (
"net"
"path"
+ "github.com/vmware/govmomi/nfc"
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/methods"
@@ -81,6 +82,20 @@ func (v VirtualMachine) PowerOff(ctx context.Context) (*Task, error) {
return NewTask(v.c, res.Returnval), nil
}
+func (v VirtualMachine) PutUsbScanCodes(ctx context.Context, spec types.UsbScanCodeSpec) (int32, error) {
+ req := types.PutUsbScanCodes{
+ This: v.Reference(),
+ Spec: spec,
+ }
+
+ res, err := methods.PutUsbScanCodes(ctx, v.c, &req)
+ if err != nil {
+ return 0, err
+ }
+
+ return res.Returnval, nil
+}
+
func (v VirtualMachine) Reset(ctx context.Context) (*Task, error) {
req := types.ResetVM_Task{
This: v.Reference(),
@@ -197,6 +212,15 @@ func (v VirtualMachine) Reconfigure(ctx context.Context, config types.VirtualMac
return NewTask(v.c, res.Returnval), nil
}
+func (v VirtualMachine) RefreshStorageInfo(ctx context.Context) error {
+ req := types.RefreshStorageInfo{
+ This: v.Reference(),
+ }
+
+ _, err := methods.RefreshStorageInfo(ctx, v.c, &req)
+ return err
+}
+
func (v VirtualMachine) WaitForIP(ctx context.Context) (string, error) {
var ip string
@@ -261,6 +285,10 @@ func (v VirtualMachine) WaitForNetIP(ctx context.Context, v4 bool, device ...str
return true
})
+ if err != nil {
+ return nil, err
+ }
+
if len(device) != 0 {
// Only wait for specific NIC(s)
macs = make(map[string][]string)
@@ -464,6 +492,20 @@ func (v VirtualMachine) Answer(ctx context.Context, id, answer string) error {
return nil
}
+func (v VirtualMachine) AcquireTicket(ctx context.Context, kind string) (*types.VirtualMachineTicket, error) {
+ req := types.AcquireTicket{
+ This: v.Reference(),
+ TicketType: kind,
+ }
+
+ res, err := methods.AcquireTicket(ctx, v.c, &req)
+ if err != nil {
+ return nil, err
+ }
+
+ return &res.Returnval, nil
+}
+
// CreateSnapshot creates a new snapshot of a virtual machine.
func (v VirtualMachine) CreateSnapshot(ctx context.Context, name string, description string, memory bool, quiesce bool) (*Task, error) {
req := types.CreateSnapshot_Task{
@@ -497,7 +539,7 @@ func (v VirtualMachine) RemoveAllSnapshot(ctx context.Context, consolidate *bool
return NewTask(v.c, res.Returnval), nil
}
-type snapshotMap map[string][]Reference
+type snapshotMap map[string][]types.ManagedObjectReference
func (m snapshotMap) add(parent string, tree []types.VirtualMachineSnapshotTree) {
for i, st := range tree {
@@ -511,7 +553,7 @@ func (m snapshotMap) add(parent string, tree []types.VirtualMachineSnapshotTree)
}
for _, name := range names {
- m[name] = append(m[name], &tree[i].Snapshot)
+ m[name] = append(m[name], tree[i].Snapshot)
}
m.add(sname, st.ChildSnapshotList)
@@ -522,7 +564,7 @@ func (m snapshotMap) add(parent string, tree []types.VirtualMachineSnapshotTree)
// 1) snapshot ManagedObjectReference.Value (unique)
// 2) snapshot name (may not be unique)
// 3) snapshot tree path (may not be unique)
-func (v VirtualMachine) FindSnapshot(ctx context.Context, name string) (Reference, error) {
+func (v VirtualMachine) FindSnapshot(ctx context.Context, name string) (*types.ManagedObjectReference, error) {
var o mo.VirtualMachine
err := v.Properties(ctx, v.Reference(), []string{"snapshot"}, &o)
@@ -531,7 +573,7 @@ func (v VirtualMachine) FindSnapshot(ctx context.Context, name string) (Referenc
}
if o.Snapshot == nil || len(o.Snapshot.RootSnapshotList) == 0 {
- return nil, errors.New("No snapshots for this VM")
+ return nil, errors.New("no snapshots for this VM")
}
m := make(snapshotMap)
@@ -542,7 +584,7 @@ func (v VirtualMachine) FindSnapshot(ctx context.Context, name string) (Referenc
case 0:
return nil, fmt.Errorf("snapshot %q not found", name)
case 1:
- return s[0], nil
+ return &s[0], nil
default:
return nil, fmt.Errorf("%q resolves to %d snapshots", name, len(s))
}
@@ -757,3 +799,43 @@ func (v VirtualMachine) UpgradeTools(ctx context.Context, options string) (*Task
return NewTask(v.c, res.Returnval), nil
}
+
+func (v VirtualMachine) Export(ctx context.Context) (*nfc.Lease, error) {
+ req := types.ExportVm{
+ This: v.Reference(),
+ }
+
+ res, err := methods.ExportVm(ctx, v.Client(), &req)
+ if err != nil {
+ return nil, err
+ }
+
+ return nfc.NewLease(v.c, res.Returnval), nil
+}
+
+func (v VirtualMachine) UpgradeVM(ctx context.Context, version string) (*Task, error) {
+ req := types.UpgradeVM_Task{
+ This: v.Reference(),
+ Version: version,
+ }
+
+ res, err := methods.UpgradeVM_Task(ctx, v.Client(), &req)
+ if err != nil {
+ return nil, err
+ }
+
+ return NewTask(v.c, res.Returnval), nil
+}
+
+// UUID is a helper to get the UUID of the VirtualMachine managed object.
+// This method returns an empty string if an error occurs when retrieving UUID from the VirtualMachine object.
+func (v VirtualMachine) UUID(ctx context.Context) string {
+ var o mo.VirtualMachine
+
+ err := v.Properties(ctx, v.Reference(), []string{"config.uuid"}, &o)
+ if err != nil {
+ return ""
+ }
+
+ return o.Config.Uuid
+}
diff --git a/vendor/github.com/vmware/govmomi/program.mk b/vendor/github.com/vmware/govmomi/program.mk
new file mode 100644
index 000000000..c5f653193
--- /dev/null
+++ b/vendor/github.com/vmware/govmomi/program.mk
@@ -0,0 +1,48 @@
+ifneq (,$(strip $(GOOS)))
+ifeq (,$(strip $(GOARCH)))
+GOARCH := $(shell go env | grep GOARCH | awk -F= '{print $$2}' | tr -d '"')
+endif
+endif
+
+ifneq (,$(strip $(GOARCH)))
+ifeq (,$(strip $(GOOS)))
+GOOS := $(shell go env | grep GOOS | awk -F= '{print $$2}' | tr -d '"')
+endif
+endif
+
+ifeq (2,$(words $(GOOS) $(GOARCH)))
+PROGRAM := $(PROGRAM)_$(GOOS)_$(GOARCH)
+endif
+
+ifeq (windows,$(GOOS))
+PROGRAM := $(PROGRAM).exe
+endif
+
+all: $(PROGRAM)
+
+TAGS += netgo
+ifeq (,$(strip $(findstring -w,$(LDFLAGS))))
+LDFLAGS += -w
+endif
+BUILD_ARGS := -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -v
+
+$(PROGRAM):
+ CGO_ENABLED=0 go build -a $(BUILD_ARGS) -o $@
+
+install:
+ CGO_ENABLED=0 go install -i -v $(BUILD_ARGS)
+
+ifneq (,$(strip $(BUILD_OS)))
+ifneq (,$(strip $(BUILD_ARCH)))
+GOOS_GOARCH_TARGETS := $(foreach a,$(BUILD_ARCH),$(patsubst %,%_$a,$(BUILD_OS)))
+XBUILD := $(addprefix $(PROGRAM)_,$(GOOS_GOARCH_TARGETS))
+$(XBUILD):
+ GOOS=$(word 2,$(subst _, ,$@)) GOARCH=$(word 3,$(subst _, ,$@)) $(MAKE) --output-sync=target
+build-all: $(XBUILD)
+endif
+endif
+
+clean:
+ @rm -f $(PROGRAM) $(XBUILD)
+
+.PHONY: build-all install clean
diff --git a/vendor/github.com/vmware/govmomi/property/collector.go b/vendor/github.com/vmware/govmomi/property/collector.go
index 04a9e7737..b77e60061 100644
--- a/vendor/github.com/vmware/govmomi/property/collector.go
+++ b/vendor/github.com/vmware/govmomi/property/collector.go
@@ -111,6 +111,12 @@ func (p *Collector) WaitForUpdates(ctx context.Context, v string) (*types.Update
return res.Returnval, nil
}
+func (p *Collector) CancelWaitForUpdates(ctx context.Context) error {
+ req := &types.CancelWaitForUpdates{This: p.Reference()}
+ _, err := methods.CancelWaitForUpdates(ctx, p.roundTripper, req)
+ return err
+}
+
func (p *Collector) RetrieveProperties(ctx context.Context, req types.RetrieveProperties) (*types.RetrievePropertiesResponse, error) {
req.This = p.Reference()
return methods.RetrieveProperties(ctx, p.roundTripper, &req)
@@ -120,26 +126,30 @@ func (p *Collector) RetrieveProperties(ctx context.Context, req types.RetrievePr
// must be a pointer to a []interface{}, which is populated with the instances
// of the specified managed objects, with the relevant properties filled in. If
// the properties slice is nil, all properties are loaded.
+// Note that pointer types are optional fields that may be left as a nil value.
+// The caller should check such fields for a nil value before dereferencing.
func (p *Collector) Retrieve(ctx context.Context, objs []types.ManagedObjectReference, ps []string, dst interface{}) error {
- var propSpec *types.PropertySpec
+ if len(objs) == 0 {
+ return errors.New("object references is empty")
+ }
+
+ kinds := make(map[string]bool)
+
+ var propSet []types.PropertySpec
var objectSet []types.ObjectSpec
for _, obj := range objs {
- // Ensure that all object reference types are the same
- if propSpec == nil {
- propSpec = &types.PropertySpec{
+ if _, ok := kinds[obj.Type]; !ok {
+ spec := types.PropertySpec{
Type: obj.Type,
}
-
if ps == nil {
- propSpec.All = types.NewBool(true)
+ spec.All = types.NewBool(true)
} else {
- propSpec.PathSet = ps
- }
- } else {
- if obj.Type != propSpec.Type {
- return errors.New("object references must have the same type")
+ spec.PathSet = ps
}
+ propSet = append(propSet, spec)
+ kinds[obj.Type] = true
}
objectSpec := types.ObjectSpec{
@@ -154,7 +164,7 @@ func (p *Collector) Retrieve(ctx context.Context, objs []types.ManagedObjectRefe
SpecSet: []types.PropertyFilterSpec{
{
ObjectSet: objectSet,
- PropSet: []types.PropertySpec{*propSpec},
+ PropSet: propSet,
},
},
}
@@ -194,7 +204,7 @@ func (p *Collector) RetrieveWithFilter(ctx context.Context, objs []types.Managed
return p.Retrieve(ctx, objs, ps, dst)
}
-// RetrieveOne calls Retrieve with a single managed object reference.
+// RetrieveOne calls Retrieve with a single managed object reference via Collector.Retrieve().
func (p *Collector) RetrieveOne(ctx context.Context, obj types.ManagedObjectReference, ps []string, dst interface{}) error {
var objs = []types.ManagedObjectReference{obj}
return p.Retrieve(ctx, objs, ps, dst)
diff --git a/vendor/github.com/vmware/govmomi/property/filter.go b/vendor/github.com/vmware/govmomi/property/filter.go
index 8284b0c7d..a4bf16d05 100644
--- a/vendor/github.com/vmware/govmomi/property/filter.go
+++ b/vendor/github.com/vmware/govmomi/property/filter.go
@@ -122,7 +122,7 @@ func (f Filter) MatchPropertyList(props []types.DynamicProperty) bool {
}
}
- return true
+ return len(f) == len(props) // false if a property such as VM "guest" is unset
}
// MatchObjectContent returns a list of ObjectContent.Obj where the ObjectContent.PropSet matches the Filter.
diff --git a/vendor/github.com/vmware/govmomi/property/wait.go b/vendor/github.com/vmware/govmomi/property/wait.go
index 689477bfb..08de1913d 100644
--- a/vendor/github.com/vmware/govmomi/property/wait.go
+++ b/vendor/github.com/vmware/govmomi/property/wait.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2015 VMware, Inc. All Rights Reserved.
+Copyright (c) 2015-2017 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -19,10 +19,55 @@ package property
import (
"context"
+ "github.com/vmware/govmomi/vim25/methods"
"github.com/vmware/govmomi/vim25/types"
)
-// Wait waits for any of the specified properties of the specified managed
+// WaitFilter provides helpers to construct a types.CreateFilter for use with property.Wait
+type WaitFilter struct {
+ types.CreateFilter
+ Options *types.WaitOptions
+}
+
+// Add a new ObjectSpec and PropertySpec to the WaitFilter
+func (f *WaitFilter) Add(obj types.ManagedObjectReference, kind string, ps []string, set ...types.BaseSelectionSpec) *WaitFilter {
+ spec := types.ObjectSpec{
+ Obj: obj,
+ SelectSet: set,
+ }
+
+ pset := types.PropertySpec{
+ Type: kind,
+ PathSet: ps,
+ }
+
+ if len(ps) == 0 {
+ pset.All = types.NewBool(true)
+ }
+
+ f.Spec.ObjectSet = append(f.Spec.ObjectSet, spec)
+
+ f.Spec.PropSet = append(f.Spec.PropSet, pset)
+
+ return f
+}
+
+// Wait creates a new WaitFilter and calls the specified function for each ObjectUpdate via WaitForUpdates
+func Wait(ctx context.Context, c *Collector, obj types.ManagedObjectReference, ps []string, f func([]types.PropertyChange) bool) error {
+ filter := new(WaitFilter).Add(obj, obj.Type, ps)
+
+ return WaitForUpdates(ctx, c, filter, func(updates []types.ObjectUpdate) bool {
+ for _, update := range updates {
+ if f(update.ChangeSet) {
+ return true
+ }
+ }
+
+ return false
+ })
+}
+
+// WaitForUpdates waits for any of the specified properties of the specified managed
// object to change. It calls the specified function for every update it
// receives. If this function returns false, it continues waiting for
// subsequent updates. If this function returns true, it stops waiting and
@@ -32,122 +77,57 @@ import (
// creates a new property collector and calls CreateFilter. A new property
// collector is required because filters can only be added, not removed.
//
+// If the Context is canceled, a call to CancelWaitForUpdates() is made and its error value is returned.
// The newly created collector is destroyed before this function returns (both
// in case of success or error).
//
-func Wait(ctx context.Context, c *Collector, obj types.ManagedObjectReference, ps []string, f func([]types.PropertyChange) bool) error {
+func WaitForUpdates(ctx context.Context, c *Collector, filter *WaitFilter, f func([]types.ObjectUpdate) bool) error {
p, err := c.Create(ctx)
if err != nil {
return err
}
// Attempt to destroy the collector using the background context, as the
- // specified context may have timed out or have been cancelled.
- defer p.Destroy(context.Background())
+ // specified context may have timed out or have been canceled.
+ defer func() {
+ _ = p.Destroy(context.Background())
+ }()
- req := types.CreateFilter{
- Spec: types.PropertyFilterSpec{
- ObjectSet: []types.ObjectSpec{
- {
- Obj: obj,
- },
- },
- PropSet: []types.PropertySpec{
- {
- PathSet: ps,
- Type: obj.Type,
- },
- },
- },
- }
-
- if len(ps) == 0 {
- req.Spec.PropSet[0].All = types.NewBool(true)
- }
-
- err = p.CreateFilter(ctx, req)
- if err != nil {
- return err
- }
- return waitLoop(ctx, p, func(_ types.ManagedObjectReference, pc []types.PropertyChange) bool {
- return f(pc)
- })
-}
-
-// WaitForView waits for any of the specified properties of the managed
-// objects in the View to change. It calls the specified function for every update it
-// receives. If this function returns false, it continues waiting for
-// subsequent updates. If this function returns true, it stops waiting and
-// returns.
-//
-// To only receive updates for the View's specified managed objects, the function
-// creates a new property collector and calls CreateFilter. A new property
-// collector is required because filters can only be added, not removed.
-//
-// The newly created collector is destroyed before this function returns (both
-// in case of success or error).
-//
-// The code assumes that all objects in the View are the same type
-func WaitForView(ctx context.Context, c *Collector, view types.ManagedObjectReference, obj types.ManagedObjectReference, ps []string, f func(types.ManagedObjectReference, []types.PropertyChange) bool) error {
- p, err := c.Create(ctx)
+ err = p.CreateFilter(ctx, filter.CreateFilter)
if err != nil {
return err
}
- // Attempt to destroy the collector using the background context, as the
- // specified context may have timed out or have been cancelled.
- defer p.Destroy(context.Background())
-
- req := types.CreateFilter{
- Spec: types.PropertyFilterSpec{
- ObjectSet: []types.ObjectSpec{
- {
- Obj: view,
- SelectSet: []types.BaseSelectionSpec{
- &types.TraversalSpec{
- SelectionSpec: types.SelectionSpec{
- Name: "traverseEntities",
- },
- Path: "view",
- Type: view.Type}},
- },
- },
- PropSet: []types.PropertySpec{
- {
- Type: obj.Type,
- PathSet: ps,
- },
- },
- }}
-
- err = p.CreateFilter(ctx, req)
- if err != nil {
- return err
+ req := types.WaitForUpdatesEx{
+ This: p.Reference(),
+ Options: filter.Options,
}
- return waitLoop(ctx, p, f)
-}
-func waitLoop(ctx context.Context, c *Collector, f func(types.ManagedObjectReference, []types.PropertyChange) bool) error {
- for version := ""; ; {
- res, err := c.WaitForUpdates(ctx, version)
+ for {
+ res, err := methods.WaitForUpdatesEx(ctx, p.roundTripper, &req)
if err != nil {
+ if ctx.Err() == context.Canceled {
+ werr := p.CancelWaitForUpdates(context.Background())
+ return werr
+ }
return err
}
- // Retry if the result came back empty
- if res == nil {
+ set := res.Returnval
+ if set == nil {
+ if req.Options != nil && req.Options.MaxWaitSeconds != nil {
+ return nil // WaitOptions.MaxWaitSeconds exceeded
+ }
+ // Retry if the result came back empty
continue
}
- version = res.Version
+ req.Version = set.Version
- for _, fs := range res.FilterSet {
- for _, os := range fs.ObjectSet {
- if f(os.Obj, os.ChangeSet) {
- return nil
- }
+ for _, fs := range set.FilterSet {
+ if f(fs.ObjectSet) {
+ return nil
}
}
}
-
}
diff --git a/vendor/github.com/vmware/govmomi/session/keep_alive.go b/vendor/github.com/vmware/govmomi/session/keep_alive.go
index a9d4c141c..fede89da9 100644
--- a/vendor/github.com/vmware/govmomi/session/keep_alive.go
+++ b/vendor/github.com/vmware/govmomi/session/keep_alive.go
@@ -40,8 +40,8 @@ type keepAlive struct {
}
func defaultKeepAlive(roundTripper soap.RoundTripper) error {
- _, _ = methods.GetCurrentTime(context.Background(), roundTripper)
- return nil
+ _, err := methods.GetCurrentTime(context.Background(), roundTripper)
+ return err
}
// KeepAlive wraps the specified soap.RoundTripper and executes a meaningless
@@ -114,10 +114,9 @@ func (k *keepAlive) RoundTrip(ctx context.Context, req, res soap.HasFault) error
if err != nil {
return err
}
-
// Start ticker on login, stop ticker on logout.
switch req.(type) {
- case *methods.LoginBody, *methods.LoginExtensionByCertificateBody:
+ case *methods.LoginBody, *methods.LoginExtensionByCertificateBody, *methods.LoginByTokenBody:
k.start()
case *methods.LogoutBody:
k.stop()
diff --git a/vendor/github.com/vmware/govmomi/session/manager.go b/vendor/github.com/vmware/govmomi/session/manager.go
index b4591c1c4..30adfeee5 100644
--- a/vendor/github.com/vmware/govmomi/session/manager.go
+++ b/vendor/github.com/vmware/govmomi/session/manager.go
@@ -18,8 +18,11 @@ package session
import (
"context"
+ "io/ioutil"
+ "net/http"
"net/url"
"os"
+ "strings"
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/vim25"
@@ -40,6 +43,21 @@ func init() {
}
}
+// Secret returns the contents if a file path value is given, otherwise returns value itself.
+func Secret(value string) (string, error) {
+ if len(value) == 0 {
+ return value, nil
+ }
+ contents, err := ioutil.ReadFile(value)
+ if err != nil {
+ if os.IsNotExist(err) {
+ return value, nil
+ }
+ return "", err
+ }
+ return strings.TrimSpace(string(contents)), nil
+}
+
type Manager struct {
client *vim25.Client
userSession *types.UserSession
@@ -89,14 +107,51 @@ func (sm *Manager) Login(ctx context.Context, u *url.Userinfo) error {
return nil
}
-func (sm *Manager) LoginExtensionByCertificate(ctx context.Context, key string, locale string) error {
+// LoginExtensionByCertificate uses the vCenter SDK tunnel to login using a client certificate.
+// The client certificate can be set using the soap.Client.SetCertificate method.
+// See: https://kb.vmware.com/s/article/2004305
+func (sm *Manager) LoginExtensionByCertificate(ctx context.Context, key string) error {
+ c := sm.client
+ u := c.URL()
+ if u.Hostname() != "sdkTunnel" {
+ sc := c.Tunnel()
+ c = &vim25.Client{
+ Client: sc,
+ RoundTripper: sc,
+ ServiceContent: c.ServiceContent,
+ }
+ // When http.Transport.Proxy is used, our thumbprint checker is bypassed, resulting in:
+ // "Post https://sdkTunnel:8089/sdk: x509: certificate is valid for $vcenter_hostname, not sdkTunnel"
+ // The only easy way around this is to disable verification for the call to LoginExtensionByCertificate().
+ // TODO: find a way to avoid disabling InsecureSkipVerify.
+ c.Transport.(*http.Transport).TLSClientConfig.InsecureSkipVerify = true
+ }
+
req := types.LoginExtensionByCertificate{
This: sm.Reference(),
ExtensionKey: key,
- Locale: locale,
+ Locale: Locale,
}
- login, err := methods.LoginExtensionByCertificate(ctx, sm.client, &req)
+ login, err := methods.LoginExtensionByCertificate(ctx, c, &req)
+ if err != nil {
+ return err
+ }
+
+ // Copy the session cookie
+ sm.client.Jar.SetCookies(u, c.Jar.Cookies(c.URL()))
+
+ sm.userSession = &login.Returnval
+ return nil
+}
+
+func (sm *Manager) LoginByToken(ctx context.Context) error {
+ req := types.LoginByToken{
+ This: sm.Reference(),
+ Locale: Locale,
+ }
+
+ login, err := methods.LoginByToken(ctx, sm.client, &req)
if err != nil {
return err
}
@@ -199,3 +254,31 @@ func (sm *Manager) AcquireLocalTicket(ctx context.Context, userName string) (*ty
return &res.Returnval, nil
}
+
+func (sm *Manager) AcquireCloneTicket(ctx context.Context) (string, error) {
+ req := types.AcquireCloneTicket{
+ This: sm.Reference(),
+ }
+
+ res, err := methods.AcquireCloneTicket(ctx, sm.client, &req)
+ if err != nil {
+ return "", err
+ }
+
+ return res.Returnval, nil
+}
+
+func (sm *Manager) CloneSession(ctx context.Context, ticket string) error {
+ req := types.CloneSession{
+ This: sm.Reference(),
+ CloneTicket: ticket,
+ }
+
+ res, err := methods.CloneSession(ctx, sm.client, &req)
+ if err != nil {
+ return err
+ }
+
+ sm.userSession = &res.Returnval
+ return nil
+}
diff --git a/vendor/github.com/vmware/govmomi/task/wait.go b/vendor/github.com/vmware/govmomi/task/wait.go
index 19fee5384..c7555b72d 100644
--- a/vendor/github.com/vmware/govmomi/task/wait.go
+++ b/vendor/github.com/vmware/govmomi/task/wait.go
@@ -68,7 +68,7 @@ func (t *taskCallback) fn(pc []types.PropertyChange) bool {
t.info = &ti
}
- // t.info could be nil if pc can't satify the rules above
+ // t.info could be nil if pc can't satisfy the rules above
if t.info == nil {
return false
}
diff --git a/vendor/github.com/vmware/govmomi/vim25/client.go b/vendor/github.com/vmware/govmomi/vim25/client.go
index 1289f33ef..8ad8934e0 100644
--- a/vendor/github.com/vmware/govmomi/vim25/client.go
+++ b/vendor/github.com/vmware/govmomi/vim25/client.go
@@ -19,12 +19,30 @@ package vim25
import (
"context"
"encoding/json"
+ "encoding/xml"
+ "fmt"
+ "net/http"
+ "path"
+ "strings"
"github.com/vmware/govmomi/vim25/methods"
"github.com/vmware/govmomi/vim25/soap"
"github.com/vmware/govmomi/vim25/types"
)
+const (
+ Namespace = "vim25"
+ Version = "6.7"
+ Path = "/sdk"
+)
+
+var (
+ ServiceInstance = types.ManagedObjectReference{
+ Type: "ServiceInstance",
+ Value: "ServiceInstance",
+ }
+)
+
// Client is a tiny wrapper around the vim25/soap Client that stores session
// specific state (i.e. state that only needs to be retrieved once after the
// client has been created). This means the client can be reused after
@@ -40,27 +58,63 @@ type Client struct {
RoundTripper soap.RoundTripper
}
-// NewClient creates and returns a new client wirh the ServiceContent field
+// NewClient creates and returns a new client with the ServiceContent field
// filled in.
func NewClient(ctx context.Context, rt soap.RoundTripper) (*Client, error) {
- serviceContent, err := methods.GetServiceContent(ctx, rt)
- if err != nil {
- return nil, err
- }
-
c := Client{
- ServiceContent: serviceContent,
- RoundTripper: rt,
+ RoundTripper: rt,
}
// Set client if it happens to be a soap.Client
if sc, ok := rt.(*soap.Client); ok {
c.Client = sc
+
+ if c.Namespace == "" {
+ c.Namespace = "urn:" + Namespace
+ } else if !strings.Contains(c.Namespace, ":") {
+ c.Namespace = "urn:" + c.Namespace // ensure valid URI format
+ }
+ if c.Version == "" {
+ c.Version = Version
+ }
+ }
+
+ var err error
+ c.ServiceContent, err = methods.GetServiceContent(ctx, rt)
+ if err != nil {
+ return nil, err
}
return &c, nil
}
+// UseServiceVersion sets soap.Client.Version to the current version of the service endpoint via /sdk/vimServiceVersions.xml
+func (c *Client) UseServiceVersion() error {
+ u := c.URL()
+ u.Path = path.Join(Path, "vimServiceVersions.xml")
+
+ res, err := c.Get(u.String())
+ if err != nil {
+ return err
+ }
+
+ if res.StatusCode != http.StatusOK {
+ return fmt.Errorf("http.Get(%s): %s", u.Path, err)
+ }
+
+ v := struct {
+ Version *string `xml:"namespace>version"`
+ }{&c.Version}
+
+ err = xml.NewDecoder(res.Body).Decode(&v)
+ _ = res.Body.Close()
+ if err != nil {
+ return fmt.Errorf("xml.Decode(%s): %s", u.Path, err)
+ }
+
+ return nil
+}
+
// RoundTrip dispatches to the RoundTripper field.
func (c *Client) RoundTrip(ctx context.Context, req, res soap.HasFault) error {
return c.RoundTripper.RoundTrip(ctx, req, res)
diff --git a/vendor/github.com/vmware/govmomi/vim25/methods/internal.go b/vendor/github.com/vmware/govmomi/vim25/methods/internal.go
deleted file mode 100644
index a79adf3a8..000000000
--- a/vendor/github.com/vmware/govmomi/vim25/methods/internal.go
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
-Copyright (c) 2014-2015 VMware, Inc. All Rights Reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-package methods
-
-import (
- "context"
-
- "github.com/vmware/govmomi/vim25/soap"
- "github.com/vmware/govmomi/vim25/types"
-)
-
-type RetrieveDynamicTypeManagerBody struct {
- Req *types.RetrieveDynamicTypeManager `xml:"urn:vim25 RetrieveDynamicTypeManager"`
- Res *types.RetrieveDynamicTypeManagerResponse `xml:"urn:vim25 RetrieveDynamicTypeManagerResponse"`
- Fault_ *soap.Fault
-}
-
-func (b *RetrieveDynamicTypeManagerBody) Fault() *soap.Fault { return b.Fault_ }
-
-func RetrieveDynamicTypeManager(ctx context.Context, r soap.RoundTripper, req *types.RetrieveDynamicTypeManager) (*types.RetrieveDynamicTypeManagerResponse, error) {
- var reqBody, resBody RetrieveDynamicTypeManagerBody
-
- reqBody.Req = req
-
- if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
- return nil, err
- }
-
- return resBody.Res, nil
-}
-
-type RetrieveManagedMethodExecuterBody struct {
- Req *types.RetrieveManagedMethodExecuter `xml:"urn:vim25 RetrieveManagedMethodExecuter"`
- Res *types.RetrieveManagedMethodExecuterResponse `xml:"urn:vim25 RetrieveManagedMethodExecuterResponse"`
- Fault_ *soap.Fault
-}
-
-func (b *RetrieveManagedMethodExecuterBody) Fault() *soap.Fault { return b.Fault_ }
-
-func RetrieveManagedMethodExecuter(ctx context.Context, r soap.RoundTripper, req *types.RetrieveManagedMethodExecuter) (*types.RetrieveManagedMethodExecuterResponse, error) {
- var reqBody, resBody RetrieveManagedMethodExecuterBody
-
- reqBody.Req = req
-
- if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
- return nil, err
- }
-
- return resBody.Res, nil
-}
-
-type DynamicTypeMgrQueryMoInstancesBody struct {
- Req *types.DynamicTypeMgrQueryMoInstances `xml:"urn:vim25 DynamicTypeMgrQueryMoInstances"`
- Res *types.DynamicTypeMgrQueryMoInstancesResponse `xml:"urn:vim25 DynamicTypeMgrQueryMoInstancesResponse"`
- Fault_ *soap.Fault
-}
-
-func (b *DynamicTypeMgrQueryMoInstancesBody) Fault() *soap.Fault { return b.Fault_ }
-
-func DynamicTypeMgrQueryMoInstances(ctx context.Context, r soap.RoundTripper, req *types.DynamicTypeMgrQueryMoInstances) (*types.DynamicTypeMgrQueryMoInstancesResponse, error) {
- var reqBody, resBody DynamicTypeMgrQueryMoInstancesBody
-
- reqBody.Req = req
-
- if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
- return nil, err
- }
-
- return resBody.Res, nil
-}
-
-type DynamicTypeMgrQueryTypeInfoBody struct {
- Req *types.DynamicTypeMgrQueryTypeInfo `xml:"urn:vim25 DynamicTypeMgrQueryTypeInfo"`
- Res *types.DynamicTypeMgrQueryTypeInfoResponse `xml:"urn:vim25 DynamicTypeMgrQueryTypeInfoResponse"`
- Fault_ *soap.Fault
-}
-
-func (b *DynamicTypeMgrQueryTypeInfoBody) Fault() *soap.Fault { return b.Fault_ }
-
-func DynamicTypeMgrQueryTypeInfo(ctx context.Context, r soap.RoundTripper, req *types.DynamicTypeMgrQueryTypeInfo) (*types.DynamicTypeMgrQueryTypeInfoResponse, error) {
- var reqBody, resBody DynamicTypeMgrQueryTypeInfoBody
-
- reqBody.Req = req
-
- if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
- return nil, err
- }
-
- return resBody.Res, nil
-}
-
-type ExecuteSoapBody struct {
- Req *types.ExecuteSoap `xml:"urn:vim25 ExecuteSoap"`
- Res *types.ExecuteSoapResponse `xml:"urn:vim25 ExecuteSoapResponse"`
- Fault_ *soap.Fault
-}
-
-func (b *ExecuteSoapBody) Fault() *soap.Fault { return b.Fault_ }
-
-func ExecuteSoap(ctx context.Context, r soap.RoundTripper, req *types.ExecuteSoap) (*types.ExecuteSoapResponse, error) {
- var reqBody, resBody ExecuteSoapBody
-
- reqBody.Req = req
-
- if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
- return nil, err
- }
-
- return resBody.Res, nil
-}
diff --git a/vendor/github.com/vmware/govmomi/vim25/methods/methods.go b/vendor/github.com/vmware/govmomi/vim25/methods/methods.go
index 0895a81c6..f2124121f 100644
--- a/vendor/github.com/vmware/govmomi/vim25/methods/methods.go
+++ b/vendor/github.com/vmware/govmomi/vim25/methods/methods.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -23,9 +23,29 @@ import (
"github.com/vmware/govmomi/vim25/types"
)
+type AbandonHciWorkflowBody struct {
+ Req *types.AbandonHciWorkflow `xml:"urn:vim25 AbandonHciWorkflow,omitempty"`
+ Res *types.AbandonHciWorkflowResponse `xml:"AbandonHciWorkflowResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *AbandonHciWorkflowBody) Fault() *soap.Fault { return b.Fault_ }
+
+func AbandonHciWorkflow(ctx context.Context, r soap.RoundTripper, req *types.AbandonHciWorkflow) (*types.AbandonHciWorkflowResponse, error) {
+ var reqBody, resBody AbandonHciWorkflowBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type AbdicateDomOwnershipBody struct {
Req *types.AbdicateDomOwnership `xml:"urn:vim25 AbdicateDomOwnership,omitempty"`
- Res *types.AbdicateDomOwnershipResponse `xml:"urn:vim25 AbdicateDomOwnershipResponse,omitempty"`
+ Res *types.AbdicateDomOwnershipResponse `xml:"AbdicateDomOwnershipResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -45,7 +65,7 @@ func AbdicateDomOwnership(ctx context.Context, r soap.RoundTripper, req *types.A
type AcknowledgeAlarmBody struct {
Req *types.AcknowledgeAlarm `xml:"urn:vim25 AcknowledgeAlarm,omitempty"`
- Res *types.AcknowledgeAlarmResponse `xml:"urn:vim25 AcknowledgeAlarmResponse,omitempty"`
+ Res *types.AcknowledgeAlarmResponse `xml:"AcknowledgeAlarmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -65,7 +85,7 @@ func AcknowledgeAlarm(ctx context.Context, r soap.RoundTripper, req *types.Ackno
type AcquireCimServicesTicketBody struct {
Req *types.AcquireCimServicesTicket `xml:"urn:vim25 AcquireCimServicesTicket,omitempty"`
- Res *types.AcquireCimServicesTicketResponse `xml:"urn:vim25 AcquireCimServicesTicketResponse,omitempty"`
+ Res *types.AcquireCimServicesTicketResponse `xml:"AcquireCimServicesTicketResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -85,7 +105,7 @@ func AcquireCimServicesTicket(ctx context.Context, r soap.RoundTripper, req *typ
type AcquireCloneTicketBody struct {
Req *types.AcquireCloneTicket `xml:"urn:vim25 AcquireCloneTicket,omitempty"`
- Res *types.AcquireCloneTicketResponse `xml:"urn:vim25 AcquireCloneTicketResponse,omitempty"`
+ Res *types.AcquireCloneTicketResponse `xml:"AcquireCloneTicketResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -105,7 +125,7 @@ func AcquireCloneTicket(ctx context.Context, r soap.RoundTripper, req *types.Acq
type AcquireCredentialsInGuestBody struct {
Req *types.AcquireCredentialsInGuest `xml:"urn:vim25 AcquireCredentialsInGuest,omitempty"`
- Res *types.AcquireCredentialsInGuestResponse `xml:"urn:vim25 AcquireCredentialsInGuestResponse,omitempty"`
+ Res *types.AcquireCredentialsInGuestResponse `xml:"AcquireCredentialsInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -125,7 +145,7 @@ func AcquireCredentialsInGuest(ctx context.Context, r soap.RoundTripper, req *ty
type AcquireGenericServiceTicketBody struct {
Req *types.AcquireGenericServiceTicket `xml:"urn:vim25 AcquireGenericServiceTicket,omitempty"`
- Res *types.AcquireGenericServiceTicketResponse `xml:"urn:vim25 AcquireGenericServiceTicketResponse,omitempty"`
+ Res *types.AcquireGenericServiceTicketResponse `xml:"AcquireGenericServiceTicketResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -145,7 +165,7 @@ func AcquireGenericServiceTicket(ctx context.Context, r soap.RoundTripper, req *
type AcquireLocalTicketBody struct {
Req *types.AcquireLocalTicket `xml:"urn:vim25 AcquireLocalTicket,omitempty"`
- Res *types.AcquireLocalTicketResponse `xml:"urn:vim25 AcquireLocalTicketResponse,omitempty"`
+ Res *types.AcquireLocalTicketResponse `xml:"AcquireLocalTicketResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -165,7 +185,7 @@ func AcquireLocalTicket(ctx context.Context, r soap.RoundTripper, req *types.Acq
type AcquireMksTicketBody struct {
Req *types.AcquireMksTicket `xml:"urn:vim25 AcquireMksTicket,omitempty"`
- Res *types.AcquireMksTicketResponse `xml:"urn:vim25 AcquireMksTicketResponse,omitempty"`
+ Res *types.AcquireMksTicketResponse `xml:"AcquireMksTicketResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -185,7 +205,7 @@ func AcquireMksTicket(ctx context.Context, r soap.RoundTripper, req *types.Acqui
type AcquireTicketBody struct {
Req *types.AcquireTicket `xml:"urn:vim25 AcquireTicket,omitempty"`
- Res *types.AcquireTicketResponse `xml:"urn:vim25 AcquireTicketResponse,omitempty"`
+ Res *types.AcquireTicketResponse `xml:"AcquireTicketResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -205,7 +225,7 @@ func AcquireTicket(ctx context.Context, r soap.RoundTripper, req *types.AcquireT
type AddAuthorizationRoleBody struct {
Req *types.AddAuthorizationRole `xml:"urn:vim25 AddAuthorizationRole,omitempty"`
- Res *types.AddAuthorizationRoleResponse `xml:"urn:vim25 AddAuthorizationRoleResponse,omitempty"`
+ Res *types.AddAuthorizationRoleResponse `xml:"AddAuthorizationRoleResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -225,7 +245,7 @@ func AddAuthorizationRole(ctx context.Context, r soap.RoundTripper, req *types.A
type AddCustomFieldDefBody struct {
Req *types.AddCustomFieldDef `xml:"urn:vim25 AddCustomFieldDef,omitempty"`
- Res *types.AddCustomFieldDefResponse `xml:"urn:vim25 AddCustomFieldDefResponse,omitempty"`
+ Res *types.AddCustomFieldDefResponse `xml:"AddCustomFieldDefResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -245,7 +265,7 @@ func AddCustomFieldDef(ctx context.Context, r soap.RoundTripper, req *types.AddC
type AddDVPortgroup_TaskBody struct {
Req *types.AddDVPortgroup_Task `xml:"urn:vim25 AddDVPortgroup_Task,omitempty"`
- Res *types.AddDVPortgroup_TaskResponse `xml:"urn:vim25 AddDVPortgroup_TaskResponse,omitempty"`
+ Res *types.AddDVPortgroup_TaskResponse `xml:"AddDVPortgroup_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -265,7 +285,7 @@ func AddDVPortgroup_Task(ctx context.Context, r soap.RoundTripper, req *types.Ad
type AddDisks_TaskBody struct {
Req *types.AddDisks_Task `xml:"urn:vim25 AddDisks_Task,omitempty"`
- Res *types.AddDisks_TaskResponse `xml:"urn:vim25 AddDisks_TaskResponse,omitempty"`
+ Res *types.AddDisks_TaskResponse `xml:"AddDisks_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -285,7 +305,7 @@ func AddDisks_Task(ctx context.Context, r soap.RoundTripper, req *types.AddDisks
type AddFilterBody struct {
Req *types.AddFilter `xml:"urn:vim25 AddFilter,omitempty"`
- Res *types.AddFilterResponse `xml:"urn:vim25 AddFilterResponse,omitempty"`
+ Res *types.AddFilterResponse `xml:"AddFilterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -305,7 +325,7 @@ func AddFilter(ctx context.Context, r soap.RoundTripper, req *types.AddFilter) (
type AddFilterEntitiesBody struct {
Req *types.AddFilterEntities `xml:"urn:vim25 AddFilterEntities,omitempty"`
- Res *types.AddFilterEntitiesResponse `xml:"urn:vim25 AddFilterEntitiesResponse,omitempty"`
+ Res *types.AddFilterEntitiesResponse `xml:"AddFilterEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -325,7 +345,7 @@ func AddFilterEntities(ctx context.Context, r soap.RoundTripper, req *types.AddF
type AddGuestAliasBody struct {
Req *types.AddGuestAlias `xml:"urn:vim25 AddGuestAlias,omitempty"`
- Res *types.AddGuestAliasResponse `xml:"urn:vim25 AddGuestAliasResponse,omitempty"`
+ Res *types.AddGuestAliasResponse `xml:"AddGuestAliasResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -345,7 +365,7 @@ func AddGuestAlias(ctx context.Context, r soap.RoundTripper, req *types.AddGuest
type AddHost_TaskBody struct {
Req *types.AddHost_Task `xml:"urn:vim25 AddHost_Task,omitempty"`
- Res *types.AddHost_TaskResponse `xml:"urn:vim25 AddHost_TaskResponse,omitempty"`
+ Res *types.AddHost_TaskResponse `xml:"AddHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -365,7 +385,7 @@ func AddHost_Task(ctx context.Context, r soap.RoundTripper, req *types.AddHost_T
type AddInternetScsiSendTargetsBody struct {
Req *types.AddInternetScsiSendTargets `xml:"urn:vim25 AddInternetScsiSendTargets,omitempty"`
- Res *types.AddInternetScsiSendTargetsResponse `xml:"urn:vim25 AddInternetScsiSendTargetsResponse,omitempty"`
+ Res *types.AddInternetScsiSendTargetsResponse `xml:"AddInternetScsiSendTargetsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -385,7 +405,7 @@ func AddInternetScsiSendTargets(ctx context.Context, r soap.RoundTripper, req *t
type AddInternetScsiStaticTargetsBody struct {
Req *types.AddInternetScsiStaticTargets `xml:"urn:vim25 AddInternetScsiStaticTargets,omitempty"`
- Res *types.AddInternetScsiStaticTargetsResponse `xml:"urn:vim25 AddInternetScsiStaticTargetsResponse,omitempty"`
+ Res *types.AddInternetScsiStaticTargetsResponse `xml:"AddInternetScsiStaticTargetsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -405,7 +425,7 @@ func AddInternetScsiStaticTargets(ctx context.Context, r soap.RoundTripper, req
type AddKeyBody struct {
Req *types.AddKey `xml:"urn:vim25 AddKey,omitempty"`
- Res *types.AddKeyResponse `xml:"urn:vim25 AddKeyResponse,omitempty"`
+ Res *types.AddKeyResponse `xml:"AddKeyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -425,7 +445,7 @@ func AddKey(ctx context.Context, r soap.RoundTripper, req *types.AddKey) (*types
type AddKeysBody struct {
Req *types.AddKeys `xml:"urn:vim25 AddKeys,omitempty"`
- Res *types.AddKeysResponse `xml:"urn:vim25 AddKeysResponse,omitempty"`
+ Res *types.AddKeysResponse `xml:"AddKeysResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -445,7 +465,7 @@ func AddKeys(ctx context.Context, r soap.RoundTripper, req *types.AddKeys) (*typ
type AddLicenseBody struct {
Req *types.AddLicense `xml:"urn:vim25 AddLicense,omitempty"`
- Res *types.AddLicenseResponse `xml:"urn:vim25 AddLicenseResponse,omitempty"`
+ Res *types.AddLicenseResponse `xml:"AddLicenseResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -465,7 +485,7 @@ func AddLicense(ctx context.Context, r soap.RoundTripper, req *types.AddLicense)
type AddMonitoredEntitiesBody struct {
Req *types.AddMonitoredEntities `xml:"urn:vim25 AddMonitoredEntities,omitempty"`
- Res *types.AddMonitoredEntitiesResponse `xml:"urn:vim25 AddMonitoredEntitiesResponse,omitempty"`
+ Res *types.AddMonitoredEntitiesResponse `xml:"AddMonitoredEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -485,7 +505,7 @@ func AddMonitoredEntities(ctx context.Context, r soap.RoundTripper, req *types.A
type AddNetworkResourcePoolBody struct {
Req *types.AddNetworkResourcePool `xml:"urn:vim25 AddNetworkResourcePool,omitempty"`
- Res *types.AddNetworkResourcePoolResponse `xml:"urn:vim25 AddNetworkResourcePoolResponse,omitempty"`
+ Res *types.AddNetworkResourcePoolResponse `xml:"AddNetworkResourcePoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -505,7 +525,7 @@ func AddNetworkResourcePool(ctx context.Context, r soap.RoundTripper, req *types
type AddPortGroupBody struct {
Req *types.AddPortGroup `xml:"urn:vim25 AddPortGroup,omitempty"`
- Res *types.AddPortGroupResponse `xml:"urn:vim25 AddPortGroupResponse,omitempty"`
+ Res *types.AddPortGroupResponse `xml:"AddPortGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -525,7 +545,7 @@ func AddPortGroup(ctx context.Context, r soap.RoundTripper, req *types.AddPortGr
type AddServiceConsoleVirtualNicBody struct {
Req *types.AddServiceConsoleVirtualNic `xml:"urn:vim25 AddServiceConsoleVirtualNic,omitempty"`
- Res *types.AddServiceConsoleVirtualNicResponse `xml:"urn:vim25 AddServiceConsoleVirtualNicResponse,omitempty"`
+ Res *types.AddServiceConsoleVirtualNicResponse `xml:"AddServiceConsoleVirtualNicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -545,7 +565,7 @@ func AddServiceConsoleVirtualNic(ctx context.Context, r soap.RoundTripper, req *
type AddStandaloneHost_TaskBody struct {
Req *types.AddStandaloneHost_Task `xml:"urn:vim25 AddStandaloneHost_Task,omitempty"`
- Res *types.AddStandaloneHost_TaskResponse `xml:"urn:vim25 AddStandaloneHost_TaskResponse,omitempty"`
+ Res *types.AddStandaloneHost_TaskResponse `xml:"AddStandaloneHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -565,7 +585,7 @@ func AddStandaloneHost_Task(ctx context.Context, r soap.RoundTripper, req *types
type AddVirtualNicBody struct {
Req *types.AddVirtualNic `xml:"urn:vim25 AddVirtualNic,omitempty"`
- Res *types.AddVirtualNicResponse `xml:"urn:vim25 AddVirtualNicResponse,omitempty"`
+ Res *types.AddVirtualNicResponse `xml:"AddVirtualNicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -585,7 +605,7 @@ func AddVirtualNic(ctx context.Context, r soap.RoundTripper, req *types.AddVirtu
type AddVirtualSwitchBody struct {
Req *types.AddVirtualSwitch `xml:"urn:vim25 AddVirtualSwitch,omitempty"`
- Res *types.AddVirtualSwitchResponse `xml:"urn:vim25 AddVirtualSwitchResponse,omitempty"`
+ Res *types.AddVirtualSwitchResponse `xml:"AddVirtualSwitchResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -605,7 +625,7 @@ func AddVirtualSwitch(ctx context.Context, r soap.RoundTripper, req *types.AddVi
type AllocateIpv4AddressBody struct {
Req *types.AllocateIpv4Address `xml:"urn:vim25 AllocateIpv4Address,omitempty"`
- Res *types.AllocateIpv4AddressResponse `xml:"urn:vim25 AllocateIpv4AddressResponse,omitempty"`
+ Res *types.AllocateIpv4AddressResponse `xml:"AllocateIpv4AddressResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -625,7 +645,7 @@ func AllocateIpv4Address(ctx context.Context, r soap.RoundTripper, req *types.Al
type AllocateIpv6AddressBody struct {
Req *types.AllocateIpv6Address `xml:"urn:vim25 AllocateIpv6Address,omitempty"`
- Res *types.AllocateIpv6AddressResponse `xml:"urn:vim25 AllocateIpv6AddressResponse,omitempty"`
+ Res *types.AllocateIpv6AddressResponse `xml:"AllocateIpv6AddressResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -645,7 +665,7 @@ func AllocateIpv6Address(ctx context.Context, r soap.RoundTripper, req *types.Al
type AnswerVMBody struct {
Req *types.AnswerVM `xml:"urn:vim25 AnswerVM,omitempty"`
- Res *types.AnswerVMResponse `xml:"urn:vim25 AnswerVMResponse,omitempty"`
+ Res *types.AnswerVMResponse `xml:"AnswerVMResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -665,7 +685,7 @@ func AnswerVM(ctx context.Context, r soap.RoundTripper, req *types.AnswerVM) (*t
type ApplyEntitiesConfig_TaskBody struct {
Req *types.ApplyEntitiesConfig_Task `xml:"urn:vim25 ApplyEntitiesConfig_Task,omitempty"`
- Res *types.ApplyEntitiesConfig_TaskResponse `xml:"urn:vim25 ApplyEntitiesConfig_TaskResponse,omitempty"`
+ Res *types.ApplyEntitiesConfig_TaskResponse `xml:"ApplyEntitiesConfig_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -683,9 +703,29 @@ func ApplyEntitiesConfig_Task(ctx context.Context, r soap.RoundTripper, req *typ
return resBody.Res, nil
}
+type ApplyEvcModeVM_TaskBody struct {
+ Req *types.ApplyEvcModeVM_Task `xml:"urn:vim25 ApplyEvcModeVM_Task,omitempty"`
+ Res *types.ApplyEvcModeVM_TaskResponse `xml:"ApplyEvcModeVM_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ApplyEvcModeVM_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ApplyEvcModeVM_Task(ctx context.Context, r soap.RoundTripper, req *types.ApplyEvcModeVM_Task) (*types.ApplyEvcModeVM_TaskResponse, error) {
+ var reqBody, resBody ApplyEvcModeVM_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ApplyHostConfig_TaskBody struct {
Req *types.ApplyHostConfig_Task `xml:"urn:vim25 ApplyHostConfig_Task,omitempty"`
- Res *types.ApplyHostConfig_TaskResponse `xml:"urn:vim25 ApplyHostConfig_TaskResponse,omitempty"`
+ Res *types.ApplyHostConfig_TaskResponse `xml:"ApplyHostConfig_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -705,7 +745,7 @@ func ApplyHostConfig_Task(ctx context.Context, r soap.RoundTripper, req *types.A
type ApplyRecommendationBody struct {
Req *types.ApplyRecommendation `xml:"urn:vim25 ApplyRecommendation,omitempty"`
- Res *types.ApplyRecommendationResponse `xml:"urn:vim25 ApplyRecommendationResponse,omitempty"`
+ Res *types.ApplyRecommendationResponse `xml:"ApplyRecommendationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -725,7 +765,7 @@ func ApplyRecommendation(ctx context.Context, r soap.RoundTripper, req *types.Ap
type ApplyStorageDrsRecommendationToPod_TaskBody struct {
Req *types.ApplyStorageDrsRecommendationToPod_Task `xml:"urn:vim25 ApplyStorageDrsRecommendationToPod_Task,omitempty"`
- Res *types.ApplyStorageDrsRecommendationToPod_TaskResponse `xml:"urn:vim25 ApplyStorageDrsRecommendationToPod_TaskResponse,omitempty"`
+ Res *types.ApplyStorageDrsRecommendationToPod_TaskResponse `xml:"ApplyStorageDrsRecommendationToPod_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -745,7 +785,7 @@ func ApplyStorageDrsRecommendationToPod_Task(ctx context.Context, r soap.RoundTr
type ApplyStorageDrsRecommendation_TaskBody struct {
Req *types.ApplyStorageDrsRecommendation_Task `xml:"urn:vim25 ApplyStorageDrsRecommendation_Task,omitempty"`
- Res *types.ApplyStorageDrsRecommendation_TaskResponse `xml:"urn:vim25 ApplyStorageDrsRecommendation_TaskResponse,omitempty"`
+ Res *types.ApplyStorageDrsRecommendation_TaskResponse `xml:"ApplyStorageDrsRecommendation_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -765,7 +805,7 @@ func ApplyStorageDrsRecommendation_Task(ctx context.Context, r soap.RoundTripper
type AreAlarmActionsEnabledBody struct {
Req *types.AreAlarmActionsEnabled `xml:"urn:vim25 AreAlarmActionsEnabled,omitempty"`
- Res *types.AreAlarmActionsEnabledResponse `xml:"urn:vim25 AreAlarmActionsEnabledResponse,omitempty"`
+ Res *types.AreAlarmActionsEnabledResponse `xml:"AreAlarmActionsEnabledResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -785,7 +825,7 @@ func AreAlarmActionsEnabled(ctx context.Context, r soap.RoundTripper, req *types
type AssignUserToGroupBody struct {
Req *types.AssignUserToGroup `xml:"urn:vim25 AssignUserToGroup,omitempty"`
- Res *types.AssignUserToGroupResponse `xml:"urn:vim25 AssignUserToGroupResponse,omitempty"`
+ Res *types.AssignUserToGroupResponse `xml:"AssignUserToGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -805,7 +845,7 @@ func AssignUserToGroup(ctx context.Context, r soap.RoundTripper, req *types.Assi
type AssociateProfileBody struct {
Req *types.AssociateProfile `xml:"urn:vim25 AssociateProfile,omitempty"`
- Res *types.AssociateProfileResponse `xml:"urn:vim25 AssociateProfileResponse,omitempty"`
+ Res *types.AssociateProfileResponse `xml:"AssociateProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -825,7 +865,7 @@ func AssociateProfile(ctx context.Context, r soap.RoundTripper, req *types.Assoc
type AttachDisk_TaskBody struct {
Req *types.AttachDisk_Task `xml:"urn:vim25 AttachDisk_Task,omitempty"`
- Res *types.AttachDisk_TaskResponse `xml:"urn:vim25 AttachDisk_TaskResponse,omitempty"`
+ Res *types.AttachDisk_TaskResponse `xml:"AttachDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -845,7 +885,7 @@ func AttachDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Attach
type AttachScsiLunBody struct {
Req *types.AttachScsiLun `xml:"urn:vim25 AttachScsiLun,omitempty"`
- Res *types.AttachScsiLunResponse `xml:"urn:vim25 AttachScsiLunResponse,omitempty"`
+ Res *types.AttachScsiLunResponse `xml:"AttachScsiLunResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -865,7 +905,7 @@ func AttachScsiLun(ctx context.Context, r soap.RoundTripper, req *types.AttachSc
type AttachScsiLunEx_TaskBody struct {
Req *types.AttachScsiLunEx_Task `xml:"urn:vim25 AttachScsiLunEx_Task,omitempty"`
- Res *types.AttachScsiLunEx_TaskResponse `xml:"urn:vim25 AttachScsiLunEx_TaskResponse,omitempty"`
+ Res *types.AttachScsiLunEx_TaskResponse `xml:"AttachScsiLunEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -885,7 +925,7 @@ func AttachScsiLunEx_Task(ctx context.Context, r soap.RoundTripper, req *types.A
type AttachTagToVStorageObjectBody struct {
Req *types.AttachTagToVStorageObject `xml:"urn:vim25 AttachTagToVStorageObject,omitempty"`
- Res *types.AttachTagToVStorageObjectResponse `xml:"urn:vim25 AttachTagToVStorageObjectResponse,omitempty"`
+ Res *types.AttachTagToVStorageObjectResponse `xml:"AttachTagToVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -905,7 +945,7 @@ func AttachTagToVStorageObject(ctx context.Context, r soap.RoundTripper, req *ty
type AttachVmfsExtentBody struct {
Req *types.AttachVmfsExtent `xml:"urn:vim25 AttachVmfsExtent,omitempty"`
- Res *types.AttachVmfsExtentResponse `xml:"urn:vim25 AttachVmfsExtentResponse,omitempty"`
+ Res *types.AttachVmfsExtentResponse `xml:"AttachVmfsExtentResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -925,7 +965,7 @@ func AttachVmfsExtent(ctx context.Context, r soap.RoundTripper, req *types.Attac
type AutoStartPowerOffBody struct {
Req *types.AutoStartPowerOff `xml:"urn:vim25 AutoStartPowerOff,omitempty"`
- Res *types.AutoStartPowerOffResponse `xml:"urn:vim25 AutoStartPowerOffResponse,omitempty"`
+ Res *types.AutoStartPowerOffResponse `xml:"AutoStartPowerOffResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -945,7 +985,7 @@ func AutoStartPowerOff(ctx context.Context, r soap.RoundTripper, req *types.Auto
type AutoStartPowerOnBody struct {
Req *types.AutoStartPowerOn `xml:"urn:vim25 AutoStartPowerOn,omitempty"`
- Res *types.AutoStartPowerOnResponse `xml:"urn:vim25 AutoStartPowerOnResponse,omitempty"`
+ Res *types.AutoStartPowerOnResponse `xml:"AutoStartPowerOnResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -965,7 +1005,7 @@ func AutoStartPowerOn(ctx context.Context, r soap.RoundTripper, req *types.AutoS
type BackupFirmwareConfigurationBody struct {
Req *types.BackupFirmwareConfiguration `xml:"urn:vim25 BackupFirmwareConfiguration,omitempty"`
- Res *types.BackupFirmwareConfigurationResponse `xml:"urn:vim25 BackupFirmwareConfigurationResponse,omitempty"`
+ Res *types.BackupFirmwareConfigurationResponse `xml:"BackupFirmwareConfigurationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -983,9 +1023,69 @@ func BackupFirmwareConfiguration(ctx context.Context, r soap.RoundTripper, req *
return resBody.Res, nil
}
+type BatchAddHostsToCluster_TaskBody struct {
+ Req *types.BatchAddHostsToCluster_Task `xml:"urn:vim25 BatchAddHostsToCluster_Task,omitempty"`
+ Res *types.BatchAddHostsToCluster_TaskResponse `xml:"BatchAddHostsToCluster_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *BatchAddHostsToCluster_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func BatchAddHostsToCluster_Task(ctx context.Context, r soap.RoundTripper, req *types.BatchAddHostsToCluster_Task) (*types.BatchAddHostsToCluster_TaskResponse, error) {
+ var reqBody, resBody BatchAddHostsToCluster_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type BatchAddStandaloneHosts_TaskBody struct {
+ Req *types.BatchAddStandaloneHosts_Task `xml:"urn:vim25 BatchAddStandaloneHosts_Task,omitempty"`
+ Res *types.BatchAddStandaloneHosts_TaskResponse `xml:"BatchAddStandaloneHosts_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *BatchAddStandaloneHosts_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func BatchAddStandaloneHosts_Task(ctx context.Context, r soap.RoundTripper, req *types.BatchAddStandaloneHosts_Task) (*types.BatchAddStandaloneHosts_TaskResponse, error) {
+ var reqBody, resBody BatchAddStandaloneHosts_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type BatchQueryConnectInfoBody struct {
+ Req *types.BatchQueryConnectInfo `xml:"urn:vim25 BatchQueryConnectInfo,omitempty"`
+ Res *types.BatchQueryConnectInfoResponse `xml:"BatchQueryConnectInfoResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *BatchQueryConnectInfoBody) Fault() *soap.Fault { return b.Fault_ }
+
+func BatchQueryConnectInfo(ctx context.Context, r soap.RoundTripper, req *types.BatchQueryConnectInfo) (*types.BatchQueryConnectInfoResponse, error) {
+ var reqBody, resBody BatchQueryConnectInfoBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type BindVnicBody struct {
Req *types.BindVnic `xml:"urn:vim25 BindVnic,omitempty"`
- Res *types.BindVnicResponse `xml:"urn:vim25 BindVnicResponse,omitempty"`
+ Res *types.BindVnicResponse `xml:"BindVnicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1005,7 +1105,7 @@ func BindVnic(ctx context.Context, r soap.RoundTripper, req *types.BindVnic) (*t
type BrowseDiagnosticLogBody struct {
Req *types.BrowseDiagnosticLog `xml:"urn:vim25 BrowseDiagnosticLog,omitempty"`
- Res *types.BrowseDiagnosticLogResponse `xml:"urn:vim25 BrowseDiagnosticLogResponse,omitempty"`
+ Res *types.BrowseDiagnosticLogResponse `xml:"BrowseDiagnosticLogResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1025,7 +1125,7 @@ func BrowseDiagnosticLog(ctx context.Context, r soap.RoundTripper, req *types.Br
type CanProvisionObjectsBody struct {
Req *types.CanProvisionObjects `xml:"urn:vim25 CanProvisionObjects,omitempty"`
- Res *types.CanProvisionObjectsResponse `xml:"urn:vim25 CanProvisionObjectsResponse,omitempty"`
+ Res *types.CanProvisionObjectsResponse `xml:"CanProvisionObjectsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1045,7 +1145,7 @@ func CanProvisionObjects(ctx context.Context, r soap.RoundTripper, req *types.Ca
type CancelRecommendationBody struct {
Req *types.CancelRecommendation `xml:"urn:vim25 CancelRecommendation,omitempty"`
- Res *types.CancelRecommendationResponse `xml:"urn:vim25 CancelRecommendationResponse,omitempty"`
+ Res *types.CancelRecommendationResponse `xml:"CancelRecommendationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1065,7 +1165,7 @@ func CancelRecommendation(ctx context.Context, r soap.RoundTripper, req *types.C
type CancelRetrievePropertiesExBody struct {
Req *types.CancelRetrievePropertiesEx `xml:"urn:vim25 CancelRetrievePropertiesEx,omitempty"`
- Res *types.CancelRetrievePropertiesExResponse `xml:"urn:vim25 CancelRetrievePropertiesExResponse,omitempty"`
+ Res *types.CancelRetrievePropertiesExResponse `xml:"CancelRetrievePropertiesExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1085,7 +1185,7 @@ func CancelRetrievePropertiesEx(ctx context.Context, r soap.RoundTripper, req *t
type CancelStorageDrsRecommendationBody struct {
Req *types.CancelStorageDrsRecommendation `xml:"urn:vim25 CancelStorageDrsRecommendation,omitempty"`
- Res *types.CancelStorageDrsRecommendationResponse `xml:"urn:vim25 CancelStorageDrsRecommendationResponse,omitempty"`
+ Res *types.CancelStorageDrsRecommendationResponse `xml:"CancelStorageDrsRecommendationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1105,7 +1205,7 @@ func CancelStorageDrsRecommendation(ctx context.Context, r soap.RoundTripper, re
type CancelTaskBody struct {
Req *types.CancelTask `xml:"urn:vim25 CancelTask,omitempty"`
- Res *types.CancelTaskResponse `xml:"urn:vim25 CancelTaskResponse,omitempty"`
+ Res *types.CancelTaskResponse `xml:"CancelTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1125,7 +1225,7 @@ func CancelTask(ctx context.Context, r soap.RoundTripper, req *types.CancelTask)
type CancelWaitForUpdatesBody struct {
Req *types.CancelWaitForUpdates `xml:"urn:vim25 CancelWaitForUpdates,omitempty"`
- Res *types.CancelWaitForUpdatesResponse `xml:"urn:vim25 CancelWaitForUpdatesResponse,omitempty"`
+ Res *types.CancelWaitForUpdatesResponse `xml:"CancelWaitForUpdatesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1145,7 +1245,7 @@ func CancelWaitForUpdates(ctx context.Context, r soap.RoundTripper, req *types.C
type CertMgrRefreshCACertificatesAndCRLs_TaskBody struct {
Req *types.CertMgrRefreshCACertificatesAndCRLs_Task `xml:"urn:vim25 CertMgrRefreshCACertificatesAndCRLs_Task,omitempty"`
- Res *types.CertMgrRefreshCACertificatesAndCRLs_TaskResponse `xml:"urn:vim25 CertMgrRefreshCACertificatesAndCRLs_TaskResponse,omitempty"`
+ Res *types.CertMgrRefreshCACertificatesAndCRLs_TaskResponse `xml:"CertMgrRefreshCACertificatesAndCRLs_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1165,7 +1265,7 @@ func CertMgrRefreshCACertificatesAndCRLs_Task(ctx context.Context, r soap.RoundT
type CertMgrRefreshCertificates_TaskBody struct {
Req *types.CertMgrRefreshCertificates_Task `xml:"urn:vim25 CertMgrRefreshCertificates_Task,omitempty"`
- Res *types.CertMgrRefreshCertificates_TaskResponse `xml:"urn:vim25 CertMgrRefreshCertificates_TaskResponse,omitempty"`
+ Res *types.CertMgrRefreshCertificates_TaskResponse `xml:"CertMgrRefreshCertificates_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1185,7 +1285,7 @@ func CertMgrRefreshCertificates_Task(ctx context.Context, r soap.RoundTripper, r
type CertMgrRevokeCertificates_TaskBody struct {
Req *types.CertMgrRevokeCertificates_Task `xml:"urn:vim25 CertMgrRevokeCertificates_Task,omitempty"`
- Res *types.CertMgrRevokeCertificates_TaskResponse `xml:"urn:vim25 CertMgrRevokeCertificates_TaskResponse,omitempty"`
+ Res *types.CertMgrRevokeCertificates_TaskResponse `xml:"CertMgrRevokeCertificates_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1205,7 +1305,7 @@ func CertMgrRevokeCertificates_Task(ctx context.Context, r soap.RoundTripper, re
type ChangeAccessModeBody struct {
Req *types.ChangeAccessMode `xml:"urn:vim25 ChangeAccessMode,omitempty"`
- Res *types.ChangeAccessModeResponse `xml:"urn:vim25 ChangeAccessModeResponse,omitempty"`
+ Res *types.ChangeAccessModeResponse `xml:"ChangeAccessModeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1225,7 +1325,7 @@ func ChangeAccessMode(ctx context.Context, r soap.RoundTripper, req *types.Chang
type ChangeFileAttributesInGuestBody struct {
Req *types.ChangeFileAttributesInGuest `xml:"urn:vim25 ChangeFileAttributesInGuest,omitempty"`
- Res *types.ChangeFileAttributesInGuestResponse `xml:"urn:vim25 ChangeFileAttributesInGuestResponse,omitempty"`
+ Res *types.ChangeFileAttributesInGuestResponse `xml:"ChangeFileAttributesInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1243,9 +1343,29 @@ func ChangeFileAttributesInGuest(ctx context.Context, r soap.RoundTripper, req *
return resBody.Res, nil
}
+type ChangeKey_TaskBody struct {
+ Req *types.ChangeKey_Task `xml:"urn:vim25 ChangeKey_Task,omitempty"`
+ Res *types.ChangeKey_TaskResponse `xml:"ChangeKey_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ChangeKey_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ChangeKey_Task(ctx context.Context, r soap.RoundTripper, req *types.ChangeKey_Task) (*types.ChangeKey_TaskResponse, error) {
+ var reqBody, resBody ChangeKey_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ChangeLockdownModeBody struct {
Req *types.ChangeLockdownMode `xml:"urn:vim25 ChangeLockdownMode,omitempty"`
- Res *types.ChangeLockdownModeResponse `xml:"urn:vim25 ChangeLockdownModeResponse,omitempty"`
+ Res *types.ChangeLockdownModeResponse `xml:"ChangeLockdownModeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1265,7 +1385,7 @@ func ChangeLockdownMode(ctx context.Context, r soap.RoundTripper, req *types.Cha
type ChangeNFSUserPasswordBody struct {
Req *types.ChangeNFSUserPassword `xml:"urn:vim25 ChangeNFSUserPassword,omitempty"`
- Res *types.ChangeNFSUserPasswordResponse `xml:"urn:vim25 ChangeNFSUserPasswordResponse,omitempty"`
+ Res *types.ChangeNFSUserPasswordResponse `xml:"ChangeNFSUserPasswordResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1285,7 +1405,7 @@ func ChangeNFSUserPassword(ctx context.Context, r soap.RoundTripper, req *types.
type ChangeOwnerBody struct {
Req *types.ChangeOwner `xml:"urn:vim25 ChangeOwner,omitempty"`
- Res *types.ChangeOwnerResponse `xml:"urn:vim25 ChangeOwnerResponse,omitempty"`
+ Res *types.ChangeOwnerResponse `xml:"ChangeOwnerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1303,9 +1423,29 @@ func ChangeOwner(ctx context.Context, r soap.RoundTripper, req *types.ChangeOwne
return resBody.Res, nil
}
+type ChangePasswordBody struct {
+ Req *types.ChangePassword `xml:"urn:vim25 ChangePassword,omitempty"`
+ Res *types.ChangePasswordResponse `xml:"ChangePasswordResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ChangePasswordBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ChangePassword(ctx context.Context, r soap.RoundTripper, req *types.ChangePassword) (*types.ChangePasswordResponse, error) {
+ var reqBody, resBody ChangePasswordBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CheckAddHostEvc_TaskBody struct {
Req *types.CheckAddHostEvc_Task `xml:"urn:vim25 CheckAddHostEvc_Task,omitempty"`
- Res *types.CheckAddHostEvc_TaskResponse `xml:"urn:vim25 CheckAddHostEvc_TaskResponse,omitempty"`
+ Res *types.CheckAddHostEvc_TaskResponse `xml:"CheckAddHostEvc_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1325,7 +1465,7 @@ func CheckAddHostEvc_Task(ctx context.Context, r soap.RoundTripper, req *types.C
type CheckAnswerFileStatus_TaskBody struct {
Req *types.CheckAnswerFileStatus_Task `xml:"urn:vim25 CheckAnswerFileStatus_Task,omitempty"`
- Res *types.CheckAnswerFileStatus_TaskResponse `xml:"urn:vim25 CheckAnswerFileStatus_TaskResponse,omitempty"`
+ Res *types.CheckAnswerFileStatus_TaskResponse `xml:"CheckAnswerFileStatus_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1343,9 +1483,29 @@ func CheckAnswerFileStatus_Task(ctx context.Context, r soap.RoundTripper, req *t
return resBody.Res, nil
}
+type CheckClone_TaskBody struct {
+ Req *types.CheckClone_Task `xml:"urn:vim25 CheckClone_Task,omitempty"`
+ Res *types.CheckClone_TaskResponse `xml:"CheckClone_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CheckClone_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CheckClone_Task(ctx context.Context, r soap.RoundTripper, req *types.CheckClone_Task) (*types.CheckClone_TaskResponse, error) {
+ var reqBody, resBody CheckClone_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CheckCompatibility_TaskBody struct {
Req *types.CheckCompatibility_Task `xml:"urn:vim25 CheckCompatibility_Task,omitempty"`
- Res *types.CheckCompatibility_TaskResponse `xml:"urn:vim25 CheckCompatibility_TaskResponse,omitempty"`
+ Res *types.CheckCompatibility_TaskResponse `xml:"CheckCompatibility_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1365,7 +1525,7 @@ func CheckCompatibility_Task(ctx context.Context, r soap.RoundTripper, req *type
type CheckCompliance_TaskBody struct {
Req *types.CheckCompliance_Task `xml:"urn:vim25 CheckCompliance_Task,omitempty"`
- Res *types.CheckCompliance_TaskResponse `xml:"urn:vim25 CheckCompliance_TaskResponse,omitempty"`
+ Res *types.CheckCompliance_TaskResponse `xml:"CheckCompliance_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1385,7 +1545,7 @@ func CheckCompliance_Task(ctx context.Context, r soap.RoundTripper, req *types.C
type CheckConfigureEvcMode_TaskBody struct {
Req *types.CheckConfigureEvcMode_Task `xml:"urn:vim25 CheckConfigureEvcMode_Task,omitempty"`
- Res *types.CheckConfigureEvcMode_TaskResponse `xml:"urn:vim25 CheckConfigureEvcMode_TaskResponse,omitempty"`
+ Res *types.CheckConfigureEvcMode_TaskResponse `xml:"CheckConfigureEvcMode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1405,7 +1565,7 @@ func CheckConfigureEvcMode_Task(ctx context.Context, r soap.RoundTripper, req *t
type CheckCustomizationResourcesBody struct {
Req *types.CheckCustomizationResources `xml:"urn:vim25 CheckCustomizationResources,omitempty"`
- Res *types.CheckCustomizationResourcesResponse `xml:"urn:vim25 CheckCustomizationResourcesResponse,omitempty"`
+ Res *types.CheckCustomizationResourcesResponse `xml:"CheckCustomizationResourcesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1425,7 +1585,7 @@ func CheckCustomizationResources(ctx context.Context, r soap.RoundTripper, req *
type CheckCustomizationSpecBody struct {
Req *types.CheckCustomizationSpec `xml:"urn:vim25 CheckCustomizationSpec,omitempty"`
- Res *types.CheckCustomizationSpecResponse `xml:"urn:vim25 CheckCustomizationSpecResponse,omitempty"`
+ Res *types.CheckCustomizationSpecResponse `xml:"CheckCustomizationSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1445,7 +1605,7 @@ func CheckCustomizationSpec(ctx context.Context, r soap.RoundTripper, req *types
type CheckForUpdatesBody struct {
Req *types.CheckForUpdates `xml:"urn:vim25 CheckForUpdates,omitempty"`
- Res *types.CheckForUpdatesResponse `xml:"urn:vim25 CheckForUpdatesResponse,omitempty"`
+ Res *types.CheckForUpdatesResponse `xml:"CheckForUpdatesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1465,7 +1625,7 @@ func CheckForUpdates(ctx context.Context, r soap.RoundTripper, req *types.CheckF
type CheckHostPatch_TaskBody struct {
Req *types.CheckHostPatch_Task `xml:"urn:vim25 CheckHostPatch_Task,omitempty"`
- Res *types.CheckHostPatch_TaskResponse `xml:"urn:vim25 CheckHostPatch_TaskResponse,omitempty"`
+ Res *types.CheckHostPatch_TaskResponse `xml:"CheckHostPatch_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1483,9 +1643,29 @@ func CheckHostPatch_Task(ctx context.Context, r soap.RoundTripper, req *types.Ch
return resBody.Res, nil
}
+type CheckInstantClone_TaskBody struct {
+ Req *types.CheckInstantClone_Task `xml:"urn:vim25 CheckInstantClone_Task,omitempty"`
+ Res *types.CheckInstantClone_TaskResponse `xml:"CheckInstantClone_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CheckInstantClone_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CheckInstantClone_Task(ctx context.Context, r soap.RoundTripper, req *types.CheckInstantClone_Task) (*types.CheckInstantClone_TaskResponse, error) {
+ var reqBody, resBody CheckInstantClone_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CheckLicenseFeatureBody struct {
Req *types.CheckLicenseFeature `xml:"urn:vim25 CheckLicenseFeature,omitempty"`
- Res *types.CheckLicenseFeatureResponse `xml:"urn:vim25 CheckLicenseFeatureResponse,omitempty"`
+ Res *types.CheckLicenseFeatureResponse `xml:"CheckLicenseFeatureResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1505,7 +1685,7 @@ func CheckLicenseFeature(ctx context.Context, r soap.RoundTripper, req *types.Ch
type CheckMigrate_TaskBody struct {
Req *types.CheckMigrate_Task `xml:"urn:vim25 CheckMigrate_Task,omitempty"`
- Res *types.CheckMigrate_TaskResponse `xml:"urn:vim25 CheckMigrate_TaskResponse,omitempty"`
+ Res *types.CheckMigrate_TaskResponse `xml:"CheckMigrate_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1523,9 +1703,29 @@ func CheckMigrate_Task(ctx context.Context, r soap.RoundTripper, req *types.Chec
return resBody.Res, nil
}
+type CheckPowerOn_TaskBody struct {
+ Req *types.CheckPowerOn_Task `xml:"urn:vim25 CheckPowerOn_Task,omitempty"`
+ Res *types.CheckPowerOn_TaskResponse `xml:"CheckPowerOn_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CheckPowerOn_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CheckPowerOn_Task(ctx context.Context, r soap.RoundTripper, req *types.CheckPowerOn_Task) (*types.CheckPowerOn_TaskResponse, error) {
+ var reqBody, resBody CheckPowerOn_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CheckProfileCompliance_TaskBody struct {
Req *types.CheckProfileCompliance_Task `xml:"urn:vim25 CheckProfileCompliance_Task,omitempty"`
- Res *types.CheckProfileCompliance_TaskResponse `xml:"urn:vim25 CheckProfileCompliance_TaskResponse,omitempty"`
+ Res *types.CheckProfileCompliance_TaskResponse `xml:"CheckProfileCompliance_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1545,7 +1745,7 @@ func CheckProfileCompliance_Task(ctx context.Context, r soap.RoundTripper, req *
type CheckRelocate_TaskBody struct {
Req *types.CheckRelocate_Task `xml:"urn:vim25 CheckRelocate_Task,omitempty"`
- Res *types.CheckRelocate_TaskResponse `xml:"urn:vim25 CheckRelocate_TaskResponse,omitempty"`
+ Res *types.CheckRelocate_TaskResponse `xml:"CheckRelocate_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1563,9 +1763,29 @@ func CheckRelocate_Task(ctx context.Context, r soap.RoundTripper, req *types.Che
return resBody.Res, nil
}
+type CheckVmConfig_TaskBody struct {
+ Req *types.CheckVmConfig_Task `xml:"urn:vim25 CheckVmConfig_Task,omitempty"`
+ Res *types.CheckVmConfig_TaskResponse `xml:"CheckVmConfig_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CheckVmConfig_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CheckVmConfig_Task(ctx context.Context, r soap.RoundTripper, req *types.CheckVmConfig_Task) (*types.CheckVmConfig_TaskResponse, error) {
+ var reqBody, resBody CheckVmConfig_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ClearComplianceStatusBody struct {
Req *types.ClearComplianceStatus `xml:"urn:vim25 ClearComplianceStatus,omitempty"`
- Res *types.ClearComplianceStatusResponse `xml:"urn:vim25 ClearComplianceStatusResponse,omitempty"`
+ Res *types.ClearComplianceStatusResponse `xml:"ClearComplianceStatusResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1585,7 +1805,7 @@ func ClearComplianceStatus(ctx context.Context, r soap.RoundTripper, req *types.
type ClearNFSUserBody struct {
Req *types.ClearNFSUser `xml:"urn:vim25 ClearNFSUser,omitempty"`
- Res *types.ClearNFSUserResponse `xml:"urn:vim25 ClearNFSUserResponse,omitempty"`
+ Res *types.ClearNFSUserResponse `xml:"ClearNFSUserResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1605,7 +1825,7 @@ func ClearNFSUser(ctx context.Context, r soap.RoundTripper, req *types.ClearNFSU
type ClearSystemEventLogBody struct {
Req *types.ClearSystemEventLog `xml:"urn:vim25 ClearSystemEventLog,omitempty"`
- Res *types.ClearSystemEventLogResponse `xml:"urn:vim25 ClearSystemEventLogResponse,omitempty"`
+ Res *types.ClearSystemEventLogResponse `xml:"ClearSystemEventLogResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1623,9 +1843,49 @@ func ClearSystemEventLog(ctx context.Context, r soap.RoundTripper, req *types.Cl
return resBody.Res, nil
}
+type ClearTriggeredAlarmsBody struct {
+ Req *types.ClearTriggeredAlarms `xml:"urn:vim25 ClearTriggeredAlarms,omitempty"`
+ Res *types.ClearTriggeredAlarmsResponse `xml:"ClearTriggeredAlarmsResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ClearTriggeredAlarmsBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ClearTriggeredAlarms(ctx context.Context, r soap.RoundTripper, req *types.ClearTriggeredAlarms) (*types.ClearTriggeredAlarmsResponse, error) {
+ var reqBody, resBody ClearTriggeredAlarmsBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type ClearVStorageObjectControlFlagsBody struct {
+ Req *types.ClearVStorageObjectControlFlags `xml:"urn:vim25 ClearVStorageObjectControlFlags,omitempty"`
+ Res *types.ClearVStorageObjectControlFlagsResponse `xml:"ClearVStorageObjectControlFlagsResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ClearVStorageObjectControlFlagsBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ClearVStorageObjectControlFlags(ctx context.Context, r soap.RoundTripper, req *types.ClearVStorageObjectControlFlags) (*types.ClearVStorageObjectControlFlagsResponse, error) {
+ var reqBody, resBody ClearVStorageObjectControlFlagsBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CloneSessionBody struct {
Req *types.CloneSession `xml:"urn:vim25 CloneSession,omitempty"`
- Res *types.CloneSessionResponse `xml:"urn:vim25 CloneSessionResponse,omitempty"`
+ Res *types.CloneSessionResponse `xml:"CloneSessionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1645,7 +1905,7 @@ func CloneSession(ctx context.Context, r soap.RoundTripper, req *types.CloneSess
type CloneVApp_TaskBody struct {
Req *types.CloneVApp_Task `xml:"urn:vim25 CloneVApp_Task,omitempty"`
- Res *types.CloneVApp_TaskResponse `xml:"urn:vim25 CloneVApp_TaskResponse,omitempty"`
+ Res *types.CloneVApp_TaskResponse `xml:"CloneVApp_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1665,7 +1925,7 @@ func CloneVApp_Task(ctx context.Context, r soap.RoundTripper, req *types.CloneVA
type CloneVM_TaskBody struct {
Req *types.CloneVM_Task `xml:"urn:vim25 CloneVM_Task,omitempty"`
- Res *types.CloneVM_TaskResponse `xml:"urn:vim25 CloneVM_TaskResponse,omitempty"`
+ Res *types.CloneVM_TaskResponse `xml:"CloneVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1685,7 +1945,7 @@ func CloneVM_Task(ctx context.Context, r soap.RoundTripper, req *types.CloneVM_T
type CloneVStorageObject_TaskBody struct {
Req *types.CloneVStorageObject_Task `xml:"urn:vim25 CloneVStorageObject_Task,omitempty"`
- Res *types.CloneVStorageObject_TaskResponse `xml:"urn:vim25 CloneVStorageObject_TaskResponse,omitempty"`
+ Res *types.CloneVStorageObject_TaskResponse `xml:"CloneVStorageObject_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1705,7 +1965,7 @@ func CloneVStorageObject_Task(ctx context.Context, r soap.RoundTripper, req *typ
type CloseInventoryViewFolderBody struct {
Req *types.CloseInventoryViewFolder `xml:"urn:vim25 CloseInventoryViewFolder,omitempty"`
- Res *types.CloseInventoryViewFolderResponse `xml:"urn:vim25 CloseInventoryViewFolderResponse,omitempty"`
+ Res *types.CloseInventoryViewFolderResponse `xml:"CloseInventoryViewFolderResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1725,7 +1985,7 @@ func CloseInventoryViewFolder(ctx context.Context, r soap.RoundTripper, req *typ
type ClusterEnterMaintenanceModeBody struct {
Req *types.ClusterEnterMaintenanceMode `xml:"urn:vim25 ClusterEnterMaintenanceMode,omitempty"`
- Res *types.ClusterEnterMaintenanceModeResponse `xml:"urn:vim25 ClusterEnterMaintenanceModeResponse,omitempty"`
+ Res *types.ClusterEnterMaintenanceModeResponse `xml:"ClusterEnterMaintenanceModeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1743,9 +2003,29 @@ func ClusterEnterMaintenanceMode(ctx context.Context, r soap.RoundTripper, req *
return resBody.Res, nil
}
+type CompositeHostProfile_TaskBody struct {
+ Req *types.CompositeHostProfile_Task `xml:"urn:vim25 CompositeHostProfile_Task,omitempty"`
+ Res *types.CompositeHostProfile_TaskResponse `xml:"CompositeHostProfile_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CompositeHostProfile_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CompositeHostProfile_Task(ctx context.Context, r soap.RoundTripper, req *types.CompositeHostProfile_Task) (*types.CompositeHostProfile_TaskResponse, error) {
+ var reqBody, resBody CompositeHostProfile_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ComputeDiskPartitionInfoBody struct {
Req *types.ComputeDiskPartitionInfo `xml:"urn:vim25 ComputeDiskPartitionInfo,omitempty"`
- Res *types.ComputeDiskPartitionInfoResponse `xml:"urn:vim25 ComputeDiskPartitionInfoResponse,omitempty"`
+ Res *types.ComputeDiskPartitionInfoResponse `xml:"ComputeDiskPartitionInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1765,7 +2045,7 @@ func ComputeDiskPartitionInfo(ctx context.Context, r soap.RoundTripper, req *typ
type ComputeDiskPartitionInfoForResizeBody struct {
Req *types.ComputeDiskPartitionInfoForResize `xml:"urn:vim25 ComputeDiskPartitionInfoForResize,omitempty"`
- Res *types.ComputeDiskPartitionInfoForResizeResponse `xml:"urn:vim25 ComputeDiskPartitionInfoForResizeResponse,omitempty"`
+ Res *types.ComputeDiskPartitionInfoForResizeResponse `xml:"ComputeDiskPartitionInfoForResizeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1785,7 +2065,7 @@ func ComputeDiskPartitionInfoForResize(ctx context.Context, r soap.RoundTripper,
type ConfigureCryptoKeyBody struct {
Req *types.ConfigureCryptoKey `xml:"urn:vim25 ConfigureCryptoKey,omitempty"`
- Res *types.ConfigureCryptoKeyResponse `xml:"urn:vim25 ConfigureCryptoKeyResponse,omitempty"`
+ Res *types.ConfigureCryptoKeyResponse `xml:"ConfigureCryptoKeyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1805,7 +2085,7 @@ func ConfigureCryptoKey(ctx context.Context, r soap.RoundTripper, req *types.Con
type ConfigureDatastoreIORM_TaskBody struct {
Req *types.ConfigureDatastoreIORM_Task `xml:"urn:vim25 ConfigureDatastoreIORM_Task,omitempty"`
- Res *types.ConfigureDatastoreIORM_TaskResponse `xml:"urn:vim25 ConfigureDatastoreIORM_TaskResponse,omitempty"`
+ Res *types.ConfigureDatastoreIORM_TaskResponse `xml:"ConfigureDatastoreIORM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1825,7 +2105,7 @@ func ConfigureDatastoreIORM_Task(ctx context.Context, r soap.RoundTripper, req *
type ConfigureDatastorePrincipalBody struct {
Req *types.ConfigureDatastorePrincipal `xml:"urn:vim25 ConfigureDatastorePrincipal,omitempty"`
- Res *types.ConfigureDatastorePrincipalResponse `xml:"urn:vim25 ConfigureDatastorePrincipalResponse,omitempty"`
+ Res *types.ConfigureDatastorePrincipalResponse `xml:"ConfigureDatastorePrincipalResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1845,7 +2125,7 @@ func ConfigureDatastorePrincipal(ctx context.Context, r soap.RoundTripper, req *
type ConfigureEvcMode_TaskBody struct {
Req *types.ConfigureEvcMode_Task `xml:"urn:vim25 ConfigureEvcMode_Task,omitempty"`
- Res *types.ConfigureEvcMode_TaskResponse `xml:"urn:vim25 ConfigureEvcMode_TaskResponse,omitempty"`
+ Res *types.ConfigureEvcMode_TaskResponse `xml:"ConfigureEvcMode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1863,9 +2143,29 @@ func ConfigureEvcMode_Task(ctx context.Context, r soap.RoundTripper, req *types.
return resBody.Res, nil
}
+type ConfigureHCI_TaskBody struct {
+ Req *types.ConfigureHCI_Task `xml:"urn:vim25 ConfigureHCI_Task,omitempty"`
+ Res *types.ConfigureHCI_TaskResponse `xml:"ConfigureHCI_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ConfigureHCI_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ConfigureHCI_Task(ctx context.Context, r soap.RoundTripper, req *types.ConfigureHCI_Task) (*types.ConfigureHCI_TaskResponse, error) {
+ var reqBody, resBody ConfigureHCI_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ConfigureHostCache_TaskBody struct {
Req *types.ConfigureHostCache_Task `xml:"urn:vim25 ConfigureHostCache_Task,omitempty"`
- Res *types.ConfigureHostCache_TaskResponse `xml:"urn:vim25 ConfigureHostCache_TaskResponse,omitempty"`
+ Res *types.ConfigureHostCache_TaskResponse `xml:"ConfigureHostCache_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1885,7 +2185,7 @@ func ConfigureHostCache_Task(ctx context.Context, r soap.RoundTripper, req *type
type ConfigureLicenseSourceBody struct {
Req *types.ConfigureLicenseSource `xml:"urn:vim25 ConfigureLicenseSource,omitempty"`
- Res *types.ConfigureLicenseSourceResponse `xml:"urn:vim25 ConfigureLicenseSourceResponse,omitempty"`
+ Res *types.ConfigureLicenseSourceResponse `xml:"ConfigureLicenseSourceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1905,7 +2205,7 @@ func ConfigureLicenseSource(ctx context.Context, r soap.RoundTripper, req *types
type ConfigurePowerPolicyBody struct {
Req *types.ConfigurePowerPolicy `xml:"urn:vim25 ConfigurePowerPolicy,omitempty"`
- Res *types.ConfigurePowerPolicyResponse `xml:"urn:vim25 ConfigurePowerPolicyResponse,omitempty"`
+ Res *types.ConfigurePowerPolicyResponse `xml:"ConfigurePowerPolicyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1925,7 +2225,7 @@ func ConfigurePowerPolicy(ctx context.Context, r soap.RoundTripper, req *types.C
type ConfigureStorageDrsForPod_TaskBody struct {
Req *types.ConfigureStorageDrsForPod_Task `xml:"urn:vim25 ConfigureStorageDrsForPod_Task,omitempty"`
- Res *types.ConfigureStorageDrsForPod_TaskResponse `xml:"urn:vim25 ConfigureStorageDrsForPod_TaskResponse,omitempty"`
+ Res *types.ConfigureStorageDrsForPod_TaskResponse `xml:"ConfigureStorageDrsForPod_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1945,7 +2245,7 @@ func ConfigureStorageDrsForPod_Task(ctx context.Context, r soap.RoundTripper, re
type ConfigureVFlashResourceEx_TaskBody struct {
Req *types.ConfigureVFlashResourceEx_Task `xml:"urn:vim25 ConfigureVFlashResourceEx_Task,omitempty"`
- Res *types.ConfigureVFlashResourceEx_TaskResponse `xml:"urn:vim25 ConfigureVFlashResourceEx_TaskResponse,omitempty"`
+ Res *types.ConfigureVFlashResourceEx_TaskResponse `xml:"ConfigureVFlashResourceEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1965,7 +2265,7 @@ func ConfigureVFlashResourceEx_Task(ctx context.Context, r soap.RoundTripper, re
type ConsolidateVMDisks_TaskBody struct {
Req *types.ConsolidateVMDisks_Task `xml:"urn:vim25 ConsolidateVMDisks_Task,omitempty"`
- Res *types.ConsolidateVMDisks_TaskResponse `xml:"urn:vim25 ConsolidateVMDisks_TaskResponse,omitempty"`
+ Res *types.ConsolidateVMDisks_TaskResponse `xml:"ConsolidateVMDisks_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -1985,7 +2285,7 @@ func ConsolidateVMDisks_Task(ctx context.Context, r soap.RoundTripper, req *type
type ContinueRetrievePropertiesExBody struct {
Req *types.ContinueRetrievePropertiesEx `xml:"urn:vim25 ContinueRetrievePropertiesEx,omitempty"`
- Res *types.ContinueRetrievePropertiesExResponse `xml:"urn:vim25 ContinueRetrievePropertiesExResponse,omitempty"`
+ Res *types.ContinueRetrievePropertiesExResponse `xml:"ContinueRetrievePropertiesExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2005,7 +2305,7 @@ func ContinueRetrievePropertiesEx(ctx context.Context, r soap.RoundTripper, req
type ConvertNamespacePathToUuidPathBody struct {
Req *types.ConvertNamespacePathToUuidPath `xml:"urn:vim25 ConvertNamespacePathToUuidPath,omitempty"`
- Res *types.ConvertNamespacePathToUuidPathResponse `xml:"urn:vim25 ConvertNamespacePathToUuidPathResponse,omitempty"`
+ Res *types.ConvertNamespacePathToUuidPathResponse `xml:"ConvertNamespacePathToUuidPathResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2025,7 +2325,7 @@ func ConvertNamespacePathToUuidPath(ctx context.Context, r soap.RoundTripper, re
type CopyDatastoreFile_TaskBody struct {
Req *types.CopyDatastoreFile_Task `xml:"urn:vim25 CopyDatastoreFile_Task,omitempty"`
- Res *types.CopyDatastoreFile_TaskResponse `xml:"urn:vim25 CopyDatastoreFile_TaskResponse,omitempty"`
+ Res *types.CopyDatastoreFile_TaskResponse `xml:"CopyDatastoreFile_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2045,7 +2345,7 @@ func CopyDatastoreFile_Task(ctx context.Context, r soap.RoundTripper, req *types
type CopyVirtualDisk_TaskBody struct {
Req *types.CopyVirtualDisk_Task `xml:"urn:vim25 CopyVirtualDisk_Task,omitempty"`
- Res *types.CopyVirtualDisk_TaskResponse `xml:"urn:vim25 CopyVirtualDisk_TaskResponse,omitempty"`
+ Res *types.CopyVirtualDisk_TaskResponse `xml:"CopyVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2065,7 +2365,7 @@ func CopyVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.C
type CreateAlarmBody struct {
Req *types.CreateAlarm `xml:"urn:vim25 CreateAlarm,omitempty"`
- Res *types.CreateAlarmResponse `xml:"urn:vim25 CreateAlarmResponse,omitempty"`
+ Res *types.CreateAlarmResponse `xml:"CreateAlarmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2085,7 +2385,7 @@ func CreateAlarm(ctx context.Context, r soap.RoundTripper, req *types.CreateAlar
type CreateChildVM_TaskBody struct {
Req *types.CreateChildVM_Task `xml:"urn:vim25 CreateChildVM_Task,omitempty"`
- Res *types.CreateChildVM_TaskResponse `xml:"urn:vim25 CreateChildVM_TaskResponse,omitempty"`
+ Res *types.CreateChildVM_TaskResponse `xml:"CreateChildVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2105,7 +2405,7 @@ func CreateChildVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Cre
type CreateClusterBody struct {
Req *types.CreateCluster `xml:"urn:vim25 CreateCluster,omitempty"`
- Res *types.CreateClusterResponse `xml:"urn:vim25 CreateClusterResponse,omitempty"`
+ Res *types.CreateClusterResponse `xml:"CreateClusterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2125,7 +2425,7 @@ func CreateCluster(ctx context.Context, r soap.RoundTripper, req *types.CreateCl
type CreateClusterExBody struct {
Req *types.CreateClusterEx `xml:"urn:vim25 CreateClusterEx,omitempty"`
- Res *types.CreateClusterExResponse `xml:"urn:vim25 CreateClusterExResponse,omitempty"`
+ Res *types.CreateClusterExResponse `xml:"CreateClusterExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2145,7 +2445,7 @@ func CreateClusterEx(ctx context.Context, r soap.RoundTripper, req *types.Create
type CreateCollectorForEventsBody struct {
Req *types.CreateCollectorForEvents `xml:"urn:vim25 CreateCollectorForEvents,omitempty"`
- Res *types.CreateCollectorForEventsResponse `xml:"urn:vim25 CreateCollectorForEventsResponse,omitempty"`
+ Res *types.CreateCollectorForEventsResponse `xml:"CreateCollectorForEventsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2165,7 +2465,7 @@ func CreateCollectorForEvents(ctx context.Context, r soap.RoundTripper, req *typ
type CreateCollectorForTasksBody struct {
Req *types.CreateCollectorForTasks `xml:"urn:vim25 CreateCollectorForTasks,omitempty"`
- Res *types.CreateCollectorForTasksResponse `xml:"urn:vim25 CreateCollectorForTasksResponse,omitempty"`
+ Res *types.CreateCollectorForTasksResponse `xml:"CreateCollectorForTasksResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2185,7 +2485,7 @@ func CreateCollectorForTasks(ctx context.Context, r soap.RoundTripper, req *type
type CreateContainerViewBody struct {
Req *types.CreateContainerView `xml:"urn:vim25 CreateContainerView,omitempty"`
- Res *types.CreateContainerViewResponse `xml:"urn:vim25 CreateContainerViewResponse,omitempty"`
+ Res *types.CreateContainerViewResponse `xml:"CreateContainerViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2205,7 +2505,7 @@ func CreateContainerView(ctx context.Context, r soap.RoundTripper, req *types.Cr
type CreateCustomizationSpecBody struct {
Req *types.CreateCustomizationSpec `xml:"urn:vim25 CreateCustomizationSpec,omitempty"`
- Res *types.CreateCustomizationSpecResponse `xml:"urn:vim25 CreateCustomizationSpecResponse,omitempty"`
+ Res *types.CreateCustomizationSpecResponse `xml:"CreateCustomizationSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2225,7 +2525,7 @@ func CreateCustomizationSpec(ctx context.Context, r soap.RoundTripper, req *type
type CreateDVPortgroup_TaskBody struct {
Req *types.CreateDVPortgroup_Task `xml:"urn:vim25 CreateDVPortgroup_Task,omitempty"`
- Res *types.CreateDVPortgroup_TaskResponse `xml:"urn:vim25 CreateDVPortgroup_TaskResponse,omitempty"`
+ Res *types.CreateDVPortgroup_TaskResponse `xml:"CreateDVPortgroup_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2245,7 +2545,7 @@ func CreateDVPortgroup_Task(ctx context.Context, r soap.RoundTripper, req *types
type CreateDVS_TaskBody struct {
Req *types.CreateDVS_Task `xml:"urn:vim25 CreateDVS_Task,omitempty"`
- Res *types.CreateDVS_TaskResponse `xml:"urn:vim25 CreateDVS_TaskResponse,omitempty"`
+ Res *types.CreateDVS_TaskResponse `xml:"CreateDVS_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2265,7 +2565,7 @@ func CreateDVS_Task(ctx context.Context, r soap.RoundTripper, req *types.CreateD
type CreateDatacenterBody struct {
Req *types.CreateDatacenter `xml:"urn:vim25 CreateDatacenter,omitempty"`
- Res *types.CreateDatacenterResponse `xml:"urn:vim25 CreateDatacenterResponse,omitempty"`
+ Res *types.CreateDatacenterResponse `xml:"CreateDatacenterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2285,7 +2585,7 @@ func CreateDatacenter(ctx context.Context, r soap.RoundTripper, req *types.Creat
type CreateDefaultProfileBody struct {
Req *types.CreateDefaultProfile `xml:"urn:vim25 CreateDefaultProfile,omitempty"`
- Res *types.CreateDefaultProfileResponse `xml:"urn:vim25 CreateDefaultProfileResponse,omitempty"`
+ Res *types.CreateDefaultProfileResponse `xml:"CreateDefaultProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2305,7 +2605,7 @@ func CreateDefaultProfile(ctx context.Context, r soap.RoundTripper, req *types.C
type CreateDescriptorBody struct {
Req *types.CreateDescriptor `xml:"urn:vim25 CreateDescriptor,omitempty"`
- Res *types.CreateDescriptorResponse `xml:"urn:vim25 CreateDescriptorResponse,omitempty"`
+ Res *types.CreateDescriptorResponse `xml:"CreateDescriptorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2325,7 +2625,7 @@ func CreateDescriptor(ctx context.Context, r soap.RoundTripper, req *types.Creat
type CreateDiagnosticPartitionBody struct {
Req *types.CreateDiagnosticPartition `xml:"urn:vim25 CreateDiagnosticPartition,omitempty"`
- Res *types.CreateDiagnosticPartitionResponse `xml:"urn:vim25 CreateDiagnosticPartitionResponse,omitempty"`
+ Res *types.CreateDiagnosticPartitionResponse `xml:"CreateDiagnosticPartitionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2345,7 +2645,7 @@ func CreateDiagnosticPartition(ctx context.Context, r soap.RoundTripper, req *ty
type CreateDirectoryBody struct {
Req *types.CreateDirectory `xml:"urn:vim25 CreateDirectory,omitempty"`
- Res *types.CreateDirectoryResponse `xml:"urn:vim25 CreateDirectoryResponse,omitempty"`
+ Res *types.CreateDirectoryResponse `xml:"CreateDirectoryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2363,9 +2663,29 @@ func CreateDirectory(ctx context.Context, r soap.RoundTripper, req *types.Create
return resBody.Res, nil
}
+type CreateDiskFromSnapshot_TaskBody struct {
+ Req *types.CreateDiskFromSnapshot_Task `xml:"urn:vim25 CreateDiskFromSnapshot_Task,omitempty"`
+ Res *types.CreateDiskFromSnapshot_TaskResponse `xml:"CreateDiskFromSnapshot_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CreateDiskFromSnapshot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CreateDiskFromSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.CreateDiskFromSnapshot_Task) (*types.CreateDiskFromSnapshot_TaskResponse, error) {
+ var reqBody, resBody CreateDiskFromSnapshot_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CreateDisk_TaskBody struct {
Req *types.CreateDisk_Task `xml:"urn:vim25 CreateDisk_Task,omitempty"`
- Res *types.CreateDisk_TaskResponse `xml:"urn:vim25 CreateDisk_TaskResponse,omitempty"`
+ Res *types.CreateDisk_TaskResponse `xml:"CreateDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2385,7 +2705,7 @@ func CreateDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Create
type CreateFilterBody struct {
Req *types.CreateFilter `xml:"urn:vim25 CreateFilter,omitempty"`
- Res *types.CreateFilterResponse `xml:"urn:vim25 CreateFilterResponse,omitempty"`
+ Res *types.CreateFilterResponse `xml:"CreateFilterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2405,7 +2725,7 @@ func CreateFilter(ctx context.Context, r soap.RoundTripper, req *types.CreateFil
type CreateFolderBody struct {
Req *types.CreateFolder `xml:"urn:vim25 CreateFolder,omitempty"`
- Res *types.CreateFolderResponse `xml:"urn:vim25 CreateFolderResponse,omitempty"`
+ Res *types.CreateFolderResponse `xml:"CreateFolderResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2425,7 +2745,7 @@ func CreateFolder(ctx context.Context, r soap.RoundTripper, req *types.CreateFol
type CreateGroupBody struct {
Req *types.CreateGroup `xml:"urn:vim25 CreateGroup,omitempty"`
- Res *types.CreateGroupResponse `xml:"urn:vim25 CreateGroupResponse,omitempty"`
+ Res *types.CreateGroupResponse `xml:"CreateGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2445,7 +2765,7 @@ func CreateGroup(ctx context.Context, r soap.RoundTripper, req *types.CreateGrou
type CreateImportSpecBody struct {
Req *types.CreateImportSpec `xml:"urn:vim25 CreateImportSpec,omitempty"`
- Res *types.CreateImportSpecResponse `xml:"urn:vim25 CreateImportSpecResponse,omitempty"`
+ Res *types.CreateImportSpecResponse `xml:"CreateImportSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2465,7 +2785,7 @@ func CreateImportSpec(ctx context.Context, r soap.RoundTripper, req *types.Creat
type CreateInventoryViewBody struct {
Req *types.CreateInventoryView `xml:"urn:vim25 CreateInventoryView,omitempty"`
- Res *types.CreateInventoryViewResponse `xml:"urn:vim25 CreateInventoryViewResponse,omitempty"`
+ Res *types.CreateInventoryViewResponse `xml:"CreateInventoryViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2485,7 +2805,7 @@ func CreateInventoryView(ctx context.Context, r soap.RoundTripper, req *types.Cr
type CreateIpPoolBody struct {
Req *types.CreateIpPool `xml:"urn:vim25 CreateIpPool,omitempty"`
- Res *types.CreateIpPoolResponse `xml:"urn:vim25 CreateIpPoolResponse,omitempty"`
+ Res *types.CreateIpPoolResponse `xml:"CreateIpPoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2505,7 +2825,7 @@ func CreateIpPool(ctx context.Context, r soap.RoundTripper, req *types.CreateIpP
type CreateListViewBody struct {
Req *types.CreateListView `xml:"urn:vim25 CreateListView,omitempty"`
- Res *types.CreateListViewResponse `xml:"urn:vim25 CreateListViewResponse,omitempty"`
+ Res *types.CreateListViewResponse `xml:"CreateListViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2525,7 +2845,7 @@ func CreateListView(ctx context.Context, r soap.RoundTripper, req *types.CreateL
type CreateListViewFromViewBody struct {
Req *types.CreateListViewFromView `xml:"urn:vim25 CreateListViewFromView,omitempty"`
- Res *types.CreateListViewFromViewResponse `xml:"urn:vim25 CreateListViewFromViewResponse,omitempty"`
+ Res *types.CreateListViewFromViewResponse `xml:"CreateListViewFromViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2545,7 +2865,7 @@ func CreateListViewFromView(ctx context.Context, r soap.RoundTripper, req *types
type CreateLocalDatastoreBody struct {
Req *types.CreateLocalDatastore `xml:"urn:vim25 CreateLocalDatastore,omitempty"`
- Res *types.CreateLocalDatastoreResponse `xml:"urn:vim25 CreateLocalDatastoreResponse,omitempty"`
+ Res *types.CreateLocalDatastoreResponse `xml:"CreateLocalDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2565,7 +2885,7 @@ func CreateLocalDatastore(ctx context.Context, r soap.RoundTripper, req *types.C
type CreateNasDatastoreBody struct {
Req *types.CreateNasDatastore `xml:"urn:vim25 CreateNasDatastore,omitempty"`
- Res *types.CreateNasDatastoreResponse `xml:"urn:vim25 CreateNasDatastoreResponse,omitempty"`
+ Res *types.CreateNasDatastoreResponse `xml:"CreateNasDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2583,9 +2903,49 @@ func CreateNasDatastore(ctx context.Context, r soap.RoundTripper, req *types.Cre
return resBody.Res, nil
}
+type CreateNvdimmNamespace_TaskBody struct {
+ Req *types.CreateNvdimmNamespace_Task `xml:"urn:vim25 CreateNvdimmNamespace_Task,omitempty"`
+ Res *types.CreateNvdimmNamespace_TaskResponse `xml:"CreateNvdimmNamespace_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CreateNvdimmNamespace_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CreateNvdimmNamespace_Task(ctx context.Context, r soap.RoundTripper, req *types.CreateNvdimmNamespace_Task) (*types.CreateNvdimmNamespace_TaskResponse, error) {
+ var reqBody, resBody CreateNvdimmNamespace_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type CreateNvdimmPMemNamespace_TaskBody struct {
+ Req *types.CreateNvdimmPMemNamespace_Task `xml:"urn:vim25 CreateNvdimmPMemNamespace_Task,omitempty"`
+ Res *types.CreateNvdimmPMemNamespace_TaskResponse `xml:"CreateNvdimmPMemNamespace_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CreateNvdimmPMemNamespace_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CreateNvdimmPMemNamespace_Task(ctx context.Context, r soap.RoundTripper, req *types.CreateNvdimmPMemNamespace_Task) (*types.CreateNvdimmPMemNamespace_TaskResponse, error) {
+ var reqBody, resBody CreateNvdimmPMemNamespace_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CreateObjectScheduledTaskBody struct {
Req *types.CreateObjectScheduledTask `xml:"urn:vim25 CreateObjectScheduledTask,omitempty"`
- Res *types.CreateObjectScheduledTaskResponse `xml:"urn:vim25 CreateObjectScheduledTaskResponse,omitempty"`
+ Res *types.CreateObjectScheduledTaskResponse `xml:"CreateObjectScheduledTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2605,7 +2965,7 @@ func CreateObjectScheduledTask(ctx context.Context, r soap.RoundTripper, req *ty
type CreatePerfIntervalBody struct {
Req *types.CreatePerfInterval `xml:"urn:vim25 CreatePerfInterval,omitempty"`
- Res *types.CreatePerfIntervalResponse `xml:"urn:vim25 CreatePerfIntervalResponse,omitempty"`
+ Res *types.CreatePerfIntervalResponse `xml:"CreatePerfIntervalResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2625,7 +2985,7 @@ func CreatePerfInterval(ctx context.Context, r soap.RoundTripper, req *types.Cre
type CreateProfileBody struct {
Req *types.CreateProfile `xml:"urn:vim25 CreateProfile,omitempty"`
- Res *types.CreateProfileResponse `xml:"urn:vim25 CreateProfileResponse,omitempty"`
+ Res *types.CreateProfileResponse `xml:"CreateProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2645,7 +3005,7 @@ func CreateProfile(ctx context.Context, r soap.RoundTripper, req *types.CreatePr
type CreatePropertyCollectorBody struct {
Req *types.CreatePropertyCollector `xml:"urn:vim25 CreatePropertyCollector,omitempty"`
- Res *types.CreatePropertyCollectorResponse `xml:"urn:vim25 CreatePropertyCollectorResponse,omitempty"`
+ Res *types.CreatePropertyCollectorResponse `xml:"CreatePropertyCollectorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2665,7 +3025,7 @@ func CreatePropertyCollector(ctx context.Context, r soap.RoundTripper, req *type
type CreateRegistryKeyInGuestBody struct {
Req *types.CreateRegistryKeyInGuest `xml:"urn:vim25 CreateRegistryKeyInGuest,omitempty"`
- Res *types.CreateRegistryKeyInGuestResponse `xml:"urn:vim25 CreateRegistryKeyInGuestResponse,omitempty"`
+ Res *types.CreateRegistryKeyInGuestResponse `xml:"CreateRegistryKeyInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2685,7 +3045,7 @@ func CreateRegistryKeyInGuest(ctx context.Context, r soap.RoundTripper, req *typ
type CreateResourcePoolBody struct {
Req *types.CreateResourcePool `xml:"urn:vim25 CreateResourcePool,omitempty"`
- Res *types.CreateResourcePoolResponse `xml:"urn:vim25 CreateResourcePoolResponse,omitempty"`
+ Res *types.CreateResourcePoolResponse `xml:"CreateResourcePoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2705,7 +3065,7 @@ func CreateResourcePool(ctx context.Context, r soap.RoundTripper, req *types.Cre
type CreateScheduledTaskBody struct {
Req *types.CreateScheduledTask `xml:"urn:vim25 CreateScheduledTask,omitempty"`
- Res *types.CreateScheduledTaskResponse `xml:"urn:vim25 CreateScheduledTaskResponse,omitempty"`
+ Res *types.CreateScheduledTaskResponse `xml:"CreateScheduledTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2725,7 +3085,7 @@ func CreateScheduledTask(ctx context.Context, r soap.RoundTripper, req *types.Cr
type CreateScreenshot_TaskBody struct {
Req *types.CreateScreenshot_Task `xml:"urn:vim25 CreateScreenshot_Task,omitempty"`
- Res *types.CreateScreenshot_TaskResponse `xml:"urn:vim25 CreateScreenshot_TaskResponse,omitempty"`
+ Res *types.CreateScreenshot_TaskResponse `xml:"CreateScreenshot_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2745,7 +3105,7 @@ func CreateScreenshot_Task(ctx context.Context, r soap.RoundTripper, req *types.
type CreateSecondaryVMEx_TaskBody struct {
Req *types.CreateSecondaryVMEx_Task `xml:"urn:vim25 CreateSecondaryVMEx_Task,omitempty"`
- Res *types.CreateSecondaryVMEx_TaskResponse `xml:"urn:vim25 CreateSecondaryVMEx_TaskResponse,omitempty"`
+ Res *types.CreateSecondaryVMEx_TaskResponse `xml:"CreateSecondaryVMEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2765,7 +3125,7 @@ func CreateSecondaryVMEx_Task(ctx context.Context, r soap.RoundTripper, req *typ
type CreateSecondaryVM_TaskBody struct {
Req *types.CreateSecondaryVM_Task `xml:"urn:vim25 CreateSecondaryVM_Task,omitempty"`
- Res *types.CreateSecondaryVM_TaskResponse `xml:"urn:vim25 CreateSecondaryVM_TaskResponse,omitempty"`
+ Res *types.CreateSecondaryVM_TaskResponse `xml:"CreateSecondaryVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2785,7 +3145,7 @@ func CreateSecondaryVM_Task(ctx context.Context, r soap.RoundTripper, req *types
type CreateSnapshotEx_TaskBody struct {
Req *types.CreateSnapshotEx_Task `xml:"urn:vim25 CreateSnapshotEx_Task,omitempty"`
- Res *types.CreateSnapshotEx_TaskResponse `xml:"urn:vim25 CreateSnapshotEx_TaskResponse,omitempty"`
+ Res *types.CreateSnapshotEx_TaskResponse `xml:"CreateSnapshotEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2805,7 +3165,7 @@ func CreateSnapshotEx_Task(ctx context.Context, r soap.RoundTripper, req *types.
type CreateSnapshot_TaskBody struct {
Req *types.CreateSnapshot_Task `xml:"urn:vim25 CreateSnapshot_Task,omitempty"`
- Res *types.CreateSnapshot_TaskResponse `xml:"urn:vim25 CreateSnapshot_TaskResponse,omitempty"`
+ Res *types.CreateSnapshot_TaskResponse `xml:"CreateSnapshot_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2825,7 +3185,7 @@ func CreateSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.Cr
type CreateStoragePodBody struct {
Req *types.CreateStoragePod `xml:"urn:vim25 CreateStoragePod,omitempty"`
- Res *types.CreateStoragePodResponse `xml:"urn:vim25 CreateStoragePodResponse,omitempty"`
+ Res *types.CreateStoragePodResponse `xml:"CreateStoragePodResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2845,7 +3205,7 @@ func CreateStoragePod(ctx context.Context, r soap.RoundTripper, req *types.Creat
type CreateTaskBody struct {
Req *types.CreateTask `xml:"urn:vim25 CreateTask,omitempty"`
- Res *types.CreateTaskResponse `xml:"urn:vim25 CreateTaskResponse,omitempty"`
+ Res *types.CreateTaskResponse `xml:"CreateTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2865,7 +3225,7 @@ func CreateTask(ctx context.Context, r soap.RoundTripper, req *types.CreateTask)
type CreateTemporaryDirectoryInGuestBody struct {
Req *types.CreateTemporaryDirectoryInGuest `xml:"urn:vim25 CreateTemporaryDirectoryInGuest,omitempty"`
- Res *types.CreateTemporaryDirectoryInGuestResponse `xml:"urn:vim25 CreateTemporaryDirectoryInGuestResponse,omitempty"`
+ Res *types.CreateTemporaryDirectoryInGuestResponse `xml:"CreateTemporaryDirectoryInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2885,7 +3245,7 @@ func CreateTemporaryDirectoryInGuest(ctx context.Context, r soap.RoundTripper, r
type CreateTemporaryFileInGuestBody struct {
Req *types.CreateTemporaryFileInGuest `xml:"urn:vim25 CreateTemporaryFileInGuest,omitempty"`
- Res *types.CreateTemporaryFileInGuestResponse `xml:"urn:vim25 CreateTemporaryFileInGuestResponse,omitempty"`
+ Res *types.CreateTemporaryFileInGuestResponse `xml:"CreateTemporaryFileInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2905,7 +3265,7 @@ func CreateTemporaryFileInGuest(ctx context.Context, r soap.RoundTripper, req *t
type CreateUserBody struct {
Req *types.CreateUser `xml:"urn:vim25 CreateUser,omitempty"`
- Res *types.CreateUserResponse `xml:"urn:vim25 CreateUserResponse,omitempty"`
+ Res *types.CreateUserResponse `xml:"CreateUserResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2925,7 +3285,7 @@ func CreateUser(ctx context.Context, r soap.RoundTripper, req *types.CreateUser)
type CreateVAppBody struct {
Req *types.CreateVApp `xml:"urn:vim25 CreateVApp,omitempty"`
- Res *types.CreateVAppResponse `xml:"urn:vim25 CreateVAppResponse,omitempty"`
+ Res *types.CreateVAppResponse `xml:"CreateVAppResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2945,7 +3305,7 @@ func CreateVApp(ctx context.Context, r soap.RoundTripper, req *types.CreateVApp)
type CreateVM_TaskBody struct {
Req *types.CreateVM_Task `xml:"urn:vim25 CreateVM_Task,omitempty"`
- Res *types.CreateVM_TaskResponse `xml:"urn:vim25 CreateVM_TaskResponse,omitempty"`
+ Res *types.CreateVM_TaskResponse `xml:"CreateVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2965,7 +3325,7 @@ func CreateVM_Task(ctx context.Context, r soap.RoundTripper, req *types.CreateVM
type CreateVirtualDisk_TaskBody struct {
Req *types.CreateVirtualDisk_Task `xml:"urn:vim25 CreateVirtualDisk_Task,omitempty"`
- Res *types.CreateVirtualDisk_TaskResponse `xml:"urn:vim25 CreateVirtualDisk_TaskResponse,omitempty"`
+ Res *types.CreateVirtualDisk_TaskResponse `xml:"CreateVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -2985,7 +3345,7 @@ func CreateVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *types
type CreateVmfsDatastoreBody struct {
Req *types.CreateVmfsDatastore `xml:"urn:vim25 CreateVmfsDatastore,omitempty"`
- Res *types.CreateVmfsDatastoreResponse `xml:"urn:vim25 CreateVmfsDatastoreResponse,omitempty"`
+ Res *types.CreateVmfsDatastoreResponse `xml:"CreateVmfsDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3005,7 +3365,7 @@ func CreateVmfsDatastore(ctx context.Context, r soap.RoundTripper, req *types.Cr
type CreateVvolDatastoreBody struct {
Req *types.CreateVvolDatastore `xml:"urn:vim25 CreateVvolDatastore,omitempty"`
- Res *types.CreateVvolDatastoreResponse `xml:"urn:vim25 CreateVvolDatastoreResponse,omitempty"`
+ Res *types.CreateVvolDatastoreResponse `xml:"CreateVvolDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3023,9 +3383,69 @@ func CreateVvolDatastore(ctx context.Context, r soap.RoundTripper, req *types.Cr
return resBody.Res, nil
}
+type CryptoManagerHostEnableBody struct {
+ Req *types.CryptoManagerHostEnable `xml:"urn:vim25 CryptoManagerHostEnable,omitempty"`
+ Res *types.CryptoManagerHostEnableResponse `xml:"CryptoManagerHostEnableResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CryptoManagerHostEnableBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CryptoManagerHostEnable(ctx context.Context, r soap.RoundTripper, req *types.CryptoManagerHostEnable) (*types.CryptoManagerHostEnableResponse, error) {
+ var reqBody, resBody CryptoManagerHostEnableBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type CryptoManagerHostPrepareBody struct {
+ Req *types.CryptoManagerHostPrepare `xml:"urn:vim25 CryptoManagerHostPrepare,omitempty"`
+ Res *types.CryptoManagerHostPrepareResponse `xml:"CryptoManagerHostPrepareResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CryptoManagerHostPrepareBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CryptoManagerHostPrepare(ctx context.Context, r soap.RoundTripper, req *types.CryptoManagerHostPrepare) (*types.CryptoManagerHostPrepareResponse, error) {
+ var reqBody, resBody CryptoManagerHostPrepareBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type CryptoUnlock_TaskBody struct {
+ Req *types.CryptoUnlock_Task `xml:"urn:vim25 CryptoUnlock_Task,omitempty"`
+ Res *types.CryptoUnlock_TaskResponse `xml:"CryptoUnlock_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CryptoUnlock_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CryptoUnlock_Task(ctx context.Context, r soap.RoundTripper, req *types.CryptoUnlock_Task) (*types.CryptoUnlock_TaskResponse, error) {
+ var reqBody, resBody CryptoUnlock_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type CurrentTimeBody struct {
Req *types.CurrentTime `xml:"urn:vim25 CurrentTime,omitempty"`
- Res *types.CurrentTimeResponse `xml:"urn:vim25 CurrentTimeResponse,omitempty"`
+ Res *types.CurrentTimeResponse `xml:"CurrentTimeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3045,7 +3465,7 @@ func CurrentTime(ctx context.Context, r soap.RoundTripper, req *types.CurrentTim
type CustomizationSpecItemToXmlBody struct {
Req *types.CustomizationSpecItemToXml `xml:"urn:vim25 CustomizationSpecItemToXml,omitempty"`
- Res *types.CustomizationSpecItemToXmlResponse `xml:"urn:vim25 CustomizationSpecItemToXmlResponse,omitempty"`
+ Res *types.CustomizationSpecItemToXmlResponse `xml:"CustomizationSpecItemToXmlResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3065,7 +3485,7 @@ func CustomizationSpecItemToXml(ctx context.Context, r soap.RoundTripper, req *t
type CustomizeVM_TaskBody struct {
Req *types.CustomizeVM_Task `xml:"urn:vim25 CustomizeVM_Task,omitempty"`
- Res *types.CustomizeVM_TaskResponse `xml:"urn:vim25 CustomizeVM_TaskResponse,omitempty"`
+ Res *types.CustomizeVM_TaskResponse `xml:"CustomizeVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3085,7 +3505,7 @@ func CustomizeVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Custo
type DVPortgroupRollback_TaskBody struct {
Req *types.DVPortgroupRollback_Task `xml:"urn:vim25 DVPortgroupRollback_Task,omitempty"`
- Res *types.DVPortgroupRollback_TaskResponse `xml:"urn:vim25 DVPortgroupRollback_TaskResponse,omitempty"`
+ Res *types.DVPortgroupRollback_TaskResponse `xml:"DVPortgroupRollback_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3105,7 +3525,7 @@ func DVPortgroupRollback_Task(ctx context.Context, r soap.RoundTripper, req *typ
type DVSManagerExportEntity_TaskBody struct {
Req *types.DVSManagerExportEntity_Task `xml:"urn:vim25 DVSManagerExportEntity_Task,omitempty"`
- Res *types.DVSManagerExportEntity_TaskResponse `xml:"urn:vim25 DVSManagerExportEntity_TaskResponse,omitempty"`
+ Res *types.DVSManagerExportEntity_TaskResponse `xml:"DVSManagerExportEntity_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3125,7 +3545,7 @@ func DVSManagerExportEntity_Task(ctx context.Context, r soap.RoundTripper, req *
type DVSManagerImportEntity_TaskBody struct {
Req *types.DVSManagerImportEntity_Task `xml:"urn:vim25 DVSManagerImportEntity_Task,omitempty"`
- Res *types.DVSManagerImportEntity_TaskResponse `xml:"urn:vim25 DVSManagerImportEntity_TaskResponse,omitempty"`
+ Res *types.DVSManagerImportEntity_TaskResponse `xml:"DVSManagerImportEntity_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3145,7 +3565,7 @@ func DVSManagerImportEntity_Task(ctx context.Context, r soap.RoundTripper, req *
type DVSManagerLookupDvPortGroupBody struct {
Req *types.DVSManagerLookupDvPortGroup `xml:"urn:vim25 DVSManagerLookupDvPortGroup,omitempty"`
- Res *types.DVSManagerLookupDvPortGroupResponse `xml:"urn:vim25 DVSManagerLookupDvPortGroupResponse,omitempty"`
+ Res *types.DVSManagerLookupDvPortGroupResponse `xml:"DVSManagerLookupDvPortGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3165,7 +3585,7 @@ func DVSManagerLookupDvPortGroup(ctx context.Context, r soap.RoundTripper, req *
type DVSRollback_TaskBody struct {
Req *types.DVSRollback_Task `xml:"urn:vim25 DVSRollback_Task,omitempty"`
- Res *types.DVSRollback_TaskResponse `xml:"urn:vim25 DVSRollback_TaskResponse,omitempty"`
+ Res *types.DVSRollback_TaskResponse `xml:"DVSRollback_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3185,7 +3605,7 @@ func DVSRollback_Task(ctx context.Context, r soap.RoundTripper, req *types.DVSRo
type DatastoreEnterMaintenanceModeBody struct {
Req *types.DatastoreEnterMaintenanceMode `xml:"urn:vim25 DatastoreEnterMaintenanceMode,omitempty"`
- Res *types.DatastoreEnterMaintenanceModeResponse `xml:"urn:vim25 DatastoreEnterMaintenanceModeResponse,omitempty"`
+ Res *types.DatastoreEnterMaintenanceModeResponse `xml:"DatastoreEnterMaintenanceModeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3205,7 +3625,7 @@ func DatastoreEnterMaintenanceMode(ctx context.Context, r soap.RoundTripper, req
type DatastoreExitMaintenanceMode_TaskBody struct {
Req *types.DatastoreExitMaintenanceMode_Task `xml:"urn:vim25 DatastoreExitMaintenanceMode_Task,omitempty"`
- Res *types.DatastoreExitMaintenanceMode_TaskResponse `xml:"urn:vim25 DatastoreExitMaintenanceMode_TaskResponse,omitempty"`
+ Res *types.DatastoreExitMaintenanceMode_TaskResponse `xml:"DatastoreExitMaintenanceMode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3225,7 +3645,7 @@ func DatastoreExitMaintenanceMode_Task(ctx context.Context, r soap.RoundTripper,
type DecodeLicenseBody struct {
Req *types.DecodeLicense `xml:"urn:vim25 DecodeLicense,omitempty"`
- Res *types.DecodeLicenseResponse `xml:"urn:vim25 DecodeLicenseResponse,omitempty"`
+ Res *types.DecodeLicenseResponse `xml:"DecodeLicenseResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3245,7 +3665,7 @@ func DecodeLicense(ctx context.Context, r soap.RoundTripper, req *types.DecodeLi
type DefragmentAllDisksBody struct {
Req *types.DefragmentAllDisks `xml:"urn:vim25 DefragmentAllDisks,omitempty"`
- Res *types.DefragmentAllDisksResponse `xml:"urn:vim25 DefragmentAllDisksResponse,omitempty"`
+ Res *types.DefragmentAllDisksResponse `xml:"DefragmentAllDisksResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3265,7 +3685,7 @@ func DefragmentAllDisks(ctx context.Context, r soap.RoundTripper, req *types.Def
type DefragmentVirtualDisk_TaskBody struct {
Req *types.DefragmentVirtualDisk_Task `xml:"urn:vim25 DefragmentVirtualDisk_Task,omitempty"`
- Res *types.DefragmentVirtualDisk_TaskResponse `xml:"urn:vim25 DefragmentVirtualDisk_TaskResponse,omitempty"`
+ Res *types.DefragmentVirtualDisk_TaskResponse `xml:"DefragmentVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3285,7 +3705,7 @@ func DefragmentVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *t
type DeleteCustomizationSpecBody struct {
Req *types.DeleteCustomizationSpec `xml:"urn:vim25 DeleteCustomizationSpec,omitempty"`
- Res *types.DeleteCustomizationSpecResponse `xml:"urn:vim25 DeleteCustomizationSpecResponse,omitempty"`
+ Res *types.DeleteCustomizationSpecResponse `xml:"DeleteCustomizationSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3305,7 +3725,7 @@ func DeleteCustomizationSpec(ctx context.Context, r soap.RoundTripper, req *type
type DeleteDatastoreFile_TaskBody struct {
Req *types.DeleteDatastoreFile_Task `xml:"urn:vim25 DeleteDatastoreFile_Task,omitempty"`
- Res *types.DeleteDatastoreFile_TaskResponse `xml:"urn:vim25 DeleteDatastoreFile_TaskResponse,omitempty"`
+ Res *types.DeleteDatastoreFile_TaskResponse `xml:"DeleteDatastoreFile_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3325,7 +3745,7 @@ func DeleteDatastoreFile_Task(ctx context.Context, r soap.RoundTripper, req *typ
type DeleteDirectoryBody struct {
Req *types.DeleteDirectory `xml:"urn:vim25 DeleteDirectory,omitempty"`
- Res *types.DeleteDirectoryResponse `xml:"urn:vim25 DeleteDirectoryResponse,omitempty"`
+ Res *types.DeleteDirectoryResponse `xml:"DeleteDirectoryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3345,7 +3765,7 @@ func DeleteDirectory(ctx context.Context, r soap.RoundTripper, req *types.Delete
type DeleteDirectoryInGuestBody struct {
Req *types.DeleteDirectoryInGuest `xml:"urn:vim25 DeleteDirectoryInGuest,omitempty"`
- Res *types.DeleteDirectoryInGuestResponse `xml:"urn:vim25 DeleteDirectoryInGuestResponse,omitempty"`
+ Res *types.DeleteDirectoryInGuestResponse `xml:"DeleteDirectoryInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3365,7 +3785,7 @@ func DeleteDirectoryInGuest(ctx context.Context, r soap.RoundTripper, req *types
type DeleteFileBody struct {
Req *types.DeleteFile `xml:"urn:vim25 DeleteFile,omitempty"`
- Res *types.DeleteFileResponse `xml:"urn:vim25 DeleteFileResponse,omitempty"`
+ Res *types.DeleteFileResponse `xml:"DeleteFileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3385,7 +3805,7 @@ func DeleteFile(ctx context.Context, r soap.RoundTripper, req *types.DeleteFile)
type DeleteFileInGuestBody struct {
Req *types.DeleteFileInGuest `xml:"urn:vim25 DeleteFileInGuest,omitempty"`
- Res *types.DeleteFileInGuestResponse `xml:"urn:vim25 DeleteFileInGuestResponse,omitempty"`
+ Res *types.DeleteFileInGuestResponse `xml:"DeleteFileInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3405,7 +3825,7 @@ func DeleteFileInGuest(ctx context.Context, r soap.RoundTripper, req *types.Dele
type DeleteHostSpecificationBody struct {
Req *types.DeleteHostSpecification `xml:"urn:vim25 DeleteHostSpecification,omitempty"`
- Res *types.DeleteHostSpecificationResponse `xml:"urn:vim25 DeleteHostSpecificationResponse,omitempty"`
+ Res *types.DeleteHostSpecificationResponse `xml:"DeleteHostSpecificationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3425,7 +3845,7 @@ func DeleteHostSpecification(ctx context.Context, r soap.RoundTripper, req *type
type DeleteHostSubSpecificationBody struct {
Req *types.DeleteHostSubSpecification `xml:"urn:vim25 DeleteHostSubSpecification,omitempty"`
- Res *types.DeleteHostSubSpecificationResponse `xml:"urn:vim25 DeleteHostSubSpecificationResponse,omitempty"`
+ Res *types.DeleteHostSubSpecificationResponse `xml:"DeleteHostSubSpecificationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3443,9 +3863,49 @@ func DeleteHostSubSpecification(ctx context.Context, r soap.RoundTripper, req *t
return resBody.Res, nil
}
+type DeleteNvdimmBlockNamespaces_TaskBody struct {
+ Req *types.DeleteNvdimmBlockNamespaces_Task `xml:"urn:vim25 DeleteNvdimmBlockNamespaces_Task,omitempty"`
+ Res *types.DeleteNvdimmBlockNamespaces_TaskResponse `xml:"DeleteNvdimmBlockNamespaces_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *DeleteNvdimmBlockNamespaces_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func DeleteNvdimmBlockNamespaces_Task(ctx context.Context, r soap.RoundTripper, req *types.DeleteNvdimmBlockNamespaces_Task) (*types.DeleteNvdimmBlockNamespaces_TaskResponse, error) {
+ var reqBody, resBody DeleteNvdimmBlockNamespaces_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type DeleteNvdimmNamespace_TaskBody struct {
+ Req *types.DeleteNvdimmNamespace_Task `xml:"urn:vim25 DeleteNvdimmNamespace_Task,omitempty"`
+ Res *types.DeleteNvdimmNamespace_TaskResponse `xml:"DeleteNvdimmNamespace_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *DeleteNvdimmNamespace_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func DeleteNvdimmNamespace_Task(ctx context.Context, r soap.RoundTripper, req *types.DeleteNvdimmNamespace_Task) (*types.DeleteNvdimmNamespace_TaskResponse, error) {
+ var reqBody, resBody DeleteNvdimmNamespace_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type DeleteRegistryKeyInGuestBody struct {
Req *types.DeleteRegistryKeyInGuest `xml:"urn:vim25 DeleteRegistryKeyInGuest,omitempty"`
- Res *types.DeleteRegistryKeyInGuestResponse `xml:"urn:vim25 DeleteRegistryKeyInGuestResponse,omitempty"`
+ Res *types.DeleteRegistryKeyInGuestResponse `xml:"DeleteRegistryKeyInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3465,7 +3925,7 @@ func DeleteRegistryKeyInGuest(ctx context.Context, r soap.RoundTripper, req *typ
type DeleteRegistryValueInGuestBody struct {
Req *types.DeleteRegistryValueInGuest `xml:"urn:vim25 DeleteRegistryValueInGuest,omitempty"`
- Res *types.DeleteRegistryValueInGuestResponse `xml:"urn:vim25 DeleteRegistryValueInGuestResponse,omitempty"`
+ Res *types.DeleteRegistryValueInGuestResponse `xml:"DeleteRegistryValueInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3485,7 +3945,7 @@ func DeleteRegistryValueInGuest(ctx context.Context, r soap.RoundTripper, req *t
type DeleteScsiLunStateBody struct {
Req *types.DeleteScsiLunState `xml:"urn:vim25 DeleteScsiLunState,omitempty"`
- Res *types.DeleteScsiLunStateResponse `xml:"urn:vim25 DeleteScsiLunStateResponse,omitempty"`
+ Res *types.DeleteScsiLunStateResponse `xml:"DeleteScsiLunStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3503,9 +3963,29 @@ func DeleteScsiLunState(ctx context.Context, r soap.RoundTripper, req *types.Del
return resBody.Res, nil
}
+type DeleteSnapshot_TaskBody struct {
+ Req *types.DeleteSnapshot_Task `xml:"urn:vim25 DeleteSnapshot_Task,omitempty"`
+ Res *types.DeleteSnapshot_TaskResponse `xml:"DeleteSnapshot_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *DeleteSnapshot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func DeleteSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.DeleteSnapshot_Task) (*types.DeleteSnapshot_TaskResponse, error) {
+ var reqBody, resBody DeleteSnapshot_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type DeleteVStorageObject_TaskBody struct {
Req *types.DeleteVStorageObject_Task `xml:"urn:vim25 DeleteVStorageObject_Task,omitempty"`
- Res *types.DeleteVStorageObject_TaskResponse `xml:"urn:vim25 DeleteVStorageObject_TaskResponse,omitempty"`
+ Res *types.DeleteVStorageObject_TaskResponse `xml:"DeleteVStorageObject_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3525,7 +4005,7 @@ func DeleteVStorageObject_Task(ctx context.Context, r soap.RoundTripper, req *ty
type DeleteVffsVolumeStateBody struct {
Req *types.DeleteVffsVolumeState `xml:"urn:vim25 DeleteVffsVolumeState,omitempty"`
- Res *types.DeleteVffsVolumeStateResponse `xml:"urn:vim25 DeleteVffsVolumeStateResponse,omitempty"`
+ Res *types.DeleteVffsVolumeStateResponse `xml:"DeleteVffsVolumeStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3545,7 +4025,7 @@ func DeleteVffsVolumeState(ctx context.Context, r soap.RoundTripper, req *types.
type DeleteVirtualDisk_TaskBody struct {
Req *types.DeleteVirtualDisk_Task `xml:"urn:vim25 DeleteVirtualDisk_Task,omitempty"`
- Res *types.DeleteVirtualDisk_TaskResponse `xml:"urn:vim25 DeleteVirtualDisk_TaskResponse,omitempty"`
+ Res *types.DeleteVirtualDisk_TaskResponse `xml:"DeleteVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3565,7 +4045,7 @@ func DeleteVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *types
type DeleteVmfsVolumeStateBody struct {
Req *types.DeleteVmfsVolumeState `xml:"urn:vim25 DeleteVmfsVolumeState,omitempty"`
- Res *types.DeleteVmfsVolumeStateResponse `xml:"urn:vim25 DeleteVmfsVolumeStateResponse,omitempty"`
+ Res *types.DeleteVmfsVolumeStateResponse `xml:"DeleteVmfsVolumeStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3585,7 +4065,7 @@ func DeleteVmfsVolumeState(ctx context.Context, r soap.RoundTripper, req *types.
type DeleteVsanObjectsBody struct {
Req *types.DeleteVsanObjects `xml:"urn:vim25 DeleteVsanObjects,omitempty"`
- Res *types.DeleteVsanObjectsResponse `xml:"urn:vim25 DeleteVsanObjectsResponse,omitempty"`
+ Res *types.DeleteVsanObjectsResponse `xml:"DeleteVsanObjectsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3605,7 +4085,7 @@ func DeleteVsanObjects(ctx context.Context, r soap.RoundTripper, req *types.Dele
type DeselectVnicBody struct {
Req *types.DeselectVnic `xml:"urn:vim25 DeselectVnic,omitempty"`
- Res *types.DeselectVnicResponse `xml:"urn:vim25 DeselectVnicResponse,omitempty"`
+ Res *types.DeselectVnicResponse `xml:"DeselectVnicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3625,7 +4105,7 @@ func DeselectVnic(ctx context.Context, r soap.RoundTripper, req *types.DeselectV
type DeselectVnicForNicTypeBody struct {
Req *types.DeselectVnicForNicType `xml:"urn:vim25 DeselectVnicForNicType,omitempty"`
- Res *types.DeselectVnicForNicTypeResponse `xml:"urn:vim25 DeselectVnicForNicTypeResponse,omitempty"`
+ Res *types.DeselectVnicForNicTypeResponse `xml:"DeselectVnicForNicTypeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3645,7 +4125,7 @@ func DeselectVnicForNicType(ctx context.Context, r soap.RoundTripper, req *types
type DestroyChildrenBody struct {
Req *types.DestroyChildren `xml:"urn:vim25 DestroyChildren,omitempty"`
- Res *types.DestroyChildrenResponse `xml:"urn:vim25 DestroyChildrenResponse,omitempty"`
+ Res *types.DestroyChildrenResponse `xml:"DestroyChildrenResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3665,7 +4145,7 @@ func DestroyChildren(ctx context.Context, r soap.RoundTripper, req *types.Destro
type DestroyCollectorBody struct {
Req *types.DestroyCollector `xml:"urn:vim25 DestroyCollector,omitempty"`
- Res *types.DestroyCollectorResponse `xml:"urn:vim25 DestroyCollectorResponse,omitempty"`
+ Res *types.DestroyCollectorResponse `xml:"DestroyCollectorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3685,7 +4165,7 @@ func DestroyCollector(ctx context.Context, r soap.RoundTripper, req *types.Destr
type DestroyDatastoreBody struct {
Req *types.DestroyDatastore `xml:"urn:vim25 DestroyDatastore,omitempty"`
- Res *types.DestroyDatastoreResponse `xml:"urn:vim25 DestroyDatastoreResponse,omitempty"`
+ Res *types.DestroyDatastoreResponse `xml:"DestroyDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3705,7 +4185,7 @@ func DestroyDatastore(ctx context.Context, r soap.RoundTripper, req *types.Destr
type DestroyIpPoolBody struct {
Req *types.DestroyIpPool `xml:"urn:vim25 DestroyIpPool,omitempty"`
- Res *types.DestroyIpPoolResponse `xml:"urn:vim25 DestroyIpPoolResponse,omitempty"`
+ Res *types.DestroyIpPoolResponse `xml:"DestroyIpPoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3725,7 +4205,7 @@ func DestroyIpPool(ctx context.Context, r soap.RoundTripper, req *types.DestroyI
type DestroyNetworkBody struct {
Req *types.DestroyNetwork `xml:"urn:vim25 DestroyNetwork,omitempty"`
- Res *types.DestroyNetworkResponse `xml:"urn:vim25 DestroyNetworkResponse,omitempty"`
+ Res *types.DestroyNetworkResponse `xml:"DestroyNetworkResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3745,7 +4225,7 @@ func DestroyNetwork(ctx context.Context, r soap.RoundTripper, req *types.Destroy
type DestroyProfileBody struct {
Req *types.DestroyProfile `xml:"urn:vim25 DestroyProfile,omitempty"`
- Res *types.DestroyProfileResponse `xml:"urn:vim25 DestroyProfileResponse,omitempty"`
+ Res *types.DestroyProfileResponse `xml:"DestroyProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3765,7 +4245,7 @@ func DestroyProfile(ctx context.Context, r soap.RoundTripper, req *types.Destroy
type DestroyPropertyCollectorBody struct {
Req *types.DestroyPropertyCollector `xml:"urn:vim25 DestroyPropertyCollector,omitempty"`
- Res *types.DestroyPropertyCollectorResponse `xml:"urn:vim25 DestroyPropertyCollectorResponse,omitempty"`
+ Res *types.DestroyPropertyCollectorResponse `xml:"DestroyPropertyCollectorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3785,7 +4265,7 @@ func DestroyPropertyCollector(ctx context.Context, r soap.RoundTripper, req *typ
type DestroyPropertyFilterBody struct {
Req *types.DestroyPropertyFilter `xml:"urn:vim25 DestroyPropertyFilter,omitempty"`
- Res *types.DestroyPropertyFilterResponse `xml:"urn:vim25 DestroyPropertyFilterResponse,omitempty"`
+ Res *types.DestroyPropertyFilterResponse `xml:"DestroyPropertyFilterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3805,7 +4285,7 @@ func DestroyPropertyFilter(ctx context.Context, r soap.RoundTripper, req *types.
type DestroyVffsBody struct {
Req *types.DestroyVffs `xml:"urn:vim25 DestroyVffs,omitempty"`
- Res *types.DestroyVffsResponse `xml:"urn:vim25 DestroyVffsResponse,omitempty"`
+ Res *types.DestroyVffsResponse `xml:"DestroyVffsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3825,7 +4305,7 @@ func DestroyVffs(ctx context.Context, r soap.RoundTripper, req *types.DestroyVff
type DestroyViewBody struct {
Req *types.DestroyView `xml:"urn:vim25 DestroyView,omitempty"`
- Res *types.DestroyViewResponse `xml:"urn:vim25 DestroyViewResponse,omitempty"`
+ Res *types.DestroyViewResponse `xml:"DestroyViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3845,7 +4325,7 @@ func DestroyView(ctx context.Context, r soap.RoundTripper, req *types.DestroyVie
type Destroy_TaskBody struct {
Req *types.Destroy_Task `xml:"urn:vim25 Destroy_Task,omitempty"`
- Res *types.Destroy_TaskResponse `xml:"urn:vim25 Destroy_TaskResponse,omitempty"`
+ Res *types.Destroy_TaskResponse `xml:"Destroy_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3865,7 +4345,7 @@ func Destroy_Task(ctx context.Context, r soap.RoundTripper, req *types.Destroy_T
type DetachDisk_TaskBody struct {
Req *types.DetachDisk_Task `xml:"urn:vim25 DetachDisk_Task,omitempty"`
- Res *types.DetachDisk_TaskResponse `xml:"urn:vim25 DetachDisk_TaskResponse,omitempty"`
+ Res *types.DetachDisk_TaskResponse `xml:"DetachDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3885,7 +4365,7 @@ func DetachDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Detach
type DetachScsiLunBody struct {
Req *types.DetachScsiLun `xml:"urn:vim25 DetachScsiLun,omitempty"`
- Res *types.DetachScsiLunResponse `xml:"urn:vim25 DetachScsiLunResponse,omitempty"`
+ Res *types.DetachScsiLunResponse `xml:"DetachScsiLunResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3905,7 +4385,7 @@ func DetachScsiLun(ctx context.Context, r soap.RoundTripper, req *types.DetachSc
type DetachScsiLunEx_TaskBody struct {
Req *types.DetachScsiLunEx_Task `xml:"urn:vim25 DetachScsiLunEx_Task,omitempty"`
- Res *types.DetachScsiLunEx_TaskResponse `xml:"urn:vim25 DetachScsiLunEx_TaskResponse,omitempty"`
+ Res *types.DetachScsiLunEx_TaskResponse `xml:"DetachScsiLunEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3925,7 +4405,7 @@ func DetachScsiLunEx_Task(ctx context.Context, r soap.RoundTripper, req *types.D
type DetachTagFromVStorageObjectBody struct {
Req *types.DetachTagFromVStorageObject `xml:"urn:vim25 DetachTagFromVStorageObject,omitempty"`
- Res *types.DetachTagFromVStorageObjectResponse `xml:"urn:vim25 DetachTagFromVStorageObjectResponse,omitempty"`
+ Res *types.DetachTagFromVStorageObjectResponse `xml:"DetachTagFromVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3945,7 +4425,7 @@ func DetachTagFromVStorageObject(ctx context.Context, r soap.RoundTripper, req *
type DisableEvcMode_TaskBody struct {
Req *types.DisableEvcMode_Task `xml:"urn:vim25 DisableEvcMode_Task,omitempty"`
- Res *types.DisableEvcMode_TaskResponse `xml:"urn:vim25 DisableEvcMode_TaskResponse,omitempty"`
+ Res *types.DisableEvcMode_TaskResponse `xml:"DisableEvcMode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3965,7 +4445,7 @@ func DisableEvcMode_Task(ctx context.Context, r soap.RoundTripper, req *types.Di
type DisableFeatureBody struct {
Req *types.DisableFeature `xml:"urn:vim25 DisableFeature,omitempty"`
- Res *types.DisableFeatureResponse `xml:"urn:vim25 DisableFeatureResponse,omitempty"`
+ Res *types.DisableFeatureResponse `xml:"DisableFeatureResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -3985,7 +4465,7 @@ func DisableFeature(ctx context.Context, r soap.RoundTripper, req *types.Disable
type DisableHyperThreadingBody struct {
Req *types.DisableHyperThreading `xml:"urn:vim25 DisableHyperThreading,omitempty"`
- Res *types.DisableHyperThreadingResponse `xml:"urn:vim25 DisableHyperThreadingResponse,omitempty"`
+ Res *types.DisableHyperThreadingResponse `xml:"DisableHyperThreadingResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4005,7 +4485,7 @@ func DisableHyperThreading(ctx context.Context, r soap.RoundTripper, req *types.
type DisableMultipathPathBody struct {
Req *types.DisableMultipathPath `xml:"urn:vim25 DisableMultipathPath,omitempty"`
- Res *types.DisableMultipathPathResponse `xml:"urn:vim25 DisableMultipathPathResponse,omitempty"`
+ Res *types.DisableMultipathPathResponse `xml:"DisableMultipathPathResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4025,7 +4505,7 @@ func DisableMultipathPath(ctx context.Context, r soap.RoundTripper, req *types.D
type DisableRulesetBody struct {
Req *types.DisableRuleset `xml:"urn:vim25 DisableRuleset,omitempty"`
- Res *types.DisableRulesetResponse `xml:"urn:vim25 DisableRulesetResponse,omitempty"`
+ Res *types.DisableRulesetResponse `xml:"DisableRulesetResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4045,7 +4525,7 @@ func DisableRuleset(ctx context.Context, r soap.RoundTripper, req *types.Disable
type DisableSecondaryVM_TaskBody struct {
Req *types.DisableSecondaryVM_Task `xml:"urn:vim25 DisableSecondaryVM_Task,omitempty"`
- Res *types.DisableSecondaryVM_TaskResponse `xml:"urn:vim25 DisableSecondaryVM_TaskResponse,omitempty"`
+ Res *types.DisableSecondaryVM_TaskResponse `xml:"DisableSecondaryVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4065,7 +4545,7 @@ func DisableSecondaryVM_Task(ctx context.Context, r soap.RoundTripper, req *type
type DisableSmartCardAuthenticationBody struct {
Req *types.DisableSmartCardAuthentication `xml:"urn:vim25 DisableSmartCardAuthentication,omitempty"`
- Res *types.DisableSmartCardAuthenticationResponse `xml:"urn:vim25 DisableSmartCardAuthenticationResponse,omitempty"`
+ Res *types.DisableSmartCardAuthenticationResponse `xml:"DisableSmartCardAuthenticationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4085,7 +4565,7 @@ func DisableSmartCardAuthentication(ctx context.Context, r soap.RoundTripper, re
type DisconnectHost_TaskBody struct {
Req *types.DisconnectHost_Task `xml:"urn:vim25 DisconnectHost_Task,omitempty"`
- Res *types.DisconnectHost_TaskResponse `xml:"urn:vim25 DisconnectHost_TaskResponse,omitempty"`
+ Res *types.DisconnectHost_TaskResponse `xml:"DisconnectHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4105,7 +4585,7 @@ func DisconnectHost_Task(ctx context.Context, r soap.RoundTripper, req *types.Di
type DiscoverFcoeHbasBody struct {
Req *types.DiscoverFcoeHbas `xml:"urn:vim25 DiscoverFcoeHbas,omitempty"`
- Res *types.DiscoverFcoeHbasResponse `xml:"urn:vim25 DiscoverFcoeHbasResponse,omitempty"`
+ Res *types.DiscoverFcoeHbasResponse `xml:"DiscoverFcoeHbasResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4125,7 +4605,7 @@ func DiscoverFcoeHbas(ctx context.Context, r soap.RoundTripper, req *types.Disco
type DissociateProfileBody struct {
Req *types.DissociateProfile `xml:"urn:vim25 DissociateProfile,omitempty"`
- Res *types.DissociateProfileResponse `xml:"urn:vim25 DissociateProfileResponse,omitempty"`
+ Res *types.DissociateProfileResponse `xml:"DissociateProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4145,7 +4625,7 @@ func DissociateProfile(ctx context.Context, r soap.RoundTripper, req *types.Diss
type DoesCustomizationSpecExistBody struct {
Req *types.DoesCustomizationSpecExist `xml:"urn:vim25 DoesCustomizationSpecExist,omitempty"`
- Res *types.DoesCustomizationSpecExistResponse `xml:"urn:vim25 DoesCustomizationSpecExistResponse,omitempty"`
+ Res *types.DoesCustomizationSpecExistResponse `xml:"DoesCustomizationSpecExistResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4165,7 +4645,7 @@ func DoesCustomizationSpecExist(ctx context.Context, r soap.RoundTripper, req *t
type DuplicateCustomizationSpecBody struct {
Req *types.DuplicateCustomizationSpec `xml:"urn:vim25 DuplicateCustomizationSpec,omitempty"`
- Res *types.DuplicateCustomizationSpecResponse `xml:"urn:vim25 DuplicateCustomizationSpecResponse,omitempty"`
+ Res *types.DuplicateCustomizationSpecResponse `xml:"DuplicateCustomizationSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4185,7 +4665,7 @@ func DuplicateCustomizationSpec(ctx context.Context, r soap.RoundTripper, req *t
type DvsReconfigureVmVnicNetworkResourcePool_TaskBody struct {
Req *types.DvsReconfigureVmVnicNetworkResourcePool_Task `xml:"urn:vim25 DvsReconfigureVmVnicNetworkResourcePool_Task,omitempty"`
- Res *types.DvsReconfigureVmVnicNetworkResourcePool_TaskResponse `xml:"urn:vim25 DvsReconfigureVmVnicNetworkResourcePool_TaskResponse,omitempty"`
+ Res *types.DvsReconfigureVmVnicNetworkResourcePool_TaskResponse `xml:"DvsReconfigureVmVnicNetworkResourcePool_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4205,7 +4685,7 @@ func DvsReconfigureVmVnicNetworkResourcePool_Task(ctx context.Context, r soap.Ro
type EagerZeroVirtualDisk_TaskBody struct {
Req *types.EagerZeroVirtualDisk_Task `xml:"urn:vim25 EagerZeroVirtualDisk_Task,omitempty"`
- Res *types.EagerZeroVirtualDisk_TaskResponse `xml:"urn:vim25 EagerZeroVirtualDisk_TaskResponse,omitempty"`
+ Res *types.EagerZeroVirtualDisk_TaskResponse `xml:"EagerZeroVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4225,7 +4705,7 @@ func EagerZeroVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *ty
type EnableAlarmActionsBody struct {
Req *types.EnableAlarmActions `xml:"urn:vim25 EnableAlarmActions,omitempty"`
- Res *types.EnableAlarmActionsResponse `xml:"urn:vim25 EnableAlarmActionsResponse,omitempty"`
+ Res *types.EnableAlarmActionsResponse `xml:"EnableAlarmActionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4245,7 +4725,7 @@ func EnableAlarmActions(ctx context.Context, r soap.RoundTripper, req *types.Ena
type EnableCryptoBody struct {
Req *types.EnableCrypto `xml:"urn:vim25 EnableCrypto,omitempty"`
- Res *types.EnableCryptoResponse `xml:"urn:vim25 EnableCryptoResponse,omitempty"`
+ Res *types.EnableCryptoResponse `xml:"EnableCryptoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4265,7 +4745,7 @@ func EnableCrypto(ctx context.Context, r soap.RoundTripper, req *types.EnableCry
type EnableFeatureBody struct {
Req *types.EnableFeature `xml:"urn:vim25 EnableFeature,omitempty"`
- Res *types.EnableFeatureResponse `xml:"urn:vim25 EnableFeatureResponse,omitempty"`
+ Res *types.EnableFeatureResponse `xml:"EnableFeatureResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4285,7 +4765,7 @@ func EnableFeature(ctx context.Context, r soap.RoundTripper, req *types.EnableFe
type EnableHyperThreadingBody struct {
Req *types.EnableHyperThreading `xml:"urn:vim25 EnableHyperThreading,omitempty"`
- Res *types.EnableHyperThreadingResponse `xml:"urn:vim25 EnableHyperThreadingResponse,omitempty"`
+ Res *types.EnableHyperThreadingResponse `xml:"EnableHyperThreadingResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4305,7 +4785,7 @@ func EnableHyperThreading(ctx context.Context, r soap.RoundTripper, req *types.E
type EnableMultipathPathBody struct {
Req *types.EnableMultipathPath `xml:"urn:vim25 EnableMultipathPath,omitempty"`
- Res *types.EnableMultipathPathResponse `xml:"urn:vim25 EnableMultipathPathResponse,omitempty"`
+ Res *types.EnableMultipathPathResponse `xml:"EnableMultipathPathResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4325,7 +4805,7 @@ func EnableMultipathPath(ctx context.Context, r soap.RoundTripper, req *types.En
type EnableNetworkResourceManagementBody struct {
Req *types.EnableNetworkResourceManagement `xml:"urn:vim25 EnableNetworkResourceManagement,omitempty"`
- Res *types.EnableNetworkResourceManagementResponse `xml:"urn:vim25 EnableNetworkResourceManagementResponse,omitempty"`
+ Res *types.EnableNetworkResourceManagementResponse `xml:"EnableNetworkResourceManagementResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4345,7 +4825,7 @@ func EnableNetworkResourceManagement(ctx context.Context, r soap.RoundTripper, r
type EnableRulesetBody struct {
Req *types.EnableRuleset `xml:"urn:vim25 EnableRuleset,omitempty"`
- Res *types.EnableRulesetResponse `xml:"urn:vim25 EnableRulesetResponse,omitempty"`
+ Res *types.EnableRulesetResponse `xml:"EnableRulesetResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4365,7 +4845,7 @@ func EnableRuleset(ctx context.Context, r soap.RoundTripper, req *types.EnableRu
type EnableSecondaryVM_TaskBody struct {
Req *types.EnableSecondaryVM_Task `xml:"urn:vim25 EnableSecondaryVM_Task,omitempty"`
- Res *types.EnableSecondaryVM_TaskResponse `xml:"urn:vim25 EnableSecondaryVM_TaskResponse,omitempty"`
+ Res *types.EnableSecondaryVM_TaskResponse `xml:"EnableSecondaryVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4385,7 +4865,7 @@ func EnableSecondaryVM_Task(ctx context.Context, r soap.RoundTripper, req *types
type EnableSmartCardAuthenticationBody struct {
Req *types.EnableSmartCardAuthentication `xml:"urn:vim25 EnableSmartCardAuthentication,omitempty"`
- Res *types.EnableSmartCardAuthenticationResponse `xml:"urn:vim25 EnableSmartCardAuthenticationResponse,omitempty"`
+ Res *types.EnableSmartCardAuthenticationResponse `xml:"EnableSmartCardAuthenticationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4405,7 +4885,7 @@ func EnableSmartCardAuthentication(ctx context.Context, r soap.RoundTripper, req
type EnterLockdownModeBody struct {
Req *types.EnterLockdownMode `xml:"urn:vim25 EnterLockdownMode,omitempty"`
- Res *types.EnterLockdownModeResponse `xml:"urn:vim25 EnterLockdownModeResponse,omitempty"`
+ Res *types.EnterLockdownModeResponse `xml:"EnterLockdownModeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4425,7 +4905,7 @@ func EnterLockdownMode(ctx context.Context, r soap.RoundTripper, req *types.Ente
type EnterMaintenanceMode_TaskBody struct {
Req *types.EnterMaintenanceMode_Task `xml:"urn:vim25 EnterMaintenanceMode_Task,omitempty"`
- Res *types.EnterMaintenanceMode_TaskResponse `xml:"urn:vim25 EnterMaintenanceMode_TaskResponse,omitempty"`
+ Res *types.EnterMaintenanceMode_TaskResponse `xml:"EnterMaintenanceMode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4445,7 +4925,7 @@ func EnterMaintenanceMode_Task(ctx context.Context, r soap.RoundTripper, req *ty
type EstimateDatabaseSizeBody struct {
Req *types.EstimateDatabaseSize `xml:"urn:vim25 EstimateDatabaseSize,omitempty"`
- Res *types.EstimateDatabaseSizeResponse `xml:"urn:vim25 EstimateDatabaseSizeResponse,omitempty"`
+ Res *types.EstimateDatabaseSizeResponse `xml:"EstimateDatabaseSizeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4465,7 +4945,7 @@ func EstimateDatabaseSize(ctx context.Context, r soap.RoundTripper, req *types.E
type EstimateStorageForConsolidateSnapshots_TaskBody struct {
Req *types.EstimateStorageForConsolidateSnapshots_Task `xml:"urn:vim25 EstimateStorageForConsolidateSnapshots_Task,omitempty"`
- Res *types.EstimateStorageForConsolidateSnapshots_TaskResponse `xml:"urn:vim25 EstimateStorageForConsolidateSnapshots_TaskResponse,omitempty"`
+ Res *types.EstimateStorageForConsolidateSnapshots_TaskResponse `xml:"EstimateStorageForConsolidateSnapshots_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4485,7 +4965,7 @@ func EstimateStorageForConsolidateSnapshots_Task(ctx context.Context, r soap.Rou
type EsxAgentHostManagerUpdateConfigBody struct {
Req *types.EsxAgentHostManagerUpdateConfig `xml:"urn:vim25 EsxAgentHostManagerUpdateConfig,omitempty"`
- Res *types.EsxAgentHostManagerUpdateConfigResponse `xml:"urn:vim25 EsxAgentHostManagerUpdateConfigResponse,omitempty"`
+ Res *types.EsxAgentHostManagerUpdateConfigResponse `xml:"EsxAgentHostManagerUpdateConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4505,7 +4985,7 @@ func EsxAgentHostManagerUpdateConfig(ctx context.Context, r soap.RoundTripper, r
type EvacuateVsanNode_TaskBody struct {
Req *types.EvacuateVsanNode_Task `xml:"urn:vim25 EvacuateVsanNode_Task,omitempty"`
- Res *types.EvacuateVsanNode_TaskResponse `xml:"urn:vim25 EvacuateVsanNode_TaskResponse,omitempty"`
+ Res *types.EvacuateVsanNode_TaskResponse `xml:"EvacuateVsanNode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4525,7 +5005,7 @@ func EvacuateVsanNode_Task(ctx context.Context, r soap.RoundTripper, req *types.
type EvcManagerBody struct {
Req *types.EvcManager `xml:"urn:vim25 EvcManager,omitempty"`
- Res *types.EvcManagerResponse `xml:"urn:vim25 EvcManagerResponse,omitempty"`
+ Res *types.EvcManagerResponse `xml:"EvcManagerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4545,7 +5025,7 @@ func EvcManager(ctx context.Context, r soap.RoundTripper, req *types.EvcManager)
type ExecuteHostProfileBody struct {
Req *types.ExecuteHostProfile `xml:"urn:vim25 ExecuteHostProfile,omitempty"`
- Res *types.ExecuteHostProfileResponse `xml:"urn:vim25 ExecuteHostProfileResponse,omitempty"`
+ Res *types.ExecuteHostProfileResponse `xml:"ExecuteHostProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4565,7 +5045,7 @@ func ExecuteHostProfile(ctx context.Context, r soap.RoundTripper, req *types.Exe
type ExecuteSimpleCommandBody struct {
Req *types.ExecuteSimpleCommand `xml:"urn:vim25 ExecuteSimpleCommand,omitempty"`
- Res *types.ExecuteSimpleCommandResponse `xml:"urn:vim25 ExecuteSimpleCommandResponse,omitempty"`
+ Res *types.ExecuteSimpleCommandResponse `xml:"ExecuteSimpleCommandResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4585,7 +5065,7 @@ func ExecuteSimpleCommand(ctx context.Context, r soap.RoundTripper, req *types.E
type ExitLockdownModeBody struct {
Req *types.ExitLockdownMode `xml:"urn:vim25 ExitLockdownMode,omitempty"`
- Res *types.ExitLockdownModeResponse `xml:"urn:vim25 ExitLockdownModeResponse,omitempty"`
+ Res *types.ExitLockdownModeResponse `xml:"ExitLockdownModeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4605,7 +5085,7 @@ func ExitLockdownMode(ctx context.Context, r soap.RoundTripper, req *types.ExitL
type ExitMaintenanceMode_TaskBody struct {
Req *types.ExitMaintenanceMode_Task `xml:"urn:vim25 ExitMaintenanceMode_Task,omitempty"`
- Res *types.ExitMaintenanceMode_TaskResponse `xml:"urn:vim25 ExitMaintenanceMode_TaskResponse,omitempty"`
+ Res *types.ExitMaintenanceMode_TaskResponse `xml:"ExitMaintenanceMode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4625,7 +5105,7 @@ func ExitMaintenanceMode_Task(ctx context.Context, r soap.RoundTripper, req *typ
type ExpandVmfsDatastoreBody struct {
Req *types.ExpandVmfsDatastore `xml:"urn:vim25 ExpandVmfsDatastore,omitempty"`
- Res *types.ExpandVmfsDatastoreResponse `xml:"urn:vim25 ExpandVmfsDatastoreResponse,omitempty"`
+ Res *types.ExpandVmfsDatastoreResponse `xml:"ExpandVmfsDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4645,7 +5125,7 @@ func ExpandVmfsDatastore(ctx context.Context, r soap.RoundTripper, req *types.Ex
type ExpandVmfsExtentBody struct {
Req *types.ExpandVmfsExtent `xml:"urn:vim25 ExpandVmfsExtent,omitempty"`
- Res *types.ExpandVmfsExtentResponse `xml:"urn:vim25 ExpandVmfsExtentResponse,omitempty"`
+ Res *types.ExpandVmfsExtentResponse `xml:"ExpandVmfsExtentResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4665,7 +5145,7 @@ func ExpandVmfsExtent(ctx context.Context, r soap.RoundTripper, req *types.Expan
type ExportAnswerFile_TaskBody struct {
Req *types.ExportAnswerFile_Task `xml:"urn:vim25 ExportAnswerFile_Task,omitempty"`
- Res *types.ExportAnswerFile_TaskResponse `xml:"urn:vim25 ExportAnswerFile_TaskResponse,omitempty"`
+ Res *types.ExportAnswerFile_TaskResponse `xml:"ExportAnswerFile_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4685,7 +5165,7 @@ func ExportAnswerFile_Task(ctx context.Context, r soap.RoundTripper, req *types.
type ExportProfileBody struct {
Req *types.ExportProfile `xml:"urn:vim25 ExportProfile,omitempty"`
- Res *types.ExportProfileResponse `xml:"urn:vim25 ExportProfileResponse,omitempty"`
+ Res *types.ExportProfileResponse `xml:"ExportProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4705,7 +5185,7 @@ func ExportProfile(ctx context.Context, r soap.RoundTripper, req *types.ExportPr
type ExportSnapshotBody struct {
Req *types.ExportSnapshot `xml:"urn:vim25 ExportSnapshot,omitempty"`
- Res *types.ExportSnapshotResponse `xml:"urn:vim25 ExportSnapshotResponse,omitempty"`
+ Res *types.ExportSnapshotResponse `xml:"ExportSnapshotResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4725,7 +5205,7 @@ func ExportSnapshot(ctx context.Context, r soap.RoundTripper, req *types.ExportS
type ExportVAppBody struct {
Req *types.ExportVApp `xml:"urn:vim25 ExportVApp,omitempty"`
- Res *types.ExportVAppResponse `xml:"urn:vim25 ExportVAppResponse,omitempty"`
+ Res *types.ExportVAppResponse `xml:"ExportVAppResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4745,7 +5225,7 @@ func ExportVApp(ctx context.Context, r soap.RoundTripper, req *types.ExportVApp)
type ExportVmBody struct {
Req *types.ExportVm `xml:"urn:vim25 ExportVm,omitempty"`
- Res *types.ExportVmResponse `xml:"urn:vim25 ExportVmResponse,omitempty"`
+ Res *types.ExportVmResponse `xml:"ExportVmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4765,7 +5245,7 @@ func ExportVm(ctx context.Context, r soap.RoundTripper, req *types.ExportVm) (*t
type ExtendDisk_TaskBody struct {
Req *types.ExtendDisk_Task `xml:"urn:vim25 ExtendDisk_Task,omitempty"`
- Res *types.ExtendDisk_TaskResponse `xml:"urn:vim25 ExtendDisk_TaskResponse,omitempty"`
+ Res *types.ExtendDisk_TaskResponse `xml:"ExtendDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4783,9 +5263,29 @@ func ExtendDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Extend
return resBody.Res, nil
}
+type ExtendHCI_TaskBody struct {
+ Req *types.ExtendHCI_Task `xml:"urn:vim25 ExtendHCI_Task,omitempty"`
+ Res *types.ExtendHCI_TaskResponse `xml:"ExtendHCI_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ExtendHCI_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ExtendHCI_Task(ctx context.Context, r soap.RoundTripper, req *types.ExtendHCI_Task) (*types.ExtendHCI_TaskResponse, error) {
+ var reqBody, resBody ExtendHCI_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ExtendVffsBody struct {
Req *types.ExtendVffs `xml:"urn:vim25 ExtendVffs,omitempty"`
- Res *types.ExtendVffsResponse `xml:"urn:vim25 ExtendVffsResponse,omitempty"`
+ Res *types.ExtendVffsResponse `xml:"ExtendVffsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4805,7 +5305,7 @@ func ExtendVffs(ctx context.Context, r soap.RoundTripper, req *types.ExtendVffs)
type ExtendVirtualDisk_TaskBody struct {
Req *types.ExtendVirtualDisk_Task `xml:"urn:vim25 ExtendVirtualDisk_Task,omitempty"`
- Res *types.ExtendVirtualDisk_TaskResponse `xml:"urn:vim25 ExtendVirtualDisk_TaskResponse,omitempty"`
+ Res *types.ExtendVirtualDisk_TaskResponse `xml:"ExtendVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4825,7 +5325,7 @@ func ExtendVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *types
type ExtendVmfsDatastoreBody struct {
Req *types.ExtendVmfsDatastore `xml:"urn:vim25 ExtendVmfsDatastore,omitempty"`
- Res *types.ExtendVmfsDatastoreResponse `xml:"urn:vim25 ExtendVmfsDatastoreResponse,omitempty"`
+ Res *types.ExtendVmfsDatastoreResponse `xml:"ExtendVmfsDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4845,7 +5345,7 @@ func ExtendVmfsDatastore(ctx context.Context, r soap.RoundTripper, req *types.Ex
type ExtractOvfEnvironmentBody struct {
Req *types.ExtractOvfEnvironment `xml:"urn:vim25 ExtractOvfEnvironment,omitempty"`
- Res *types.ExtractOvfEnvironmentResponse `xml:"urn:vim25 ExtractOvfEnvironmentResponse,omitempty"`
+ Res *types.ExtractOvfEnvironmentResponse `xml:"ExtractOvfEnvironmentResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4865,7 +5365,7 @@ func ExtractOvfEnvironment(ctx context.Context, r soap.RoundTripper, req *types.
type FetchDVPortKeysBody struct {
Req *types.FetchDVPortKeys `xml:"urn:vim25 FetchDVPortKeys,omitempty"`
- Res *types.FetchDVPortKeysResponse `xml:"urn:vim25 FetchDVPortKeysResponse,omitempty"`
+ Res *types.FetchDVPortKeysResponse `xml:"FetchDVPortKeysResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4885,7 +5385,7 @@ func FetchDVPortKeys(ctx context.Context, r soap.RoundTripper, req *types.FetchD
type FetchDVPortsBody struct {
Req *types.FetchDVPorts `xml:"urn:vim25 FetchDVPorts,omitempty"`
- Res *types.FetchDVPortsResponse `xml:"urn:vim25 FetchDVPortsResponse,omitempty"`
+ Res *types.FetchDVPortsResponse `xml:"FetchDVPortsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4905,7 +5405,7 @@ func FetchDVPorts(ctx context.Context, r soap.RoundTripper, req *types.FetchDVPo
type FetchSystemEventLogBody struct {
Req *types.FetchSystemEventLog `xml:"urn:vim25 FetchSystemEventLog,omitempty"`
- Res *types.FetchSystemEventLogResponse `xml:"urn:vim25 FetchSystemEventLogResponse,omitempty"`
+ Res *types.FetchSystemEventLogResponse `xml:"FetchSystemEventLogResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4925,7 +5425,7 @@ func FetchSystemEventLog(ctx context.Context, r soap.RoundTripper, req *types.Fe
type FetchUserPrivilegeOnEntitiesBody struct {
Req *types.FetchUserPrivilegeOnEntities `xml:"urn:vim25 FetchUserPrivilegeOnEntities,omitempty"`
- Res *types.FetchUserPrivilegeOnEntitiesResponse `xml:"urn:vim25 FetchUserPrivilegeOnEntitiesResponse,omitempty"`
+ Res *types.FetchUserPrivilegeOnEntitiesResponse `xml:"FetchUserPrivilegeOnEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4945,7 +5445,7 @@ func FetchUserPrivilegeOnEntities(ctx context.Context, r soap.RoundTripper, req
type FindAllByDnsNameBody struct {
Req *types.FindAllByDnsName `xml:"urn:vim25 FindAllByDnsName,omitempty"`
- Res *types.FindAllByDnsNameResponse `xml:"urn:vim25 FindAllByDnsNameResponse,omitempty"`
+ Res *types.FindAllByDnsNameResponse `xml:"FindAllByDnsNameResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4965,7 +5465,7 @@ func FindAllByDnsName(ctx context.Context, r soap.RoundTripper, req *types.FindA
type FindAllByIpBody struct {
Req *types.FindAllByIp `xml:"urn:vim25 FindAllByIp,omitempty"`
- Res *types.FindAllByIpResponse `xml:"urn:vim25 FindAllByIpResponse,omitempty"`
+ Res *types.FindAllByIpResponse `xml:"FindAllByIpResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -4985,7 +5485,7 @@ func FindAllByIp(ctx context.Context, r soap.RoundTripper, req *types.FindAllByI
type FindAllByUuidBody struct {
Req *types.FindAllByUuid `xml:"urn:vim25 FindAllByUuid,omitempty"`
- Res *types.FindAllByUuidResponse `xml:"urn:vim25 FindAllByUuidResponse,omitempty"`
+ Res *types.FindAllByUuidResponse `xml:"FindAllByUuidResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5005,7 +5505,7 @@ func FindAllByUuid(ctx context.Context, r soap.RoundTripper, req *types.FindAllB
type FindAssociatedProfileBody struct {
Req *types.FindAssociatedProfile `xml:"urn:vim25 FindAssociatedProfile,omitempty"`
- Res *types.FindAssociatedProfileResponse `xml:"urn:vim25 FindAssociatedProfileResponse,omitempty"`
+ Res *types.FindAssociatedProfileResponse `xml:"FindAssociatedProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5025,7 +5525,7 @@ func FindAssociatedProfile(ctx context.Context, r soap.RoundTripper, req *types.
type FindByDatastorePathBody struct {
Req *types.FindByDatastorePath `xml:"urn:vim25 FindByDatastorePath,omitempty"`
- Res *types.FindByDatastorePathResponse `xml:"urn:vim25 FindByDatastorePathResponse,omitempty"`
+ Res *types.FindByDatastorePathResponse `xml:"FindByDatastorePathResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5045,7 +5545,7 @@ func FindByDatastorePath(ctx context.Context, r soap.RoundTripper, req *types.Fi
type FindByDnsNameBody struct {
Req *types.FindByDnsName `xml:"urn:vim25 FindByDnsName,omitempty"`
- Res *types.FindByDnsNameResponse `xml:"urn:vim25 FindByDnsNameResponse,omitempty"`
+ Res *types.FindByDnsNameResponse `xml:"FindByDnsNameResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5065,7 +5565,7 @@ func FindByDnsName(ctx context.Context, r soap.RoundTripper, req *types.FindByDn
type FindByInventoryPathBody struct {
Req *types.FindByInventoryPath `xml:"urn:vim25 FindByInventoryPath,omitempty"`
- Res *types.FindByInventoryPathResponse `xml:"urn:vim25 FindByInventoryPathResponse,omitempty"`
+ Res *types.FindByInventoryPathResponse `xml:"FindByInventoryPathResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5085,7 +5585,7 @@ func FindByInventoryPath(ctx context.Context, r soap.RoundTripper, req *types.Fi
type FindByIpBody struct {
Req *types.FindByIp `xml:"urn:vim25 FindByIp,omitempty"`
- Res *types.FindByIpResponse `xml:"urn:vim25 FindByIpResponse,omitempty"`
+ Res *types.FindByIpResponse `xml:"FindByIpResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5105,7 +5605,7 @@ func FindByIp(ctx context.Context, r soap.RoundTripper, req *types.FindByIp) (*t
type FindByUuidBody struct {
Req *types.FindByUuid `xml:"urn:vim25 FindByUuid,omitempty"`
- Res *types.FindByUuidResponse `xml:"urn:vim25 FindByUuidResponse,omitempty"`
+ Res *types.FindByUuidResponse `xml:"FindByUuidResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5125,7 +5625,7 @@ func FindByUuid(ctx context.Context, r soap.RoundTripper, req *types.FindByUuid)
type FindChildBody struct {
Req *types.FindChild `xml:"urn:vim25 FindChild,omitempty"`
- Res *types.FindChildResponse `xml:"urn:vim25 FindChildResponse,omitempty"`
+ Res *types.FindChildResponse `xml:"FindChildResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5145,7 +5645,7 @@ func FindChild(ctx context.Context, r soap.RoundTripper, req *types.FindChild) (
type FindExtensionBody struct {
Req *types.FindExtension `xml:"urn:vim25 FindExtension,omitempty"`
- Res *types.FindExtensionResponse `xml:"urn:vim25 FindExtensionResponse,omitempty"`
+ Res *types.FindExtensionResponse `xml:"FindExtensionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5165,7 +5665,7 @@ func FindExtension(ctx context.Context, r soap.RoundTripper, req *types.FindExte
type FindRulesForVmBody struct {
Req *types.FindRulesForVm `xml:"urn:vim25 FindRulesForVm,omitempty"`
- Res *types.FindRulesForVmResponse `xml:"urn:vim25 FindRulesForVmResponse,omitempty"`
+ Res *types.FindRulesForVmResponse `xml:"FindRulesForVmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5185,7 +5685,7 @@ func FindRulesForVm(ctx context.Context, r soap.RoundTripper, req *types.FindRul
type FormatVffsBody struct {
Req *types.FormatVffs `xml:"urn:vim25 FormatVffs,omitempty"`
- Res *types.FormatVffsResponse `xml:"urn:vim25 FormatVffsResponse,omitempty"`
+ Res *types.FormatVffsResponse `xml:"FormatVffsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5205,7 +5705,7 @@ func FormatVffs(ctx context.Context, r soap.RoundTripper, req *types.FormatVffs)
type FormatVmfsBody struct {
Req *types.FormatVmfs `xml:"urn:vim25 FormatVmfs,omitempty"`
- Res *types.FormatVmfsResponse `xml:"urn:vim25 FormatVmfsResponse,omitempty"`
+ Res *types.FormatVmfsResponse `xml:"FormatVmfsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5225,7 +5725,7 @@ func FormatVmfs(ctx context.Context, r soap.RoundTripper, req *types.FormatVmfs)
type GenerateCertificateSigningRequestBody struct {
Req *types.GenerateCertificateSigningRequest `xml:"urn:vim25 GenerateCertificateSigningRequest,omitempty"`
- Res *types.GenerateCertificateSigningRequestResponse `xml:"urn:vim25 GenerateCertificateSigningRequestResponse,omitempty"`
+ Res *types.GenerateCertificateSigningRequestResponse `xml:"GenerateCertificateSigningRequestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5245,7 +5745,7 @@ func GenerateCertificateSigningRequest(ctx context.Context, r soap.RoundTripper,
type GenerateCertificateSigningRequestByDnBody struct {
Req *types.GenerateCertificateSigningRequestByDn `xml:"urn:vim25 GenerateCertificateSigningRequestByDn,omitempty"`
- Res *types.GenerateCertificateSigningRequestByDnResponse `xml:"urn:vim25 GenerateCertificateSigningRequestByDnResponse,omitempty"`
+ Res *types.GenerateCertificateSigningRequestByDnResponse `xml:"GenerateCertificateSigningRequestByDnResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5265,7 +5765,7 @@ func GenerateCertificateSigningRequestByDn(ctx context.Context, r soap.RoundTrip
type GenerateClientCsrBody struct {
Req *types.GenerateClientCsr `xml:"urn:vim25 GenerateClientCsr,omitempty"`
- Res *types.GenerateClientCsrResponse `xml:"urn:vim25 GenerateClientCsrResponse,omitempty"`
+ Res *types.GenerateClientCsrResponse `xml:"GenerateClientCsrResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5285,7 +5785,7 @@ func GenerateClientCsr(ctx context.Context, r soap.RoundTripper, req *types.Gene
type GenerateConfigTaskListBody struct {
Req *types.GenerateConfigTaskList `xml:"urn:vim25 GenerateConfigTaskList,omitempty"`
- Res *types.GenerateConfigTaskListResponse `xml:"urn:vim25 GenerateConfigTaskListResponse,omitempty"`
+ Res *types.GenerateConfigTaskListResponse `xml:"GenerateConfigTaskListResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5305,7 +5805,7 @@ func GenerateConfigTaskList(ctx context.Context, r soap.RoundTripper, req *types
type GenerateHostConfigTaskSpec_TaskBody struct {
Req *types.GenerateHostConfigTaskSpec_Task `xml:"urn:vim25 GenerateHostConfigTaskSpec_Task,omitempty"`
- Res *types.GenerateHostConfigTaskSpec_TaskResponse `xml:"urn:vim25 GenerateHostConfigTaskSpec_TaskResponse,omitempty"`
+ Res *types.GenerateHostConfigTaskSpec_TaskResponse `xml:"GenerateHostConfigTaskSpec_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5325,7 +5825,7 @@ func GenerateHostConfigTaskSpec_Task(ctx context.Context, r soap.RoundTripper, r
type GenerateHostProfileTaskList_TaskBody struct {
Req *types.GenerateHostProfileTaskList_Task `xml:"urn:vim25 GenerateHostProfileTaskList_Task,omitempty"`
- Res *types.GenerateHostProfileTaskList_TaskResponse `xml:"urn:vim25 GenerateHostProfileTaskList_TaskResponse,omitempty"`
+ Res *types.GenerateHostProfileTaskList_TaskResponse `xml:"GenerateHostProfileTaskList_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5345,7 +5845,7 @@ func GenerateHostProfileTaskList_Task(ctx context.Context, r soap.RoundTripper,
type GenerateKeyBody struct {
Req *types.GenerateKey `xml:"urn:vim25 GenerateKey,omitempty"`
- Res *types.GenerateKeyResponse `xml:"urn:vim25 GenerateKeyResponse,omitempty"`
+ Res *types.GenerateKeyResponse `xml:"GenerateKeyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5365,7 +5865,7 @@ func GenerateKey(ctx context.Context, r soap.RoundTripper, req *types.GenerateKe
type GenerateLogBundles_TaskBody struct {
Req *types.GenerateLogBundles_Task `xml:"urn:vim25 GenerateLogBundles_Task,omitempty"`
- Res *types.GenerateLogBundles_TaskResponse `xml:"urn:vim25 GenerateLogBundles_TaskResponse,omitempty"`
+ Res *types.GenerateLogBundles_TaskResponse `xml:"GenerateLogBundles_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5385,7 +5885,7 @@ func GenerateLogBundles_Task(ctx context.Context, r soap.RoundTripper, req *type
type GenerateSelfSignedClientCertBody struct {
Req *types.GenerateSelfSignedClientCert `xml:"urn:vim25 GenerateSelfSignedClientCert,omitempty"`
- Res *types.GenerateSelfSignedClientCertResponse `xml:"urn:vim25 GenerateSelfSignedClientCertResponse,omitempty"`
+ Res *types.GenerateSelfSignedClientCertResponse `xml:"GenerateSelfSignedClientCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5405,7 +5905,7 @@ func GenerateSelfSignedClientCert(ctx context.Context, r soap.RoundTripper, req
type GetAlarmBody struct {
Req *types.GetAlarm `xml:"urn:vim25 GetAlarm,omitempty"`
- Res *types.GetAlarmResponse `xml:"urn:vim25 GetAlarmResponse,omitempty"`
+ Res *types.GetAlarmResponse `xml:"GetAlarmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5425,7 +5925,7 @@ func GetAlarm(ctx context.Context, r soap.RoundTripper, req *types.GetAlarm) (*t
type GetAlarmStateBody struct {
Req *types.GetAlarmState `xml:"urn:vim25 GetAlarmState,omitempty"`
- Res *types.GetAlarmStateResponse `xml:"urn:vim25 GetAlarmStateResponse,omitempty"`
+ Res *types.GetAlarmStateResponse `xml:"GetAlarmStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5445,7 +5945,7 @@ func GetAlarmState(ctx context.Context, r soap.RoundTripper, req *types.GetAlarm
type GetCustomizationSpecBody struct {
Req *types.GetCustomizationSpec `xml:"urn:vim25 GetCustomizationSpec,omitempty"`
- Res *types.GetCustomizationSpecResponse `xml:"urn:vim25 GetCustomizationSpecResponse,omitempty"`
+ Res *types.GetCustomizationSpecResponse `xml:"GetCustomizationSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5465,7 +5965,7 @@ func GetCustomizationSpec(ctx context.Context, r soap.RoundTripper, req *types.G
type GetPublicKeyBody struct {
Req *types.GetPublicKey `xml:"urn:vim25 GetPublicKey,omitempty"`
- Res *types.GetPublicKeyResponse `xml:"urn:vim25 GetPublicKeyResponse,omitempty"`
+ Res *types.GetPublicKeyResponse `xml:"GetPublicKeyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5485,7 +5985,7 @@ func GetPublicKey(ctx context.Context, r soap.RoundTripper, req *types.GetPublic
type GetResourceUsageBody struct {
Req *types.GetResourceUsage `xml:"urn:vim25 GetResourceUsage,omitempty"`
- Res *types.GetResourceUsageResponse `xml:"urn:vim25 GetResourceUsageResponse,omitempty"`
+ Res *types.GetResourceUsageResponse `xml:"GetResourceUsageResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5505,7 +6005,7 @@ func GetResourceUsage(ctx context.Context, r soap.RoundTripper, req *types.GetRe
type GetVchaClusterHealthBody struct {
Req *types.GetVchaClusterHealth `xml:"urn:vim25 GetVchaClusterHealth,omitempty"`
- Res *types.GetVchaClusterHealthResponse `xml:"urn:vim25 GetVchaClusterHealthResponse,omitempty"`
+ Res *types.GetVchaClusterHealthResponse `xml:"GetVchaClusterHealthResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5525,7 +6025,7 @@ func GetVchaClusterHealth(ctx context.Context, r soap.RoundTripper, req *types.G
type GetVsanObjExtAttrsBody struct {
Req *types.GetVsanObjExtAttrs `xml:"urn:vim25 GetVsanObjExtAttrs,omitempty"`
- Res *types.GetVsanObjExtAttrsResponse `xml:"urn:vim25 GetVsanObjExtAttrsResponse,omitempty"`
+ Res *types.GetVsanObjExtAttrsResponse `xml:"GetVsanObjExtAttrsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5545,7 +6045,7 @@ func GetVsanObjExtAttrs(ctx context.Context, r soap.RoundTripper, req *types.Get
type HasMonitoredEntityBody struct {
Req *types.HasMonitoredEntity `xml:"urn:vim25 HasMonitoredEntity,omitempty"`
- Res *types.HasMonitoredEntityResponse `xml:"urn:vim25 HasMonitoredEntityResponse,omitempty"`
+ Res *types.HasMonitoredEntityResponse `xml:"HasMonitoredEntityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5565,7 +6065,7 @@ func HasMonitoredEntity(ctx context.Context, r soap.RoundTripper, req *types.Has
type HasPrivilegeOnEntitiesBody struct {
Req *types.HasPrivilegeOnEntities `xml:"urn:vim25 HasPrivilegeOnEntities,omitempty"`
- Res *types.HasPrivilegeOnEntitiesResponse `xml:"urn:vim25 HasPrivilegeOnEntitiesResponse,omitempty"`
+ Res *types.HasPrivilegeOnEntitiesResponse `xml:"HasPrivilegeOnEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5585,7 +6085,7 @@ func HasPrivilegeOnEntities(ctx context.Context, r soap.RoundTripper, req *types
type HasPrivilegeOnEntityBody struct {
Req *types.HasPrivilegeOnEntity `xml:"urn:vim25 HasPrivilegeOnEntity,omitempty"`
- Res *types.HasPrivilegeOnEntityResponse `xml:"urn:vim25 HasPrivilegeOnEntityResponse,omitempty"`
+ Res *types.HasPrivilegeOnEntityResponse `xml:"HasPrivilegeOnEntityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5605,7 +6105,7 @@ func HasPrivilegeOnEntity(ctx context.Context, r soap.RoundTripper, req *types.H
type HasProviderBody struct {
Req *types.HasProvider `xml:"urn:vim25 HasProvider,omitempty"`
- Res *types.HasProviderResponse `xml:"urn:vim25 HasProviderResponse,omitempty"`
+ Res *types.HasProviderResponse `xml:"HasProviderResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5625,7 +6125,7 @@ func HasProvider(ctx context.Context, r soap.RoundTripper, req *types.HasProvide
type HasUserPrivilegeOnEntitiesBody struct {
Req *types.HasUserPrivilegeOnEntities `xml:"urn:vim25 HasUserPrivilegeOnEntities,omitempty"`
- Res *types.HasUserPrivilegeOnEntitiesResponse `xml:"urn:vim25 HasUserPrivilegeOnEntitiesResponse,omitempty"`
+ Res *types.HasUserPrivilegeOnEntitiesResponse `xml:"HasUserPrivilegeOnEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5643,9 +6143,29 @@ func HasUserPrivilegeOnEntities(ctx context.Context, r soap.RoundTripper, req *t
return resBody.Res, nil
}
+type HostClearVStorageObjectControlFlagsBody struct {
+ Req *types.HostClearVStorageObjectControlFlags `xml:"urn:vim25 HostClearVStorageObjectControlFlags,omitempty"`
+ Res *types.HostClearVStorageObjectControlFlagsResponse `xml:"HostClearVStorageObjectControlFlagsResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostClearVStorageObjectControlFlagsBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostClearVStorageObjectControlFlags(ctx context.Context, r soap.RoundTripper, req *types.HostClearVStorageObjectControlFlags) (*types.HostClearVStorageObjectControlFlagsResponse, error) {
+ var reqBody, resBody HostClearVStorageObjectControlFlagsBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type HostCloneVStorageObject_TaskBody struct {
Req *types.HostCloneVStorageObject_Task `xml:"urn:vim25 HostCloneVStorageObject_Task,omitempty"`
- Res *types.HostCloneVStorageObject_TaskResponse `xml:"urn:vim25 HostCloneVStorageObject_TaskResponse,omitempty"`
+ Res *types.HostCloneVStorageObject_TaskResponse `xml:"HostCloneVStorageObject_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5665,7 +6185,7 @@ func HostCloneVStorageObject_Task(ctx context.Context, r soap.RoundTripper, req
type HostConfigVFlashCacheBody struct {
Req *types.HostConfigVFlashCache `xml:"urn:vim25 HostConfigVFlashCache,omitempty"`
- Res *types.HostConfigVFlashCacheResponse `xml:"urn:vim25 HostConfigVFlashCacheResponse,omitempty"`
+ Res *types.HostConfigVFlashCacheResponse `xml:"HostConfigVFlashCacheResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5685,7 +6205,7 @@ func HostConfigVFlashCache(ctx context.Context, r soap.RoundTripper, req *types.
type HostConfigureVFlashResourceBody struct {
Req *types.HostConfigureVFlashResource `xml:"urn:vim25 HostConfigureVFlashResource,omitempty"`
- Res *types.HostConfigureVFlashResourceResponse `xml:"urn:vim25 HostConfigureVFlashResourceResponse,omitempty"`
+ Res *types.HostConfigureVFlashResourceResponse `xml:"HostConfigureVFlashResourceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5705,7 +6225,7 @@ func HostConfigureVFlashResource(ctx context.Context, r soap.RoundTripper, req *
type HostCreateDisk_TaskBody struct {
Req *types.HostCreateDisk_Task `xml:"urn:vim25 HostCreateDisk_Task,omitempty"`
- Res *types.HostCreateDisk_TaskResponse `xml:"urn:vim25 HostCreateDisk_TaskResponse,omitempty"`
+ Res *types.HostCreateDisk_TaskResponse `xml:"HostCreateDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5725,7 +6245,7 @@ func HostCreateDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Ho
type HostDeleteVStorageObject_TaskBody struct {
Req *types.HostDeleteVStorageObject_Task `xml:"urn:vim25 HostDeleteVStorageObject_Task,omitempty"`
- Res *types.HostDeleteVStorageObject_TaskResponse `xml:"urn:vim25 HostDeleteVStorageObject_TaskResponse,omitempty"`
+ Res *types.HostDeleteVStorageObject_TaskResponse `xml:"HostDeleteVStorageObject_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5745,7 +6265,7 @@ func HostDeleteVStorageObject_Task(ctx context.Context, r soap.RoundTripper, req
type HostExtendDisk_TaskBody struct {
Req *types.HostExtendDisk_Task `xml:"urn:vim25 HostExtendDisk_Task,omitempty"`
- Res *types.HostExtendDisk_TaskResponse `xml:"urn:vim25 HostExtendDisk_TaskResponse,omitempty"`
+ Res *types.HostExtendDisk_TaskResponse `xml:"HostExtendDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5765,7 +6285,7 @@ func HostExtendDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Ho
type HostGetVFlashModuleDefaultConfigBody struct {
Req *types.HostGetVFlashModuleDefaultConfig `xml:"urn:vim25 HostGetVFlashModuleDefaultConfig,omitempty"`
- Res *types.HostGetVFlashModuleDefaultConfigResponse `xml:"urn:vim25 HostGetVFlashModuleDefaultConfigResponse,omitempty"`
+ Res *types.HostGetVFlashModuleDefaultConfigResponse `xml:"HostGetVFlashModuleDefaultConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5785,7 +6305,7 @@ func HostGetVFlashModuleDefaultConfig(ctx context.Context, r soap.RoundTripper,
type HostImageConfigGetAcceptanceBody struct {
Req *types.HostImageConfigGetAcceptance `xml:"urn:vim25 HostImageConfigGetAcceptance,omitempty"`
- Res *types.HostImageConfigGetAcceptanceResponse `xml:"urn:vim25 HostImageConfigGetAcceptanceResponse,omitempty"`
+ Res *types.HostImageConfigGetAcceptanceResponse `xml:"HostImageConfigGetAcceptanceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5805,7 +6325,7 @@ func HostImageConfigGetAcceptance(ctx context.Context, r soap.RoundTripper, req
type HostImageConfigGetProfileBody struct {
Req *types.HostImageConfigGetProfile `xml:"urn:vim25 HostImageConfigGetProfile,omitempty"`
- Res *types.HostImageConfigGetProfileResponse `xml:"urn:vim25 HostImageConfigGetProfileResponse,omitempty"`
+ Res *types.HostImageConfigGetProfileResponse `xml:"HostImageConfigGetProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5825,7 +6345,7 @@ func HostImageConfigGetProfile(ctx context.Context, r soap.RoundTripper, req *ty
type HostInflateDisk_TaskBody struct {
Req *types.HostInflateDisk_Task `xml:"urn:vim25 HostInflateDisk_Task,omitempty"`
- Res *types.HostInflateDisk_TaskResponse `xml:"urn:vim25 HostInflateDisk_TaskResponse,omitempty"`
+ Res *types.HostInflateDisk_TaskResponse `xml:"HostInflateDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5845,7 +6365,7 @@ func HostInflateDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.H
type HostListVStorageObjectBody struct {
Req *types.HostListVStorageObject `xml:"urn:vim25 HostListVStorageObject,omitempty"`
- Res *types.HostListVStorageObjectResponse `xml:"urn:vim25 HostListVStorageObjectResponse,omitempty"`
+ Res *types.HostListVStorageObjectResponse `xml:"HostListVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5863,9 +6383,29 @@ func HostListVStorageObject(ctx context.Context, r soap.RoundTripper, req *types
return resBody.Res, nil
}
+type HostProfileResetValidationStateBody struct {
+ Req *types.HostProfileResetValidationState `xml:"urn:vim25 HostProfileResetValidationState,omitempty"`
+ Res *types.HostProfileResetValidationStateResponse `xml:"HostProfileResetValidationStateResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostProfileResetValidationStateBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostProfileResetValidationState(ctx context.Context, r soap.RoundTripper, req *types.HostProfileResetValidationState) (*types.HostProfileResetValidationStateResponse, error) {
+ var reqBody, resBody HostProfileResetValidationStateBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type HostReconcileDatastoreInventory_TaskBody struct {
Req *types.HostReconcileDatastoreInventory_Task `xml:"urn:vim25 HostReconcileDatastoreInventory_Task,omitempty"`
- Res *types.HostReconcileDatastoreInventory_TaskResponse `xml:"urn:vim25 HostReconcileDatastoreInventory_TaskResponse,omitempty"`
+ Res *types.HostReconcileDatastoreInventory_TaskResponse `xml:"HostReconcileDatastoreInventory_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5885,7 +6425,7 @@ func HostReconcileDatastoreInventory_Task(ctx context.Context, r soap.RoundTripp
type HostRegisterDiskBody struct {
Req *types.HostRegisterDisk `xml:"urn:vim25 HostRegisterDisk,omitempty"`
- Res *types.HostRegisterDiskResponse `xml:"urn:vim25 HostRegisterDiskResponse,omitempty"`
+ Res *types.HostRegisterDiskResponse `xml:"HostRegisterDiskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5905,7 +6445,7 @@ func HostRegisterDisk(ctx context.Context, r soap.RoundTripper, req *types.HostR
type HostRelocateVStorageObject_TaskBody struct {
Req *types.HostRelocateVStorageObject_Task `xml:"urn:vim25 HostRelocateVStorageObject_Task,omitempty"`
- Res *types.HostRelocateVStorageObject_TaskResponse `xml:"urn:vim25 HostRelocateVStorageObject_TaskResponse,omitempty"`
+ Res *types.HostRelocateVStorageObject_TaskResponse `xml:"HostRelocateVStorageObject_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5925,7 +6465,7 @@ func HostRelocateVStorageObject_Task(ctx context.Context, r soap.RoundTripper, r
type HostRemoveVFlashResourceBody struct {
Req *types.HostRemoveVFlashResource `xml:"urn:vim25 HostRemoveVFlashResource,omitempty"`
- Res *types.HostRemoveVFlashResourceResponse `xml:"urn:vim25 HostRemoveVFlashResourceResponse,omitempty"`
+ Res *types.HostRemoveVFlashResourceResponse `xml:"HostRemoveVFlashResourceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5945,7 +6485,7 @@ func HostRemoveVFlashResource(ctx context.Context, r soap.RoundTripper, req *typ
type HostRenameVStorageObjectBody struct {
Req *types.HostRenameVStorageObject `xml:"urn:vim25 HostRenameVStorageObject,omitempty"`
- Res *types.HostRenameVStorageObjectResponse `xml:"urn:vim25 HostRenameVStorageObjectResponse,omitempty"`
+ Res *types.HostRenameVStorageObjectResponse `xml:"HostRenameVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5963,9 +6503,29 @@ func HostRenameVStorageObject(ctx context.Context, r soap.RoundTripper, req *typ
return resBody.Res, nil
}
+type HostRetrieveVStorageInfrastructureObjectPolicyBody struct {
+ Req *types.HostRetrieveVStorageInfrastructureObjectPolicy `xml:"urn:vim25 HostRetrieveVStorageInfrastructureObjectPolicy,omitempty"`
+ Res *types.HostRetrieveVStorageInfrastructureObjectPolicyResponse `xml:"HostRetrieveVStorageInfrastructureObjectPolicyResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostRetrieveVStorageInfrastructureObjectPolicyBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostRetrieveVStorageInfrastructureObjectPolicy(ctx context.Context, r soap.RoundTripper, req *types.HostRetrieveVStorageInfrastructureObjectPolicy) (*types.HostRetrieveVStorageInfrastructureObjectPolicyResponse, error) {
+ var reqBody, resBody HostRetrieveVStorageInfrastructureObjectPolicyBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type HostRetrieveVStorageObjectBody struct {
Req *types.HostRetrieveVStorageObject `xml:"urn:vim25 HostRetrieveVStorageObject,omitempty"`
- Res *types.HostRetrieveVStorageObjectResponse `xml:"urn:vim25 HostRetrieveVStorageObjectResponse,omitempty"`
+ Res *types.HostRetrieveVStorageObjectResponse `xml:"HostRetrieveVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -5983,9 +6543,49 @@ func HostRetrieveVStorageObject(ctx context.Context, r soap.RoundTripper, req *t
return resBody.Res, nil
}
+type HostRetrieveVStorageObjectMetadataBody struct {
+ Req *types.HostRetrieveVStorageObjectMetadata `xml:"urn:vim25 HostRetrieveVStorageObjectMetadata,omitempty"`
+ Res *types.HostRetrieveVStorageObjectMetadataResponse `xml:"HostRetrieveVStorageObjectMetadataResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostRetrieveVStorageObjectMetadataBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostRetrieveVStorageObjectMetadata(ctx context.Context, r soap.RoundTripper, req *types.HostRetrieveVStorageObjectMetadata) (*types.HostRetrieveVStorageObjectMetadataResponse, error) {
+ var reqBody, resBody HostRetrieveVStorageObjectMetadataBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type HostRetrieveVStorageObjectMetadataValueBody struct {
+ Req *types.HostRetrieveVStorageObjectMetadataValue `xml:"urn:vim25 HostRetrieveVStorageObjectMetadataValue,omitempty"`
+ Res *types.HostRetrieveVStorageObjectMetadataValueResponse `xml:"HostRetrieveVStorageObjectMetadataValueResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostRetrieveVStorageObjectMetadataValueBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostRetrieveVStorageObjectMetadataValue(ctx context.Context, r soap.RoundTripper, req *types.HostRetrieveVStorageObjectMetadataValue) (*types.HostRetrieveVStorageObjectMetadataValueResponse, error) {
+ var reqBody, resBody HostRetrieveVStorageObjectMetadataValueBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type HostRetrieveVStorageObjectStateBody struct {
Req *types.HostRetrieveVStorageObjectState `xml:"urn:vim25 HostRetrieveVStorageObjectState,omitempty"`
- Res *types.HostRetrieveVStorageObjectStateResponse `xml:"urn:vim25 HostRetrieveVStorageObjectStateResponse,omitempty"`
+ Res *types.HostRetrieveVStorageObjectStateResponse `xml:"HostRetrieveVStorageObjectStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6005,7 +6605,7 @@ func HostRetrieveVStorageObjectState(ctx context.Context, r soap.RoundTripper, r
type HostScheduleReconcileDatastoreInventoryBody struct {
Req *types.HostScheduleReconcileDatastoreInventory `xml:"urn:vim25 HostScheduleReconcileDatastoreInventory,omitempty"`
- Res *types.HostScheduleReconcileDatastoreInventoryResponse `xml:"urn:vim25 HostScheduleReconcileDatastoreInventoryResponse,omitempty"`
+ Res *types.HostScheduleReconcileDatastoreInventoryResponse `xml:"HostScheduleReconcileDatastoreInventoryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6023,9 +6623,29 @@ func HostScheduleReconcileDatastoreInventory(ctx context.Context, r soap.RoundTr
return resBody.Res, nil
}
+type HostSetVStorageObjectControlFlagsBody struct {
+ Req *types.HostSetVStorageObjectControlFlags `xml:"urn:vim25 HostSetVStorageObjectControlFlags,omitempty"`
+ Res *types.HostSetVStorageObjectControlFlagsResponse `xml:"HostSetVStorageObjectControlFlagsResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostSetVStorageObjectControlFlagsBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostSetVStorageObjectControlFlags(ctx context.Context, r soap.RoundTripper, req *types.HostSetVStorageObjectControlFlags) (*types.HostSetVStorageObjectControlFlagsResponse, error) {
+ var reqBody, resBody HostSetVStorageObjectControlFlagsBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type HostSpecGetUpdatedHostsBody struct {
Req *types.HostSpecGetUpdatedHosts `xml:"urn:vim25 HostSpecGetUpdatedHosts,omitempty"`
- Res *types.HostSpecGetUpdatedHostsResponse `xml:"urn:vim25 HostSpecGetUpdatedHostsResponse,omitempty"`
+ Res *types.HostSpecGetUpdatedHostsResponse `xml:"HostSpecGetUpdatedHostsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6043,9 +6663,129 @@ func HostSpecGetUpdatedHosts(ctx context.Context, r soap.RoundTripper, req *type
return resBody.Res, nil
}
+type HostUpdateVStorageObjectMetadata_TaskBody struct {
+ Req *types.HostUpdateVStorageObjectMetadata_Task `xml:"urn:vim25 HostUpdateVStorageObjectMetadata_Task,omitempty"`
+ Res *types.HostUpdateVStorageObjectMetadata_TaskResponse `xml:"HostUpdateVStorageObjectMetadata_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostUpdateVStorageObjectMetadata_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostUpdateVStorageObjectMetadata_Task(ctx context.Context, r soap.RoundTripper, req *types.HostUpdateVStorageObjectMetadata_Task) (*types.HostUpdateVStorageObjectMetadata_TaskResponse, error) {
+ var reqBody, resBody HostUpdateVStorageObjectMetadata_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type HostVStorageObjectCreateDiskFromSnapshot_TaskBody struct {
+ Req *types.HostVStorageObjectCreateDiskFromSnapshot_Task `xml:"urn:vim25 HostVStorageObjectCreateDiskFromSnapshot_Task,omitempty"`
+ Res *types.HostVStorageObjectCreateDiskFromSnapshot_TaskResponse `xml:"HostVStorageObjectCreateDiskFromSnapshot_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostVStorageObjectCreateDiskFromSnapshot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostVStorageObjectCreateDiskFromSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.HostVStorageObjectCreateDiskFromSnapshot_Task) (*types.HostVStorageObjectCreateDiskFromSnapshot_TaskResponse, error) {
+ var reqBody, resBody HostVStorageObjectCreateDiskFromSnapshot_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type HostVStorageObjectCreateSnapshot_TaskBody struct {
+ Req *types.HostVStorageObjectCreateSnapshot_Task `xml:"urn:vim25 HostVStorageObjectCreateSnapshot_Task,omitempty"`
+ Res *types.HostVStorageObjectCreateSnapshot_TaskResponse `xml:"HostVStorageObjectCreateSnapshot_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostVStorageObjectCreateSnapshot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostVStorageObjectCreateSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.HostVStorageObjectCreateSnapshot_Task) (*types.HostVStorageObjectCreateSnapshot_TaskResponse, error) {
+ var reqBody, resBody HostVStorageObjectCreateSnapshot_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type HostVStorageObjectDeleteSnapshot_TaskBody struct {
+ Req *types.HostVStorageObjectDeleteSnapshot_Task `xml:"urn:vim25 HostVStorageObjectDeleteSnapshot_Task,omitempty"`
+ Res *types.HostVStorageObjectDeleteSnapshot_TaskResponse `xml:"HostVStorageObjectDeleteSnapshot_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostVStorageObjectDeleteSnapshot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostVStorageObjectDeleteSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.HostVStorageObjectDeleteSnapshot_Task) (*types.HostVStorageObjectDeleteSnapshot_TaskResponse, error) {
+ var reqBody, resBody HostVStorageObjectDeleteSnapshot_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type HostVStorageObjectRetrieveSnapshotInfoBody struct {
+ Req *types.HostVStorageObjectRetrieveSnapshotInfo `xml:"urn:vim25 HostVStorageObjectRetrieveSnapshotInfo,omitempty"`
+ Res *types.HostVStorageObjectRetrieveSnapshotInfoResponse `xml:"HostVStorageObjectRetrieveSnapshotInfoResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostVStorageObjectRetrieveSnapshotInfoBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostVStorageObjectRetrieveSnapshotInfo(ctx context.Context, r soap.RoundTripper, req *types.HostVStorageObjectRetrieveSnapshotInfo) (*types.HostVStorageObjectRetrieveSnapshotInfoResponse, error) {
+ var reqBody, resBody HostVStorageObjectRetrieveSnapshotInfoBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type HostVStorageObjectRevert_TaskBody struct {
+ Req *types.HostVStorageObjectRevert_Task `xml:"urn:vim25 HostVStorageObjectRevert_Task,omitempty"`
+ Res *types.HostVStorageObjectRevert_TaskResponse `xml:"HostVStorageObjectRevert_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HostVStorageObjectRevert_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HostVStorageObjectRevert_Task(ctx context.Context, r soap.RoundTripper, req *types.HostVStorageObjectRevert_Task) (*types.HostVStorageObjectRevert_TaskResponse, error) {
+ var reqBody, resBody HostVStorageObjectRevert_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type HttpNfcLeaseAbortBody struct {
Req *types.HttpNfcLeaseAbort `xml:"urn:vim25 HttpNfcLeaseAbort,omitempty"`
- Res *types.HttpNfcLeaseAbortResponse `xml:"urn:vim25 HttpNfcLeaseAbortResponse,omitempty"`
+ Res *types.HttpNfcLeaseAbortResponse `xml:"HttpNfcLeaseAbortResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6065,7 +6805,7 @@ func HttpNfcLeaseAbort(ctx context.Context, r soap.RoundTripper, req *types.Http
type HttpNfcLeaseCompleteBody struct {
Req *types.HttpNfcLeaseComplete `xml:"urn:vim25 HttpNfcLeaseComplete,omitempty"`
- Res *types.HttpNfcLeaseCompleteResponse `xml:"urn:vim25 HttpNfcLeaseCompleteResponse,omitempty"`
+ Res *types.HttpNfcLeaseCompleteResponse `xml:"HttpNfcLeaseCompleteResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6085,7 +6825,7 @@ func HttpNfcLeaseComplete(ctx context.Context, r soap.RoundTripper, req *types.H
type HttpNfcLeaseGetManifestBody struct {
Req *types.HttpNfcLeaseGetManifest `xml:"urn:vim25 HttpNfcLeaseGetManifest,omitempty"`
- Res *types.HttpNfcLeaseGetManifestResponse `xml:"urn:vim25 HttpNfcLeaseGetManifestResponse,omitempty"`
+ Res *types.HttpNfcLeaseGetManifestResponse `xml:"HttpNfcLeaseGetManifestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6105,7 +6845,7 @@ func HttpNfcLeaseGetManifest(ctx context.Context, r soap.RoundTripper, req *type
type HttpNfcLeaseProgressBody struct {
Req *types.HttpNfcLeaseProgress `xml:"urn:vim25 HttpNfcLeaseProgress,omitempty"`
- Res *types.HttpNfcLeaseProgressResponse `xml:"urn:vim25 HttpNfcLeaseProgressResponse,omitempty"`
+ Res *types.HttpNfcLeaseProgressResponse `xml:"HttpNfcLeaseProgressResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6123,9 +6863,49 @@ func HttpNfcLeaseProgress(ctx context.Context, r soap.RoundTripper, req *types.H
return resBody.Res, nil
}
+type HttpNfcLeasePullFromUrls_TaskBody struct {
+ Req *types.HttpNfcLeasePullFromUrls_Task `xml:"urn:vim25 HttpNfcLeasePullFromUrls_Task,omitempty"`
+ Res *types.HttpNfcLeasePullFromUrls_TaskResponse `xml:"HttpNfcLeasePullFromUrls_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HttpNfcLeasePullFromUrls_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HttpNfcLeasePullFromUrls_Task(ctx context.Context, r soap.RoundTripper, req *types.HttpNfcLeasePullFromUrls_Task) (*types.HttpNfcLeasePullFromUrls_TaskResponse, error) {
+ var reqBody, resBody HttpNfcLeasePullFromUrls_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type HttpNfcLeaseSetManifestChecksumTypeBody struct {
+ Req *types.HttpNfcLeaseSetManifestChecksumType `xml:"urn:vim25 HttpNfcLeaseSetManifestChecksumType,omitempty"`
+ Res *types.HttpNfcLeaseSetManifestChecksumTypeResponse `xml:"HttpNfcLeaseSetManifestChecksumTypeResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *HttpNfcLeaseSetManifestChecksumTypeBody) Fault() *soap.Fault { return b.Fault_ }
+
+func HttpNfcLeaseSetManifestChecksumType(ctx context.Context, r soap.RoundTripper, req *types.HttpNfcLeaseSetManifestChecksumType) (*types.HttpNfcLeaseSetManifestChecksumTypeResponse, error) {
+ var reqBody, resBody HttpNfcLeaseSetManifestChecksumTypeBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ImpersonateUserBody struct {
Req *types.ImpersonateUser `xml:"urn:vim25 ImpersonateUser,omitempty"`
- Res *types.ImpersonateUserResponse `xml:"urn:vim25 ImpersonateUserResponse,omitempty"`
+ Res *types.ImpersonateUserResponse `xml:"ImpersonateUserResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6145,7 +6925,7 @@ func ImpersonateUser(ctx context.Context, r soap.RoundTripper, req *types.Impers
type ImportCertificateForCAM_TaskBody struct {
Req *types.ImportCertificateForCAM_Task `xml:"urn:vim25 ImportCertificateForCAM_Task,omitempty"`
- Res *types.ImportCertificateForCAM_TaskResponse `xml:"urn:vim25 ImportCertificateForCAM_TaskResponse,omitempty"`
+ Res *types.ImportCertificateForCAM_TaskResponse `xml:"ImportCertificateForCAM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6165,7 +6945,7 @@ func ImportCertificateForCAM_Task(ctx context.Context, r soap.RoundTripper, req
type ImportUnmanagedSnapshotBody struct {
Req *types.ImportUnmanagedSnapshot `xml:"urn:vim25 ImportUnmanagedSnapshot,omitempty"`
- Res *types.ImportUnmanagedSnapshotResponse `xml:"urn:vim25 ImportUnmanagedSnapshotResponse,omitempty"`
+ Res *types.ImportUnmanagedSnapshotResponse `xml:"ImportUnmanagedSnapshotResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6185,7 +6965,7 @@ func ImportUnmanagedSnapshot(ctx context.Context, r soap.RoundTripper, req *type
type ImportVAppBody struct {
Req *types.ImportVApp `xml:"urn:vim25 ImportVApp,omitempty"`
- Res *types.ImportVAppResponse `xml:"urn:vim25 ImportVAppResponse,omitempty"`
+ Res *types.ImportVAppResponse `xml:"ImportVAppResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6205,7 +6985,7 @@ func ImportVApp(ctx context.Context, r soap.RoundTripper, req *types.ImportVApp)
type InflateDisk_TaskBody struct {
Req *types.InflateDisk_Task `xml:"urn:vim25 InflateDisk_Task,omitempty"`
- Res *types.InflateDisk_TaskResponse `xml:"urn:vim25 InflateDisk_TaskResponse,omitempty"`
+ Res *types.InflateDisk_TaskResponse `xml:"InflateDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6225,7 +7005,7 @@ func InflateDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Infla
type InflateVirtualDisk_TaskBody struct {
Req *types.InflateVirtualDisk_Task `xml:"urn:vim25 InflateVirtualDisk_Task,omitempty"`
- Res *types.InflateVirtualDisk_TaskResponse `xml:"urn:vim25 InflateVirtualDisk_TaskResponse,omitempty"`
+ Res *types.InflateVirtualDisk_TaskResponse `xml:"InflateVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6245,7 +7025,7 @@ func InflateVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *type
type InitializeDisks_TaskBody struct {
Req *types.InitializeDisks_Task `xml:"urn:vim25 InitializeDisks_Task,omitempty"`
- Res *types.InitializeDisks_TaskResponse `xml:"urn:vim25 InitializeDisks_TaskResponse,omitempty"`
+ Res *types.InitializeDisks_TaskResponse `xml:"InitializeDisks_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6265,7 +7045,7 @@ func InitializeDisks_Task(ctx context.Context, r soap.RoundTripper, req *types.I
type InitiateFileTransferFromGuestBody struct {
Req *types.InitiateFileTransferFromGuest `xml:"urn:vim25 InitiateFileTransferFromGuest,omitempty"`
- Res *types.InitiateFileTransferFromGuestResponse `xml:"urn:vim25 InitiateFileTransferFromGuestResponse,omitempty"`
+ Res *types.InitiateFileTransferFromGuestResponse `xml:"InitiateFileTransferFromGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6285,7 +7065,7 @@ func InitiateFileTransferFromGuest(ctx context.Context, r soap.RoundTripper, req
type InitiateFileTransferToGuestBody struct {
Req *types.InitiateFileTransferToGuest `xml:"urn:vim25 InitiateFileTransferToGuest,omitempty"`
- Res *types.InitiateFileTransferToGuestResponse `xml:"urn:vim25 InitiateFileTransferToGuestResponse,omitempty"`
+ Res *types.InitiateFileTransferToGuestResponse `xml:"InitiateFileTransferToGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6305,7 +7085,7 @@ func InitiateFileTransferToGuest(ctx context.Context, r soap.RoundTripper, req *
type InstallHostPatchV2_TaskBody struct {
Req *types.InstallHostPatchV2_Task `xml:"urn:vim25 InstallHostPatchV2_Task,omitempty"`
- Res *types.InstallHostPatchV2_TaskResponse `xml:"urn:vim25 InstallHostPatchV2_TaskResponse,omitempty"`
+ Res *types.InstallHostPatchV2_TaskResponse `xml:"InstallHostPatchV2_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6325,7 +7105,7 @@ func InstallHostPatchV2_Task(ctx context.Context, r soap.RoundTripper, req *type
type InstallHostPatch_TaskBody struct {
Req *types.InstallHostPatch_Task `xml:"urn:vim25 InstallHostPatch_Task,omitempty"`
- Res *types.InstallHostPatch_TaskResponse `xml:"urn:vim25 InstallHostPatch_TaskResponse,omitempty"`
+ Res *types.InstallHostPatch_TaskResponse `xml:"InstallHostPatch_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6345,7 +7125,7 @@ func InstallHostPatch_Task(ctx context.Context, r soap.RoundTripper, req *types.
type InstallIoFilter_TaskBody struct {
Req *types.InstallIoFilter_Task `xml:"urn:vim25 InstallIoFilter_Task,omitempty"`
- Res *types.InstallIoFilter_TaskResponse `xml:"urn:vim25 InstallIoFilter_TaskResponse,omitempty"`
+ Res *types.InstallIoFilter_TaskResponse `xml:"InstallIoFilter_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6365,7 +7145,7 @@ func InstallIoFilter_Task(ctx context.Context, r soap.RoundTripper, req *types.I
type InstallServerCertificateBody struct {
Req *types.InstallServerCertificate `xml:"urn:vim25 InstallServerCertificate,omitempty"`
- Res *types.InstallServerCertificateResponse `xml:"urn:vim25 InstallServerCertificateResponse,omitempty"`
+ Res *types.InstallServerCertificateResponse `xml:"InstallServerCertificateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6385,7 +7165,7 @@ func InstallServerCertificate(ctx context.Context, r soap.RoundTripper, req *typ
type InstallSmartCardTrustAnchorBody struct {
Req *types.InstallSmartCardTrustAnchor `xml:"urn:vim25 InstallSmartCardTrustAnchor,omitempty"`
- Res *types.InstallSmartCardTrustAnchorResponse `xml:"urn:vim25 InstallSmartCardTrustAnchorResponse,omitempty"`
+ Res *types.InstallSmartCardTrustAnchorResponse `xml:"InstallSmartCardTrustAnchorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6403,9 +7183,29 @@ func InstallSmartCardTrustAnchor(ctx context.Context, r soap.RoundTripper, req *
return resBody.Res, nil
}
+type InstantClone_TaskBody struct {
+ Req *types.InstantClone_Task `xml:"urn:vim25 InstantClone_Task,omitempty"`
+ Res *types.InstantClone_TaskResponse `xml:"InstantClone_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *InstantClone_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func InstantClone_Task(ctx context.Context, r soap.RoundTripper, req *types.InstantClone_Task) (*types.InstantClone_TaskResponse, error) {
+ var reqBody, resBody InstantClone_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type IsSharedGraphicsActiveBody struct {
Req *types.IsSharedGraphicsActive `xml:"urn:vim25 IsSharedGraphicsActive,omitempty"`
- Res *types.IsSharedGraphicsActiveResponse `xml:"urn:vim25 IsSharedGraphicsActiveResponse,omitempty"`
+ Res *types.IsSharedGraphicsActiveResponse `xml:"IsSharedGraphicsActiveResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6425,7 +7225,7 @@ func IsSharedGraphicsActive(ctx context.Context, r soap.RoundTripper, req *types
type JoinDomainWithCAM_TaskBody struct {
Req *types.JoinDomainWithCAM_Task `xml:"urn:vim25 JoinDomainWithCAM_Task,omitempty"`
- Res *types.JoinDomainWithCAM_TaskResponse `xml:"urn:vim25 JoinDomainWithCAM_TaskResponse,omitempty"`
+ Res *types.JoinDomainWithCAM_TaskResponse `xml:"JoinDomainWithCAM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6445,7 +7245,7 @@ func JoinDomainWithCAM_Task(ctx context.Context, r soap.RoundTripper, req *types
type JoinDomain_TaskBody struct {
Req *types.JoinDomain_Task `xml:"urn:vim25 JoinDomain_Task,omitempty"`
- Res *types.JoinDomain_TaskResponse `xml:"urn:vim25 JoinDomain_TaskResponse,omitempty"`
+ Res *types.JoinDomain_TaskResponse `xml:"JoinDomain_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6465,7 +7265,7 @@ func JoinDomain_Task(ctx context.Context, r soap.RoundTripper, req *types.JoinDo
type LeaveCurrentDomain_TaskBody struct {
Req *types.LeaveCurrentDomain_Task `xml:"urn:vim25 LeaveCurrentDomain_Task,omitempty"`
- Res *types.LeaveCurrentDomain_TaskResponse `xml:"urn:vim25 LeaveCurrentDomain_TaskResponse,omitempty"`
+ Res *types.LeaveCurrentDomain_TaskResponse `xml:"LeaveCurrentDomain_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6485,7 +7285,7 @@ func LeaveCurrentDomain_Task(ctx context.Context, r soap.RoundTripper, req *type
type ListCACertificateRevocationListsBody struct {
Req *types.ListCACertificateRevocationLists `xml:"urn:vim25 ListCACertificateRevocationLists,omitempty"`
- Res *types.ListCACertificateRevocationListsResponse `xml:"urn:vim25 ListCACertificateRevocationListsResponse,omitempty"`
+ Res *types.ListCACertificateRevocationListsResponse `xml:"ListCACertificateRevocationListsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6505,7 +7305,7 @@ func ListCACertificateRevocationLists(ctx context.Context, r soap.RoundTripper,
type ListCACertificatesBody struct {
Req *types.ListCACertificates `xml:"urn:vim25 ListCACertificates,omitempty"`
- Res *types.ListCACertificatesResponse `xml:"urn:vim25 ListCACertificatesResponse,omitempty"`
+ Res *types.ListCACertificatesResponse `xml:"ListCACertificatesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6525,7 +7325,7 @@ func ListCACertificates(ctx context.Context, r soap.RoundTripper, req *types.Lis
type ListFilesInGuestBody struct {
Req *types.ListFilesInGuest `xml:"urn:vim25 ListFilesInGuest,omitempty"`
- Res *types.ListFilesInGuestResponse `xml:"urn:vim25 ListFilesInGuestResponse,omitempty"`
+ Res *types.ListFilesInGuestResponse `xml:"ListFilesInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6545,7 +7345,7 @@ func ListFilesInGuest(ctx context.Context, r soap.RoundTripper, req *types.ListF
type ListGuestAliasesBody struct {
Req *types.ListGuestAliases `xml:"urn:vim25 ListGuestAliases,omitempty"`
- Res *types.ListGuestAliasesResponse `xml:"urn:vim25 ListGuestAliasesResponse,omitempty"`
+ Res *types.ListGuestAliasesResponse `xml:"ListGuestAliasesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6565,7 +7365,7 @@ func ListGuestAliases(ctx context.Context, r soap.RoundTripper, req *types.ListG
type ListGuestMappedAliasesBody struct {
Req *types.ListGuestMappedAliases `xml:"urn:vim25 ListGuestMappedAliases,omitempty"`
- Res *types.ListGuestMappedAliasesResponse `xml:"urn:vim25 ListGuestMappedAliasesResponse,omitempty"`
+ Res *types.ListGuestMappedAliasesResponse `xml:"ListGuestMappedAliasesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6585,7 +7385,7 @@ func ListGuestMappedAliases(ctx context.Context, r soap.RoundTripper, req *types
type ListKeysBody struct {
Req *types.ListKeys `xml:"urn:vim25 ListKeys,omitempty"`
- Res *types.ListKeysResponse `xml:"urn:vim25 ListKeysResponse,omitempty"`
+ Res *types.ListKeysResponse `xml:"ListKeysResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6605,7 +7405,7 @@ func ListKeys(ctx context.Context, r soap.RoundTripper, req *types.ListKeys) (*t
type ListKmipServersBody struct {
Req *types.ListKmipServers `xml:"urn:vim25 ListKmipServers,omitempty"`
- Res *types.ListKmipServersResponse `xml:"urn:vim25 ListKmipServersResponse,omitempty"`
+ Res *types.ListKmipServersResponse `xml:"ListKmipServersResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6625,7 +7425,7 @@ func ListKmipServers(ctx context.Context, r soap.RoundTripper, req *types.ListKm
type ListProcessesInGuestBody struct {
Req *types.ListProcessesInGuest `xml:"urn:vim25 ListProcessesInGuest,omitempty"`
- Res *types.ListProcessesInGuestResponse `xml:"urn:vim25 ListProcessesInGuestResponse,omitempty"`
+ Res *types.ListProcessesInGuestResponse `xml:"ListProcessesInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6645,7 +7445,7 @@ func ListProcessesInGuest(ctx context.Context, r soap.RoundTripper, req *types.L
type ListRegistryKeysInGuestBody struct {
Req *types.ListRegistryKeysInGuest `xml:"urn:vim25 ListRegistryKeysInGuest,omitempty"`
- Res *types.ListRegistryKeysInGuestResponse `xml:"urn:vim25 ListRegistryKeysInGuestResponse,omitempty"`
+ Res *types.ListRegistryKeysInGuestResponse `xml:"ListRegistryKeysInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6665,7 +7465,7 @@ func ListRegistryKeysInGuest(ctx context.Context, r soap.RoundTripper, req *type
type ListRegistryValuesInGuestBody struct {
Req *types.ListRegistryValuesInGuest `xml:"urn:vim25 ListRegistryValuesInGuest,omitempty"`
- Res *types.ListRegistryValuesInGuestResponse `xml:"urn:vim25 ListRegistryValuesInGuestResponse,omitempty"`
+ Res *types.ListRegistryValuesInGuestResponse `xml:"ListRegistryValuesInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6685,7 +7485,7 @@ func ListRegistryValuesInGuest(ctx context.Context, r soap.RoundTripper, req *ty
type ListSmartCardTrustAnchorsBody struct {
Req *types.ListSmartCardTrustAnchors `xml:"urn:vim25 ListSmartCardTrustAnchors,omitempty"`
- Res *types.ListSmartCardTrustAnchorsResponse `xml:"urn:vim25 ListSmartCardTrustAnchorsResponse,omitempty"`
+ Res *types.ListSmartCardTrustAnchorsResponse `xml:"ListSmartCardTrustAnchorsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6705,7 +7505,7 @@ func ListSmartCardTrustAnchors(ctx context.Context, r soap.RoundTripper, req *ty
type ListTagsAttachedToVStorageObjectBody struct {
Req *types.ListTagsAttachedToVStorageObject `xml:"urn:vim25 ListTagsAttachedToVStorageObject,omitempty"`
- Res *types.ListTagsAttachedToVStorageObjectResponse `xml:"urn:vim25 ListTagsAttachedToVStorageObjectResponse,omitempty"`
+ Res *types.ListTagsAttachedToVStorageObjectResponse `xml:"ListTagsAttachedToVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6725,7 +7525,7 @@ func ListTagsAttachedToVStorageObject(ctx context.Context, r soap.RoundTripper,
type ListVStorageObjectBody struct {
Req *types.ListVStorageObject `xml:"urn:vim25 ListVStorageObject,omitempty"`
- Res *types.ListVStorageObjectResponse `xml:"urn:vim25 ListVStorageObjectResponse,omitempty"`
+ Res *types.ListVStorageObjectResponse `xml:"ListVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6745,7 +7545,7 @@ func ListVStorageObject(ctx context.Context, r soap.RoundTripper, req *types.Lis
type ListVStorageObjectsAttachedToTagBody struct {
Req *types.ListVStorageObjectsAttachedToTag `xml:"urn:vim25 ListVStorageObjectsAttachedToTag,omitempty"`
- Res *types.ListVStorageObjectsAttachedToTagResponse `xml:"urn:vim25 ListVStorageObjectsAttachedToTagResponse,omitempty"`
+ Res *types.ListVStorageObjectsAttachedToTagResponse `xml:"ListVStorageObjectsAttachedToTagResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6765,7 +7565,7 @@ func ListVStorageObjectsAttachedToTag(ctx context.Context, r soap.RoundTripper,
type LogUserEventBody struct {
Req *types.LogUserEvent `xml:"urn:vim25 LogUserEvent,omitempty"`
- Res *types.LogUserEventResponse `xml:"urn:vim25 LogUserEventResponse,omitempty"`
+ Res *types.LogUserEventResponse `xml:"LogUserEventResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6785,7 +7585,7 @@ func LogUserEvent(ctx context.Context, r soap.RoundTripper, req *types.LogUserEv
type LoginBody struct {
Req *types.Login `xml:"urn:vim25 Login,omitempty"`
- Res *types.LoginResponse `xml:"urn:vim25 LoginResponse,omitempty"`
+ Res *types.LoginResponse `xml:"LoginResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6805,7 +7605,7 @@ func Login(ctx context.Context, r soap.RoundTripper, req *types.Login) (*types.L
type LoginBySSPIBody struct {
Req *types.LoginBySSPI `xml:"urn:vim25 LoginBySSPI,omitempty"`
- Res *types.LoginBySSPIResponse `xml:"urn:vim25 LoginBySSPIResponse,omitempty"`
+ Res *types.LoginBySSPIResponse `xml:"LoginBySSPIResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6825,7 +7625,7 @@ func LoginBySSPI(ctx context.Context, r soap.RoundTripper, req *types.LoginBySSP
type LoginByTokenBody struct {
Req *types.LoginByToken `xml:"urn:vim25 LoginByToken,omitempty"`
- Res *types.LoginByTokenResponse `xml:"urn:vim25 LoginByTokenResponse,omitempty"`
+ Res *types.LoginByTokenResponse `xml:"LoginByTokenResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6845,7 +7645,7 @@ func LoginByToken(ctx context.Context, r soap.RoundTripper, req *types.LoginByTo
type LoginExtensionByCertificateBody struct {
Req *types.LoginExtensionByCertificate `xml:"urn:vim25 LoginExtensionByCertificate,omitempty"`
- Res *types.LoginExtensionByCertificateResponse `xml:"urn:vim25 LoginExtensionByCertificateResponse,omitempty"`
+ Res *types.LoginExtensionByCertificateResponse `xml:"LoginExtensionByCertificateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6865,7 +7665,7 @@ func LoginExtensionByCertificate(ctx context.Context, r soap.RoundTripper, req *
type LoginExtensionBySubjectNameBody struct {
Req *types.LoginExtensionBySubjectName `xml:"urn:vim25 LoginExtensionBySubjectName,omitempty"`
- Res *types.LoginExtensionBySubjectNameResponse `xml:"urn:vim25 LoginExtensionBySubjectNameResponse,omitempty"`
+ Res *types.LoginExtensionBySubjectNameResponse `xml:"LoginExtensionBySubjectNameResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6885,7 +7685,7 @@ func LoginExtensionBySubjectName(ctx context.Context, r soap.RoundTripper, req *
type LogoutBody struct {
Req *types.Logout `xml:"urn:vim25 Logout,omitempty"`
- Res *types.LogoutResponse `xml:"urn:vim25 LogoutResponse,omitempty"`
+ Res *types.LogoutResponse `xml:"LogoutResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6905,7 +7705,7 @@ func Logout(ctx context.Context, r soap.RoundTripper, req *types.Logout) (*types
type LookupDvPortGroupBody struct {
Req *types.LookupDvPortGroup `xml:"urn:vim25 LookupDvPortGroup,omitempty"`
- Res *types.LookupDvPortGroupResponse `xml:"urn:vim25 LookupDvPortGroupResponse,omitempty"`
+ Res *types.LookupDvPortGroupResponse `xml:"LookupDvPortGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6925,7 +7725,7 @@ func LookupDvPortGroup(ctx context.Context, r soap.RoundTripper, req *types.Look
type LookupVmOverheadMemoryBody struct {
Req *types.LookupVmOverheadMemory `xml:"urn:vim25 LookupVmOverheadMemory,omitempty"`
- Res *types.LookupVmOverheadMemoryResponse `xml:"urn:vim25 LookupVmOverheadMemoryResponse,omitempty"`
+ Res *types.LookupVmOverheadMemoryResponse `xml:"LookupVmOverheadMemoryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6945,7 +7745,7 @@ func LookupVmOverheadMemory(ctx context.Context, r soap.RoundTripper, req *types
type MakeDirectoryBody struct {
Req *types.MakeDirectory `xml:"urn:vim25 MakeDirectory,omitempty"`
- Res *types.MakeDirectoryResponse `xml:"urn:vim25 MakeDirectoryResponse,omitempty"`
+ Res *types.MakeDirectoryResponse `xml:"MakeDirectoryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6965,7 +7765,7 @@ func MakeDirectory(ctx context.Context, r soap.RoundTripper, req *types.MakeDire
type MakeDirectoryInGuestBody struct {
Req *types.MakeDirectoryInGuest `xml:"urn:vim25 MakeDirectoryInGuest,omitempty"`
- Res *types.MakeDirectoryInGuestResponse `xml:"urn:vim25 MakeDirectoryInGuestResponse,omitempty"`
+ Res *types.MakeDirectoryInGuestResponse `xml:"MakeDirectoryInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -6985,7 +7785,7 @@ func MakeDirectoryInGuest(ctx context.Context, r soap.RoundTripper, req *types.M
type MakePrimaryVM_TaskBody struct {
Req *types.MakePrimaryVM_Task `xml:"urn:vim25 MakePrimaryVM_Task,omitempty"`
- Res *types.MakePrimaryVM_TaskResponse `xml:"urn:vim25 MakePrimaryVM_TaskResponse,omitempty"`
+ Res *types.MakePrimaryVM_TaskResponse `xml:"MakePrimaryVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7005,7 +7805,7 @@ func MakePrimaryVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Mak
type MarkAsLocal_TaskBody struct {
Req *types.MarkAsLocal_Task `xml:"urn:vim25 MarkAsLocal_Task,omitempty"`
- Res *types.MarkAsLocal_TaskResponse `xml:"urn:vim25 MarkAsLocal_TaskResponse,omitempty"`
+ Res *types.MarkAsLocal_TaskResponse `xml:"MarkAsLocal_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7025,7 +7825,7 @@ func MarkAsLocal_Task(ctx context.Context, r soap.RoundTripper, req *types.MarkA
type MarkAsNonLocal_TaskBody struct {
Req *types.MarkAsNonLocal_Task `xml:"urn:vim25 MarkAsNonLocal_Task,omitempty"`
- Res *types.MarkAsNonLocal_TaskResponse `xml:"urn:vim25 MarkAsNonLocal_TaskResponse,omitempty"`
+ Res *types.MarkAsNonLocal_TaskResponse `xml:"MarkAsNonLocal_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7045,7 +7845,7 @@ func MarkAsNonLocal_Task(ctx context.Context, r soap.RoundTripper, req *types.Ma
type MarkAsNonSsd_TaskBody struct {
Req *types.MarkAsNonSsd_Task `xml:"urn:vim25 MarkAsNonSsd_Task,omitempty"`
- Res *types.MarkAsNonSsd_TaskResponse `xml:"urn:vim25 MarkAsNonSsd_TaskResponse,omitempty"`
+ Res *types.MarkAsNonSsd_TaskResponse `xml:"MarkAsNonSsd_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7065,7 +7865,7 @@ func MarkAsNonSsd_Task(ctx context.Context, r soap.RoundTripper, req *types.Mark
type MarkAsSsd_TaskBody struct {
Req *types.MarkAsSsd_Task `xml:"urn:vim25 MarkAsSsd_Task,omitempty"`
- Res *types.MarkAsSsd_TaskResponse `xml:"urn:vim25 MarkAsSsd_TaskResponse,omitempty"`
+ Res *types.MarkAsSsd_TaskResponse `xml:"MarkAsSsd_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7085,7 +7885,7 @@ func MarkAsSsd_Task(ctx context.Context, r soap.RoundTripper, req *types.MarkAsS
type MarkAsTemplateBody struct {
Req *types.MarkAsTemplate `xml:"urn:vim25 MarkAsTemplate,omitempty"`
- Res *types.MarkAsTemplateResponse `xml:"urn:vim25 MarkAsTemplateResponse,omitempty"`
+ Res *types.MarkAsTemplateResponse `xml:"MarkAsTemplateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7105,7 +7905,7 @@ func MarkAsTemplate(ctx context.Context, r soap.RoundTripper, req *types.MarkAsT
type MarkAsVirtualMachineBody struct {
Req *types.MarkAsVirtualMachine `xml:"urn:vim25 MarkAsVirtualMachine,omitempty"`
- Res *types.MarkAsVirtualMachineResponse `xml:"urn:vim25 MarkAsVirtualMachineResponse,omitempty"`
+ Res *types.MarkAsVirtualMachineResponse `xml:"MarkAsVirtualMachineResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7125,7 +7925,7 @@ func MarkAsVirtualMachine(ctx context.Context, r soap.RoundTripper, req *types.M
type MarkDefaultBody struct {
Req *types.MarkDefault `xml:"urn:vim25 MarkDefault,omitempty"`
- Res *types.MarkDefaultResponse `xml:"urn:vim25 MarkDefaultResponse,omitempty"`
+ Res *types.MarkDefaultResponse `xml:"MarkDefaultResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7145,7 +7945,7 @@ func MarkDefault(ctx context.Context, r soap.RoundTripper, req *types.MarkDefaul
type MarkForRemovalBody struct {
Req *types.MarkForRemoval `xml:"urn:vim25 MarkForRemoval,omitempty"`
- Res *types.MarkForRemovalResponse `xml:"urn:vim25 MarkForRemovalResponse,omitempty"`
+ Res *types.MarkForRemovalResponse `xml:"MarkForRemovalResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7163,9 +7963,49 @@ func MarkForRemoval(ctx context.Context, r soap.RoundTripper, req *types.MarkFor
return resBody.Res, nil
}
+type MarkPerenniallyReservedBody struct {
+ Req *types.MarkPerenniallyReserved `xml:"urn:vim25 MarkPerenniallyReserved,omitempty"`
+ Res *types.MarkPerenniallyReservedResponse `xml:"MarkPerenniallyReservedResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *MarkPerenniallyReservedBody) Fault() *soap.Fault { return b.Fault_ }
+
+func MarkPerenniallyReserved(ctx context.Context, r soap.RoundTripper, req *types.MarkPerenniallyReserved) (*types.MarkPerenniallyReservedResponse, error) {
+ var reqBody, resBody MarkPerenniallyReservedBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type MarkPerenniallyReservedEx_TaskBody struct {
+ Req *types.MarkPerenniallyReservedEx_Task `xml:"urn:vim25 MarkPerenniallyReservedEx_Task,omitempty"`
+ Res *types.MarkPerenniallyReservedEx_TaskResponse `xml:"MarkPerenniallyReservedEx_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *MarkPerenniallyReservedEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func MarkPerenniallyReservedEx_Task(ctx context.Context, r soap.RoundTripper, req *types.MarkPerenniallyReservedEx_Task) (*types.MarkPerenniallyReservedEx_TaskResponse, error) {
+ var reqBody, resBody MarkPerenniallyReservedEx_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type MergeDvs_TaskBody struct {
Req *types.MergeDvs_Task `xml:"urn:vim25 MergeDvs_Task,omitempty"`
- Res *types.MergeDvs_TaskResponse `xml:"urn:vim25 MergeDvs_TaskResponse,omitempty"`
+ Res *types.MergeDvs_TaskResponse `xml:"MergeDvs_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7185,7 +8025,7 @@ func MergeDvs_Task(ctx context.Context, r soap.RoundTripper, req *types.MergeDvs
type MergePermissionsBody struct {
Req *types.MergePermissions `xml:"urn:vim25 MergePermissions,omitempty"`
- Res *types.MergePermissionsResponse `xml:"urn:vim25 MergePermissionsResponse,omitempty"`
+ Res *types.MergePermissionsResponse `xml:"MergePermissionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7205,7 +8045,7 @@ func MergePermissions(ctx context.Context, r soap.RoundTripper, req *types.Merge
type MigrateVM_TaskBody struct {
Req *types.MigrateVM_Task `xml:"urn:vim25 MigrateVM_Task,omitempty"`
- Res *types.MigrateVM_TaskResponse `xml:"urn:vim25 MigrateVM_TaskResponse,omitempty"`
+ Res *types.MigrateVM_TaskResponse `xml:"MigrateVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7225,7 +8065,7 @@ func MigrateVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Migrate
type ModifyListViewBody struct {
Req *types.ModifyListView `xml:"urn:vim25 ModifyListView,omitempty"`
- Res *types.ModifyListViewResponse `xml:"urn:vim25 ModifyListViewResponse,omitempty"`
+ Res *types.ModifyListViewResponse `xml:"ModifyListViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7245,7 +8085,7 @@ func ModifyListView(ctx context.Context, r soap.RoundTripper, req *types.ModifyL
type MountToolsInstallerBody struct {
Req *types.MountToolsInstaller `xml:"urn:vim25 MountToolsInstaller,omitempty"`
- Res *types.MountToolsInstallerResponse `xml:"urn:vim25 MountToolsInstallerResponse,omitempty"`
+ Res *types.MountToolsInstallerResponse `xml:"MountToolsInstallerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7265,7 +8105,7 @@ func MountToolsInstaller(ctx context.Context, r soap.RoundTripper, req *types.Mo
type MountVffsVolumeBody struct {
Req *types.MountVffsVolume `xml:"urn:vim25 MountVffsVolume,omitempty"`
- Res *types.MountVffsVolumeResponse `xml:"urn:vim25 MountVffsVolumeResponse,omitempty"`
+ Res *types.MountVffsVolumeResponse `xml:"MountVffsVolumeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7285,7 +8125,7 @@ func MountVffsVolume(ctx context.Context, r soap.RoundTripper, req *types.MountV
type MountVmfsVolumeBody struct {
Req *types.MountVmfsVolume `xml:"urn:vim25 MountVmfsVolume,omitempty"`
- Res *types.MountVmfsVolumeResponse `xml:"urn:vim25 MountVmfsVolumeResponse,omitempty"`
+ Res *types.MountVmfsVolumeResponse `xml:"MountVmfsVolumeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7305,7 +8145,7 @@ func MountVmfsVolume(ctx context.Context, r soap.RoundTripper, req *types.MountV
type MountVmfsVolumeEx_TaskBody struct {
Req *types.MountVmfsVolumeEx_Task `xml:"urn:vim25 MountVmfsVolumeEx_Task,omitempty"`
- Res *types.MountVmfsVolumeEx_TaskResponse `xml:"urn:vim25 MountVmfsVolumeEx_TaskResponse,omitempty"`
+ Res *types.MountVmfsVolumeEx_TaskResponse `xml:"MountVmfsVolumeEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7325,7 +8165,7 @@ func MountVmfsVolumeEx_Task(ctx context.Context, r soap.RoundTripper, req *types
type MoveDVPort_TaskBody struct {
Req *types.MoveDVPort_Task `xml:"urn:vim25 MoveDVPort_Task,omitempty"`
- Res *types.MoveDVPort_TaskResponse `xml:"urn:vim25 MoveDVPort_TaskResponse,omitempty"`
+ Res *types.MoveDVPort_TaskResponse `xml:"MoveDVPort_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7345,7 +8185,7 @@ func MoveDVPort_Task(ctx context.Context, r soap.RoundTripper, req *types.MoveDV
type MoveDatastoreFile_TaskBody struct {
Req *types.MoveDatastoreFile_Task `xml:"urn:vim25 MoveDatastoreFile_Task,omitempty"`
- Res *types.MoveDatastoreFile_TaskResponse `xml:"urn:vim25 MoveDatastoreFile_TaskResponse,omitempty"`
+ Res *types.MoveDatastoreFile_TaskResponse `xml:"MoveDatastoreFile_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7365,7 +8205,7 @@ func MoveDatastoreFile_Task(ctx context.Context, r soap.RoundTripper, req *types
type MoveDirectoryInGuestBody struct {
Req *types.MoveDirectoryInGuest `xml:"urn:vim25 MoveDirectoryInGuest,omitempty"`
- Res *types.MoveDirectoryInGuestResponse `xml:"urn:vim25 MoveDirectoryInGuestResponse,omitempty"`
+ Res *types.MoveDirectoryInGuestResponse `xml:"MoveDirectoryInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7385,7 +8225,7 @@ func MoveDirectoryInGuest(ctx context.Context, r soap.RoundTripper, req *types.M
type MoveFileInGuestBody struct {
Req *types.MoveFileInGuest `xml:"urn:vim25 MoveFileInGuest,omitempty"`
- Res *types.MoveFileInGuestResponse `xml:"urn:vim25 MoveFileInGuestResponse,omitempty"`
+ Res *types.MoveFileInGuestResponse `xml:"MoveFileInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7405,7 +8245,7 @@ func MoveFileInGuest(ctx context.Context, r soap.RoundTripper, req *types.MoveFi
type MoveHostInto_TaskBody struct {
Req *types.MoveHostInto_Task `xml:"urn:vim25 MoveHostInto_Task,omitempty"`
- Res *types.MoveHostInto_TaskResponse `xml:"urn:vim25 MoveHostInto_TaskResponse,omitempty"`
+ Res *types.MoveHostInto_TaskResponse `xml:"MoveHostInto_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7425,7 +8265,7 @@ func MoveHostInto_Task(ctx context.Context, r soap.RoundTripper, req *types.Move
type MoveIntoFolder_TaskBody struct {
Req *types.MoveIntoFolder_Task `xml:"urn:vim25 MoveIntoFolder_Task,omitempty"`
- Res *types.MoveIntoFolder_TaskResponse `xml:"urn:vim25 MoveIntoFolder_TaskResponse,omitempty"`
+ Res *types.MoveIntoFolder_TaskResponse `xml:"MoveIntoFolder_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7445,7 +8285,7 @@ func MoveIntoFolder_Task(ctx context.Context, r soap.RoundTripper, req *types.Mo
type MoveIntoResourcePoolBody struct {
Req *types.MoveIntoResourcePool `xml:"urn:vim25 MoveIntoResourcePool,omitempty"`
- Res *types.MoveIntoResourcePoolResponse `xml:"urn:vim25 MoveIntoResourcePoolResponse,omitempty"`
+ Res *types.MoveIntoResourcePoolResponse `xml:"MoveIntoResourcePoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7465,7 +8305,7 @@ func MoveIntoResourcePool(ctx context.Context, r soap.RoundTripper, req *types.M
type MoveInto_TaskBody struct {
Req *types.MoveInto_Task `xml:"urn:vim25 MoveInto_Task,omitempty"`
- Res *types.MoveInto_TaskResponse `xml:"urn:vim25 MoveInto_TaskResponse,omitempty"`
+ Res *types.MoveInto_TaskResponse `xml:"MoveInto_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7485,7 +8325,7 @@ func MoveInto_Task(ctx context.Context, r soap.RoundTripper, req *types.MoveInto
type MoveVirtualDisk_TaskBody struct {
Req *types.MoveVirtualDisk_Task `xml:"urn:vim25 MoveVirtualDisk_Task,omitempty"`
- Res *types.MoveVirtualDisk_TaskResponse `xml:"urn:vim25 MoveVirtualDisk_TaskResponse,omitempty"`
+ Res *types.MoveVirtualDisk_TaskResponse `xml:"MoveVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7505,7 +8345,7 @@ func MoveVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.M
type OpenInventoryViewFolderBody struct {
Req *types.OpenInventoryViewFolder `xml:"urn:vim25 OpenInventoryViewFolder,omitempty"`
- Res *types.OpenInventoryViewFolderResponse `xml:"urn:vim25 OpenInventoryViewFolderResponse,omitempty"`
+ Res *types.OpenInventoryViewFolderResponse `xml:"OpenInventoryViewFolderResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7525,7 +8365,7 @@ func OpenInventoryViewFolder(ctx context.Context, r soap.RoundTripper, req *type
type OverwriteCustomizationSpecBody struct {
Req *types.OverwriteCustomizationSpec `xml:"urn:vim25 OverwriteCustomizationSpec,omitempty"`
- Res *types.OverwriteCustomizationSpecResponse `xml:"urn:vim25 OverwriteCustomizationSpecResponse,omitempty"`
+ Res *types.OverwriteCustomizationSpecResponse `xml:"OverwriteCustomizationSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7545,7 +8385,7 @@ func OverwriteCustomizationSpec(ctx context.Context, r soap.RoundTripper, req *t
type ParseDescriptorBody struct {
Req *types.ParseDescriptor `xml:"urn:vim25 ParseDescriptor,omitempty"`
- Res *types.ParseDescriptorResponse `xml:"urn:vim25 ParseDescriptorResponse,omitempty"`
+ Res *types.ParseDescriptorResponse `xml:"ParseDescriptorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7565,7 +8405,7 @@ func ParseDescriptor(ctx context.Context, r soap.RoundTripper, req *types.ParseD
type PerformDvsProductSpecOperation_TaskBody struct {
Req *types.PerformDvsProductSpecOperation_Task `xml:"urn:vim25 PerformDvsProductSpecOperation_Task,omitempty"`
- Res *types.PerformDvsProductSpecOperation_TaskResponse `xml:"urn:vim25 PerformDvsProductSpecOperation_TaskResponse,omitempty"`
+ Res *types.PerformDvsProductSpecOperation_TaskResponse `xml:"PerformDvsProductSpecOperation_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7585,7 +8425,7 @@ func PerformDvsProductSpecOperation_Task(ctx context.Context, r soap.RoundTrippe
type PerformVsanUpgradePreflightCheckBody struct {
Req *types.PerformVsanUpgradePreflightCheck `xml:"urn:vim25 PerformVsanUpgradePreflightCheck,omitempty"`
- Res *types.PerformVsanUpgradePreflightCheckResponse `xml:"urn:vim25 PerformVsanUpgradePreflightCheckResponse,omitempty"`
+ Res *types.PerformVsanUpgradePreflightCheckResponse `xml:"PerformVsanUpgradePreflightCheckResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7605,7 +8445,7 @@ func PerformVsanUpgradePreflightCheck(ctx context.Context, r soap.RoundTripper,
type PerformVsanUpgrade_TaskBody struct {
Req *types.PerformVsanUpgrade_Task `xml:"urn:vim25 PerformVsanUpgrade_Task,omitempty"`
- Res *types.PerformVsanUpgrade_TaskResponse `xml:"urn:vim25 PerformVsanUpgrade_TaskResponse,omitempty"`
+ Res *types.PerformVsanUpgrade_TaskResponse `xml:"PerformVsanUpgrade_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7625,7 +8465,7 @@ func PerformVsanUpgrade_Task(ctx context.Context, r soap.RoundTripper, req *type
type PlaceVmBody struct {
Req *types.PlaceVm `xml:"urn:vim25 PlaceVm,omitempty"`
- Res *types.PlaceVmResponse `xml:"urn:vim25 PlaceVmResponse,omitempty"`
+ Res *types.PlaceVmResponse `xml:"PlaceVmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7645,7 +8485,7 @@ func PlaceVm(ctx context.Context, r soap.RoundTripper, req *types.PlaceVm) (*typ
type PostEventBody struct {
Req *types.PostEvent `xml:"urn:vim25 PostEvent,omitempty"`
- Res *types.PostEventResponse `xml:"urn:vim25 PostEventResponse,omitempty"`
+ Res *types.PostEventResponse `xml:"PostEventResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7665,7 +8505,7 @@ func PostEvent(ctx context.Context, r soap.RoundTripper, req *types.PostEvent) (
type PostHealthUpdatesBody struct {
Req *types.PostHealthUpdates `xml:"urn:vim25 PostHealthUpdates,omitempty"`
- Res *types.PostHealthUpdatesResponse `xml:"urn:vim25 PostHealthUpdatesResponse,omitempty"`
+ Res *types.PostHealthUpdatesResponse `xml:"PostHealthUpdatesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7685,7 +8525,7 @@ func PostHealthUpdates(ctx context.Context, r soap.RoundTripper, req *types.Post
type PowerDownHostToStandBy_TaskBody struct {
Req *types.PowerDownHostToStandBy_Task `xml:"urn:vim25 PowerDownHostToStandBy_Task,omitempty"`
- Res *types.PowerDownHostToStandBy_TaskResponse `xml:"urn:vim25 PowerDownHostToStandBy_TaskResponse,omitempty"`
+ Res *types.PowerDownHostToStandBy_TaskResponse `xml:"PowerDownHostToStandBy_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7705,7 +8545,7 @@ func PowerDownHostToStandBy_Task(ctx context.Context, r soap.RoundTripper, req *
type PowerOffVApp_TaskBody struct {
Req *types.PowerOffVApp_Task `xml:"urn:vim25 PowerOffVApp_Task,omitempty"`
- Res *types.PowerOffVApp_TaskResponse `xml:"urn:vim25 PowerOffVApp_TaskResponse,omitempty"`
+ Res *types.PowerOffVApp_TaskResponse `xml:"PowerOffVApp_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7725,7 +8565,7 @@ func PowerOffVApp_Task(ctx context.Context, r soap.RoundTripper, req *types.Powe
type PowerOffVM_TaskBody struct {
Req *types.PowerOffVM_Task `xml:"urn:vim25 PowerOffVM_Task,omitempty"`
- Res *types.PowerOffVM_TaskResponse `xml:"urn:vim25 PowerOffVM_TaskResponse,omitempty"`
+ Res *types.PowerOffVM_TaskResponse `xml:"PowerOffVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7745,7 +8585,7 @@ func PowerOffVM_Task(ctx context.Context, r soap.RoundTripper, req *types.PowerO
type PowerOnMultiVM_TaskBody struct {
Req *types.PowerOnMultiVM_Task `xml:"urn:vim25 PowerOnMultiVM_Task,omitempty"`
- Res *types.PowerOnMultiVM_TaskResponse `xml:"urn:vim25 PowerOnMultiVM_TaskResponse,omitempty"`
+ Res *types.PowerOnMultiVM_TaskResponse `xml:"PowerOnMultiVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7765,7 +8605,7 @@ func PowerOnMultiVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Po
type PowerOnVApp_TaskBody struct {
Req *types.PowerOnVApp_Task `xml:"urn:vim25 PowerOnVApp_Task,omitempty"`
- Res *types.PowerOnVApp_TaskResponse `xml:"urn:vim25 PowerOnVApp_TaskResponse,omitempty"`
+ Res *types.PowerOnVApp_TaskResponse `xml:"PowerOnVApp_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7785,7 +8625,7 @@ func PowerOnVApp_Task(ctx context.Context, r soap.RoundTripper, req *types.Power
type PowerOnVM_TaskBody struct {
Req *types.PowerOnVM_Task `xml:"urn:vim25 PowerOnVM_Task,omitempty"`
- Res *types.PowerOnVM_TaskResponse `xml:"urn:vim25 PowerOnVM_TaskResponse,omitempty"`
+ Res *types.PowerOnVM_TaskResponse `xml:"PowerOnVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7805,7 +8645,7 @@ func PowerOnVM_Task(ctx context.Context, r soap.RoundTripper, req *types.PowerOn
type PowerUpHostFromStandBy_TaskBody struct {
Req *types.PowerUpHostFromStandBy_Task `xml:"urn:vim25 PowerUpHostFromStandBy_Task,omitempty"`
- Res *types.PowerUpHostFromStandBy_TaskResponse `xml:"urn:vim25 PowerUpHostFromStandBy_TaskResponse,omitempty"`
+ Res *types.PowerUpHostFromStandBy_TaskResponse `xml:"PowerUpHostFromStandBy_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7825,7 +8665,7 @@ func PowerUpHostFromStandBy_Task(ctx context.Context, r soap.RoundTripper, req *
type PrepareCryptoBody struct {
Req *types.PrepareCrypto `xml:"urn:vim25 PrepareCrypto,omitempty"`
- Res *types.PrepareCryptoResponse `xml:"urn:vim25 PrepareCryptoResponse,omitempty"`
+ Res *types.PrepareCryptoResponse `xml:"PrepareCryptoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7845,7 +8685,7 @@ func PrepareCrypto(ctx context.Context, r soap.RoundTripper, req *types.PrepareC
type PromoteDisks_TaskBody struct {
Req *types.PromoteDisks_Task `xml:"urn:vim25 PromoteDisks_Task,omitempty"`
- Res *types.PromoteDisks_TaskResponse `xml:"urn:vim25 PromoteDisks_TaskResponse,omitempty"`
+ Res *types.PromoteDisks_TaskResponse `xml:"PromoteDisks_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7865,7 +8705,7 @@ func PromoteDisks_Task(ctx context.Context, r soap.RoundTripper, req *types.Prom
type PutUsbScanCodesBody struct {
Req *types.PutUsbScanCodes `xml:"urn:vim25 PutUsbScanCodes,omitempty"`
- Res *types.PutUsbScanCodesResponse `xml:"urn:vim25 PutUsbScanCodesResponse,omitempty"`
+ Res *types.PutUsbScanCodesResponse `xml:"PutUsbScanCodesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7885,7 +8725,7 @@ func PutUsbScanCodes(ctx context.Context, r soap.RoundTripper, req *types.PutUsb
type QueryAnswerFileStatusBody struct {
Req *types.QueryAnswerFileStatus `xml:"urn:vim25 QueryAnswerFileStatus,omitempty"`
- Res *types.QueryAnswerFileStatusResponse `xml:"urn:vim25 QueryAnswerFileStatusResponse,omitempty"`
+ Res *types.QueryAnswerFileStatusResponse `xml:"QueryAnswerFileStatusResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7905,7 +8745,7 @@ func QueryAnswerFileStatus(ctx context.Context, r soap.RoundTripper, req *types.
type QueryAssignedLicensesBody struct {
Req *types.QueryAssignedLicenses `xml:"urn:vim25 QueryAssignedLicenses,omitempty"`
- Res *types.QueryAssignedLicensesResponse `xml:"urn:vim25 QueryAssignedLicensesResponse,omitempty"`
+ Res *types.QueryAssignedLicensesResponse `xml:"QueryAssignedLicensesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7925,7 +8765,7 @@ func QueryAssignedLicenses(ctx context.Context, r soap.RoundTripper, req *types.
type QueryAvailableDisksForVmfsBody struct {
Req *types.QueryAvailableDisksForVmfs `xml:"urn:vim25 QueryAvailableDisksForVmfs,omitempty"`
- Res *types.QueryAvailableDisksForVmfsResponse `xml:"urn:vim25 QueryAvailableDisksForVmfsResponse,omitempty"`
+ Res *types.QueryAvailableDisksForVmfsResponse `xml:"QueryAvailableDisksForVmfsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7945,7 +8785,7 @@ func QueryAvailableDisksForVmfs(ctx context.Context, r soap.RoundTripper, req *t
type QueryAvailableDvsSpecBody struct {
Req *types.QueryAvailableDvsSpec `xml:"urn:vim25 QueryAvailableDvsSpec,omitempty"`
- Res *types.QueryAvailableDvsSpecResponse `xml:"urn:vim25 QueryAvailableDvsSpecResponse,omitempty"`
+ Res *types.QueryAvailableDvsSpecResponse `xml:"QueryAvailableDvsSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7965,7 +8805,7 @@ func QueryAvailableDvsSpec(ctx context.Context, r soap.RoundTripper, req *types.
type QueryAvailablePartitionBody struct {
Req *types.QueryAvailablePartition `xml:"urn:vim25 QueryAvailablePartition,omitempty"`
- Res *types.QueryAvailablePartitionResponse `xml:"urn:vim25 QueryAvailablePartitionResponse,omitempty"`
+ Res *types.QueryAvailablePartitionResponse `xml:"QueryAvailablePartitionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -7985,7 +8825,7 @@ func QueryAvailablePartition(ctx context.Context, r soap.RoundTripper, req *type
type QueryAvailablePerfMetricBody struct {
Req *types.QueryAvailablePerfMetric `xml:"urn:vim25 QueryAvailablePerfMetric,omitempty"`
- Res *types.QueryAvailablePerfMetricResponse `xml:"urn:vim25 QueryAvailablePerfMetricResponse,omitempty"`
+ Res *types.QueryAvailablePerfMetricResponse `xml:"QueryAvailablePerfMetricResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8005,7 +8845,7 @@ func QueryAvailablePerfMetric(ctx context.Context, r soap.RoundTripper, req *typ
type QueryAvailableSsdsBody struct {
Req *types.QueryAvailableSsds `xml:"urn:vim25 QueryAvailableSsds,omitempty"`
- Res *types.QueryAvailableSsdsResponse `xml:"urn:vim25 QueryAvailableSsdsResponse,omitempty"`
+ Res *types.QueryAvailableSsdsResponse `xml:"QueryAvailableSsdsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8025,7 +8865,7 @@ func QueryAvailableSsds(ctx context.Context, r soap.RoundTripper, req *types.Que
type QueryAvailableTimeZonesBody struct {
Req *types.QueryAvailableTimeZones `xml:"urn:vim25 QueryAvailableTimeZones,omitempty"`
- Res *types.QueryAvailableTimeZonesResponse `xml:"urn:vim25 QueryAvailableTimeZonesResponse,omitempty"`
+ Res *types.QueryAvailableTimeZonesResponse `xml:"QueryAvailableTimeZonesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8045,7 +8885,7 @@ func QueryAvailableTimeZones(ctx context.Context, r soap.RoundTripper, req *type
type QueryBootDevicesBody struct {
Req *types.QueryBootDevices `xml:"urn:vim25 QueryBootDevices,omitempty"`
- Res *types.QueryBootDevicesResponse `xml:"urn:vim25 QueryBootDevicesResponse,omitempty"`
+ Res *types.QueryBootDevicesResponse `xml:"QueryBootDevicesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8065,7 +8905,7 @@ func QueryBootDevices(ctx context.Context, r soap.RoundTripper, req *types.Query
type QueryBoundVnicsBody struct {
Req *types.QueryBoundVnics `xml:"urn:vim25 QueryBoundVnics,omitempty"`
- Res *types.QueryBoundVnicsResponse `xml:"urn:vim25 QueryBoundVnicsResponse,omitempty"`
+ Res *types.QueryBoundVnicsResponse `xml:"QueryBoundVnicsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8085,7 +8925,7 @@ func QueryBoundVnics(ctx context.Context, r soap.RoundTripper, req *types.QueryB
type QueryCandidateNicsBody struct {
Req *types.QueryCandidateNics `xml:"urn:vim25 QueryCandidateNics,omitempty"`
- Res *types.QueryCandidateNicsResponse `xml:"urn:vim25 QueryCandidateNicsResponse,omitempty"`
+ Res *types.QueryCandidateNicsResponse `xml:"QueryCandidateNicsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8105,7 +8945,7 @@ func QueryCandidateNics(ctx context.Context, r soap.RoundTripper, req *types.Que
type QueryChangedDiskAreasBody struct {
Req *types.QueryChangedDiskAreas `xml:"urn:vim25 QueryChangedDiskAreas,omitempty"`
- Res *types.QueryChangedDiskAreasResponse `xml:"urn:vim25 QueryChangedDiskAreasResponse,omitempty"`
+ Res *types.QueryChangedDiskAreasResponse `xml:"QueryChangedDiskAreasResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8125,7 +8965,7 @@ func QueryChangedDiskAreas(ctx context.Context, r soap.RoundTripper, req *types.
type QueryCmmdsBody struct {
Req *types.QueryCmmds `xml:"urn:vim25 QueryCmmds,omitempty"`
- Res *types.QueryCmmdsResponse `xml:"urn:vim25 QueryCmmdsResponse,omitempty"`
+ Res *types.QueryCmmdsResponse `xml:"QueryCmmdsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8145,7 +8985,7 @@ func QueryCmmds(ctx context.Context, r soap.RoundTripper, req *types.QueryCmmds)
type QueryCompatibleHostForExistingDvsBody struct {
Req *types.QueryCompatibleHostForExistingDvs `xml:"urn:vim25 QueryCompatibleHostForExistingDvs,omitempty"`
- Res *types.QueryCompatibleHostForExistingDvsResponse `xml:"urn:vim25 QueryCompatibleHostForExistingDvsResponse,omitempty"`
+ Res *types.QueryCompatibleHostForExistingDvsResponse `xml:"QueryCompatibleHostForExistingDvsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8165,7 +9005,7 @@ func QueryCompatibleHostForExistingDvs(ctx context.Context, r soap.RoundTripper,
type QueryCompatibleHostForNewDvsBody struct {
Req *types.QueryCompatibleHostForNewDvs `xml:"urn:vim25 QueryCompatibleHostForNewDvs,omitempty"`
- Res *types.QueryCompatibleHostForNewDvsResponse `xml:"urn:vim25 QueryCompatibleHostForNewDvsResponse,omitempty"`
+ Res *types.QueryCompatibleHostForNewDvsResponse `xml:"QueryCompatibleHostForNewDvsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8185,7 +9025,7 @@ func QueryCompatibleHostForNewDvs(ctx context.Context, r soap.RoundTripper, req
type QueryComplianceStatusBody struct {
Req *types.QueryComplianceStatus `xml:"urn:vim25 QueryComplianceStatus,omitempty"`
- Res *types.QueryComplianceStatusResponse `xml:"urn:vim25 QueryComplianceStatusResponse,omitempty"`
+ Res *types.QueryComplianceStatusResponse `xml:"QueryComplianceStatusResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8205,7 +9045,7 @@ func QueryComplianceStatus(ctx context.Context, r soap.RoundTripper, req *types.
type QueryConfigOptionBody struct {
Req *types.QueryConfigOption `xml:"urn:vim25 QueryConfigOption,omitempty"`
- Res *types.QueryConfigOptionResponse `xml:"urn:vim25 QueryConfigOptionResponse,omitempty"`
+ Res *types.QueryConfigOptionResponse `xml:"QueryConfigOptionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8225,7 +9065,7 @@ func QueryConfigOption(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryConfigOptionDescriptorBody struct {
Req *types.QueryConfigOptionDescriptor `xml:"urn:vim25 QueryConfigOptionDescriptor,omitempty"`
- Res *types.QueryConfigOptionDescriptorResponse `xml:"urn:vim25 QueryConfigOptionDescriptorResponse,omitempty"`
+ Res *types.QueryConfigOptionDescriptorResponse `xml:"QueryConfigOptionDescriptorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8245,7 +9085,7 @@ func QueryConfigOptionDescriptor(ctx context.Context, r soap.RoundTripper, req *
type QueryConfigOptionExBody struct {
Req *types.QueryConfigOptionEx `xml:"urn:vim25 QueryConfigOptionEx,omitempty"`
- Res *types.QueryConfigOptionExResponse `xml:"urn:vim25 QueryConfigOptionExResponse,omitempty"`
+ Res *types.QueryConfigOptionExResponse `xml:"QueryConfigOptionExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8265,7 +9105,7 @@ func QueryConfigOptionEx(ctx context.Context, r soap.RoundTripper, req *types.Qu
type QueryConfigTargetBody struct {
Req *types.QueryConfigTarget `xml:"urn:vim25 QueryConfigTarget,omitempty"`
- Res *types.QueryConfigTargetResponse `xml:"urn:vim25 QueryConfigTargetResponse,omitempty"`
+ Res *types.QueryConfigTargetResponse `xml:"QueryConfigTargetResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8285,7 +9125,7 @@ func QueryConfigTarget(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryConfiguredModuleOptionStringBody struct {
Req *types.QueryConfiguredModuleOptionString `xml:"urn:vim25 QueryConfiguredModuleOptionString,omitempty"`
- Res *types.QueryConfiguredModuleOptionStringResponse `xml:"urn:vim25 QueryConfiguredModuleOptionStringResponse,omitempty"`
+ Res *types.QueryConfiguredModuleOptionStringResponse `xml:"QueryConfiguredModuleOptionStringResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8305,7 +9145,7 @@ func QueryConfiguredModuleOptionString(ctx context.Context, r soap.RoundTripper,
type QueryConnectionInfoBody struct {
Req *types.QueryConnectionInfo `xml:"urn:vim25 QueryConnectionInfo,omitempty"`
- Res *types.QueryConnectionInfoResponse `xml:"urn:vim25 QueryConnectionInfoResponse,omitempty"`
+ Res *types.QueryConnectionInfoResponse `xml:"QueryConnectionInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8325,7 +9165,7 @@ func QueryConnectionInfo(ctx context.Context, r soap.RoundTripper, req *types.Qu
type QueryConnectionInfoViaSpecBody struct {
Req *types.QueryConnectionInfoViaSpec `xml:"urn:vim25 QueryConnectionInfoViaSpec,omitempty"`
- Res *types.QueryConnectionInfoViaSpecResponse `xml:"urn:vim25 QueryConnectionInfoViaSpecResponse,omitempty"`
+ Res *types.QueryConnectionInfoViaSpecResponse `xml:"QueryConnectionInfoViaSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8343,9 +9183,29 @@ func QueryConnectionInfoViaSpec(ctx context.Context, r soap.RoundTripper, req *t
return resBody.Res, nil
}
+type QueryCryptoKeyStatusBody struct {
+ Req *types.QueryCryptoKeyStatus `xml:"urn:vim25 QueryCryptoKeyStatus,omitempty"`
+ Res *types.QueryCryptoKeyStatusResponse `xml:"QueryCryptoKeyStatusResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *QueryCryptoKeyStatusBody) Fault() *soap.Fault { return b.Fault_ }
+
+func QueryCryptoKeyStatus(ctx context.Context, r soap.RoundTripper, req *types.QueryCryptoKeyStatus) (*types.QueryCryptoKeyStatusResponse, error) {
+ var reqBody, resBody QueryCryptoKeyStatusBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type QueryDatastorePerformanceSummaryBody struct {
Req *types.QueryDatastorePerformanceSummary `xml:"urn:vim25 QueryDatastorePerformanceSummary,omitempty"`
- Res *types.QueryDatastorePerformanceSummaryResponse `xml:"urn:vim25 QueryDatastorePerformanceSummaryResponse,omitempty"`
+ Res *types.QueryDatastorePerformanceSummaryResponse `xml:"QueryDatastorePerformanceSummaryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8365,7 +9225,7 @@ func QueryDatastorePerformanceSummary(ctx context.Context, r soap.RoundTripper,
type QueryDateTimeBody struct {
Req *types.QueryDateTime `xml:"urn:vim25 QueryDateTime,omitempty"`
- Res *types.QueryDateTimeResponse `xml:"urn:vim25 QueryDateTimeResponse,omitempty"`
+ Res *types.QueryDateTimeResponse `xml:"QueryDateTimeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8385,7 +9245,7 @@ func QueryDateTime(ctx context.Context, r soap.RoundTripper, req *types.QueryDat
type QueryDescriptionsBody struct {
Req *types.QueryDescriptions `xml:"urn:vim25 QueryDescriptions,omitempty"`
- Res *types.QueryDescriptionsResponse `xml:"urn:vim25 QueryDescriptionsResponse,omitempty"`
+ Res *types.QueryDescriptionsResponse `xml:"QueryDescriptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8405,7 +9265,7 @@ func QueryDescriptions(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryDisksForVsanBody struct {
Req *types.QueryDisksForVsan `xml:"urn:vim25 QueryDisksForVsan,omitempty"`
- Res *types.QueryDisksForVsanResponse `xml:"urn:vim25 QueryDisksForVsanResponse,omitempty"`
+ Res *types.QueryDisksForVsanResponse `xml:"QueryDisksForVsanResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8425,7 +9285,7 @@ func QueryDisksForVsan(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryDisksUsingFilterBody struct {
Req *types.QueryDisksUsingFilter `xml:"urn:vim25 QueryDisksUsingFilter,omitempty"`
- Res *types.QueryDisksUsingFilterResponse `xml:"urn:vim25 QueryDisksUsingFilterResponse,omitempty"`
+ Res *types.QueryDisksUsingFilterResponse `xml:"QueryDisksUsingFilterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8445,7 +9305,7 @@ func QueryDisksUsingFilter(ctx context.Context, r soap.RoundTripper, req *types.
type QueryDvsByUuidBody struct {
Req *types.QueryDvsByUuid `xml:"urn:vim25 QueryDvsByUuid,omitempty"`
- Res *types.QueryDvsByUuidResponse `xml:"urn:vim25 QueryDvsByUuidResponse,omitempty"`
+ Res *types.QueryDvsByUuidResponse `xml:"QueryDvsByUuidResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8465,7 +9325,7 @@ func QueryDvsByUuid(ctx context.Context, r soap.RoundTripper, req *types.QueryDv
type QueryDvsCheckCompatibilityBody struct {
Req *types.QueryDvsCheckCompatibility `xml:"urn:vim25 QueryDvsCheckCompatibility,omitempty"`
- Res *types.QueryDvsCheckCompatibilityResponse `xml:"urn:vim25 QueryDvsCheckCompatibilityResponse,omitempty"`
+ Res *types.QueryDvsCheckCompatibilityResponse `xml:"QueryDvsCheckCompatibilityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8485,7 +9345,7 @@ func QueryDvsCheckCompatibility(ctx context.Context, r soap.RoundTripper, req *t
type QueryDvsCompatibleHostSpecBody struct {
Req *types.QueryDvsCompatibleHostSpec `xml:"urn:vim25 QueryDvsCompatibleHostSpec,omitempty"`
- Res *types.QueryDvsCompatibleHostSpecResponse `xml:"urn:vim25 QueryDvsCompatibleHostSpecResponse,omitempty"`
+ Res *types.QueryDvsCompatibleHostSpecResponse `xml:"QueryDvsCompatibleHostSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8505,7 +9365,7 @@ func QueryDvsCompatibleHostSpec(ctx context.Context, r soap.RoundTripper, req *t
type QueryDvsConfigTargetBody struct {
Req *types.QueryDvsConfigTarget `xml:"urn:vim25 QueryDvsConfigTarget,omitempty"`
- Res *types.QueryDvsConfigTargetResponse `xml:"urn:vim25 QueryDvsConfigTargetResponse,omitempty"`
+ Res *types.QueryDvsConfigTargetResponse `xml:"QueryDvsConfigTargetResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8525,7 +9385,7 @@ func QueryDvsConfigTarget(ctx context.Context, r soap.RoundTripper, req *types.Q
type QueryDvsFeatureCapabilityBody struct {
Req *types.QueryDvsFeatureCapability `xml:"urn:vim25 QueryDvsFeatureCapability,omitempty"`
- Res *types.QueryDvsFeatureCapabilityResponse `xml:"urn:vim25 QueryDvsFeatureCapabilityResponse,omitempty"`
+ Res *types.QueryDvsFeatureCapabilityResponse `xml:"QueryDvsFeatureCapabilityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8545,7 +9405,7 @@ func QueryDvsFeatureCapability(ctx context.Context, r soap.RoundTripper, req *ty
type QueryEventsBody struct {
Req *types.QueryEvents `xml:"urn:vim25 QueryEvents,omitempty"`
- Res *types.QueryEventsResponse `xml:"urn:vim25 QueryEventsResponse,omitempty"`
+ Res *types.QueryEventsResponse `xml:"QueryEventsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8565,7 +9425,7 @@ func QueryEvents(ctx context.Context, r soap.RoundTripper, req *types.QueryEvent
type QueryExpressionMetadataBody struct {
Req *types.QueryExpressionMetadata `xml:"urn:vim25 QueryExpressionMetadata,omitempty"`
- Res *types.QueryExpressionMetadataResponse `xml:"urn:vim25 QueryExpressionMetadataResponse,omitempty"`
+ Res *types.QueryExpressionMetadataResponse `xml:"QueryExpressionMetadataResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8585,7 +9445,7 @@ func QueryExpressionMetadata(ctx context.Context, r soap.RoundTripper, req *type
type QueryExtensionIpAllocationUsageBody struct {
Req *types.QueryExtensionIpAllocationUsage `xml:"urn:vim25 QueryExtensionIpAllocationUsage,omitempty"`
- Res *types.QueryExtensionIpAllocationUsageResponse `xml:"urn:vim25 QueryExtensionIpAllocationUsageResponse,omitempty"`
+ Res *types.QueryExtensionIpAllocationUsageResponse `xml:"QueryExtensionIpAllocationUsageResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8605,7 +9465,7 @@ func QueryExtensionIpAllocationUsage(ctx context.Context, r soap.RoundTripper, r
type QueryFaultToleranceCompatibilityBody struct {
Req *types.QueryFaultToleranceCompatibility `xml:"urn:vim25 QueryFaultToleranceCompatibility,omitempty"`
- Res *types.QueryFaultToleranceCompatibilityResponse `xml:"urn:vim25 QueryFaultToleranceCompatibilityResponse,omitempty"`
+ Res *types.QueryFaultToleranceCompatibilityResponse `xml:"QueryFaultToleranceCompatibilityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8625,7 +9485,7 @@ func QueryFaultToleranceCompatibility(ctx context.Context, r soap.RoundTripper,
type QueryFaultToleranceCompatibilityExBody struct {
Req *types.QueryFaultToleranceCompatibilityEx `xml:"urn:vim25 QueryFaultToleranceCompatibilityEx,omitempty"`
- Res *types.QueryFaultToleranceCompatibilityExResponse `xml:"urn:vim25 QueryFaultToleranceCompatibilityExResponse,omitempty"`
+ Res *types.QueryFaultToleranceCompatibilityExResponse `xml:"QueryFaultToleranceCompatibilityExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8645,7 +9505,7 @@ func QueryFaultToleranceCompatibilityEx(ctx context.Context, r soap.RoundTripper
type QueryFilterEntitiesBody struct {
Req *types.QueryFilterEntities `xml:"urn:vim25 QueryFilterEntities,omitempty"`
- Res *types.QueryFilterEntitiesResponse `xml:"urn:vim25 QueryFilterEntitiesResponse,omitempty"`
+ Res *types.QueryFilterEntitiesResponse `xml:"QueryFilterEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8665,7 +9525,7 @@ func QueryFilterEntities(ctx context.Context, r soap.RoundTripper, req *types.Qu
type QueryFilterInfoIdsBody struct {
Req *types.QueryFilterInfoIds `xml:"urn:vim25 QueryFilterInfoIds,omitempty"`
- Res *types.QueryFilterInfoIdsResponse `xml:"urn:vim25 QueryFilterInfoIdsResponse,omitempty"`
+ Res *types.QueryFilterInfoIdsResponse `xml:"QueryFilterInfoIdsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8685,7 +9545,7 @@ func QueryFilterInfoIds(ctx context.Context, r soap.RoundTripper, req *types.Que
type QueryFilterListBody struct {
Req *types.QueryFilterList `xml:"urn:vim25 QueryFilterList,omitempty"`
- Res *types.QueryFilterListResponse `xml:"urn:vim25 QueryFilterListResponse,omitempty"`
+ Res *types.QueryFilterListResponse `xml:"QueryFilterListResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8705,7 +9565,7 @@ func QueryFilterList(ctx context.Context, r soap.RoundTripper, req *types.QueryF
type QueryFilterNameBody struct {
Req *types.QueryFilterName `xml:"urn:vim25 QueryFilterName,omitempty"`
- Res *types.QueryFilterNameResponse `xml:"urn:vim25 QueryFilterNameResponse,omitempty"`
+ Res *types.QueryFilterNameResponse `xml:"QueryFilterNameResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8725,7 +9585,7 @@ func QueryFilterName(ctx context.Context, r soap.RoundTripper, req *types.QueryF
type QueryFirmwareConfigUploadURLBody struct {
Req *types.QueryFirmwareConfigUploadURL `xml:"urn:vim25 QueryFirmwareConfigUploadURL,omitempty"`
- Res *types.QueryFirmwareConfigUploadURLResponse `xml:"urn:vim25 QueryFirmwareConfigUploadURLResponse,omitempty"`
+ Res *types.QueryFirmwareConfigUploadURLResponse `xml:"QueryFirmwareConfigUploadURLResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8745,7 +9605,7 @@ func QueryFirmwareConfigUploadURL(ctx context.Context, r soap.RoundTripper, req
type QueryHealthUpdateInfosBody struct {
Req *types.QueryHealthUpdateInfos `xml:"urn:vim25 QueryHealthUpdateInfos,omitempty"`
- Res *types.QueryHealthUpdateInfosResponse `xml:"urn:vim25 QueryHealthUpdateInfosResponse,omitempty"`
+ Res *types.QueryHealthUpdateInfosResponse `xml:"QueryHealthUpdateInfosResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8765,7 +9625,7 @@ func QueryHealthUpdateInfos(ctx context.Context, r soap.RoundTripper, req *types
type QueryHealthUpdatesBody struct {
Req *types.QueryHealthUpdates `xml:"urn:vim25 QueryHealthUpdates,omitempty"`
- Res *types.QueryHealthUpdatesResponse `xml:"urn:vim25 QueryHealthUpdatesResponse,omitempty"`
+ Res *types.QueryHealthUpdatesResponse `xml:"QueryHealthUpdatesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8785,7 +9645,7 @@ func QueryHealthUpdates(ctx context.Context, r soap.RoundTripper, req *types.Que
type QueryHostConnectionInfoBody struct {
Req *types.QueryHostConnectionInfo `xml:"urn:vim25 QueryHostConnectionInfo,omitempty"`
- Res *types.QueryHostConnectionInfoResponse `xml:"urn:vim25 QueryHostConnectionInfoResponse,omitempty"`
+ Res *types.QueryHostConnectionInfoResponse `xml:"QueryHostConnectionInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8805,7 +9665,7 @@ func QueryHostConnectionInfo(ctx context.Context, r soap.RoundTripper, req *type
type QueryHostPatch_TaskBody struct {
Req *types.QueryHostPatch_Task `xml:"urn:vim25 QueryHostPatch_Task,omitempty"`
- Res *types.QueryHostPatch_TaskResponse `xml:"urn:vim25 QueryHostPatch_TaskResponse,omitempty"`
+ Res *types.QueryHostPatch_TaskResponse `xml:"QueryHostPatch_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8825,7 +9685,7 @@ func QueryHostPatch_Task(ctx context.Context, r soap.RoundTripper, req *types.Qu
type QueryHostProfileMetadataBody struct {
Req *types.QueryHostProfileMetadata `xml:"urn:vim25 QueryHostProfileMetadata,omitempty"`
- Res *types.QueryHostProfileMetadataResponse `xml:"urn:vim25 QueryHostProfileMetadataResponse,omitempty"`
+ Res *types.QueryHostProfileMetadataResponse `xml:"QueryHostProfileMetadataResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8845,7 +9705,7 @@ func QueryHostProfileMetadata(ctx context.Context, r soap.RoundTripper, req *typ
type QueryHostStatusBody struct {
Req *types.QueryHostStatus `xml:"urn:vim25 QueryHostStatus,omitempty"`
- Res *types.QueryHostStatusResponse `xml:"urn:vim25 QueryHostStatusResponse,omitempty"`
+ Res *types.QueryHostStatusResponse `xml:"QueryHostStatusResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8863,9 +9723,29 @@ func QueryHostStatus(ctx context.Context, r soap.RoundTripper, req *types.QueryH
return resBody.Res, nil
}
+type QueryHostsWithAttachedLunBody struct {
+ Req *types.QueryHostsWithAttachedLun `xml:"urn:vim25 QueryHostsWithAttachedLun,omitempty"`
+ Res *types.QueryHostsWithAttachedLunResponse `xml:"QueryHostsWithAttachedLunResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *QueryHostsWithAttachedLunBody) Fault() *soap.Fault { return b.Fault_ }
+
+func QueryHostsWithAttachedLun(ctx context.Context, r soap.RoundTripper, req *types.QueryHostsWithAttachedLun) (*types.QueryHostsWithAttachedLunResponse, error) {
+ var reqBody, resBody QueryHostsWithAttachedLunBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type QueryIORMConfigOptionBody struct {
Req *types.QueryIORMConfigOption `xml:"urn:vim25 QueryIORMConfigOption,omitempty"`
- Res *types.QueryIORMConfigOptionResponse `xml:"urn:vim25 QueryIORMConfigOptionResponse,omitempty"`
+ Res *types.QueryIORMConfigOptionResponse `xml:"QueryIORMConfigOptionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8885,7 +9765,7 @@ func QueryIORMConfigOption(ctx context.Context, r soap.RoundTripper, req *types.
type QueryIPAllocationsBody struct {
Req *types.QueryIPAllocations `xml:"urn:vim25 QueryIPAllocations,omitempty"`
- Res *types.QueryIPAllocationsResponse `xml:"urn:vim25 QueryIPAllocationsResponse,omitempty"`
+ Res *types.QueryIPAllocationsResponse `xml:"QueryIPAllocationsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8905,7 +9785,7 @@ func QueryIPAllocations(ctx context.Context, r soap.RoundTripper, req *types.Que
type QueryIoFilterInfoBody struct {
Req *types.QueryIoFilterInfo `xml:"urn:vim25 QueryIoFilterInfo,omitempty"`
- Res *types.QueryIoFilterInfoResponse `xml:"urn:vim25 QueryIoFilterInfoResponse,omitempty"`
+ Res *types.QueryIoFilterInfoResponse `xml:"QueryIoFilterInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8925,7 +9805,7 @@ func QueryIoFilterInfo(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryIoFilterIssuesBody struct {
Req *types.QueryIoFilterIssues `xml:"urn:vim25 QueryIoFilterIssues,omitempty"`
- Res *types.QueryIoFilterIssuesResponse `xml:"urn:vim25 QueryIoFilterIssuesResponse,omitempty"`
+ Res *types.QueryIoFilterIssuesResponse `xml:"QueryIoFilterIssuesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8945,7 +9825,7 @@ func QueryIoFilterIssues(ctx context.Context, r soap.RoundTripper, req *types.Qu
type QueryIpPoolsBody struct {
Req *types.QueryIpPools `xml:"urn:vim25 QueryIpPools,omitempty"`
- Res *types.QueryIpPoolsResponse `xml:"urn:vim25 QueryIpPoolsResponse,omitempty"`
+ Res *types.QueryIpPoolsResponse `xml:"QueryIpPoolsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8965,7 +9845,7 @@ func QueryIpPools(ctx context.Context, r soap.RoundTripper, req *types.QueryIpPo
type QueryLicenseSourceAvailabilityBody struct {
Req *types.QueryLicenseSourceAvailability `xml:"urn:vim25 QueryLicenseSourceAvailability,omitempty"`
- Res *types.QueryLicenseSourceAvailabilityResponse `xml:"urn:vim25 QueryLicenseSourceAvailabilityResponse,omitempty"`
+ Res *types.QueryLicenseSourceAvailabilityResponse `xml:"QueryLicenseSourceAvailabilityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -8985,7 +9865,7 @@ func QueryLicenseSourceAvailability(ctx context.Context, r soap.RoundTripper, re
type QueryLicenseUsageBody struct {
Req *types.QueryLicenseUsage `xml:"urn:vim25 QueryLicenseUsage,omitempty"`
- Res *types.QueryLicenseUsageResponse `xml:"urn:vim25 QueryLicenseUsageResponse,omitempty"`
+ Res *types.QueryLicenseUsageResponse `xml:"QueryLicenseUsageResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9005,7 +9885,7 @@ func QueryLicenseUsage(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryLockdownExceptionsBody struct {
Req *types.QueryLockdownExceptions `xml:"urn:vim25 QueryLockdownExceptions,omitempty"`
- Res *types.QueryLockdownExceptionsResponse `xml:"urn:vim25 QueryLockdownExceptionsResponse,omitempty"`
+ Res *types.QueryLockdownExceptionsResponse `xml:"QueryLockdownExceptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9025,7 +9905,7 @@ func QueryLockdownExceptions(ctx context.Context, r soap.RoundTripper, req *type
type QueryManagedByBody struct {
Req *types.QueryManagedBy `xml:"urn:vim25 QueryManagedBy,omitempty"`
- Res *types.QueryManagedByResponse `xml:"urn:vim25 QueryManagedByResponse,omitempty"`
+ Res *types.QueryManagedByResponse `xml:"QueryManagedByResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9045,7 +9925,7 @@ func QueryManagedBy(ctx context.Context, r soap.RoundTripper, req *types.QueryMa
type QueryMemoryOverheadBody struct {
Req *types.QueryMemoryOverhead `xml:"urn:vim25 QueryMemoryOverhead,omitempty"`
- Res *types.QueryMemoryOverheadResponse `xml:"urn:vim25 QueryMemoryOverheadResponse,omitempty"`
+ Res *types.QueryMemoryOverheadResponse `xml:"QueryMemoryOverheadResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9065,7 +9945,7 @@ func QueryMemoryOverhead(ctx context.Context, r soap.RoundTripper, req *types.Qu
type QueryMemoryOverheadExBody struct {
Req *types.QueryMemoryOverheadEx `xml:"urn:vim25 QueryMemoryOverheadEx,omitempty"`
- Res *types.QueryMemoryOverheadExResponse `xml:"urn:vim25 QueryMemoryOverheadExResponse,omitempty"`
+ Res *types.QueryMemoryOverheadExResponse `xml:"QueryMemoryOverheadExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9085,7 +9965,7 @@ func QueryMemoryOverheadEx(ctx context.Context, r soap.RoundTripper, req *types.
type QueryMigrationDependenciesBody struct {
Req *types.QueryMigrationDependencies `xml:"urn:vim25 QueryMigrationDependencies,omitempty"`
- Res *types.QueryMigrationDependenciesResponse `xml:"urn:vim25 QueryMigrationDependenciesResponse,omitempty"`
+ Res *types.QueryMigrationDependenciesResponse `xml:"QueryMigrationDependenciesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9105,7 +9985,7 @@ func QueryMigrationDependencies(ctx context.Context, r soap.RoundTripper, req *t
type QueryModulesBody struct {
Req *types.QueryModules `xml:"urn:vim25 QueryModules,omitempty"`
- Res *types.QueryModulesResponse `xml:"urn:vim25 QueryModulesResponse,omitempty"`
+ Res *types.QueryModulesResponse `xml:"QueryModulesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9125,7 +10005,7 @@ func QueryModules(ctx context.Context, r soap.RoundTripper, req *types.QueryModu
type QueryMonitoredEntitiesBody struct {
Req *types.QueryMonitoredEntities `xml:"urn:vim25 QueryMonitoredEntities,omitempty"`
- Res *types.QueryMonitoredEntitiesResponse `xml:"urn:vim25 QueryMonitoredEntitiesResponse,omitempty"`
+ Res *types.QueryMonitoredEntitiesResponse `xml:"QueryMonitoredEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9145,7 +10025,7 @@ func QueryMonitoredEntities(ctx context.Context, r soap.RoundTripper, req *types
type QueryNFSUserBody struct {
Req *types.QueryNFSUser `xml:"urn:vim25 QueryNFSUser,omitempty"`
- Res *types.QueryNFSUserResponse `xml:"urn:vim25 QueryNFSUserResponse,omitempty"`
+ Res *types.QueryNFSUserResponse `xml:"QueryNFSUserResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9165,7 +10045,7 @@ func QueryNFSUser(ctx context.Context, r soap.RoundTripper, req *types.QueryNFSU
type QueryNetConfigBody struct {
Req *types.QueryNetConfig `xml:"urn:vim25 QueryNetConfig,omitempty"`
- Res *types.QueryNetConfigResponse `xml:"urn:vim25 QueryNetConfigResponse,omitempty"`
+ Res *types.QueryNetConfigResponse `xml:"QueryNetConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9185,7 +10065,7 @@ func QueryNetConfig(ctx context.Context, r soap.RoundTripper, req *types.QueryNe
type QueryNetworkHintBody struct {
Req *types.QueryNetworkHint `xml:"urn:vim25 QueryNetworkHint,omitempty"`
- Res *types.QueryNetworkHintResponse `xml:"urn:vim25 QueryNetworkHintResponse,omitempty"`
+ Res *types.QueryNetworkHintResponse `xml:"QueryNetworkHintResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9205,7 +10085,7 @@ func QueryNetworkHint(ctx context.Context, r soap.RoundTripper, req *types.Query
type QueryObjectsOnPhysicalVsanDiskBody struct {
Req *types.QueryObjectsOnPhysicalVsanDisk `xml:"urn:vim25 QueryObjectsOnPhysicalVsanDisk,omitempty"`
- Res *types.QueryObjectsOnPhysicalVsanDiskResponse `xml:"urn:vim25 QueryObjectsOnPhysicalVsanDiskResponse,omitempty"`
+ Res *types.QueryObjectsOnPhysicalVsanDiskResponse `xml:"QueryObjectsOnPhysicalVsanDiskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9225,7 +10105,7 @@ func QueryObjectsOnPhysicalVsanDisk(ctx context.Context, r soap.RoundTripper, re
type QueryOptionsBody struct {
Req *types.QueryOptions `xml:"urn:vim25 QueryOptions,omitempty"`
- Res *types.QueryOptionsResponse `xml:"urn:vim25 QueryOptionsResponse,omitempty"`
+ Res *types.QueryOptionsResponse `xml:"QueryOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9245,7 +10125,7 @@ func QueryOptions(ctx context.Context, r soap.RoundTripper, req *types.QueryOpti
type QueryPartitionCreateDescBody struct {
Req *types.QueryPartitionCreateDesc `xml:"urn:vim25 QueryPartitionCreateDesc,omitempty"`
- Res *types.QueryPartitionCreateDescResponse `xml:"urn:vim25 QueryPartitionCreateDescResponse,omitempty"`
+ Res *types.QueryPartitionCreateDescResponse `xml:"QueryPartitionCreateDescResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9265,7 +10145,7 @@ func QueryPartitionCreateDesc(ctx context.Context, r soap.RoundTripper, req *typ
type QueryPartitionCreateOptionsBody struct {
Req *types.QueryPartitionCreateOptions `xml:"urn:vim25 QueryPartitionCreateOptions,omitempty"`
- Res *types.QueryPartitionCreateOptionsResponse `xml:"urn:vim25 QueryPartitionCreateOptionsResponse,omitempty"`
+ Res *types.QueryPartitionCreateOptionsResponse `xml:"QueryPartitionCreateOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9285,7 +10165,7 @@ func QueryPartitionCreateOptions(ctx context.Context, r soap.RoundTripper, req *
type QueryPathSelectionPolicyOptionsBody struct {
Req *types.QueryPathSelectionPolicyOptions `xml:"urn:vim25 QueryPathSelectionPolicyOptions,omitempty"`
- Res *types.QueryPathSelectionPolicyOptionsResponse `xml:"urn:vim25 QueryPathSelectionPolicyOptionsResponse,omitempty"`
+ Res *types.QueryPathSelectionPolicyOptionsResponse `xml:"QueryPathSelectionPolicyOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9305,7 +10185,7 @@ func QueryPathSelectionPolicyOptions(ctx context.Context, r soap.RoundTripper, r
type QueryPerfBody struct {
Req *types.QueryPerf `xml:"urn:vim25 QueryPerf,omitempty"`
- Res *types.QueryPerfResponse `xml:"urn:vim25 QueryPerfResponse,omitempty"`
+ Res *types.QueryPerfResponse `xml:"QueryPerfResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9325,7 +10205,7 @@ func QueryPerf(ctx context.Context, r soap.RoundTripper, req *types.QueryPerf) (
type QueryPerfCompositeBody struct {
Req *types.QueryPerfComposite `xml:"urn:vim25 QueryPerfComposite,omitempty"`
- Res *types.QueryPerfCompositeResponse `xml:"urn:vim25 QueryPerfCompositeResponse,omitempty"`
+ Res *types.QueryPerfCompositeResponse `xml:"QueryPerfCompositeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9345,7 +10225,7 @@ func QueryPerfComposite(ctx context.Context, r soap.RoundTripper, req *types.Que
type QueryPerfCounterBody struct {
Req *types.QueryPerfCounter `xml:"urn:vim25 QueryPerfCounter,omitempty"`
- Res *types.QueryPerfCounterResponse `xml:"urn:vim25 QueryPerfCounterResponse,omitempty"`
+ Res *types.QueryPerfCounterResponse `xml:"QueryPerfCounterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9365,7 +10245,7 @@ func QueryPerfCounter(ctx context.Context, r soap.RoundTripper, req *types.Query
type QueryPerfCounterByLevelBody struct {
Req *types.QueryPerfCounterByLevel `xml:"urn:vim25 QueryPerfCounterByLevel,omitempty"`
- Res *types.QueryPerfCounterByLevelResponse `xml:"urn:vim25 QueryPerfCounterByLevelResponse,omitempty"`
+ Res *types.QueryPerfCounterByLevelResponse `xml:"QueryPerfCounterByLevelResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9385,7 +10265,7 @@ func QueryPerfCounterByLevel(ctx context.Context, r soap.RoundTripper, req *type
type QueryPerfProviderSummaryBody struct {
Req *types.QueryPerfProviderSummary `xml:"urn:vim25 QueryPerfProviderSummary,omitempty"`
- Res *types.QueryPerfProviderSummaryResponse `xml:"urn:vim25 QueryPerfProviderSummaryResponse,omitempty"`
+ Res *types.QueryPerfProviderSummaryResponse `xml:"QueryPerfProviderSummaryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9405,7 +10285,7 @@ func QueryPerfProviderSummary(ctx context.Context, r soap.RoundTripper, req *typ
type QueryPhysicalVsanDisksBody struct {
Req *types.QueryPhysicalVsanDisks `xml:"urn:vim25 QueryPhysicalVsanDisks,omitempty"`
- Res *types.QueryPhysicalVsanDisksResponse `xml:"urn:vim25 QueryPhysicalVsanDisksResponse,omitempty"`
+ Res *types.QueryPhysicalVsanDisksResponse `xml:"QueryPhysicalVsanDisksResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9425,7 +10305,7 @@ func QueryPhysicalVsanDisks(ctx context.Context, r soap.RoundTripper, req *types
type QueryPnicStatusBody struct {
Req *types.QueryPnicStatus `xml:"urn:vim25 QueryPnicStatus,omitempty"`
- Res *types.QueryPnicStatusResponse `xml:"urn:vim25 QueryPnicStatusResponse,omitempty"`
+ Res *types.QueryPnicStatusResponse `xml:"QueryPnicStatusResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9445,7 +10325,7 @@ func QueryPnicStatus(ctx context.Context, r soap.RoundTripper, req *types.QueryP
type QueryPolicyMetadataBody struct {
Req *types.QueryPolicyMetadata `xml:"urn:vim25 QueryPolicyMetadata,omitempty"`
- Res *types.QueryPolicyMetadataResponse `xml:"urn:vim25 QueryPolicyMetadataResponse,omitempty"`
+ Res *types.QueryPolicyMetadataResponse `xml:"QueryPolicyMetadataResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9463,9 +10343,29 @@ func QueryPolicyMetadata(ctx context.Context, r soap.RoundTripper, req *types.Qu
return resBody.Res, nil
}
+type QueryProductLockerLocationBody struct {
+ Req *types.QueryProductLockerLocation `xml:"urn:vim25 QueryProductLockerLocation,omitempty"`
+ Res *types.QueryProductLockerLocationResponse `xml:"QueryProductLockerLocationResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *QueryProductLockerLocationBody) Fault() *soap.Fault { return b.Fault_ }
+
+func QueryProductLockerLocation(ctx context.Context, r soap.RoundTripper, req *types.QueryProductLockerLocation) (*types.QueryProductLockerLocationResponse, error) {
+ var reqBody, resBody QueryProductLockerLocationBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type QueryProfileStructureBody struct {
Req *types.QueryProfileStructure `xml:"urn:vim25 QueryProfileStructure,omitempty"`
- Res *types.QueryProfileStructureResponse `xml:"urn:vim25 QueryProfileStructureResponse,omitempty"`
+ Res *types.QueryProfileStructureResponse `xml:"QueryProfileStructureResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9485,7 +10385,7 @@ func QueryProfileStructure(ctx context.Context, r soap.RoundTripper, req *types.
type QueryProviderListBody struct {
Req *types.QueryProviderList `xml:"urn:vim25 QueryProviderList,omitempty"`
- Res *types.QueryProviderListResponse `xml:"urn:vim25 QueryProviderListResponse,omitempty"`
+ Res *types.QueryProviderListResponse `xml:"QueryProviderListResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9505,7 +10405,7 @@ func QueryProviderList(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryProviderNameBody struct {
Req *types.QueryProviderName `xml:"urn:vim25 QueryProviderName,omitempty"`
- Res *types.QueryProviderNameResponse `xml:"urn:vim25 QueryProviderNameResponse,omitempty"`
+ Res *types.QueryProviderNameResponse `xml:"QueryProviderNameResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9525,7 +10425,7 @@ func QueryProviderName(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryResourceConfigOptionBody struct {
Req *types.QueryResourceConfigOption `xml:"urn:vim25 QueryResourceConfigOption,omitempty"`
- Res *types.QueryResourceConfigOptionResponse `xml:"urn:vim25 QueryResourceConfigOptionResponse,omitempty"`
+ Res *types.QueryResourceConfigOptionResponse `xml:"QueryResourceConfigOptionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9545,7 +10445,7 @@ func QueryResourceConfigOption(ctx context.Context, r soap.RoundTripper, req *ty
type QueryServiceListBody struct {
Req *types.QueryServiceList `xml:"urn:vim25 QueryServiceList,omitempty"`
- Res *types.QueryServiceListResponse `xml:"urn:vim25 QueryServiceListResponse,omitempty"`
+ Res *types.QueryServiceListResponse `xml:"QueryServiceListResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9565,7 +10465,7 @@ func QueryServiceList(ctx context.Context, r soap.RoundTripper, req *types.Query
type QueryStorageArrayTypePolicyOptionsBody struct {
Req *types.QueryStorageArrayTypePolicyOptions `xml:"urn:vim25 QueryStorageArrayTypePolicyOptions,omitempty"`
- Res *types.QueryStorageArrayTypePolicyOptionsResponse `xml:"urn:vim25 QueryStorageArrayTypePolicyOptionsResponse,omitempty"`
+ Res *types.QueryStorageArrayTypePolicyOptionsResponse `xml:"QueryStorageArrayTypePolicyOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9585,7 +10485,7 @@ func QueryStorageArrayTypePolicyOptions(ctx context.Context, r soap.RoundTripper
type QuerySupportedFeaturesBody struct {
Req *types.QuerySupportedFeatures `xml:"urn:vim25 QuerySupportedFeatures,omitempty"`
- Res *types.QuerySupportedFeaturesResponse `xml:"urn:vim25 QuerySupportedFeaturesResponse,omitempty"`
+ Res *types.QuerySupportedFeaturesResponse `xml:"QuerySupportedFeaturesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9605,7 +10505,7 @@ func QuerySupportedFeatures(ctx context.Context, r soap.RoundTripper, req *types
type QuerySyncingVsanObjectsBody struct {
Req *types.QuerySyncingVsanObjects `xml:"urn:vim25 QuerySyncingVsanObjects,omitempty"`
- Res *types.QuerySyncingVsanObjectsResponse `xml:"urn:vim25 QuerySyncingVsanObjectsResponse,omitempty"`
+ Res *types.QuerySyncingVsanObjectsResponse `xml:"QuerySyncingVsanObjectsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9625,7 +10525,7 @@ func QuerySyncingVsanObjects(ctx context.Context, r soap.RoundTripper, req *type
type QuerySystemUsersBody struct {
Req *types.QuerySystemUsers `xml:"urn:vim25 QuerySystemUsers,omitempty"`
- Res *types.QuerySystemUsersResponse `xml:"urn:vim25 QuerySystemUsersResponse,omitempty"`
+ Res *types.QuerySystemUsersResponse `xml:"QuerySystemUsersResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9645,7 +10545,7 @@ func QuerySystemUsers(ctx context.Context, r soap.RoundTripper, req *types.Query
type QueryTargetCapabilitiesBody struct {
Req *types.QueryTargetCapabilities `xml:"urn:vim25 QueryTargetCapabilities,omitempty"`
- Res *types.QueryTargetCapabilitiesResponse `xml:"urn:vim25 QueryTargetCapabilitiesResponse,omitempty"`
+ Res *types.QueryTargetCapabilitiesResponse `xml:"QueryTargetCapabilitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9665,7 +10565,7 @@ func QueryTargetCapabilities(ctx context.Context, r soap.RoundTripper, req *type
type QueryTpmAttestationReportBody struct {
Req *types.QueryTpmAttestationReport `xml:"urn:vim25 QueryTpmAttestationReport,omitempty"`
- Res *types.QueryTpmAttestationReportResponse `xml:"urn:vim25 QueryTpmAttestationReportResponse,omitempty"`
+ Res *types.QueryTpmAttestationReportResponse `xml:"QueryTpmAttestationReportResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9685,7 +10585,7 @@ func QueryTpmAttestationReport(ctx context.Context, r soap.RoundTripper, req *ty
type QueryUnmonitoredHostsBody struct {
Req *types.QueryUnmonitoredHosts `xml:"urn:vim25 QueryUnmonitoredHosts,omitempty"`
- Res *types.QueryUnmonitoredHostsResponse `xml:"urn:vim25 QueryUnmonitoredHostsResponse,omitempty"`
+ Res *types.QueryUnmonitoredHostsResponse `xml:"QueryUnmonitoredHostsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9705,7 +10605,7 @@ func QueryUnmonitoredHosts(ctx context.Context, r soap.RoundTripper, req *types.
type QueryUnownedFilesBody struct {
Req *types.QueryUnownedFiles `xml:"urn:vim25 QueryUnownedFiles,omitempty"`
- Res *types.QueryUnownedFilesResponse `xml:"urn:vim25 QueryUnownedFilesResponse,omitempty"`
+ Res *types.QueryUnownedFilesResponse `xml:"QueryUnownedFilesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9725,7 +10625,7 @@ func QueryUnownedFiles(ctx context.Context, r soap.RoundTripper, req *types.Quer
type QueryUnresolvedVmfsVolumeBody struct {
Req *types.QueryUnresolvedVmfsVolume `xml:"urn:vim25 QueryUnresolvedVmfsVolume,omitempty"`
- Res *types.QueryUnresolvedVmfsVolumeResponse `xml:"urn:vim25 QueryUnresolvedVmfsVolumeResponse,omitempty"`
+ Res *types.QueryUnresolvedVmfsVolumeResponse `xml:"QueryUnresolvedVmfsVolumeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9745,7 +10645,7 @@ func QueryUnresolvedVmfsVolume(ctx context.Context, r soap.RoundTripper, req *ty
type QueryUnresolvedVmfsVolumesBody struct {
Req *types.QueryUnresolvedVmfsVolumes `xml:"urn:vim25 QueryUnresolvedVmfsVolumes,omitempty"`
- Res *types.QueryUnresolvedVmfsVolumesResponse `xml:"urn:vim25 QueryUnresolvedVmfsVolumesResponse,omitempty"`
+ Res *types.QueryUnresolvedVmfsVolumesResponse `xml:"QueryUnresolvedVmfsVolumesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9765,7 +10665,7 @@ func QueryUnresolvedVmfsVolumes(ctx context.Context, r soap.RoundTripper, req *t
type QueryUsedVlanIdInDvsBody struct {
Req *types.QueryUsedVlanIdInDvs `xml:"urn:vim25 QueryUsedVlanIdInDvs,omitempty"`
- Res *types.QueryUsedVlanIdInDvsResponse `xml:"urn:vim25 QueryUsedVlanIdInDvsResponse,omitempty"`
+ Res *types.QueryUsedVlanIdInDvsResponse `xml:"QueryUsedVlanIdInDvsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9785,7 +10685,7 @@ func QueryUsedVlanIdInDvs(ctx context.Context, r soap.RoundTripper, req *types.Q
type QueryVMotionCompatibilityBody struct {
Req *types.QueryVMotionCompatibility `xml:"urn:vim25 QueryVMotionCompatibility,omitempty"`
- Res *types.QueryVMotionCompatibilityResponse `xml:"urn:vim25 QueryVMotionCompatibilityResponse,omitempty"`
+ Res *types.QueryVMotionCompatibilityResponse `xml:"QueryVMotionCompatibilityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9805,7 +10705,7 @@ func QueryVMotionCompatibility(ctx context.Context, r soap.RoundTripper, req *ty
type QueryVMotionCompatibilityEx_TaskBody struct {
Req *types.QueryVMotionCompatibilityEx_Task `xml:"urn:vim25 QueryVMotionCompatibilityEx_Task,omitempty"`
- Res *types.QueryVMotionCompatibilityEx_TaskResponse `xml:"urn:vim25 QueryVMotionCompatibilityEx_TaskResponse,omitempty"`
+ Res *types.QueryVMotionCompatibilityEx_TaskResponse `xml:"QueryVMotionCompatibilityEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9825,7 +10725,7 @@ func QueryVMotionCompatibilityEx_Task(ctx context.Context, r soap.RoundTripper,
type QueryVirtualDiskFragmentationBody struct {
Req *types.QueryVirtualDiskFragmentation `xml:"urn:vim25 QueryVirtualDiskFragmentation,omitempty"`
- Res *types.QueryVirtualDiskFragmentationResponse `xml:"urn:vim25 QueryVirtualDiskFragmentationResponse,omitempty"`
+ Res *types.QueryVirtualDiskFragmentationResponse `xml:"QueryVirtualDiskFragmentationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9845,7 +10745,7 @@ func QueryVirtualDiskFragmentation(ctx context.Context, r soap.RoundTripper, req
type QueryVirtualDiskGeometryBody struct {
Req *types.QueryVirtualDiskGeometry `xml:"urn:vim25 QueryVirtualDiskGeometry,omitempty"`
- Res *types.QueryVirtualDiskGeometryResponse `xml:"urn:vim25 QueryVirtualDiskGeometryResponse,omitempty"`
+ Res *types.QueryVirtualDiskGeometryResponse `xml:"QueryVirtualDiskGeometryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9865,7 +10765,7 @@ func QueryVirtualDiskGeometry(ctx context.Context, r soap.RoundTripper, req *typ
type QueryVirtualDiskUuidBody struct {
Req *types.QueryVirtualDiskUuid `xml:"urn:vim25 QueryVirtualDiskUuid,omitempty"`
- Res *types.QueryVirtualDiskUuidResponse `xml:"urn:vim25 QueryVirtualDiskUuidResponse,omitempty"`
+ Res *types.QueryVirtualDiskUuidResponse `xml:"QueryVirtualDiskUuidResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9885,7 +10785,7 @@ func QueryVirtualDiskUuid(ctx context.Context, r soap.RoundTripper, req *types.Q
type QueryVmfsConfigOptionBody struct {
Req *types.QueryVmfsConfigOption `xml:"urn:vim25 QueryVmfsConfigOption,omitempty"`
- Res *types.QueryVmfsConfigOptionResponse `xml:"urn:vim25 QueryVmfsConfigOptionResponse,omitempty"`
+ Res *types.QueryVmfsConfigOptionResponse `xml:"QueryVmfsConfigOptionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9905,7 +10805,7 @@ func QueryVmfsConfigOption(ctx context.Context, r soap.RoundTripper, req *types.
type QueryVmfsDatastoreCreateOptionsBody struct {
Req *types.QueryVmfsDatastoreCreateOptions `xml:"urn:vim25 QueryVmfsDatastoreCreateOptions,omitempty"`
- Res *types.QueryVmfsDatastoreCreateOptionsResponse `xml:"urn:vim25 QueryVmfsDatastoreCreateOptionsResponse,omitempty"`
+ Res *types.QueryVmfsDatastoreCreateOptionsResponse `xml:"QueryVmfsDatastoreCreateOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9925,7 +10825,7 @@ func QueryVmfsDatastoreCreateOptions(ctx context.Context, r soap.RoundTripper, r
type QueryVmfsDatastoreExpandOptionsBody struct {
Req *types.QueryVmfsDatastoreExpandOptions `xml:"urn:vim25 QueryVmfsDatastoreExpandOptions,omitempty"`
- Res *types.QueryVmfsDatastoreExpandOptionsResponse `xml:"urn:vim25 QueryVmfsDatastoreExpandOptionsResponse,omitempty"`
+ Res *types.QueryVmfsDatastoreExpandOptionsResponse `xml:"QueryVmfsDatastoreExpandOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9945,7 +10845,7 @@ func QueryVmfsDatastoreExpandOptions(ctx context.Context, r soap.RoundTripper, r
type QueryVmfsDatastoreExtendOptionsBody struct {
Req *types.QueryVmfsDatastoreExtendOptions `xml:"urn:vim25 QueryVmfsDatastoreExtendOptions,omitempty"`
- Res *types.QueryVmfsDatastoreExtendOptionsResponse `xml:"urn:vim25 QueryVmfsDatastoreExtendOptionsResponse,omitempty"`
+ Res *types.QueryVmfsDatastoreExtendOptionsResponse `xml:"QueryVmfsDatastoreExtendOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9965,7 +10865,7 @@ func QueryVmfsDatastoreExtendOptions(ctx context.Context, r soap.RoundTripper, r
type QueryVnicStatusBody struct {
Req *types.QueryVnicStatus `xml:"urn:vim25 QueryVnicStatus,omitempty"`
- Res *types.QueryVnicStatusResponse `xml:"urn:vim25 QueryVnicStatusResponse,omitempty"`
+ Res *types.QueryVnicStatusResponse `xml:"QueryVnicStatusResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -9985,7 +10885,7 @@ func QueryVnicStatus(ctx context.Context, r soap.RoundTripper, req *types.QueryV
type QueryVsanObjectUuidsByFilterBody struct {
Req *types.QueryVsanObjectUuidsByFilter `xml:"urn:vim25 QueryVsanObjectUuidsByFilter,omitempty"`
- Res *types.QueryVsanObjectUuidsByFilterResponse `xml:"urn:vim25 QueryVsanObjectUuidsByFilterResponse,omitempty"`
+ Res *types.QueryVsanObjectUuidsByFilterResponse `xml:"QueryVsanObjectUuidsByFilterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10005,7 +10905,7 @@ func QueryVsanObjectUuidsByFilter(ctx context.Context, r soap.RoundTripper, req
type QueryVsanObjectsBody struct {
Req *types.QueryVsanObjects `xml:"urn:vim25 QueryVsanObjects,omitempty"`
- Res *types.QueryVsanObjectsResponse `xml:"urn:vim25 QueryVsanObjectsResponse,omitempty"`
+ Res *types.QueryVsanObjectsResponse `xml:"QueryVsanObjectsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10025,7 +10925,7 @@ func QueryVsanObjects(ctx context.Context, r soap.RoundTripper, req *types.Query
type QueryVsanStatisticsBody struct {
Req *types.QueryVsanStatistics `xml:"urn:vim25 QueryVsanStatistics,omitempty"`
- Res *types.QueryVsanStatisticsResponse `xml:"urn:vim25 QueryVsanStatisticsResponse,omitempty"`
+ Res *types.QueryVsanStatisticsResponse `xml:"QueryVsanStatisticsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10045,7 +10945,7 @@ func QueryVsanStatistics(ctx context.Context, r soap.RoundTripper, req *types.Qu
type QueryVsanUpgradeStatusBody struct {
Req *types.QueryVsanUpgradeStatus `xml:"urn:vim25 QueryVsanUpgradeStatus,omitempty"`
- Res *types.QueryVsanUpgradeStatusResponse `xml:"urn:vim25 QueryVsanUpgradeStatusResponse,omitempty"`
+ Res *types.QueryVsanUpgradeStatusResponse `xml:"QueryVsanUpgradeStatusResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10065,7 +10965,7 @@ func QueryVsanUpgradeStatus(ctx context.Context, r soap.RoundTripper, req *types
type ReadEnvironmentVariableInGuestBody struct {
Req *types.ReadEnvironmentVariableInGuest `xml:"urn:vim25 ReadEnvironmentVariableInGuest,omitempty"`
- Res *types.ReadEnvironmentVariableInGuestResponse `xml:"urn:vim25 ReadEnvironmentVariableInGuestResponse,omitempty"`
+ Res *types.ReadEnvironmentVariableInGuestResponse `xml:"ReadEnvironmentVariableInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10085,7 +10985,7 @@ func ReadEnvironmentVariableInGuest(ctx context.Context, r soap.RoundTripper, re
type ReadNextEventsBody struct {
Req *types.ReadNextEvents `xml:"urn:vim25 ReadNextEvents,omitempty"`
- Res *types.ReadNextEventsResponse `xml:"urn:vim25 ReadNextEventsResponse,omitempty"`
+ Res *types.ReadNextEventsResponse `xml:"ReadNextEventsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10105,7 +11005,7 @@ func ReadNextEvents(ctx context.Context, r soap.RoundTripper, req *types.ReadNex
type ReadNextTasksBody struct {
Req *types.ReadNextTasks `xml:"urn:vim25 ReadNextTasks,omitempty"`
- Res *types.ReadNextTasksResponse `xml:"urn:vim25 ReadNextTasksResponse,omitempty"`
+ Res *types.ReadNextTasksResponse `xml:"ReadNextTasksResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10125,7 +11025,7 @@ func ReadNextTasks(ctx context.Context, r soap.RoundTripper, req *types.ReadNext
type ReadPreviousEventsBody struct {
Req *types.ReadPreviousEvents `xml:"urn:vim25 ReadPreviousEvents,omitempty"`
- Res *types.ReadPreviousEventsResponse `xml:"urn:vim25 ReadPreviousEventsResponse,omitempty"`
+ Res *types.ReadPreviousEventsResponse `xml:"ReadPreviousEventsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10145,7 +11045,7 @@ func ReadPreviousEvents(ctx context.Context, r soap.RoundTripper, req *types.Rea
type ReadPreviousTasksBody struct {
Req *types.ReadPreviousTasks `xml:"urn:vim25 ReadPreviousTasks,omitempty"`
- Res *types.ReadPreviousTasksResponse `xml:"urn:vim25 ReadPreviousTasksResponse,omitempty"`
+ Res *types.ReadPreviousTasksResponse `xml:"ReadPreviousTasksResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10165,7 +11065,7 @@ func ReadPreviousTasks(ctx context.Context, r soap.RoundTripper, req *types.Read
type RebootGuestBody struct {
Req *types.RebootGuest `xml:"urn:vim25 RebootGuest,omitempty"`
- Res *types.RebootGuestResponse `xml:"urn:vim25 RebootGuestResponse,omitempty"`
+ Res *types.RebootGuestResponse `xml:"RebootGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10185,7 +11085,7 @@ func RebootGuest(ctx context.Context, r soap.RoundTripper, req *types.RebootGues
type RebootHost_TaskBody struct {
Req *types.RebootHost_Task `xml:"urn:vim25 RebootHost_Task,omitempty"`
- Res *types.RebootHost_TaskResponse `xml:"urn:vim25 RebootHost_TaskResponse,omitempty"`
+ Res *types.RebootHost_TaskResponse `xml:"RebootHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10205,7 +11105,7 @@ func RebootHost_Task(ctx context.Context, r soap.RoundTripper, req *types.Reboot
type RecommendDatastoresBody struct {
Req *types.RecommendDatastores `xml:"urn:vim25 RecommendDatastores,omitempty"`
- Res *types.RecommendDatastoresResponse `xml:"urn:vim25 RecommendDatastoresResponse,omitempty"`
+ Res *types.RecommendDatastoresResponse `xml:"RecommendDatastoresResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10225,7 +11125,7 @@ func RecommendDatastores(ctx context.Context, r soap.RoundTripper, req *types.Re
type RecommendHostsForVmBody struct {
Req *types.RecommendHostsForVm `xml:"urn:vim25 RecommendHostsForVm,omitempty"`
- Res *types.RecommendHostsForVmResponse `xml:"urn:vim25 RecommendHostsForVmResponse,omitempty"`
+ Res *types.RecommendHostsForVmResponse `xml:"RecommendHostsForVmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10245,7 +11145,7 @@ func RecommendHostsForVm(ctx context.Context, r soap.RoundTripper, req *types.Re
type RecommissionVsanNode_TaskBody struct {
Req *types.RecommissionVsanNode_Task `xml:"urn:vim25 RecommissionVsanNode_Task,omitempty"`
- Res *types.RecommissionVsanNode_TaskResponse `xml:"urn:vim25 RecommissionVsanNode_TaskResponse,omitempty"`
+ Res *types.RecommissionVsanNode_TaskResponse `xml:"RecommissionVsanNode_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10265,7 +11165,7 @@ func RecommissionVsanNode_Task(ctx context.Context, r soap.RoundTripper, req *ty
type ReconcileDatastoreInventory_TaskBody struct {
Req *types.ReconcileDatastoreInventory_Task `xml:"urn:vim25 ReconcileDatastoreInventory_Task,omitempty"`
- Res *types.ReconcileDatastoreInventory_TaskResponse `xml:"urn:vim25 ReconcileDatastoreInventory_TaskResponse,omitempty"`
+ Res *types.ReconcileDatastoreInventory_TaskResponse `xml:"ReconcileDatastoreInventory_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10285,7 +11185,7 @@ func ReconcileDatastoreInventory_Task(ctx context.Context, r soap.RoundTripper,
type ReconfigVM_TaskBody struct {
Req *types.ReconfigVM_Task `xml:"urn:vim25 ReconfigVM_Task,omitempty"`
- Res *types.ReconfigVM_TaskResponse `xml:"urn:vim25 ReconfigVM_TaskResponse,omitempty"`
+ Res *types.ReconfigVM_TaskResponse `xml:"ReconfigVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10305,7 +11205,7 @@ func ReconfigVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Reconf
type ReconfigurationSatisfiableBody struct {
Req *types.ReconfigurationSatisfiable `xml:"urn:vim25 ReconfigurationSatisfiable,omitempty"`
- Res *types.ReconfigurationSatisfiableResponse `xml:"urn:vim25 ReconfigurationSatisfiableResponse,omitempty"`
+ Res *types.ReconfigurationSatisfiableResponse `xml:"ReconfigurationSatisfiableResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10325,7 +11225,7 @@ func ReconfigurationSatisfiable(ctx context.Context, r soap.RoundTripper, req *t
type ReconfigureAlarmBody struct {
Req *types.ReconfigureAlarm `xml:"urn:vim25 ReconfigureAlarm,omitempty"`
- Res *types.ReconfigureAlarmResponse `xml:"urn:vim25 ReconfigureAlarmResponse,omitempty"`
+ Res *types.ReconfigureAlarmResponse `xml:"ReconfigureAlarmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10345,7 +11245,7 @@ func ReconfigureAlarm(ctx context.Context, r soap.RoundTripper, req *types.Recon
type ReconfigureAutostartBody struct {
Req *types.ReconfigureAutostart `xml:"urn:vim25 ReconfigureAutostart,omitempty"`
- Res *types.ReconfigureAutostartResponse `xml:"urn:vim25 ReconfigureAutostartResponse,omitempty"`
+ Res *types.ReconfigureAutostartResponse `xml:"ReconfigureAutostartResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10365,7 +11265,7 @@ func ReconfigureAutostart(ctx context.Context, r soap.RoundTripper, req *types.R
type ReconfigureCluster_TaskBody struct {
Req *types.ReconfigureCluster_Task `xml:"urn:vim25 ReconfigureCluster_Task,omitempty"`
- Res *types.ReconfigureCluster_TaskResponse `xml:"urn:vim25 ReconfigureCluster_TaskResponse,omitempty"`
+ Res *types.ReconfigureCluster_TaskResponse `xml:"ReconfigureCluster_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10385,7 +11285,7 @@ func ReconfigureCluster_Task(ctx context.Context, r soap.RoundTripper, req *type
type ReconfigureComputeResource_TaskBody struct {
Req *types.ReconfigureComputeResource_Task `xml:"urn:vim25 ReconfigureComputeResource_Task,omitempty"`
- Res *types.ReconfigureComputeResource_TaskResponse `xml:"urn:vim25 ReconfigureComputeResource_TaskResponse,omitempty"`
+ Res *types.ReconfigureComputeResource_TaskResponse `xml:"ReconfigureComputeResource_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10405,7 +11305,7 @@ func ReconfigureComputeResource_Task(ctx context.Context, r soap.RoundTripper, r
type ReconfigureDVPort_TaskBody struct {
Req *types.ReconfigureDVPort_Task `xml:"urn:vim25 ReconfigureDVPort_Task,omitempty"`
- Res *types.ReconfigureDVPort_TaskResponse `xml:"urn:vim25 ReconfigureDVPort_TaskResponse,omitempty"`
+ Res *types.ReconfigureDVPort_TaskResponse `xml:"ReconfigureDVPort_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10425,7 +11325,7 @@ func ReconfigureDVPort_Task(ctx context.Context, r soap.RoundTripper, req *types
type ReconfigureDVPortgroup_TaskBody struct {
Req *types.ReconfigureDVPortgroup_Task `xml:"urn:vim25 ReconfigureDVPortgroup_Task,omitempty"`
- Res *types.ReconfigureDVPortgroup_TaskResponse `xml:"urn:vim25 ReconfigureDVPortgroup_TaskResponse,omitempty"`
+ Res *types.ReconfigureDVPortgroup_TaskResponse `xml:"ReconfigureDVPortgroup_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10445,7 +11345,7 @@ func ReconfigureDVPortgroup_Task(ctx context.Context, r soap.RoundTripper, req *
type ReconfigureDatacenter_TaskBody struct {
Req *types.ReconfigureDatacenter_Task `xml:"urn:vim25 ReconfigureDatacenter_Task,omitempty"`
- Res *types.ReconfigureDatacenter_TaskResponse `xml:"urn:vim25 ReconfigureDatacenter_TaskResponse,omitempty"`
+ Res *types.ReconfigureDatacenter_TaskResponse `xml:"ReconfigureDatacenter_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10465,7 +11365,7 @@ func ReconfigureDatacenter_Task(ctx context.Context, r soap.RoundTripper, req *t
type ReconfigureDomObjectBody struct {
Req *types.ReconfigureDomObject `xml:"urn:vim25 ReconfigureDomObject,omitempty"`
- Res *types.ReconfigureDomObjectResponse `xml:"urn:vim25 ReconfigureDomObjectResponse,omitempty"`
+ Res *types.ReconfigureDomObjectResponse `xml:"ReconfigureDomObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10485,7 +11385,7 @@ func ReconfigureDomObject(ctx context.Context, r soap.RoundTripper, req *types.R
type ReconfigureDvs_TaskBody struct {
Req *types.ReconfigureDvs_Task `xml:"urn:vim25 ReconfigureDvs_Task,omitempty"`
- Res *types.ReconfigureDvs_TaskResponse `xml:"urn:vim25 ReconfigureDvs_TaskResponse,omitempty"`
+ Res *types.ReconfigureDvs_TaskResponse `xml:"ReconfigureDvs_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10505,7 +11405,7 @@ func ReconfigureDvs_Task(ctx context.Context, r soap.RoundTripper, req *types.Re
type ReconfigureHostForDAS_TaskBody struct {
Req *types.ReconfigureHostForDAS_Task `xml:"urn:vim25 ReconfigureHostForDAS_Task,omitempty"`
- Res *types.ReconfigureHostForDAS_TaskResponse `xml:"urn:vim25 ReconfigureHostForDAS_TaskResponse,omitempty"`
+ Res *types.ReconfigureHostForDAS_TaskResponse `xml:"ReconfigureHostForDAS_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10525,7 +11425,7 @@ func ReconfigureHostForDAS_Task(ctx context.Context, r soap.RoundTripper, req *t
type ReconfigureScheduledTaskBody struct {
Req *types.ReconfigureScheduledTask `xml:"urn:vim25 ReconfigureScheduledTask,omitempty"`
- Res *types.ReconfigureScheduledTaskResponse `xml:"urn:vim25 ReconfigureScheduledTaskResponse,omitempty"`
+ Res *types.ReconfigureScheduledTaskResponse `xml:"ReconfigureScheduledTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10545,7 +11445,7 @@ func ReconfigureScheduledTask(ctx context.Context, r soap.RoundTripper, req *typ
type ReconfigureServiceConsoleReservationBody struct {
Req *types.ReconfigureServiceConsoleReservation `xml:"urn:vim25 ReconfigureServiceConsoleReservation,omitempty"`
- Res *types.ReconfigureServiceConsoleReservationResponse `xml:"urn:vim25 ReconfigureServiceConsoleReservationResponse,omitempty"`
+ Res *types.ReconfigureServiceConsoleReservationResponse `xml:"ReconfigureServiceConsoleReservationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10565,7 +11465,7 @@ func ReconfigureServiceConsoleReservation(ctx context.Context, r soap.RoundTripp
type ReconfigureSnmpAgentBody struct {
Req *types.ReconfigureSnmpAgent `xml:"urn:vim25 ReconfigureSnmpAgent,omitempty"`
- Res *types.ReconfigureSnmpAgentResponse `xml:"urn:vim25 ReconfigureSnmpAgentResponse,omitempty"`
+ Res *types.ReconfigureSnmpAgentResponse `xml:"ReconfigureSnmpAgentResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10585,7 +11485,7 @@ func ReconfigureSnmpAgent(ctx context.Context, r soap.RoundTripper, req *types.R
type ReconfigureVirtualMachineReservationBody struct {
Req *types.ReconfigureVirtualMachineReservation `xml:"urn:vim25 ReconfigureVirtualMachineReservation,omitempty"`
- Res *types.ReconfigureVirtualMachineReservationResponse `xml:"urn:vim25 ReconfigureVirtualMachineReservationResponse,omitempty"`
+ Res *types.ReconfigureVirtualMachineReservationResponse `xml:"ReconfigureVirtualMachineReservationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10605,7 +11505,7 @@ func ReconfigureVirtualMachineReservation(ctx context.Context, r soap.RoundTripp
type ReconnectHost_TaskBody struct {
Req *types.ReconnectHost_Task `xml:"urn:vim25 ReconnectHost_Task,omitempty"`
- Res *types.ReconnectHost_TaskResponse `xml:"urn:vim25 ReconnectHost_TaskResponse,omitempty"`
+ Res *types.ReconnectHost_TaskResponse `xml:"ReconnectHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10625,7 +11525,7 @@ func ReconnectHost_Task(ctx context.Context, r soap.RoundTripper, req *types.Rec
type RectifyDvsHost_TaskBody struct {
Req *types.RectifyDvsHost_Task `xml:"urn:vim25 RectifyDvsHost_Task,omitempty"`
- Res *types.RectifyDvsHost_TaskResponse `xml:"urn:vim25 RectifyDvsHost_TaskResponse,omitempty"`
+ Res *types.RectifyDvsHost_TaskResponse `xml:"RectifyDvsHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10645,7 +11545,7 @@ func RectifyDvsHost_Task(ctx context.Context, r soap.RoundTripper, req *types.Re
type RectifyDvsOnHost_TaskBody struct {
Req *types.RectifyDvsOnHost_Task `xml:"urn:vim25 RectifyDvsOnHost_Task,omitempty"`
- Res *types.RectifyDvsOnHost_TaskResponse `xml:"urn:vim25 RectifyDvsOnHost_TaskResponse,omitempty"`
+ Res *types.RectifyDvsOnHost_TaskResponse `xml:"RectifyDvsOnHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10665,7 +11565,7 @@ func RectifyDvsOnHost_Task(ctx context.Context, r soap.RoundTripper, req *types.
type RefreshBody struct {
Req *types.Refresh `xml:"urn:vim25 Refresh,omitempty"`
- Res *types.RefreshResponse `xml:"urn:vim25 RefreshResponse,omitempty"`
+ Res *types.RefreshResponse `xml:"RefreshResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10685,7 +11585,7 @@ func Refresh(ctx context.Context, r soap.RoundTripper, req *types.Refresh) (*typ
type RefreshDVPortStateBody struct {
Req *types.RefreshDVPortState `xml:"urn:vim25 RefreshDVPortState,omitempty"`
- Res *types.RefreshDVPortStateResponse `xml:"urn:vim25 RefreshDVPortStateResponse,omitempty"`
+ Res *types.RefreshDVPortStateResponse `xml:"RefreshDVPortStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10705,7 +11605,7 @@ func RefreshDVPortState(ctx context.Context, r soap.RoundTripper, req *types.Ref
type RefreshDatastoreBody struct {
Req *types.RefreshDatastore `xml:"urn:vim25 RefreshDatastore,omitempty"`
- Res *types.RefreshDatastoreResponse `xml:"urn:vim25 RefreshDatastoreResponse,omitempty"`
+ Res *types.RefreshDatastoreResponse `xml:"RefreshDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10725,7 +11625,7 @@ func RefreshDatastore(ctx context.Context, r soap.RoundTripper, req *types.Refre
type RefreshDatastoreStorageInfoBody struct {
Req *types.RefreshDatastoreStorageInfo `xml:"urn:vim25 RefreshDatastoreStorageInfo,omitempty"`
- Res *types.RefreshDatastoreStorageInfoResponse `xml:"urn:vim25 RefreshDatastoreStorageInfoResponse,omitempty"`
+ Res *types.RefreshDatastoreStorageInfoResponse `xml:"RefreshDatastoreStorageInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10745,7 +11645,7 @@ func RefreshDatastoreStorageInfo(ctx context.Context, r soap.RoundTripper, req *
type RefreshDateTimeSystemBody struct {
Req *types.RefreshDateTimeSystem `xml:"urn:vim25 RefreshDateTimeSystem,omitempty"`
- Res *types.RefreshDateTimeSystemResponse `xml:"urn:vim25 RefreshDateTimeSystemResponse,omitempty"`
+ Res *types.RefreshDateTimeSystemResponse `xml:"RefreshDateTimeSystemResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10765,7 +11665,7 @@ func RefreshDateTimeSystem(ctx context.Context, r soap.RoundTripper, req *types.
type RefreshFirewallBody struct {
Req *types.RefreshFirewall `xml:"urn:vim25 RefreshFirewall,omitempty"`
- Res *types.RefreshFirewallResponse `xml:"urn:vim25 RefreshFirewallResponse,omitempty"`
+ Res *types.RefreshFirewallResponse `xml:"RefreshFirewallResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10785,7 +11685,7 @@ func RefreshFirewall(ctx context.Context, r soap.RoundTripper, req *types.Refres
type RefreshGraphicsManagerBody struct {
Req *types.RefreshGraphicsManager `xml:"urn:vim25 RefreshGraphicsManager,omitempty"`
- Res *types.RefreshGraphicsManagerResponse `xml:"urn:vim25 RefreshGraphicsManagerResponse,omitempty"`
+ Res *types.RefreshGraphicsManagerResponse `xml:"RefreshGraphicsManagerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10805,7 +11705,7 @@ func RefreshGraphicsManager(ctx context.Context, r soap.RoundTripper, req *types
type RefreshHealthStatusSystemBody struct {
Req *types.RefreshHealthStatusSystem `xml:"urn:vim25 RefreshHealthStatusSystem,omitempty"`
- Res *types.RefreshHealthStatusSystemResponse `xml:"urn:vim25 RefreshHealthStatusSystemResponse,omitempty"`
+ Res *types.RefreshHealthStatusSystemResponse `xml:"RefreshHealthStatusSystemResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10825,7 +11725,7 @@ func RefreshHealthStatusSystem(ctx context.Context, r soap.RoundTripper, req *ty
type RefreshNetworkSystemBody struct {
Req *types.RefreshNetworkSystem `xml:"urn:vim25 RefreshNetworkSystem,omitempty"`
- Res *types.RefreshNetworkSystemResponse `xml:"urn:vim25 RefreshNetworkSystemResponse,omitempty"`
+ Res *types.RefreshNetworkSystemResponse `xml:"RefreshNetworkSystemResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10845,7 +11745,7 @@ func RefreshNetworkSystem(ctx context.Context, r soap.RoundTripper, req *types.R
type RefreshRecommendationBody struct {
Req *types.RefreshRecommendation `xml:"urn:vim25 RefreshRecommendation,omitempty"`
- Res *types.RefreshRecommendationResponse `xml:"urn:vim25 RefreshRecommendationResponse,omitempty"`
+ Res *types.RefreshRecommendationResponse `xml:"RefreshRecommendationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10865,7 +11765,7 @@ func RefreshRecommendation(ctx context.Context, r soap.RoundTripper, req *types.
type RefreshRuntimeBody struct {
Req *types.RefreshRuntime `xml:"urn:vim25 RefreshRuntime,omitempty"`
- Res *types.RefreshRuntimeResponse `xml:"urn:vim25 RefreshRuntimeResponse,omitempty"`
+ Res *types.RefreshRuntimeResponse `xml:"RefreshRuntimeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10885,7 +11785,7 @@ func RefreshRuntime(ctx context.Context, r soap.RoundTripper, req *types.Refresh
type RefreshServicesBody struct {
Req *types.RefreshServices `xml:"urn:vim25 RefreshServices,omitempty"`
- Res *types.RefreshServicesResponse `xml:"urn:vim25 RefreshServicesResponse,omitempty"`
+ Res *types.RefreshServicesResponse `xml:"RefreshServicesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10905,7 +11805,7 @@ func RefreshServices(ctx context.Context, r soap.RoundTripper, req *types.Refres
type RefreshStorageDrsRecommendationBody struct {
Req *types.RefreshStorageDrsRecommendation `xml:"urn:vim25 RefreshStorageDrsRecommendation,omitempty"`
- Res *types.RefreshStorageDrsRecommendationResponse `xml:"urn:vim25 RefreshStorageDrsRecommendationResponse,omitempty"`
+ Res *types.RefreshStorageDrsRecommendationResponse `xml:"RefreshStorageDrsRecommendationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10923,9 +11823,29 @@ func RefreshStorageDrsRecommendation(ctx context.Context, r soap.RoundTripper, r
return resBody.Res, nil
}
+type RefreshStorageDrsRecommendationsForPod_TaskBody struct {
+ Req *types.RefreshStorageDrsRecommendationsForPod_Task `xml:"urn:vim25 RefreshStorageDrsRecommendationsForPod_Task,omitempty"`
+ Res *types.RefreshStorageDrsRecommendationsForPod_TaskResponse `xml:"RefreshStorageDrsRecommendationsForPod_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *RefreshStorageDrsRecommendationsForPod_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func RefreshStorageDrsRecommendationsForPod_Task(ctx context.Context, r soap.RoundTripper, req *types.RefreshStorageDrsRecommendationsForPod_Task) (*types.RefreshStorageDrsRecommendationsForPod_TaskResponse, error) {
+ var reqBody, resBody RefreshStorageDrsRecommendationsForPod_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type RefreshStorageInfoBody struct {
Req *types.RefreshStorageInfo `xml:"urn:vim25 RefreshStorageInfo,omitempty"`
- Res *types.RefreshStorageInfoResponse `xml:"urn:vim25 RefreshStorageInfoResponse,omitempty"`
+ Res *types.RefreshStorageInfoResponse `xml:"RefreshStorageInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10945,7 +11865,7 @@ func RefreshStorageInfo(ctx context.Context, r soap.RoundTripper, req *types.Ref
type RefreshStorageSystemBody struct {
Req *types.RefreshStorageSystem `xml:"urn:vim25 RefreshStorageSystem,omitempty"`
- Res *types.RefreshStorageSystemResponse `xml:"urn:vim25 RefreshStorageSystemResponse,omitempty"`
+ Res *types.RefreshStorageSystemResponse `xml:"RefreshStorageSystemResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10965,7 +11885,7 @@ func RefreshStorageSystem(ctx context.Context, r soap.RoundTripper, req *types.R
type RegisterChildVM_TaskBody struct {
Req *types.RegisterChildVM_Task `xml:"urn:vim25 RegisterChildVM_Task,omitempty"`
- Res *types.RegisterChildVM_TaskResponse `xml:"urn:vim25 RegisterChildVM_TaskResponse,omitempty"`
+ Res *types.RegisterChildVM_TaskResponse `xml:"RegisterChildVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -10985,7 +11905,7 @@ func RegisterChildVM_Task(ctx context.Context, r soap.RoundTripper, req *types.R
type RegisterDiskBody struct {
Req *types.RegisterDisk `xml:"urn:vim25 RegisterDisk,omitempty"`
- Res *types.RegisterDiskResponse `xml:"urn:vim25 RegisterDiskResponse,omitempty"`
+ Res *types.RegisterDiskResponse `xml:"RegisterDiskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11005,7 +11925,7 @@ func RegisterDisk(ctx context.Context, r soap.RoundTripper, req *types.RegisterD
type RegisterExtensionBody struct {
Req *types.RegisterExtension `xml:"urn:vim25 RegisterExtension,omitempty"`
- Res *types.RegisterExtensionResponse `xml:"urn:vim25 RegisterExtensionResponse,omitempty"`
+ Res *types.RegisterExtensionResponse `xml:"RegisterExtensionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11025,7 +11945,7 @@ func RegisterExtension(ctx context.Context, r soap.RoundTripper, req *types.Regi
type RegisterHealthUpdateProviderBody struct {
Req *types.RegisterHealthUpdateProvider `xml:"urn:vim25 RegisterHealthUpdateProvider,omitempty"`
- Res *types.RegisterHealthUpdateProviderResponse `xml:"urn:vim25 RegisterHealthUpdateProviderResponse,omitempty"`
+ Res *types.RegisterHealthUpdateProviderResponse `xml:"RegisterHealthUpdateProviderResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11045,7 +11965,7 @@ func RegisterHealthUpdateProvider(ctx context.Context, r soap.RoundTripper, req
type RegisterKmipServerBody struct {
Req *types.RegisterKmipServer `xml:"urn:vim25 RegisterKmipServer,omitempty"`
- Res *types.RegisterKmipServerResponse `xml:"urn:vim25 RegisterKmipServerResponse,omitempty"`
+ Res *types.RegisterKmipServerResponse `xml:"RegisterKmipServerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11065,7 +11985,7 @@ func RegisterKmipServer(ctx context.Context, r soap.RoundTripper, req *types.Reg
type RegisterVM_TaskBody struct {
Req *types.RegisterVM_Task `xml:"urn:vim25 RegisterVM_Task,omitempty"`
- Res *types.RegisterVM_TaskResponse `xml:"urn:vim25 RegisterVM_TaskResponse,omitempty"`
+ Res *types.RegisterVM_TaskResponse `xml:"RegisterVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11085,7 +12005,7 @@ func RegisterVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Regist
type ReleaseCredentialsInGuestBody struct {
Req *types.ReleaseCredentialsInGuest `xml:"urn:vim25 ReleaseCredentialsInGuest,omitempty"`
- Res *types.ReleaseCredentialsInGuestResponse `xml:"urn:vim25 ReleaseCredentialsInGuestResponse,omitempty"`
+ Res *types.ReleaseCredentialsInGuestResponse `xml:"ReleaseCredentialsInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11105,7 +12025,7 @@ func ReleaseCredentialsInGuest(ctx context.Context, r soap.RoundTripper, req *ty
type ReleaseIpAllocationBody struct {
Req *types.ReleaseIpAllocation `xml:"urn:vim25 ReleaseIpAllocation,omitempty"`
- Res *types.ReleaseIpAllocationResponse `xml:"urn:vim25 ReleaseIpAllocationResponse,omitempty"`
+ Res *types.ReleaseIpAllocationResponse `xml:"ReleaseIpAllocationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11125,7 +12045,7 @@ func ReleaseIpAllocation(ctx context.Context, r soap.RoundTripper, req *types.Re
type ReleaseManagedSnapshotBody struct {
Req *types.ReleaseManagedSnapshot `xml:"urn:vim25 ReleaseManagedSnapshot,omitempty"`
- Res *types.ReleaseManagedSnapshotResponse `xml:"urn:vim25 ReleaseManagedSnapshotResponse,omitempty"`
+ Res *types.ReleaseManagedSnapshotResponse `xml:"ReleaseManagedSnapshotResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11145,7 +12065,7 @@ func ReleaseManagedSnapshot(ctx context.Context, r soap.RoundTripper, req *types
type ReloadBody struct {
Req *types.Reload `xml:"urn:vim25 Reload,omitempty"`
- Res *types.ReloadResponse `xml:"urn:vim25 ReloadResponse,omitempty"`
+ Res *types.ReloadResponse `xml:"ReloadResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11165,7 +12085,7 @@ func Reload(ctx context.Context, r soap.RoundTripper, req *types.Reload) (*types
type RelocateVM_TaskBody struct {
Req *types.RelocateVM_Task `xml:"urn:vim25 RelocateVM_Task,omitempty"`
- Res *types.RelocateVM_TaskResponse `xml:"urn:vim25 RelocateVM_TaskResponse,omitempty"`
+ Res *types.RelocateVM_TaskResponse `xml:"RelocateVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11185,7 +12105,7 @@ func RelocateVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Reloca
type RelocateVStorageObject_TaskBody struct {
Req *types.RelocateVStorageObject_Task `xml:"urn:vim25 RelocateVStorageObject_Task,omitempty"`
- Res *types.RelocateVStorageObject_TaskResponse `xml:"urn:vim25 RelocateVStorageObject_TaskResponse,omitempty"`
+ Res *types.RelocateVStorageObject_TaskResponse `xml:"RelocateVStorageObject_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11205,7 +12125,7 @@ func RelocateVStorageObject_Task(ctx context.Context, r soap.RoundTripper, req *
type RemoveAlarmBody struct {
Req *types.RemoveAlarm `xml:"urn:vim25 RemoveAlarm,omitempty"`
- Res *types.RemoveAlarmResponse `xml:"urn:vim25 RemoveAlarmResponse,omitempty"`
+ Res *types.RemoveAlarmResponse `xml:"RemoveAlarmResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11225,7 +12145,7 @@ func RemoveAlarm(ctx context.Context, r soap.RoundTripper, req *types.RemoveAlar
type RemoveAllSnapshots_TaskBody struct {
Req *types.RemoveAllSnapshots_Task `xml:"urn:vim25 RemoveAllSnapshots_Task,omitempty"`
- Res *types.RemoveAllSnapshots_TaskResponse `xml:"urn:vim25 RemoveAllSnapshots_TaskResponse,omitempty"`
+ Res *types.RemoveAllSnapshots_TaskResponse `xml:"RemoveAllSnapshots_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11245,7 +12165,7 @@ func RemoveAllSnapshots_Task(ctx context.Context, r soap.RoundTripper, req *type
type RemoveAssignedLicenseBody struct {
Req *types.RemoveAssignedLicense `xml:"urn:vim25 RemoveAssignedLicense,omitempty"`
- Res *types.RemoveAssignedLicenseResponse `xml:"urn:vim25 RemoveAssignedLicenseResponse,omitempty"`
+ Res *types.RemoveAssignedLicenseResponse `xml:"RemoveAssignedLicenseResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11265,7 +12185,7 @@ func RemoveAssignedLicense(ctx context.Context, r soap.RoundTripper, req *types.
type RemoveAuthorizationRoleBody struct {
Req *types.RemoveAuthorizationRole `xml:"urn:vim25 RemoveAuthorizationRole,omitempty"`
- Res *types.RemoveAuthorizationRoleResponse `xml:"urn:vim25 RemoveAuthorizationRoleResponse,omitempty"`
+ Res *types.RemoveAuthorizationRoleResponse `xml:"RemoveAuthorizationRoleResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11285,7 +12205,7 @@ func RemoveAuthorizationRole(ctx context.Context, r soap.RoundTripper, req *type
type RemoveCustomFieldDefBody struct {
Req *types.RemoveCustomFieldDef `xml:"urn:vim25 RemoveCustomFieldDef,omitempty"`
- Res *types.RemoveCustomFieldDefResponse `xml:"urn:vim25 RemoveCustomFieldDefResponse,omitempty"`
+ Res *types.RemoveCustomFieldDefResponse `xml:"RemoveCustomFieldDefResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11305,7 +12225,7 @@ func RemoveCustomFieldDef(ctx context.Context, r soap.RoundTripper, req *types.R
type RemoveDatastoreBody struct {
Req *types.RemoveDatastore `xml:"urn:vim25 RemoveDatastore,omitempty"`
- Res *types.RemoveDatastoreResponse `xml:"urn:vim25 RemoveDatastoreResponse,omitempty"`
+ Res *types.RemoveDatastoreResponse `xml:"RemoveDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11325,7 +12245,7 @@ func RemoveDatastore(ctx context.Context, r soap.RoundTripper, req *types.Remove
type RemoveDatastoreEx_TaskBody struct {
Req *types.RemoveDatastoreEx_Task `xml:"urn:vim25 RemoveDatastoreEx_Task,omitempty"`
- Res *types.RemoveDatastoreEx_TaskResponse `xml:"urn:vim25 RemoveDatastoreEx_TaskResponse,omitempty"`
+ Res *types.RemoveDatastoreEx_TaskResponse `xml:"RemoveDatastoreEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11345,7 +12265,7 @@ func RemoveDatastoreEx_Task(ctx context.Context, r soap.RoundTripper, req *types
type RemoveDiskMapping_TaskBody struct {
Req *types.RemoveDiskMapping_Task `xml:"urn:vim25 RemoveDiskMapping_Task,omitempty"`
- Res *types.RemoveDiskMapping_TaskResponse `xml:"urn:vim25 RemoveDiskMapping_TaskResponse,omitempty"`
+ Res *types.RemoveDiskMapping_TaskResponse `xml:"RemoveDiskMapping_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11365,7 +12285,7 @@ func RemoveDiskMapping_Task(ctx context.Context, r soap.RoundTripper, req *types
type RemoveDisk_TaskBody struct {
Req *types.RemoveDisk_Task `xml:"urn:vim25 RemoveDisk_Task,omitempty"`
- Res *types.RemoveDisk_TaskResponse `xml:"urn:vim25 RemoveDisk_TaskResponse,omitempty"`
+ Res *types.RemoveDisk_TaskResponse `xml:"RemoveDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11385,7 +12305,7 @@ func RemoveDisk_Task(ctx context.Context, r soap.RoundTripper, req *types.Remove
type RemoveEntityPermissionBody struct {
Req *types.RemoveEntityPermission `xml:"urn:vim25 RemoveEntityPermission,omitempty"`
- Res *types.RemoveEntityPermissionResponse `xml:"urn:vim25 RemoveEntityPermissionResponse,omitempty"`
+ Res *types.RemoveEntityPermissionResponse `xml:"RemoveEntityPermissionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11405,7 +12325,7 @@ func RemoveEntityPermission(ctx context.Context, r soap.RoundTripper, req *types
type RemoveFilterBody struct {
Req *types.RemoveFilter `xml:"urn:vim25 RemoveFilter,omitempty"`
- Res *types.RemoveFilterResponse `xml:"urn:vim25 RemoveFilterResponse,omitempty"`
+ Res *types.RemoveFilterResponse `xml:"RemoveFilterResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11425,7 +12345,7 @@ func RemoveFilter(ctx context.Context, r soap.RoundTripper, req *types.RemoveFil
type RemoveFilterEntitiesBody struct {
Req *types.RemoveFilterEntities `xml:"urn:vim25 RemoveFilterEntities,omitempty"`
- Res *types.RemoveFilterEntitiesResponse `xml:"urn:vim25 RemoveFilterEntitiesResponse,omitempty"`
+ Res *types.RemoveFilterEntitiesResponse `xml:"RemoveFilterEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11445,7 +12365,7 @@ func RemoveFilterEntities(ctx context.Context, r soap.RoundTripper, req *types.R
type RemoveGroupBody struct {
Req *types.RemoveGroup `xml:"urn:vim25 RemoveGroup,omitempty"`
- Res *types.RemoveGroupResponse `xml:"urn:vim25 RemoveGroupResponse,omitempty"`
+ Res *types.RemoveGroupResponse `xml:"RemoveGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11465,7 +12385,7 @@ func RemoveGroup(ctx context.Context, r soap.RoundTripper, req *types.RemoveGrou
type RemoveGuestAliasBody struct {
Req *types.RemoveGuestAlias `xml:"urn:vim25 RemoveGuestAlias,omitempty"`
- Res *types.RemoveGuestAliasResponse `xml:"urn:vim25 RemoveGuestAliasResponse,omitempty"`
+ Res *types.RemoveGuestAliasResponse `xml:"RemoveGuestAliasResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11485,7 +12405,7 @@ func RemoveGuestAlias(ctx context.Context, r soap.RoundTripper, req *types.Remov
type RemoveGuestAliasByCertBody struct {
Req *types.RemoveGuestAliasByCert `xml:"urn:vim25 RemoveGuestAliasByCert,omitempty"`
- Res *types.RemoveGuestAliasByCertResponse `xml:"urn:vim25 RemoveGuestAliasByCertResponse,omitempty"`
+ Res *types.RemoveGuestAliasByCertResponse `xml:"RemoveGuestAliasByCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11505,7 +12425,7 @@ func RemoveGuestAliasByCert(ctx context.Context, r soap.RoundTripper, req *types
type RemoveInternetScsiSendTargetsBody struct {
Req *types.RemoveInternetScsiSendTargets `xml:"urn:vim25 RemoveInternetScsiSendTargets,omitempty"`
- Res *types.RemoveInternetScsiSendTargetsResponse `xml:"urn:vim25 RemoveInternetScsiSendTargetsResponse,omitempty"`
+ Res *types.RemoveInternetScsiSendTargetsResponse `xml:"RemoveInternetScsiSendTargetsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11525,7 +12445,7 @@ func RemoveInternetScsiSendTargets(ctx context.Context, r soap.RoundTripper, req
type RemoveInternetScsiStaticTargetsBody struct {
Req *types.RemoveInternetScsiStaticTargets `xml:"urn:vim25 RemoveInternetScsiStaticTargets,omitempty"`
- Res *types.RemoveInternetScsiStaticTargetsResponse `xml:"urn:vim25 RemoveInternetScsiStaticTargetsResponse,omitempty"`
+ Res *types.RemoveInternetScsiStaticTargetsResponse `xml:"RemoveInternetScsiStaticTargetsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11545,7 +12465,7 @@ func RemoveInternetScsiStaticTargets(ctx context.Context, r soap.RoundTripper, r
type RemoveKeyBody struct {
Req *types.RemoveKey `xml:"urn:vim25 RemoveKey,omitempty"`
- Res *types.RemoveKeyResponse `xml:"urn:vim25 RemoveKeyResponse,omitempty"`
+ Res *types.RemoveKeyResponse `xml:"RemoveKeyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11565,7 +12485,7 @@ func RemoveKey(ctx context.Context, r soap.RoundTripper, req *types.RemoveKey) (
type RemoveKeysBody struct {
Req *types.RemoveKeys `xml:"urn:vim25 RemoveKeys,omitempty"`
- Res *types.RemoveKeysResponse `xml:"urn:vim25 RemoveKeysResponse,omitempty"`
+ Res *types.RemoveKeysResponse `xml:"RemoveKeysResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11585,7 +12505,7 @@ func RemoveKeys(ctx context.Context, r soap.RoundTripper, req *types.RemoveKeys)
type RemoveKmipServerBody struct {
Req *types.RemoveKmipServer `xml:"urn:vim25 RemoveKmipServer,omitempty"`
- Res *types.RemoveKmipServerResponse `xml:"urn:vim25 RemoveKmipServerResponse,omitempty"`
+ Res *types.RemoveKmipServerResponse `xml:"RemoveKmipServerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11605,7 +12525,7 @@ func RemoveKmipServer(ctx context.Context, r soap.RoundTripper, req *types.Remov
type RemoveLicenseBody struct {
Req *types.RemoveLicense `xml:"urn:vim25 RemoveLicense,omitempty"`
- Res *types.RemoveLicenseResponse `xml:"urn:vim25 RemoveLicenseResponse,omitempty"`
+ Res *types.RemoveLicenseResponse `xml:"RemoveLicenseResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11625,7 +12545,7 @@ func RemoveLicense(ctx context.Context, r soap.RoundTripper, req *types.RemoveLi
type RemoveLicenseLabelBody struct {
Req *types.RemoveLicenseLabel `xml:"urn:vim25 RemoveLicenseLabel,omitempty"`
- Res *types.RemoveLicenseLabelResponse `xml:"urn:vim25 RemoveLicenseLabelResponse,omitempty"`
+ Res *types.RemoveLicenseLabelResponse `xml:"RemoveLicenseLabelResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11645,7 +12565,7 @@ func RemoveLicenseLabel(ctx context.Context, r soap.RoundTripper, req *types.Rem
type RemoveMonitoredEntitiesBody struct {
Req *types.RemoveMonitoredEntities `xml:"urn:vim25 RemoveMonitoredEntities,omitempty"`
- Res *types.RemoveMonitoredEntitiesResponse `xml:"urn:vim25 RemoveMonitoredEntitiesResponse,omitempty"`
+ Res *types.RemoveMonitoredEntitiesResponse `xml:"RemoveMonitoredEntitiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11665,7 +12585,7 @@ func RemoveMonitoredEntities(ctx context.Context, r soap.RoundTripper, req *type
type RemoveNetworkResourcePoolBody struct {
Req *types.RemoveNetworkResourcePool `xml:"urn:vim25 RemoveNetworkResourcePool,omitempty"`
- Res *types.RemoveNetworkResourcePoolResponse `xml:"urn:vim25 RemoveNetworkResourcePoolResponse,omitempty"`
+ Res *types.RemoveNetworkResourcePoolResponse `xml:"RemoveNetworkResourcePoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11685,7 +12605,7 @@ func RemoveNetworkResourcePool(ctx context.Context, r soap.RoundTripper, req *ty
type RemovePerfIntervalBody struct {
Req *types.RemovePerfInterval `xml:"urn:vim25 RemovePerfInterval,omitempty"`
- Res *types.RemovePerfIntervalResponse `xml:"urn:vim25 RemovePerfIntervalResponse,omitempty"`
+ Res *types.RemovePerfIntervalResponse `xml:"RemovePerfIntervalResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11705,7 +12625,7 @@ func RemovePerfInterval(ctx context.Context, r soap.RoundTripper, req *types.Rem
type RemovePortGroupBody struct {
Req *types.RemovePortGroup `xml:"urn:vim25 RemovePortGroup,omitempty"`
- Res *types.RemovePortGroupResponse `xml:"urn:vim25 RemovePortGroupResponse,omitempty"`
+ Res *types.RemovePortGroupResponse `xml:"RemovePortGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11725,7 +12645,7 @@ func RemovePortGroup(ctx context.Context, r soap.RoundTripper, req *types.Remove
type RemoveScheduledTaskBody struct {
Req *types.RemoveScheduledTask `xml:"urn:vim25 RemoveScheduledTask,omitempty"`
- Res *types.RemoveScheduledTaskResponse `xml:"urn:vim25 RemoveScheduledTaskResponse,omitempty"`
+ Res *types.RemoveScheduledTaskResponse `xml:"RemoveScheduledTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11745,7 +12665,7 @@ func RemoveScheduledTask(ctx context.Context, r soap.RoundTripper, req *types.Re
type RemoveServiceConsoleVirtualNicBody struct {
Req *types.RemoveServiceConsoleVirtualNic `xml:"urn:vim25 RemoveServiceConsoleVirtualNic,omitempty"`
- Res *types.RemoveServiceConsoleVirtualNicResponse `xml:"urn:vim25 RemoveServiceConsoleVirtualNicResponse,omitempty"`
+ Res *types.RemoveServiceConsoleVirtualNicResponse `xml:"RemoveServiceConsoleVirtualNicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11765,7 +12685,7 @@ func RemoveServiceConsoleVirtualNic(ctx context.Context, r soap.RoundTripper, re
type RemoveSmartCardTrustAnchorBody struct {
Req *types.RemoveSmartCardTrustAnchor `xml:"urn:vim25 RemoveSmartCardTrustAnchor,omitempty"`
- Res *types.RemoveSmartCardTrustAnchorResponse `xml:"urn:vim25 RemoveSmartCardTrustAnchorResponse,omitempty"`
+ Res *types.RemoveSmartCardTrustAnchorResponse `xml:"RemoveSmartCardTrustAnchorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11785,7 +12705,7 @@ func RemoveSmartCardTrustAnchor(ctx context.Context, r soap.RoundTripper, req *t
type RemoveSmartCardTrustAnchorByFingerprintBody struct {
Req *types.RemoveSmartCardTrustAnchorByFingerprint `xml:"urn:vim25 RemoveSmartCardTrustAnchorByFingerprint,omitempty"`
- Res *types.RemoveSmartCardTrustAnchorByFingerprintResponse `xml:"urn:vim25 RemoveSmartCardTrustAnchorByFingerprintResponse,omitempty"`
+ Res *types.RemoveSmartCardTrustAnchorByFingerprintResponse `xml:"RemoveSmartCardTrustAnchorByFingerprintResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11805,7 +12725,7 @@ func RemoveSmartCardTrustAnchorByFingerprint(ctx context.Context, r soap.RoundTr
type RemoveSnapshot_TaskBody struct {
Req *types.RemoveSnapshot_Task `xml:"urn:vim25 RemoveSnapshot_Task,omitempty"`
- Res *types.RemoveSnapshot_TaskResponse `xml:"urn:vim25 RemoveSnapshot_TaskResponse,omitempty"`
+ Res *types.RemoveSnapshot_TaskResponse `xml:"RemoveSnapshot_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11825,7 +12745,7 @@ func RemoveSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.Re
type RemoveUserBody struct {
Req *types.RemoveUser `xml:"urn:vim25 RemoveUser,omitempty"`
- Res *types.RemoveUserResponse `xml:"urn:vim25 RemoveUserResponse,omitempty"`
+ Res *types.RemoveUserResponse `xml:"RemoveUserResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11845,7 +12765,7 @@ func RemoveUser(ctx context.Context, r soap.RoundTripper, req *types.RemoveUser)
type RemoveVirtualNicBody struct {
Req *types.RemoveVirtualNic `xml:"urn:vim25 RemoveVirtualNic,omitempty"`
- Res *types.RemoveVirtualNicResponse `xml:"urn:vim25 RemoveVirtualNicResponse,omitempty"`
+ Res *types.RemoveVirtualNicResponse `xml:"RemoveVirtualNicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11865,7 +12785,7 @@ func RemoveVirtualNic(ctx context.Context, r soap.RoundTripper, req *types.Remov
type RemoveVirtualSwitchBody struct {
Req *types.RemoveVirtualSwitch `xml:"urn:vim25 RemoveVirtualSwitch,omitempty"`
- Res *types.RemoveVirtualSwitchResponse `xml:"urn:vim25 RemoveVirtualSwitchResponse,omitempty"`
+ Res *types.RemoveVirtualSwitchResponse `xml:"RemoveVirtualSwitchResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11885,7 +12805,7 @@ func RemoveVirtualSwitch(ctx context.Context, r soap.RoundTripper, req *types.Re
type RenameCustomFieldDefBody struct {
Req *types.RenameCustomFieldDef `xml:"urn:vim25 RenameCustomFieldDef,omitempty"`
- Res *types.RenameCustomFieldDefResponse `xml:"urn:vim25 RenameCustomFieldDefResponse,omitempty"`
+ Res *types.RenameCustomFieldDefResponse `xml:"RenameCustomFieldDefResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11905,7 +12825,7 @@ func RenameCustomFieldDef(ctx context.Context, r soap.RoundTripper, req *types.R
type RenameCustomizationSpecBody struct {
Req *types.RenameCustomizationSpec `xml:"urn:vim25 RenameCustomizationSpec,omitempty"`
- Res *types.RenameCustomizationSpecResponse `xml:"urn:vim25 RenameCustomizationSpecResponse,omitempty"`
+ Res *types.RenameCustomizationSpecResponse `xml:"RenameCustomizationSpecResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11925,7 +12845,7 @@ func RenameCustomizationSpec(ctx context.Context, r soap.RoundTripper, req *type
type RenameDatastoreBody struct {
Req *types.RenameDatastore `xml:"urn:vim25 RenameDatastore,omitempty"`
- Res *types.RenameDatastoreResponse `xml:"urn:vim25 RenameDatastoreResponse,omitempty"`
+ Res *types.RenameDatastoreResponse `xml:"RenameDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11945,7 +12865,7 @@ func RenameDatastore(ctx context.Context, r soap.RoundTripper, req *types.Rename
type RenameSnapshotBody struct {
Req *types.RenameSnapshot `xml:"urn:vim25 RenameSnapshot,omitempty"`
- Res *types.RenameSnapshotResponse `xml:"urn:vim25 RenameSnapshotResponse,omitempty"`
+ Res *types.RenameSnapshotResponse `xml:"RenameSnapshotResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11965,7 +12885,7 @@ func RenameSnapshot(ctx context.Context, r soap.RoundTripper, req *types.RenameS
type RenameVStorageObjectBody struct {
Req *types.RenameVStorageObject `xml:"urn:vim25 RenameVStorageObject,omitempty"`
- Res *types.RenameVStorageObjectResponse `xml:"urn:vim25 RenameVStorageObjectResponse,omitempty"`
+ Res *types.RenameVStorageObjectResponse `xml:"RenameVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -11985,7 +12905,7 @@ func RenameVStorageObject(ctx context.Context, r soap.RoundTripper, req *types.R
type Rename_TaskBody struct {
Req *types.Rename_Task `xml:"urn:vim25 Rename_Task,omitempty"`
- Res *types.Rename_TaskResponse `xml:"urn:vim25 Rename_TaskResponse,omitempty"`
+ Res *types.Rename_TaskResponse `xml:"Rename_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12005,7 +12925,7 @@ func Rename_Task(ctx context.Context, r soap.RoundTripper, req *types.Rename_Tas
type ReplaceCACertificatesAndCRLsBody struct {
Req *types.ReplaceCACertificatesAndCRLs `xml:"urn:vim25 ReplaceCACertificatesAndCRLs,omitempty"`
- Res *types.ReplaceCACertificatesAndCRLsResponse `xml:"urn:vim25 ReplaceCACertificatesAndCRLsResponse,omitempty"`
+ Res *types.ReplaceCACertificatesAndCRLsResponse `xml:"ReplaceCACertificatesAndCRLsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12025,7 +12945,7 @@ func ReplaceCACertificatesAndCRLs(ctx context.Context, r soap.RoundTripper, req
type ReplaceSmartCardTrustAnchorsBody struct {
Req *types.ReplaceSmartCardTrustAnchors `xml:"urn:vim25 ReplaceSmartCardTrustAnchors,omitempty"`
- Res *types.ReplaceSmartCardTrustAnchorsResponse `xml:"urn:vim25 ReplaceSmartCardTrustAnchorsResponse,omitempty"`
+ Res *types.ReplaceSmartCardTrustAnchorsResponse `xml:"ReplaceSmartCardTrustAnchorsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12045,7 +12965,7 @@ func ReplaceSmartCardTrustAnchors(ctx context.Context, r soap.RoundTripper, req
type RescanAllHbaBody struct {
Req *types.RescanAllHba `xml:"urn:vim25 RescanAllHba,omitempty"`
- Res *types.RescanAllHbaResponse `xml:"urn:vim25 RescanAllHbaResponse,omitempty"`
+ Res *types.RescanAllHbaResponse `xml:"RescanAllHbaResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12065,7 +12985,7 @@ func RescanAllHba(ctx context.Context, r soap.RoundTripper, req *types.RescanAll
type RescanHbaBody struct {
Req *types.RescanHba `xml:"urn:vim25 RescanHba,omitempty"`
- Res *types.RescanHbaResponse `xml:"urn:vim25 RescanHbaResponse,omitempty"`
+ Res *types.RescanHbaResponse `xml:"RescanHbaResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12085,7 +13005,7 @@ func RescanHba(ctx context.Context, r soap.RoundTripper, req *types.RescanHba) (
type RescanVffsBody struct {
Req *types.RescanVffs `xml:"urn:vim25 RescanVffs,omitempty"`
- Res *types.RescanVffsResponse `xml:"urn:vim25 RescanVffsResponse,omitempty"`
+ Res *types.RescanVffsResponse `xml:"RescanVffsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12105,7 +13025,7 @@ func RescanVffs(ctx context.Context, r soap.RoundTripper, req *types.RescanVffs)
type RescanVmfsBody struct {
Req *types.RescanVmfs `xml:"urn:vim25 RescanVmfs,omitempty"`
- Res *types.RescanVmfsResponse `xml:"urn:vim25 RescanVmfsResponse,omitempty"`
+ Res *types.RescanVmfsResponse `xml:"RescanVmfsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12125,7 +13045,7 @@ func RescanVmfs(ctx context.Context, r soap.RoundTripper, req *types.RescanVmfs)
type ResetCollectorBody struct {
Req *types.ResetCollector `xml:"urn:vim25 ResetCollector,omitempty"`
- Res *types.ResetCollectorResponse `xml:"urn:vim25 ResetCollectorResponse,omitempty"`
+ Res *types.ResetCollectorResponse `xml:"ResetCollectorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12145,7 +13065,7 @@ func ResetCollector(ctx context.Context, r soap.RoundTripper, req *types.ResetCo
type ResetCounterLevelMappingBody struct {
Req *types.ResetCounterLevelMapping `xml:"urn:vim25 ResetCounterLevelMapping,omitempty"`
- Res *types.ResetCounterLevelMappingResponse `xml:"urn:vim25 ResetCounterLevelMappingResponse,omitempty"`
+ Res *types.ResetCounterLevelMappingResponse `xml:"ResetCounterLevelMappingResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12165,7 +13085,7 @@ func ResetCounterLevelMapping(ctx context.Context, r soap.RoundTripper, req *typ
type ResetEntityPermissionsBody struct {
Req *types.ResetEntityPermissions `xml:"urn:vim25 ResetEntityPermissions,omitempty"`
- Res *types.ResetEntityPermissionsResponse `xml:"urn:vim25 ResetEntityPermissionsResponse,omitempty"`
+ Res *types.ResetEntityPermissionsResponse `xml:"ResetEntityPermissionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12185,7 +13105,7 @@ func ResetEntityPermissions(ctx context.Context, r soap.RoundTripper, req *types
type ResetFirmwareToFactoryDefaultsBody struct {
Req *types.ResetFirmwareToFactoryDefaults `xml:"urn:vim25 ResetFirmwareToFactoryDefaults,omitempty"`
- Res *types.ResetFirmwareToFactoryDefaultsResponse `xml:"urn:vim25 ResetFirmwareToFactoryDefaultsResponse,omitempty"`
+ Res *types.ResetFirmwareToFactoryDefaultsResponse `xml:"ResetFirmwareToFactoryDefaultsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12205,7 +13125,7 @@ func ResetFirmwareToFactoryDefaults(ctx context.Context, r soap.RoundTripper, re
type ResetGuestInformationBody struct {
Req *types.ResetGuestInformation `xml:"urn:vim25 ResetGuestInformation,omitempty"`
- Res *types.ResetGuestInformationResponse `xml:"urn:vim25 ResetGuestInformationResponse,omitempty"`
+ Res *types.ResetGuestInformationResponse `xml:"ResetGuestInformationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12225,7 +13145,7 @@ func ResetGuestInformation(ctx context.Context, r soap.RoundTripper, req *types.
type ResetListViewBody struct {
Req *types.ResetListView `xml:"urn:vim25 ResetListView,omitempty"`
- Res *types.ResetListViewResponse `xml:"urn:vim25 ResetListViewResponse,omitempty"`
+ Res *types.ResetListViewResponse `xml:"ResetListViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12245,7 +13165,7 @@ func ResetListView(ctx context.Context, r soap.RoundTripper, req *types.ResetLis
type ResetListViewFromViewBody struct {
Req *types.ResetListViewFromView `xml:"urn:vim25 ResetListViewFromView,omitempty"`
- Res *types.ResetListViewFromViewResponse `xml:"urn:vim25 ResetListViewFromViewResponse,omitempty"`
+ Res *types.ResetListViewFromViewResponse `xml:"ResetListViewFromViewResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12265,7 +13185,7 @@ func ResetListViewFromView(ctx context.Context, r soap.RoundTripper, req *types.
type ResetSystemHealthInfoBody struct {
Req *types.ResetSystemHealthInfo `xml:"urn:vim25 ResetSystemHealthInfo,omitempty"`
- Res *types.ResetSystemHealthInfoResponse `xml:"urn:vim25 ResetSystemHealthInfoResponse,omitempty"`
+ Res *types.ResetSystemHealthInfoResponse `xml:"ResetSystemHealthInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12285,7 +13205,7 @@ func ResetSystemHealthInfo(ctx context.Context, r soap.RoundTripper, req *types.
type ResetVM_TaskBody struct {
Req *types.ResetVM_Task `xml:"urn:vim25 ResetVM_Task,omitempty"`
- Res *types.ResetVM_TaskResponse `xml:"urn:vim25 ResetVM_TaskResponse,omitempty"`
+ Res *types.ResetVM_TaskResponse `xml:"ResetVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12305,7 +13225,7 @@ func ResetVM_Task(ctx context.Context, r soap.RoundTripper, req *types.ResetVM_T
type ResignatureUnresolvedVmfsVolume_TaskBody struct {
Req *types.ResignatureUnresolvedVmfsVolume_Task `xml:"urn:vim25 ResignatureUnresolvedVmfsVolume_Task,omitempty"`
- Res *types.ResignatureUnresolvedVmfsVolume_TaskResponse `xml:"urn:vim25 ResignatureUnresolvedVmfsVolume_TaskResponse,omitempty"`
+ Res *types.ResignatureUnresolvedVmfsVolume_TaskResponse `xml:"ResignatureUnresolvedVmfsVolume_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12325,7 +13245,7 @@ func ResignatureUnresolvedVmfsVolume_Task(ctx context.Context, r soap.RoundTripp
type ResolveInstallationErrorsOnCluster_TaskBody struct {
Req *types.ResolveInstallationErrorsOnCluster_Task `xml:"urn:vim25 ResolveInstallationErrorsOnCluster_Task,omitempty"`
- Res *types.ResolveInstallationErrorsOnCluster_TaskResponse `xml:"urn:vim25 ResolveInstallationErrorsOnCluster_TaskResponse,omitempty"`
+ Res *types.ResolveInstallationErrorsOnCluster_TaskResponse `xml:"ResolveInstallationErrorsOnCluster_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12345,7 +13265,7 @@ func ResolveInstallationErrorsOnCluster_Task(ctx context.Context, r soap.RoundTr
type ResolveInstallationErrorsOnHost_TaskBody struct {
Req *types.ResolveInstallationErrorsOnHost_Task `xml:"urn:vim25 ResolveInstallationErrorsOnHost_Task,omitempty"`
- Res *types.ResolveInstallationErrorsOnHost_TaskResponse `xml:"urn:vim25 ResolveInstallationErrorsOnHost_TaskResponse,omitempty"`
+ Res *types.ResolveInstallationErrorsOnHost_TaskResponse `xml:"ResolveInstallationErrorsOnHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12365,7 +13285,7 @@ func ResolveInstallationErrorsOnHost_Task(ctx context.Context, r soap.RoundTripp
type ResolveMultipleUnresolvedVmfsVolumesBody struct {
Req *types.ResolveMultipleUnresolvedVmfsVolumes `xml:"urn:vim25 ResolveMultipleUnresolvedVmfsVolumes,omitempty"`
- Res *types.ResolveMultipleUnresolvedVmfsVolumesResponse `xml:"urn:vim25 ResolveMultipleUnresolvedVmfsVolumesResponse,omitempty"`
+ Res *types.ResolveMultipleUnresolvedVmfsVolumesResponse `xml:"ResolveMultipleUnresolvedVmfsVolumesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12385,7 +13305,7 @@ func ResolveMultipleUnresolvedVmfsVolumes(ctx context.Context, r soap.RoundTripp
type ResolveMultipleUnresolvedVmfsVolumesEx_TaskBody struct {
Req *types.ResolveMultipleUnresolvedVmfsVolumesEx_Task `xml:"urn:vim25 ResolveMultipleUnresolvedVmfsVolumesEx_Task,omitempty"`
- Res *types.ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse `xml:"urn:vim25 ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse,omitempty"`
+ Res *types.ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse `xml:"ResolveMultipleUnresolvedVmfsVolumesEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12405,7 +13325,7 @@ func ResolveMultipleUnresolvedVmfsVolumesEx_Task(ctx context.Context, r soap.Rou
type RestartServiceBody struct {
Req *types.RestartService `xml:"urn:vim25 RestartService,omitempty"`
- Res *types.RestartServiceResponse `xml:"urn:vim25 RestartServiceResponse,omitempty"`
+ Res *types.RestartServiceResponse `xml:"RestartServiceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12425,7 +13345,7 @@ func RestartService(ctx context.Context, r soap.RoundTripper, req *types.Restart
type RestartServiceConsoleVirtualNicBody struct {
Req *types.RestartServiceConsoleVirtualNic `xml:"urn:vim25 RestartServiceConsoleVirtualNic,omitempty"`
- Res *types.RestartServiceConsoleVirtualNicResponse `xml:"urn:vim25 RestartServiceConsoleVirtualNicResponse,omitempty"`
+ Res *types.RestartServiceConsoleVirtualNicResponse `xml:"RestartServiceConsoleVirtualNicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12445,7 +13365,7 @@ func RestartServiceConsoleVirtualNic(ctx context.Context, r soap.RoundTripper, r
type RestoreFirmwareConfigurationBody struct {
Req *types.RestoreFirmwareConfiguration `xml:"urn:vim25 RestoreFirmwareConfiguration,omitempty"`
- Res *types.RestoreFirmwareConfigurationResponse `xml:"urn:vim25 RestoreFirmwareConfigurationResponse,omitempty"`
+ Res *types.RestoreFirmwareConfigurationResponse `xml:"RestoreFirmwareConfigurationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12465,7 +13385,7 @@ func RestoreFirmwareConfiguration(ctx context.Context, r soap.RoundTripper, req
type RetrieveAllPermissionsBody struct {
Req *types.RetrieveAllPermissions `xml:"urn:vim25 RetrieveAllPermissions,omitempty"`
- Res *types.RetrieveAllPermissionsResponse `xml:"urn:vim25 RetrieveAllPermissionsResponse,omitempty"`
+ Res *types.RetrieveAllPermissionsResponse `xml:"RetrieveAllPermissionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12485,7 +13405,7 @@ func RetrieveAllPermissions(ctx context.Context, r soap.RoundTripper, req *types
type RetrieveAnswerFileBody struct {
Req *types.RetrieveAnswerFile `xml:"urn:vim25 RetrieveAnswerFile,omitempty"`
- Res *types.RetrieveAnswerFileResponse `xml:"urn:vim25 RetrieveAnswerFileResponse,omitempty"`
+ Res *types.RetrieveAnswerFileResponse `xml:"RetrieveAnswerFileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12505,7 +13425,7 @@ func RetrieveAnswerFile(ctx context.Context, r soap.RoundTripper, req *types.Ret
type RetrieveAnswerFileForProfileBody struct {
Req *types.RetrieveAnswerFileForProfile `xml:"urn:vim25 RetrieveAnswerFileForProfile,omitempty"`
- Res *types.RetrieveAnswerFileForProfileResponse `xml:"urn:vim25 RetrieveAnswerFileForProfileResponse,omitempty"`
+ Res *types.RetrieveAnswerFileForProfileResponse `xml:"RetrieveAnswerFileForProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12525,7 +13445,7 @@ func RetrieveAnswerFileForProfile(ctx context.Context, r soap.RoundTripper, req
type RetrieveArgumentDescriptionBody struct {
Req *types.RetrieveArgumentDescription `xml:"urn:vim25 RetrieveArgumentDescription,omitempty"`
- Res *types.RetrieveArgumentDescriptionResponse `xml:"urn:vim25 RetrieveArgumentDescriptionResponse,omitempty"`
+ Res *types.RetrieveArgumentDescriptionResponse `xml:"RetrieveArgumentDescriptionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12545,7 +13465,7 @@ func RetrieveArgumentDescription(ctx context.Context, r soap.RoundTripper, req *
type RetrieveClientCertBody struct {
Req *types.RetrieveClientCert `xml:"urn:vim25 RetrieveClientCert,omitempty"`
- Res *types.RetrieveClientCertResponse `xml:"urn:vim25 RetrieveClientCertResponse,omitempty"`
+ Res *types.RetrieveClientCertResponse `xml:"RetrieveClientCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12565,7 +13485,7 @@ func RetrieveClientCert(ctx context.Context, r soap.RoundTripper, req *types.Ret
type RetrieveClientCsrBody struct {
Req *types.RetrieveClientCsr `xml:"urn:vim25 RetrieveClientCsr,omitempty"`
- Res *types.RetrieveClientCsrResponse `xml:"urn:vim25 RetrieveClientCsrResponse,omitempty"`
+ Res *types.RetrieveClientCsrResponse `xml:"RetrieveClientCsrResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12585,7 +13505,7 @@ func RetrieveClientCsr(ctx context.Context, r soap.RoundTripper, req *types.Retr
type RetrieveDasAdvancedRuntimeInfoBody struct {
Req *types.RetrieveDasAdvancedRuntimeInfo `xml:"urn:vim25 RetrieveDasAdvancedRuntimeInfo,omitempty"`
- Res *types.RetrieveDasAdvancedRuntimeInfoResponse `xml:"urn:vim25 RetrieveDasAdvancedRuntimeInfoResponse,omitempty"`
+ Res *types.RetrieveDasAdvancedRuntimeInfoResponse `xml:"RetrieveDasAdvancedRuntimeInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12605,7 +13525,7 @@ func RetrieveDasAdvancedRuntimeInfo(ctx context.Context, r soap.RoundTripper, re
type RetrieveDescriptionBody struct {
Req *types.RetrieveDescription `xml:"urn:vim25 RetrieveDescription,omitempty"`
- Res *types.RetrieveDescriptionResponse `xml:"urn:vim25 RetrieveDescriptionResponse,omitempty"`
+ Res *types.RetrieveDescriptionResponse `xml:"RetrieveDescriptionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12625,7 +13545,7 @@ func RetrieveDescription(ctx context.Context, r soap.RoundTripper, req *types.Re
type RetrieveDiskPartitionInfoBody struct {
Req *types.RetrieveDiskPartitionInfo `xml:"urn:vim25 RetrieveDiskPartitionInfo,omitempty"`
- Res *types.RetrieveDiskPartitionInfoResponse `xml:"urn:vim25 RetrieveDiskPartitionInfoResponse,omitempty"`
+ Res *types.RetrieveDiskPartitionInfoResponse `xml:"RetrieveDiskPartitionInfoResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12645,7 +13565,7 @@ func RetrieveDiskPartitionInfo(ctx context.Context, r soap.RoundTripper, req *ty
type RetrieveEntityPermissionsBody struct {
Req *types.RetrieveEntityPermissions `xml:"urn:vim25 RetrieveEntityPermissions,omitempty"`
- Res *types.RetrieveEntityPermissionsResponse `xml:"urn:vim25 RetrieveEntityPermissionsResponse,omitempty"`
+ Res *types.RetrieveEntityPermissionsResponse `xml:"RetrieveEntityPermissionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12665,7 +13585,7 @@ func RetrieveEntityPermissions(ctx context.Context, r soap.RoundTripper, req *ty
type RetrieveEntityScheduledTaskBody struct {
Req *types.RetrieveEntityScheduledTask `xml:"urn:vim25 RetrieveEntityScheduledTask,omitempty"`
- Res *types.RetrieveEntityScheduledTaskResponse `xml:"urn:vim25 RetrieveEntityScheduledTaskResponse,omitempty"`
+ Res *types.RetrieveEntityScheduledTaskResponse `xml:"RetrieveEntityScheduledTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12685,7 +13605,7 @@ func RetrieveEntityScheduledTask(ctx context.Context, r soap.RoundTripper, req *
type RetrieveHardwareUptimeBody struct {
Req *types.RetrieveHardwareUptime `xml:"urn:vim25 RetrieveHardwareUptime,omitempty"`
- Res *types.RetrieveHardwareUptimeResponse `xml:"urn:vim25 RetrieveHardwareUptimeResponse,omitempty"`
+ Res *types.RetrieveHardwareUptimeResponse `xml:"RetrieveHardwareUptimeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12705,7 +13625,7 @@ func RetrieveHardwareUptime(ctx context.Context, r soap.RoundTripper, req *types
type RetrieveHostAccessControlEntriesBody struct {
Req *types.RetrieveHostAccessControlEntries `xml:"urn:vim25 RetrieveHostAccessControlEntries,omitempty"`
- Res *types.RetrieveHostAccessControlEntriesResponse `xml:"urn:vim25 RetrieveHostAccessControlEntriesResponse,omitempty"`
+ Res *types.RetrieveHostAccessControlEntriesResponse `xml:"RetrieveHostAccessControlEntriesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12725,7 +13645,7 @@ func RetrieveHostAccessControlEntries(ctx context.Context, r soap.RoundTripper,
type RetrieveHostCustomizationsBody struct {
Req *types.RetrieveHostCustomizations `xml:"urn:vim25 RetrieveHostCustomizations,omitempty"`
- Res *types.RetrieveHostCustomizationsResponse `xml:"urn:vim25 RetrieveHostCustomizationsResponse,omitempty"`
+ Res *types.RetrieveHostCustomizationsResponse `xml:"RetrieveHostCustomizationsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12745,7 +13665,7 @@ func RetrieveHostCustomizations(ctx context.Context, r soap.RoundTripper, req *t
type RetrieveHostCustomizationsForProfileBody struct {
Req *types.RetrieveHostCustomizationsForProfile `xml:"urn:vim25 RetrieveHostCustomizationsForProfile,omitempty"`
- Res *types.RetrieveHostCustomizationsForProfileResponse `xml:"urn:vim25 RetrieveHostCustomizationsForProfileResponse,omitempty"`
+ Res *types.RetrieveHostCustomizationsForProfileResponse `xml:"RetrieveHostCustomizationsForProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12765,7 +13685,7 @@ func RetrieveHostCustomizationsForProfile(ctx context.Context, r soap.RoundTripp
type RetrieveHostSpecificationBody struct {
Req *types.RetrieveHostSpecification `xml:"urn:vim25 RetrieveHostSpecification,omitempty"`
- Res *types.RetrieveHostSpecificationResponse `xml:"urn:vim25 RetrieveHostSpecificationResponse,omitempty"`
+ Res *types.RetrieveHostSpecificationResponse `xml:"RetrieveHostSpecificationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12785,7 +13705,7 @@ func RetrieveHostSpecification(ctx context.Context, r soap.RoundTripper, req *ty
type RetrieveKmipServerCertBody struct {
Req *types.RetrieveKmipServerCert `xml:"urn:vim25 RetrieveKmipServerCert,omitempty"`
- Res *types.RetrieveKmipServerCertResponse `xml:"urn:vim25 RetrieveKmipServerCertResponse,omitempty"`
+ Res *types.RetrieveKmipServerCertResponse `xml:"RetrieveKmipServerCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12805,7 +13725,7 @@ func RetrieveKmipServerCert(ctx context.Context, r soap.RoundTripper, req *types
type RetrieveKmipServersStatus_TaskBody struct {
Req *types.RetrieveKmipServersStatus_Task `xml:"urn:vim25 RetrieveKmipServersStatus_Task,omitempty"`
- Res *types.RetrieveKmipServersStatus_TaskResponse `xml:"urn:vim25 RetrieveKmipServersStatus_TaskResponse,omitempty"`
+ Res *types.RetrieveKmipServersStatus_TaskResponse `xml:"RetrieveKmipServersStatus_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12825,7 +13745,7 @@ func RetrieveKmipServersStatus_Task(ctx context.Context, r soap.RoundTripper, re
type RetrieveObjectScheduledTaskBody struct {
Req *types.RetrieveObjectScheduledTask `xml:"urn:vim25 RetrieveObjectScheduledTask,omitempty"`
- Res *types.RetrieveObjectScheduledTaskResponse `xml:"urn:vim25 RetrieveObjectScheduledTaskResponse,omitempty"`
+ Res *types.RetrieveObjectScheduledTaskResponse `xml:"RetrieveObjectScheduledTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12845,7 +13765,7 @@ func RetrieveObjectScheduledTask(ctx context.Context, r soap.RoundTripper, req *
type RetrieveProductComponentsBody struct {
Req *types.RetrieveProductComponents `xml:"urn:vim25 RetrieveProductComponents,omitempty"`
- Res *types.RetrieveProductComponentsResponse `xml:"urn:vim25 RetrieveProductComponentsResponse,omitempty"`
+ Res *types.RetrieveProductComponentsResponse `xml:"RetrieveProductComponentsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12865,7 +13785,7 @@ func RetrieveProductComponents(ctx context.Context, r soap.RoundTripper, req *ty
type RetrievePropertiesBody struct {
Req *types.RetrieveProperties `xml:"urn:vim25 RetrieveProperties,omitempty"`
- Res *types.RetrievePropertiesResponse `xml:"urn:vim25 RetrievePropertiesResponse,omitempty"`
+ Res *types.RetrievePropertiesResponse `xml:"RetrievePropertiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12885,7 +13805,7 @@ func RetrieveProperties(ctx context.Context, r soap.RoundTripper, req *types.Ret
type RetrievePropertiesExBody struct {
Req *types.RetrievePropertiesEx `xml:"urn:vim25 RetrievePropertiesEx,omitempty"`
- Res *types.RetrievePropertiesExResponse `xml:"urn:vim25 RetrievePropertiesExResponse,omitempty"`
+ Res *types.RetrievePropertiesExResponse `xml:"RetrievePropertiesExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12905,7 +13825,7 @@ func RetrievePropertiesEx(ctx context.Context, r soap.RoundTripper, req *types.R
type RetrieveRolePermissionsBody struct {
Req *types.RetrieveRolePermissions `xml:"urn:vim25 RetrieveRolePermissions,omitempty"`
- Res *types.RetrieveRolePermissionsResponse `xml:"urn:vim25 RetrieveRolePermissionsResponse,omitempty"`
+ Res *types.RetrieveRolePermissionsResponse `xml:"RetrieveRolePermissionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12925,7 +13845,7 @@ func RetrieveRolePermissions(ctx context.Context, r soap.RoundTripper, req *type
type RetrieveSelfSignedClientCertBody struct {
Req *types.RetrieveSelfSignedClientCert `xml:"urn:vim25 RetrieveSelfSignedClientCert,omitempty"`
- Res *types.RetrieveSelfSignedClientCertResponse `xml:"urn:vim25 RetrieveSelfSignedClientCertResponse,omitempty"`
+ Res *types.RetrieveSelfSignedClientCertResponse `xml:"RetrieveSelfSignedClientCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12945,7 +13865,7 @@ func RetrieveSelfSignedClientCert(ctx context.Context, r soap.RoundTripper, req
type RetrieveServiceContentBody struct {
Req *types.RetrieveServiceContent `xml:"urn:vim25 RetrieveServiceContent,omitempty"`
- Res *types.RetrieveServiceContentResponse `xml:"urn:vim25 RetrieveServiceContentResponse,omitempty"`
+ Res *types.RetrieveServiceContentResponse `xml:"RetrieveServiceContentResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12963,9 +13883,29 @@ func RetrieveServiceContent(ctx context.Context, r soap.RoundTripper, req *types
return resBody.Res, nil
}
+type RetrieveSnapshotInfoBody struct {
+ Req *types.RetrieveSnapshotInfo `xml:"urn:vim25 RetrieveSnapshotInfo,omitempty"`
+ Res *types.RetrieveSnapshotInfoResponse `xml:"RetrieveSnapshotInfoResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *RetrieveSnapshotInfoBody) Fault() *soap.Fault { return b.Fault_ }
+
+func RetrieveSnapshotInfo(ctx context.Context, r soap.RoundTripper, req *types.RetrieveSnapshotInfo) (*types.RetrieveSnapshotInfoResponse, error) {
+ var reqBody, resBody RetrieveSnapshotInfoBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type RetrieveUserGroupsBody struct {
Req *types.RetrieveUserGroups `xml:"urn:vim25 RetrieveUserGroups,omitempty"`
- Res *types.RetrieveUserGroupsResponse `xml:"urn:vim25 RetrieveUserGroupsResponse,omitempty"`
+ Res *types.RetrieveUserGroupsResponse `xml:"RetrieveUserGroupsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -12983,9 +13923,29 @@ func RetrieveUserGroups(ctx context.Context, r soap.RoundTripper, req *types.Ret
return resBody.Res, nil
}
+type RetrieveVStorageInfrastructureObjectPolicyBody struct {
+ Req *types.RetrieveVStorageInfrastructureObjectPolicy `xml:"urn:vim25 RetrieveVStorageInfrastructureObjectPolicy,omitempty"`
+ Res *types.RetrieveVStorageInfrastructureObjectPolicyResponse `xml:"RetrieveVStorageInfrastructureObjectPolicyResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *RetrieveVStorageInfrastructureObjectPolicyBody) Fault() *soap.Fault { return b.Fault_ }
+
+func RetrieveVStorageInfrastructureObjectPolicy(ctx context.Context, r soap.RoundTripper, req *types.RetrieveVStorageInfrastructureObjectPolicy) (*types.RetrieveVStorageInfrastructureObjectPolicyResponse, error) {
+ var reqBody, resBody RetrieveVStorageInfrastructureObjectPolicyBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type RetrieveVStorageObjectBody struct {
Req *types.RetrieveVStorageObject `xml:"urn:vim25 RetrieveVStorageObject,omitempty"`
- Res *types.RetrieveVStorageObjectResponse `xml:"urn:vim25 RetrieveVStorageObjectResponse,omitempty"`
+ Res *types.RetrieveVStorageObjectResponse `xml:"RetrieveVStorageObjectResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13003,9 +13963,29 @@ func RetrieveVStorageObject(ctx context.Context, r soap.RoundTripper, req *types
return resBody.Res, nil
}
+type RetrieveVStorageObjectAssociationsBody struct {
+ Req *types.RetrieveVStorageObjectAssociations `xml:"urn:vim25 RetrieveVStorageObjectAssociations,omitempty"`
+ Res *types.RetrieveVStorageObjectAssociationsResponse `xml:"RetrieveVStorageObjectAssociationsResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *RetrieveVStorageObjectAssociationsBody) Fault() *soap.Fault { return b.Fault_ }
+
+func RetrieveVStorageObjectAssociations(ctx context.Context, r soap.RoundTripper, req *types.RetrieveVStorageObjectAssociations) (*types.RetrieveVStorageObjectAssociationsResponse, error) {
+ var reqBody, resBody RetrieveVStorageObjectAssociationsBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type RetrieveVStorageObjectStateBody struct {
Req *types.RetrieveVStorageObjectState `xml:"urn:vim25 RetrieveVStorageObjectState,omitempty"`
- Res *types.RetrieveVStorageObjectStateResponse `xml:"urn:vim25 RetrieveVStorageObjectStateResponse,omitempty"`
+ Res *types.RetrieveVStorageObjectStateResponse `xml:"RetrieveVStorageObjectStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13025,7 +14005,7 @@ func RetrieveVStorageObjectState(ctx context.Context, r soap.RoundTripper, req *
type RevertToCurrentSnapshot_TaskBody struct {
Req *types.RevertToCurrentSnapshot_Task `xml:"urn:vim25 RevertToCurrentSnapshot_Task,omitempty"`
- Res *types.RevertToCurrentSnapshot_TaskResponse `xml:"urn:vim25 RevertToCurrentSnapshot_TaskResponse,omitempty"`
+ Res *types.RevertToCurrentSnapshot_TaskResponse `xml:"RevertToCurrentSnapshot_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13045,7 +14025,7 @@ func RevertToCurrentSnapshot_Task(ctx context.Context, r soap.RoundTripper, req
type RevertToSnapshot_TaskBody struct {
Req *types.RevertToSnapshot_Task `xml:"urn:vim25 RevertToSnapshot_Task,omitempty"`
- Res *types.RevertToSnapshot_TaskResponse `xml:"urn:vim25 RevertToSnapshot_TaskResponse,omitempty"`
+ Res *types.RevertToSnapshot_TaskResponse `xml:"RevertToSnapshot_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13063,9 +14043,29 @@ func RevertToSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.
return resBody.Res, nil
}
+type RevertVStorageObject_TaskBody struct {
+ Req *types.RevertVStorageObject_Task `xml:"urn:vim25 RevertVStorageObject_Task,omitempty"`
+ Res *types.RevertVStorageObject_TaskResponse `xml:"RevertVStorageObject_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *RevertVStorageObject_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func RevertVStorageObject_Task(ctx context.Context, r soap.RoundTripper, req *types.RevertVStorageObject_Task) (*types.RevertVStorageObject_TaskResponse, error) {
+ var reqBody, resBody RevertVStorageObject_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type RewindCollectorBody struct {
Req *types.RewindCollector `xml:"urn:vim25 RewindCollector,omitempty"`
- Res *types.RewindCollectorResponse `xml:"urn:vim25 RewindCollectorResponse,omitempty"`
+ Res *types.RewindCollectorResponse `xml:"RewindCollectorResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13085,7 +14085,7 @@ func RewindCollector(ctx context.Context, r soap.RoundTripper, req *types.Rewind
type RunScheduledTaskBody struct {
Req *types.RunScheduledTask `xml:"urn:vim25 RunScheduledTask,omitempty"`
- Res *types.RunScheduledTaskResponse `xml:"urn:vim25 RunScheduledTaskResponse,omitempty"`
+ Res *types.RunScheduledTaskResponse `xml:"RunScheduledTaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13105,7 +14105,7 @@ func RunScheduledTask(ctx context.Context, r soap.RoundTripper, req *types.RunSc
type RunVsanPhysicalDiskDiagnosticsBody struct {
Req *types.RunVsanPhysicalDiskDiagnostics `xml:"urn:vim25 RunVsanPhysicalDiskDiagnostics,omitempty"`
- Res *types.RunVsanPhysicalDiskDiagnosticsResponse `xml:"urn:vim25 RunVsanPhysicalDiskDiagnosticsResponse,omitempty"`
+ Res *types.RunVsanPhysicalDiskDiagnosticsResponse `xml:"RunVsanPhysicalDiskDiagnosticsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13125,7 +14125,7 @@ func RunVsanPhysicalDiskDiagnostics(ctx context.Context, r soap.RoundTripper, re
type ScanHostPatchV2_TaskBody struct {
Req *types.ScanHostPatchV2_Task `xml:"urn:vim25 ScanHostPatchV2_Task,omitempty"`
- Res *types.ScanHostPatchV2_TaskResponse `xml:"urn:vim25 ScanHostPatchV2_TaskResponse,omitempty"`
+ Res *types.ScanHostPatchV2_TaskResponse `xml:"ScanHostPatchV2_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13145,7 +14145,7 @@ func ScanHostPatchV2_Task(ctx context.Context, r soap.RoundTripper, req *types.S
type ScanHostPatch_TaskBody struct {
Req *types.ScanHostPatch_Task `xml:"urn:vim25 ScanHostPatch_Task,omitempty"`
- Res *types.ScanHostPatch_TaskResponse `xml:"urn:vim25 ScanHostPatch_TaskResponse,omitempty"`
+ Res *types.ScanHostPatch_TaskResponse `xml:"ScanHostPatch_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13165,7 +14165,7 @@ func ScanHostPatch_Task(ctx context.Context, r soap.RoundTripper, req *types.Sca
type ScheduleReconcileDatastoreInventoryBody struct {
Req *types.ScheduleReconcileDatastoreInventory `xml:"urn:vim25 ScheduleReconcileDatastoreInventory,omitempty"`
- Res *types.ScheduleReconcileDatastoreInventoryResponse `xml:"urn:vim25 ScheduleReconcileDatastoreInventoryResponse,omitempty"`
+ Res *types.ScheduleReconcileDatastoreInventoryResponse `xml:"ScheduleReconcileDatastoreInventoryResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13185,7 +14185,7 @@ func ScheduleReconcileDatastoreInventory(ctx context.Context, r soap.RoundTrippe
type SearchDatastoreSubFolders_TaskBody struct {
Req *types.SearchDatastoreSubFolders_Task `xml:"urn:vim25 SearchDatastoreSubFolders_Task,omitempty"`
- Res *types.SearchDatastoreSubFolders_TaskResponse `xml:"urn:vim25 SearchDatastoreSubFolders_TaskResponse,omitempty"`
+ Res *types.SearchDatastoreSubFolders_TaskResponse `xml:"SearchDatastoreSubFolders_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13205,7 +14205,7 @@ func SearchDatastoreSubFolders_Task(ctx context.Context, r soap.RoundTripper, re
type SearchDatastore_TaskBody struct {
Req *types.SearchDatastore_Task `xml:"urn:vim25 SearchDatastore_Task,omitempty"`
- Res *types.SearchDatastore_TaskResponse `xml:"urn:vim25 SearchDatastore_TaskResponse,omitempty"`
+ Res *types.SearchDatastore_TaskResponse `xml:"SearchDatastore_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13225,7 +14225,7 @@ func SearchDatastore_Task(ctx context.Context, r soap.RoundTripper, req *types.S
type SelectActivePartitionBody struct {
Req *types.SelectActivePartition `xml:"urn:vim25 SelectActivePartition,omitempty"`
- Res *types.SelectActivePartitionResponse `xml:"urn:vim25 SelectActivePartitionResponse,omitempty"`
+ Res *types.SelectActivePartitionResponse `xml:"SelectActivePartitionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13245,7 +14245,7 @@ func SelectActivePartition(ctx context.Context, r soap.RoundTripper, req *types.
type SelectVnicBody struct {
Req *types.SelectVnic `xml:"urn:vim25 SelectVnic,omitempty"`
- Res *types.SelectVnicResponse `xml:"urn:vim25 SelectVnicResponse,omitempty"`
+ Res *types.SelectVnicResponse `xml:"SelectVnicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13265,7 +14265,7 @@ func SelectVnic(ctx context.Context, r soap.RoundTripper, req *types.SelectVnic)
type SelectVnicForNicTypeBody struct {
Req *types.SelectVnicForNicType `xml:"urn:vim25 SelectVnicForNicType,omitempty"`
- Res *types.SelectVnicForNicTypeResponse `xml:"urn:vim25 SelectVnicForNicTypeResponse,omitempty"`
+ Res *types.SelectVnicForNicTypeResponse `xml:"SelectVnicForNicTypeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13285,7 +14285,7 @@ func SelectVnicForNicType(ctx context.Context, r soap.RoundTripper, req *types.S
type SendNMIBody struct {
Req *types.SendNMI `xml:"urn:vim25 SendNMI,omitempty"`
- Res *types.SendNMIResponse `xml:"urn:vim25 SendNMIResponse,omitempty"`
+ Res *types.SendNMIResponse `xml:"SendNMIResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13305,7 +14305,7 @@ func SendNMI(ctx context.Context, r soap.RoundTripper, req *types.SendNMI) (*typ
type SendTestNotificationBody struct {
Req *types.SendTestNotification `xml:"urn:vim25 SendTestNotification,omitempty"`
- Res *types.SendTestNotificationResponse `xml:"urn:vim25 SendTestNotificationResponse,omitempty"`
+ Res *types.SendTestNotificationResponse `xml:"SendTestNotificationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13325,7 +14325,7 @@ func SendTestNotification(ctx context.Context, r soap.RoundTripper, req *types.S
type SessionIsActiveBody struct {
Req *types.SessionIsActive `xml:"urn:vim25 SessionIsActive,omitempty"`
- Res *types.SessionIsActiveResponse `xml:"urn:vim25 SessionIsActiveResponse,omitempty"`
+ Res *types.SessionIsActiveResponse `xml:"SessionIsActiveResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13345,7 +14345,7 @@ func SessionIsActive(ctx context.Context, r soap.RoundTripper, req *types.Sessio
type SetCollectorPageSizeBody struct {
Req *types.SetCollectorPageSize `xml:"urn:vim25 SetCollectorPageSize,omitempty"`
- Res *types.SetCollectorPageSizeResponse `xml:"urn:vim25 SetCollectorPageSizeResponse,omitempty"`
+ Res *types.SetCollectorPageSizeResponse `xml:"SetCollectorPageSizeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13365,7 +14365,7 @@ func SetCollectorPageSize(ctx context.Context, r soap.RoundTripper, req *types.S
type SetDisplayTopologyBody struct {
Req *types.SetDisplayTopology `xml:"urn:vim25 SetDisplayTopology,omitempty"`
- Res *types.SetDisplayTopologyResponse `xml:"urn:vim25 SetDisplayTopologyResponse,omitempty"`
+ Res *types.SetDisplayTopologyResponse `xml:"SetDisplayTopologyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13385,7 +14385,7 @@ func SetDisplayTopology(ctx context.Context, r soap.RoundTripper, req *types.Set
type SetEntityPermissionsBody struct {
Req *types.SetEntityPermissions `xml:"urn:vim25 SetEntityPermissions,omitempty"`
- Res *types.SetEntityPermissionsResponse `xml:"urn:vim25 SetEntityPermissionsResponse,omitempty"`
+ Res *types.SetEntityPermissionsResponse `xml:"SetEntityPermissionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13405,7 +14405,7 @@ func SetEntityPermissions(ctx context.Context, r soap.RoundTripper, req *types.S
type SetExtensionCertificateBody struct {
Req *types.SetExtensionCertificate `xml:"urn:vim25 SetExtensionCertificate,omitempty"`
- Res *types.SetExtensionCertificateResponse `xml:"urn:vim25 SetExtensionCertificateResponse,omitempty"`
+ Res *types.SetExtensionCertificateResponse `xml:"SetExtensionCertificateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13425,7 +14425,7 @@ func SetExtensionCertificate(ctx context.Context, r soap.RoundTripper, req *type
type SetFieldBody struct {
Req *types.SetField `xml:"urn:vim25 SetField,omitempty"`
- Res *types.SetFieldResponse `xml:"urn:vim25 SetFieldResponse,omitempty"`
+ Res *types.SetFieldResponse `xml:"SetFieldResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13445,7 +14445,7 @@ func SetField(ctx context.Context, r soap.RoundTripper, req *types.SetField) (*t
type SetLicenseEditionBody struct {
Req *types.SetLicenseEdition `xml:"urn:vim25 SetLicenseEdition,omitempty"`
- Res *types.SetLicenseEditionResponse `xml:"urn:vim25 SetLicenseEditionResponse,omitempty"`
+ Res *types.SetLicenseEditionResponse `xml:"SetLicenseEditionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13465,7 +14465,7 @@ func SetLicenseEdition(ctx context.Context, r soap.RoundTripper, req *types.SetL
type SetLocaleBody struct {
Req *types.SetLocale `xml:"urn:vim25 SetLocale,omitempty"`
- Res *types.SetLocaleResponse `xml:"urn:vim25 SetLocaleResponse,omitempty"`
+ Res *types.SetLocaleResponse `xml:"SetLocaleResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13485,7 +14485,7 @@ func SetLocale(ctx context.Context, r soap.RoundTripper, req *types.SetLocale) (
type SetMultipathLunPolicyBody struct {
Req *types.SetMultipathLunPolicy `xml:"urn:vim25 SetMultipathLunPolicy,omitempty"`
- Res *types.SetMultipathLunPolicyResponse `xml:"urn:vim25 SetMultipathLunPolicyResponse,omitempty"`
+ Res *types.SetMultipathLunPolicyResponse `xml:"SetMultipathLunPolicyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13505,7 +14505,7 @@ func SetMultipathLunPolicy(ctx context.Context, r soap.RoundTripper, req *types.
type SetNFSUserBody struct {
Req *types.SetNFSUser `xml:"urn:vim25 SetNFSUser,omitempty"`
- Res *types.SetNFSUserResponse `xml:"urn:vim25 SetNFSUserResponse,omitempty"`
+ Res *types.SetNFSUserResponse `xml:"SetNFSUserResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13525,7 +14525,7 @@ func SetNFSUser(ctx context.Context, r soap.RoundTripper, req *types.SetNFSUser)
type SetPublicKeyBody struct {
Req *types.SetPublicKey `xml:"urn:vim25 SetPublicKey,omitempty"`
- Res *types.SetPublicKeyResponse `xml:"urn:vim25 SetPublicKeyResponse,omitempty"`
+ Res *types.SetPublicKeyResponse `xml:"SetPublicKeyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13545,7 +14545,7 @@ func SetPublicKey(ctx context.Context, r soap.RoundTripper, req *types.SetPublic
type SetRegistryValueInGuestBody struct {
Req *types.SetRegistryValueInGuest `xml:"urn:vim25 SetRegistryValueInGuest,omitempty"`
- Res *types.SetRegistryValueInGuestResponse `xml:"urn:vim25 SetRegistryValueInGuestResponse,omitempty"`
+ Res *types.SetRegistryValueInGuestResponse `xml:"SetRegistryValueInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13565,7 +14565,7 @@ func SetRegistryValueInGuest(ctx context.Context, r soap.RoundTripper, req *type
type SetScreenResolutionBody struct {
Req *types.SetScreenResolution `xml:"urn:vim25 SetScreenResolution,omitempty"`
- Res *types.SetScreenResolutionResponse `xml:"urn:vim25 SetScreenResolutionResponse,omitempty"`
+ Res *types.SetScreenResolutionResponse `xml:"SetScreenResolutionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13585,7 +14585,7 @@ func SetScreenResolution(ctx context.Context, r soap.RoundTripper, req *types.Se
type SetTaskDescriptionBody struct {
Req *types.SetTaskDescription `xml:"urn:vim25 SetTaskDescription,omitempty"`
- Res *types.SetTaskDescriptionResponse `xml:"urn:vim25 SetTaskDescriptionResponse,omitempty"`
+ Res *types.SetTaskDescriptionResponse `xml:"SetTaskDescriptionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13605,7 +14605,7 @@ func SetTaskDescription(ctx context.Context, r soap.RoundTripper, req *types.Set
type SetTaskStateBody struct {
Req *types.SetTaskState `xml:"urn:vim25 SetTaskState,omitempty"`
- Res *types.SetTaskStateResponse `xml:"urn:vim25 SetTaskStateResponse,omitempty"`
+ Res *types.SetTaskStateResponse `xml:"SetTaskStateResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13623,9 +14623,29 @@ func SetTaskState(ctx context.Context, r soap.RoundTripper, req *types.SetTaskSt
return resBody.Res, nil
}
+type SetVStorageObjectControlFlagsBody struct {
+ Req *types.SetVStorageObjectControlFlags `xml:"urn:vim25 SetVStorageObjectControlFlags,omitempty"`
+ Res *types.SetVStorageObjectControlFlagsResponse `xml:"SetVStorageObjectControlFlagsResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *SetVStorageObjectControlFlagsBody) Fault() *soap.Fault { return b.Fault_ }
+
+func SetVStorageObjectControlFlags(ctx context.Context, r soap.RoundTripper, req *types.SetVStorageObjectControlFlags) (*types.SetVStorageObjectControlFlagsResponse, error) {
+ var reqBody, resBody SetVStorageObjectControlFlagsBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type SetVirtualDiskUuidBody struct {
Req *types.SetVirtualDiskUuid `xml:"urn:vim25 SetVirtualDiskUuid,omitempty"`
- Res *types.SetVirtualDiskUuidResponse `xml:"urn:vim25 SetVirtualDiskUuidResponse,omitempty"`
+ Res *types.SetVirtualDiskUuidResponse `xml:"SetVirtualDiskUuidResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13645,7 +14665,7 @@ func SetVirtualDiskUuid(ctx context.Context, r soap.RoundTripper, req *types.Set
type ShrinkVirtualDisk_TaskBody struct {
Req *types.ShrinkVirtualDisk_Task `xml:"urn:vim25 ShrinkVirtualDisk_Task,omitempty"`
- Res *types.ShrinkVirtualDisk_TaskResponse `xml:"urn:vim25 ShrinkVirtualDisk_TaskResponse,omitempty"`
+ Res *types.ShrinkVirtualDisk_TaskResponse `xml:"ShrinkVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13665,7 +14685,7 @@ func ShrinkVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *types
type ShutdownGuestBody struct {
Req *types.ShutdownGuest `xml:"urn:vim25 ShutdownGuest,omitempty"`
- Res *types.ShutdownGuestResponse `xml:"urn:vim25 ShutdownGuestResponse,omitempty"`
+ Res *types.ShutdownGuestResponse `xml:"ShutdownGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13685,7 +14705,7 @@ func ShutdownGuest(ctx context.Context, r soap.RoundTripper, req *types.Shutdown
type ShutdownHost_TaskBody struct {
Req *types.ShutdownHost_Task `xml:"urn:vim25 ShutdownHost_Task,omitempty"`
- Res *types.ShutdownHost_TaskResponse `xml:"urn:vim25 ShutdownHost_TaskResponse,omitempty"`
+ Res *types.ShutdownHost_TaskResponse `xml:"ShutdownHost_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13705,7 +14725,7 @@ func ShutdownHost_Task(ctx context.Context, r soap.RoundTripper, req *types.Shut
type StageHostPatch_TaskBody struct {
Req *types.StageHostPatch_Task `xml:"urn:vim25 StageHostPatch_Task,omitempty"`
- Res *types.StageHostPatch_TaskResponse `xml:"urn:vim25 StageHostPatch_TaskResponse,omitempty"`
+ Res *types.StageHostPatch_TaskResponse `xml:"StageHostPatch_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13725,7 +14745,7 @@ func StageHostPatch_Task(ctx context.Context, r soap.RoundTripper, req *types.St
type StampAllRulesWithUuid_TaskBody struct {
Req *types.StampAllRulesWithUuid_Task `xml:"urn:vim25 StampAllRulesWithUuid_Task,omitempty"`
- Res *types.StampAllRulesWithUuid_TaskResponse `xml:"urn:vim25 StampAllRulesWithUuid_TaskResponse,omitempty"`
+ Res *types.StampAllRulesWithUuid_TaskResponse `xml:"StampAllRulesWithUuid_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13745,7 +14765,7 @@ func StampAllRulesWithUuid_Task(ctx context.Context, r soap.RoundTripper, req *t
type StandbyGuestBody struct {
Req *types.StandbyGuest `xml:"urn:vim25 StandbyGuest,omitempty"`
- Res *types.StandbyGuestResponse `xml:"urn:vim25 StandbyGuestResponse,omitempty"`
+ Res *types.StandbyGuestResponse `xml:"StandbyGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13765,7 +14785,7 @@ func StandbyGuest(ctx context.Context, r soap.RoundTripper, req *types.StandbyGu
type StartProgramInGuestBody struct {
Req *types.StartProgramInGuest `xml:"urn:vim25 StartProgramInGuest,omitempty"`
- Res *types.StartProgramInGuestResponse `xml:"urn:vim25 StartProgramInGuestResponse,omitempty"`
+ Res *types.StartProgramInGuestResponse `xml:"StartProgramInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13785,7 +14805,7 @@ func StartProgramInGuest(ctx context.Context, r soap.RoundTripper, req *types.St
type StartRecording_TaskBody struct {
Req *types.StartRecording_Task `xml:"urn:vim25 StartRecording_Task,omitempty"`
- Res *types.StartRecording_TaskResponse `xml:"urn:vim25 StartRecording_TaskResponse,omitempty"`
+ Res *types.StartRecording_TaskResponse `xml:"StartRecording_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13805,7 +14825,7 @@ func StartRecording_Task(ctx context.Context, r soap.RoundTripper, req *types.St
type StartReplaying_TaskBody struct {
Req *types.StartReplaying_Task `xml:"urn:vim25 StartReplaying_Task,omitempty"`
- Res *types.StartReplaying_TaskResponse `xml:"urn:vim25 StartReplaying_TaskResponse,omitempty"`
+ Res *types.StartReplaying_TaskResponse `xml:"StartReplaying_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13825,7 +14845,7 @@ func StartReplaying_Task(ctx context.Context, r soap.RoundTripper, req *types.St
type StartServiceBody struct {
Req *types.StartService `xml:"urn:vim25 StartService,omitempty"`
- Res *types.StartServiceResponse `xml:"urn:vim25 StartServiceResponse,omitempty"`
+ Res *types.StartServiceResponse `xml:"StartServiceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13845,7 +14865,7 @@ func StartService(ctx context.Context, r soap.RoundTripper, req *types.StartServ
type StopRecording_TaskBody struct {
Req *types.StopRecording_Task `xml:"urn:vim25 StopRecording_Task,omitempty"`
- Res *types.StopRecording_TaskResponse `xml:"urn:vim25 StopRecording_TaskResponse,omitempty"`
+ Res *types.StopRecording_TaskResponse `xml:"StopRecording_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13865,7 +14885,7 @@ func StopRecording_Task(ctx context.Context, r soap.RoundTripper, req *types.Sto
type StopReplaying_TaskBody struct {
Req *types.StopReplaying_Task `xml:"urn:vim25 StopReplaying_Task,omitempty"`
- Res *types.StopReplaying_TaskResponse `xml:"urn:vim25 StopReplaying_TaskResponse,omitempty"`
+ Res *types.StopReplaying_TaskResponse `xml:"StopReplaying_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13885,7 +14905,7 @@ func StopReplaying_Task(ctx context.Context, r soap.RoundTripper, req *types.Sto
type StopServiceBody struct {
Req *types.StopService `xml:"urn:vim25 StopService,omitempty"`
- Res *types.StopServiceResponse `xml:"urn:vim25 StopServiceResponse,omitempty"`
+ Res *types.StopServiceResponse `xml:"StopServiceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13905,7 +14925,7 @@ func StopService(ctx context.Context, r soap.RoundTripper, req *types.StopServic
type SuspendVApp_TaskBody struct {
Req *types.SuspendVApp_Task `xml:"urn:vim25 SuspendVApp_Task,omitempty"`
- Res *types.SuspendVApp_TaskResponse `xml:"urn:vim25 SuspendVApp_TaskResponse,omitempty"`
+ Res *types.SuspendVApp_TaskResponse `xml:"SuspendVApp_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13925,7 +14945,7 @@ func SuspendVApp_Task(ctx context.Context, r soap.RoundTripper, req *types.Suspe
type SuspendVM_TaskBody struct {
Req *types.SuspendVM_Task `xml:"urn:vim25 SuspendVM_Task,omitempty"`
- Res *types.SuspendVM_TaskResponse `xml:"urn:vim25 SuspendVM_TaskResponse,omitempty"`
+ Res *types.SuspendVM_TaskResponse `xml:"SuspendVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13945,7 +14965,7 @@ func SuspendVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Suspend
type TerminateFaultTolerantVM_TaskBody struct {
Req *types.TerminateFaultTolerantVM_Task `xml:"urn:vim25 TerminateFaultTolerantVM_Task,omitempty"`
- Res *types.TerminateFaultTolerantVM_TaskResponse `xml:"urn:vim25 TerminateFaultTolerantVM_TaskResponse,omitempty"`
+ Res *types.TerminateFaultTolerantVM_TaskResponse `xml:"TerminateFaultTolerantVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13965,7 +14985,7 @@ func TerminateFaultTolerantVM_Task(ctx context.Context, r soap.RoundTripper, req
type TerminateProcessInGuestBody struct {
Req *types.TerminateProcessInGuest `xml:"urn:vim25 TerminateProcessInGuest,omitempty"`
- Res *types.TerminateProcessInGuestResponse `xml:"urn:vim25 TerminateProcessInGuestResponse,omitempty"`
+ Res *types.TerminateProcessInGuestResponse `xml:"TerminateProcessInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -13985,7 +15005,7 @@ func TerminateProcessInGuest(ctx context.Context, r soap.RoundTripper, req *type
type TerminateSessionBody struct {
Req *types.TerminateSession `xml:"urn:vim25 TerminateSession,omitempty"`
- Res *types.TerminateSessionResponse `xml:"urn:vim25 TerminateSessionResponse,omitempty"`
+ Res *types.TerminateSessionResponse `xml:"TerminateSessionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14005,7 +15025,7 @@ func TerminateSession(ctx context.Context, r soap.RoundTripper, req *types.Termi
type TerminateVMBody struct {
Req *types.TerminateVM `xml:"urn:vim25 TerminateVM,omitempty"`
- Res *types.TerminateVMResponse `xml:"urn:vim25 TerminateVMResponse,omitempty"`
+ Res *types.TerminateVMResponse `xml:"TerminateVMResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14025,7 +15045,7 @@ func TerminateVM(ctx context.Context, r soap.RoundTripper, req *types.TerminateV
type TurnDiskLocatorLedOff_TaskBody struct {
Req *types.TurnDiskLocatorLedOff_Task `xml:"urn:vim25 TurnDiskLocatorLedOff_Task,omitempty"`
- Res *types.TurnDiskLocatorLedOff_TaskResponse `xml:"urn:vim25 TurnDiskLocatorLedOff_TaskResponse,omitempty"`
+ Res *types.TurnDiskLocatorLedOff_TaskResponse `xml:"TurnDiskLocatorLedOff_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14045,7 +15065,7 @@ func TurnDiskLocatorLedOff_Task(ctx context.Context, r soap.RoundTripper, req *t
type TurnDiskLocatorLedOn_TaskBody struct {
Req *types.TurnDiskLocatorLedOn_Task `xml:"urn:vim25 TurnDiskLocatorLedOn_Task,omitempty"`
- Res *types.TurnDiskLocatorLedOn_TaskResponse `xml:"urn:vim25 TurnDiskLocatorLedOn_TaskResponse,omitempty"`
+ Res *types.TurnDiskLocatorLedOn_TaskResponse `xml:"TurnDiskLocatorLedOn_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14065,7 +15085,7 @@ func TurnDiskLocatorLedOn_Task(ctx context.Context, r soap.RoundTripper, req *ty
type TurnOffFaultToleranceForVM_TaskBody struct {
Req *types.TurnOffFaultToleranceForVM_Task `xml:"urn:vim25 TurnOffFaultToleranceForVM_Task,omitempty"`
- Res *types.TurnOffFaultToleranceForVM_TaskResponse `xml:"urn:vim25 TurnOffFaultToleranceForVM_TaskResponse,omitempty"`
+ Res *types.TurnOffFaultToleranceForVM_TaskResponse `xml:"TurnOffFaultToleranceForVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14085,7 +15105,7 @@ func TurnOffFaultToleranceForVM_Task(ctx context.Context, r soap.RoundTripper, r
type UnassignUserFromGroupBody struct {
Req *types.UnassignUserFromGroup `xml:"urn:vim25 UnassignUserFromGroup,omitempty"`
- Res *types.UnassignUserFromGroupResponse `xml:"urn:vim25 UnassignUserFromGroupResponse,omitempty"`
+ Res *types.UnassignUserFromGroupResponse `xml:"UnassignUserFromGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14105,7 +15125,7 @@ func UnassignUserFromGroup(ctx context.Context, r soap.RoundTripper, req *types.
type UnbindVnicBody struct {
Req *types.UnbindVnic `xml:"urn:vim25 UnbindVnic,omitempty"`
- Res *types.UnbindVnicResponse `xml:"urn:vim25 UnbindVnicResponse,omitempty"`
+ Res *types.UnbindVnicResponse `xml:"UnbindVnicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14125,7 +15145,7 @@ func UnbindVnic(ctx context.Context, r soap.RoundTripper, req *types.UnbindVnic)
type UninstallHostPatch_TaskBody struct {
Req *types.UninstallHostPatch_Task `xml:"urn:vim25 UninstallHostPatch_Task,omitempty"`
- Res *types.UninstallHostPatch_TaskResponse `xml:"urn:vim25 UninstallHostPatch_TaskResponse,omitempty"`
+ Res *types.UninstallHostPatch_TaskResponse `xml:"UninstallHostPatch_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14145,7 +15165,7 @@ func UninstallHostPatch_Task(ctx context.Context, r soap.RoundTripper, req *type
type UninstallIoFilter_TaskBody struct {
Req *types.UninstallIoFilter_Task `xml:"urn:vim25 UninstallIoFilter_Task,omitempty"`
- Res *types.UninstallIoFilter_TaskResponse `xml:"urn:vim25 UninstallIoFilter_TaskResponse,omitempty"`
+ Res *types.UninstallIoFilter_TaskResponse `xml:"UninstallIoFilter_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14165,7 +15185,7 @@ func UninstallIoFilter_Task(ctx context.Context, r soap.RoundTripper, req *types
type UninstallServiceBody struct {
Req *types.UninstallService `xml:"urn:vim25 UninstallService,omitempty"`
- Res *types.UninstallServiceResponse `xml:"urn:vim25 UninstallServiceResponse,omitempty"`
+ Res *types.UninstallServiceResponse `xml:"UninstallServiceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14185,7 +15205,7 @@ func UninstallService(ctx context.Context, r soap.RoundTripper, req *types.Unins
type UnmapVmfsVolumeEx_TaskBody struct {
Req *types.UnmapVmfsVolumeEx_Task `xml:"urn:vim25 UnmapVmfsVolumeEx_Task,omitempty"`
- Res *types.UnmapVmfsVolumeEx_TaskResponse `xml:"urn:vim25 UnmapVmfsVolumeEx_TaskResponse,omitempty"`
+ Res *types.UnmapVmfsVolumeEx_TaskResponse `xml:"UnmapVmfsVolumeEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14205,7 +15225,7 @@ func UnmapVmfsVolumeEx_Task(ctx context.Context, r soap.RoundTripper, req *types
type UnmountDiskMapping_TaskBody struct {
Req *types.UnmountDiskMapping_Task `xml:"urn:vim25 UnmountDiskMapping_Task,omitempty"`
- Res *types.UnmountDiskMapping_TaskResponse `xml:"urn:vim25 UnmountDiskMapping_TaskResponse,omitempty"`
+ Res *types.UnmountDiskMapping_TaskResponse `xml:"UnmountDiskMapping_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14225,7 +15245,7 @@ func UnmountDiskMapping_Task(ctx context.Context, r soap.RoundTripper, req *type
type UnmountForceMountedVmfsVolumeBody struct {
Req *types.UnmountForceMountedVmfsVolume `xml:"urn:vim25 UnmountForceMountedVmfsVolume,omitempty"`
- Res *types.UnmountForceMountedVmfsVolumeResponse `xml:"urn:vim25 UnmountForceMountedVmfsVolumeResponse,omitempty"`
+ Res *types.UnmountForceMountedVmfsVolumeResponse `xml:"UnmountForceMountedVmfsVolumeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14245,7 +15265,7 @@ func UnmountForceMountedVmfsVolume(ctx context.Context, r soap.RoundTripper, req
type UnmountToolsInstallerBody struct {
Req *types.UnmountToolsInstaller `xml:"urn:vim25 UnmountToolsInstaller,omitempty"`
- Res *types.UnmountToolsInstallerResponse `xml:"urn:vim25 UnmountToolsInstallerResponse,omitempty"`
+ Res *types.UnmountToolsInstallerResponse `xml:"UnmountToolsInstallerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14265,7 +15285,7 @@ func UnmountToolsInstaller(ctx context.Context, r soap.RoundTripper, req *types.
type UnmountVffsVolumeBody struct {
Req *types.UnmountVffsVolume `xml:"urn:vim25 UnmountVffsVolume,omitempty"`
- Res *types.UnmountVffsVolumeResponse `xml:"urn:vim25 UnmountVffsVolumeResponse,omitempty"`
+ Res *types.UnmountVffsVolumeResponse `xml:"UnmountVffsVolumeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14285,7 +15305,7 @@ func UnmountVffsVolume(ctx context.Context, r soap.RoundTripper, req *types.Unmo
type UnmountVmfsVolumeBody struct {
Req *types.UnmountVmfsVolume `xml:"urn:vim25 UnmountVmfsVolume,omitempty"`
- Res *types.UnmountVmfsVolumeResponse `xml:"urn:vim25 UnmountVmfsVolumeResponse,omitempty"`
+ Res *types.UnmountVmfsVolumeResponse `xml:"UnmountVmfsVolumeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14305,7 +15325,7 @@ func UnmountVmfsVolume(ctx context.Context, r soap.RoundTripper, req *types.Unmo
type UnmountVmfsVolumeEx_TaskBody struct {
Req *types.UnmountVmfsVolumeEx_Task `xml:"urn:vim25 UnmountVmfsVolumeEx_Task,omitempty"`
- Res *types.UnmountVmfsVolumeEx_TaskResponse `xml:"urn:vim25 UnmountVmfsVolumeEx_TaskResponse,omitempty"`
+ Res *types.UnmountVmfsVolumeEx_TaskResponse `xml:"UnmountVmfsVolumeEx_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14325,7 +15345,7 @@ func UnmountVmfsVolumeEx_Task(ctx context.Context, r soap.RoundTripper, req *typ
type UnregisterAndDestroy_TaskBody struct {
Req *types.UnregisterAndDestroy_Task `xml:"urn:vim25 UnregisterAndDestroy_Task,omitempty"`
- Res *types.UnregisterAndDestroy_TaskResponse `xml:"urn:vim25 UnregisterAndDestroy_TaskResponse,omitempty"`
+ Res *types.UnregisterAndDestroy_TaskResponse `xml:"UnregisterAndDestroy_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14345,7 +15365,7 @@ func UnregisterAndDestroy_Task(ctx context.Context, r soap.RoundTripper, req *ty
type UnregisterExtensionBody struct {
Req *types.UnregisterExtension `xml:"urn:vim25 UnregisterExtension,omitempty"`
- Res *types.UnregisterExtensionResponse `xml:"urn:vim25 UnregisterExtensionResponse,omitempty"`
+ Res *types.UnregisterExtensionResponse `xml:"UnregisterExtensionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14365,7 +15385,7 @@ func UnregisterExtension(ctx context.Context, r soap.RoundTripper, req *types.Un
type UnregisterHealthUpdateProviderBody struct {
Req *types.UnregisterHealthUpdateProvider `xml:"urn:vim25 UnregisterHealthUpdateProvider,omitempty"`
- Res *types.UnregisterHealthUpdateProviderResponse `xml:"urn:vim25 UnregisterHealthUpdateProviderResponse,omitempty"`
+ Res *types.UnregisterHealthUpdateProviderResponse `xml:"UnregisterHealthUpdateProviderResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14385,7 +15405,7 @@ func UnregisterHealthUpdateProvider(ctx context.Context, r soap.RoundTripper, re
type UnregisterVMBody struct {
Req *types.UnregisterVM `xml:"urn:vim25 UnregisterVM,omitempty"`
- Res *types.UnregisterVMResponse `xml:"urn:vim25 UnregisterVMResponse,omitempty"`
+ Res *types.UnregisterVMResponse `xml:"UnregisterVMResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14405,7 +15425,7 @@ func UnregisterVM(ctx context.Context, r soap.RoundTripper, req *types.Unregiste
type UpdateAnswerFile_TaskBody struct {
Req *types.UpdateAnswerFile_Task `xml:"urn:vim25 UpdateAnswerFile_Task,omitempty"`
- Res *types.UpdateAnswerFile_TaskResponse `xml:"urn:vim25 UpdateAnswerFile_TaskResponse,omitempty"`
+ Res *types.UpdateAnswerFile_TaskResponse `xml:"UpdateAnswerFile_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14425,7 +15445,7 @@ func UpdateAnswerFile_Task(ctx context.Context, r soap.RoundTripper, req *types.
type UpdateAssignedLicenseBody struct {
Req *types.UpdateAssignedLicense `xml:"urn:vim25 UpdateAssignedLicense,omitempty"`
- Res *types.UpdateAssignedLicenseResponse `xml:"urn:vim25 UpdateAssignedLicenseResponse,omitempty"`
+ Res *types.UpdateAssignedLicenseResponse `xml:"UpdateAssignedLicenseResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14445,7 +15465,7 @@ func UpdateAssignedLicense(ctx context.Context, r soap.RoundTripper, req *types.
type UpdateAuthorizationRoleBody struct {
Req *types.UpdateAuthorizationRole `xml:"urn:vim25 UpdateAuthorizationRole,omitempty"`
- Res *types.UpdateAuthorizationRoleResponse `xml:"urn:vim25 UpdateAuthorizationRoleResponse,omitempty"`
+ Res *types.UpdateAuthorizationRoleResponse `xml:"UpdateAuthorizationRoleResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14465,7 +15485,7 @@ func UpdateAuthorizationRole(ctx context.Context, r soap.RoundTripper, req *type
type UpdateBootDeviceBody struct {
Req *types.UpdateBootDevice `xml:"urn:vim25 UpdateBootDevice,omitempty"`
- Res *types.UpdateBootDeviceResponse `xml:"urn:vim25 UpdateBootDeviceResponse,omitempty"`
+ Res *types.UpdateBootDeviceResponse `xml:"UpdateBootDeviceResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14485,7 +15505,7 @@ func UpdateBootDevice(ctx context.Context, r soap.RoundTripper, req *types.Updat
type UpdateChildResourceConfigurationBody struct {
Req *types.UpdateChildResourceConfiguration `xml:"urn:vim25 UpdateChildResourceConfiguration,omitempty"`
- Res *types.UpdateChildResourceConfigurationResponse `xml:"urn:vim25 UpdateChildResourceConfigurationResponse,omitempty"`
+ Res *types.UpdateChildResourceConfigurationResponse `xml:"UpdateChildResourceConfigurationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14505,7 +15525,7 @@ func UpdateChildResourceConfiguration(ctx context.Context, r soap.RoundTripper,
type UpdateClusterProfileBody struct {
Req *types.UpdateClusterProfile `xml:"urn:vim25 UpdateClusterProfile,omitempty"`
- Res *types.UpdateClusterProfileResponse `xml:"urn:vim25 UpdateClusterProfileResponse,omitempty"`
+ Res *types.UpdateClusterProfileResponse `xml:"UpdateClusterProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14525,7 +15545,7 @@ func UpdateClusterProfile(ctx context.Context, r soap.RoundTripper, req *types.U
type UpdateConfigBody struct {
Req *types.UpdateConfig `xml:"urn:vim25 UpdateConfig,omitempty"`
- Res *types.UpdateConfigResponse `xml:"urn:vim25 UpdateConfigResponse,omitempty"`
+ Res *types.UpdateConfigResponse `xml:"UpdateConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14545,7 +15565,7 @@ func UpdateConfig(ctx context.Context, r soap.RoundTripper, req *types.UpdateCon
type UpdateConsoleIpRouteConfigBody struct {
Req *types.UpdateConsoleIpRouteConfig `xml:"urn:vim25 UpdateConsoleIpRouteConfig,omitempty"`
- Res *types.UpdateConsoleIpRouteConfigResponse `xml:"urn:vim25 UpdateConsoleIpRouteConfigResponse,omitempty"`
+ Res *types.UpdateConsoleIpRouteConfigResponse `xml:"UpdateConsoleIpRouteConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14565,7 +15585,7 @@ func UpdateConsoleIpRouteConfig(ctx context.Context, r soap.RoundTripper, req *t
type UpdateCounterLevelMappingBody struct {
Req *types.UpdateCounterLevelMapping `xml:"urn:vim25 UpdateCounterLevelMapping,omitempty"`
- Res *types.UpdateCounterLevelMappingResponse `xml:"urn:vim25 UpdateCounterLevelMappingResponse,omitempty"`
+ Res *types.UpdateCounterLevelMappingResponse `xml:"UpdateCounterLevelMappingResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14585,7 +15605,7 @@ func UpdateCounterLevelMapping(ctx context.Context, r soap.RoundTripper, req *ty
type UpdateDVSHealthCheckConfig_TaskBody struct {
Req *types.UpdateDVSHealthCheckConfig_Task `xml:"urn:vim25 UpdateDVSHealthCheckConfig_Task,omitempty"`
- Res *types.UpdateDVSHealthCheckConfig_TaskResponse `xml:"urn:vim25 UpdateDVSHealthCheckConfig_TaskResponse,omitempty"`
+ Res *types.UpdateDVSHealthCheckConfig_TaskResponse `xml:"UpdateDVSHealthCheckConfig_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14605,7 +15625,7 @@ func UpdateDVSHealthCheckConfig_Task(ctx context.Context, r soap.RoundTripper, r
type UpdateDVSLacpGroupConfig_TaskBody struct {
Req *types.UpdateDVSLacpGroupConfig_Task `xml:"urn:vim25 UpdateDVSLacpGroupConfig_Task,omitempty"`
- Res *types.UpdateDVSLacpGroupConfig_TaskResponse `xml:"urn:vim25 UpdateDVSLacpGroupConfig_TaskResponse,omitempty"`
+ Res *types.UpdateDVSLacpGroupConfig_TaskResponse `xml:"UpdateDVSLacpGroupConfig_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14625,7 +15645,7 @@ func UpdateDVSLacpGroupConfig_Task(ctx context.Context, r soap.RoundTripper, req
type UpdateDateTimeBody struct {
Req *types.UpdateDateTime `xml:"urn:vim25 UpdateDateTime,omitempty"`
- Res *types.UpdateDateTimeResponse `xml:"urn:vim25 UpdateDateTimeResponse,omitempty"`
+ Res *types.UpdateDateTimeResponse `xml:"UpdateDateTimeResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14645,7 +15665,7 @@ func UpdateDateTime(ctx context.Context, r soap.RoundTripper, req *types.UpdateD
type UpdateDateTimeConfigBody struct {
Req *types.UpdateDateTimeConfig `xml:"urn:vim25 UpdateDateTimeConfig,omitempty"`
- Res *types.UpdateDateTimeConfigResponse `xml:"urn:vim25 UpdateDateTimeConfigResponse,omitempty"`
+ Res *types.UpdateDateTimeConfigResponse `xml:"UpdateDateTimeConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14665,7 +15685,7 @@ func UpdateDateTimeConfig(ctx context.Context, r soap.RoundTripper, req *types.U
type UpdateDefaultPolicyBody struct {
Req *types.UpdateDefaultPolicy `xml:"urn:vim25 UpdateDefaultPolicy,omitempty"`
- Res *types.UpdateDefaultPolicyResponse `xml:"urn:vim25 UpdateDefaultPolicyResponse,omitempty"`
+ Res *types.UpdateDefaultPolicyResponse `xml:"UpdateDefaultPolicyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14685,7 +15705,7 @@ func UpdateDefaultPolicy(ctx context.Context, r soap.RoundTripper, req *types.Up
type UpdateDiskPartitionsBody struct {
Req *types.UpdateDiskPartitions `xml:"urn:vim25 UpdateDiskPartitions,omitempty"`
- Res *types.UpdateDiskPartitionsResponse `xml:"urn:vim25 UpdateDiskPartitionsResponse,omitempty"`
+ Res *types.UpdateDiskPartitionsResponse `xml:"UpdateDiskPartitionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14705,7 +15725,7 @@ func UpdateDiskPartitions(ctx context.Context, r soap.RoundTripper, req *types.U
type UpdateDnsConfigBody struct {
Req *types.UpdateDnsConfig `xml:"urn:vim25 UpdateDnsConfig,omitempty"`
- Res *types.UpdateDnsConfigResponse `xml:"urn:vim25 UpdateDnsConfigResponse,omitempty"`
+ Res *types.UpdateDnsConfigResponse `xml:"UpdateDnsConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14725,7 +15745,7 @@ func UpdateDnsConfig(ctx context.Context, r soap.RoundTripper, req *types.Update
type UpdateDvsCapabilityBody struct {
Req *types.UpdateDvsCapability `xml:"urn:vim25 UpdateDvsCapability,omitempty"`
- Res *types.UpdateDvsCapabilityResponse `xml:"urn:vim25 UpdateDvsCapabilityResponse,omitempty"`
+ Res *types.UpdateDvsCapabilityResponse `xml:"UpdateDvsCapabilityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14745,7 +15765,7 @@ func UpdateDvsCapability(ctx context.Context, r soap.RoundTripper, req *types.Up
type UpdateExtensionBody struct {
Req *types.UpdateExtension `xml:"urn:vim25 UpdateExtension,omitempty"`
- Res *types.UpdateExtensionResponse `xml:"urn:vim25 UpdateExtensionResponse,omitempty"`
+ Res *types.UpdateExtensionResponse `xml:"UpdateExtensionResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14765,7 +15785,7 @@ func UpdateExtension(ctx context.Context, r soap.RoundTripper, req *types.Update
type UpdateFlagsBody struct {
Req *types.UpdateFlags `xml:"urn:vim25 UpdateFlags,omitempty"`
- Res *types.UpdateFlagsResponse `xml:"urn:vim25 UpdateFlagsResponse,omitempty"`
+ Res *types.UpdateFlagsResponse `xml:"UpdateFlagsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14785,7 +15805,7 @@ func UpdateFlags(ctx context.Context, r soap.RoundTripper, req *types.UpdateFlag
type UpdateGraphicsConfigBody struct {
Req *types.UpdateGraphicsConfig `xml:"urn:vim25 UpdateGraphicsConfig,omitempty"`
- Res *types.UpdateGraphicsConfigResponse `xml:"urn:vim25 UpdateGraphicsConfigResponse,omitempty"`
+ Res *types.UpdateGraphicsConfigResponse `xml:"UpdateGraphicsConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14805,7 +15825,7 @@ func UpdateGraphicsConfig(ctx context.Context, r soap.RoundTripper, req *types.U
type UpdateHostCustomizations_TaskBody struct {
Req *types.UpdateHostCustomizations_Task `xml:"urn:vim25 UpdateHostCustomizations_Task,omitempty"`
- Res *types.UpdateHostCustomizations_TaskResponse `xml:"urn:vim25 UpdateHostCustomizations_TaskResponse,omitempty"`
+ Res *types.UpdateHostCustomizations_TaskResponse `xml:"UpdateHostCustomizations_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14825,7 +15845,7 @@ func UpdateHostCustomizations_Task(ctx context.Context, r soap.RoundTripper, req
type UpdateHostImageAcceptanceLevelBody struct {
Req *types.UpdateHostImageAcceptanceLevel `xml:"urn:vim25 UpdateHostImageAcceptanceLevel,omitempty"`
- Res *types.UpdateHostImageAcceptanceLevelResponse `xml:"urn:vim25 UpdateHostImageAcceptanceLevelResponse,omitempty"`
+ Res *types.UpdateHostImageAcceptanceLevelResponse `xml:"UpdateHostImageAcceptanceLevelResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14845,7 +15865,7 @@ func UpdateHostImageAcceptanceLevel(ctx context.Context, r soap.RoundTripper, re
type UpdateHostProfileBody struct {
Req *types.UpdateHostProfile `xml:"urn:vim25 UpdateHostProfile,omitempty"`
- Res *types.UpdateHostProfileResponse `xml:"urn:vim25 UpdateHostProfileResponse,omitempty"`
+ Res *types.UpdateHostProfileResponse `xml:"UpdateHostProfileResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14865,7 +15885,7 @@ func UpdateHostProfile(ctx context.Context, r soap.RoundTripper, req *types.Upda
type UpdateHostSpecificationBody struct {
Req *types.UpdateHostSpecification `xml:"urn:vim25 UpdateHostSpecification,omitempty"`
- Res *types.UpdateHostSpecificationResponse `xml:"urn:vim25 UpdateHostSpecificationResponse,omitempty"`
+ Res *types.UpdateHostSpecificationResponse `xml:"UpdateHostSpecificationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14885,7 +15905,7 @@ func UpdateHostSpecification(ctx context.Context, r soap.RoundTripper, req *type
type UpdateHostSubSpecificationBody struct {
Req *types.UpdateHostSubSpecification `xml:"urn:vim25 UpdateHostSubSpecification,omitempty"`
- Res *types.UpdateHostSubSpecificationResponse `xml:"urn:vim25 UpdateHostSubSpecificationResponse,omitempty"`
+ Res *types.UpdateHostSubSpecificationResponse `xml:"UpdateHostSubSpecificationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14905,7 +15925,7 @@ func UpdateHostSubSpecification(ctx context.Context, r soap.RoundTripper, req *t
type UpdateInternetScsiAdvancedOptionsBody struct {
Req *types.UpdateInternetScsiAdvancedOptions `xml:"urn:vim25 UpdateInternetScsiAdvancedOptions,omitempty"`
- Res *types.UpdateInternetScsiAdvancedOptionsResponse `xml:"urn:vim25 UpdateInternetScsiAdvancedOptionsResponse,omitempty"`
+ Res *types.UpdateInternetScsiAdvancedOptionsResponse `xml:"UpdateInternetScsiAdvancedOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14925,7 +15945,7 @@ func UpdateInternetScsiAdvancedOptions(ctx context.Context, r soap.RoundTripper,
type UpdateInternetScsiAliasBody struct {
Req *types.UpdateInternetScsiAlias `xml:"urn:vim25 UpdateInternetScsiAlias,omitempty"`
- Res *types.UpdateInternetScsiAliasResponse `xml:"urn:vim25 UpdateInternetScsiAliasResponse,omitempty"`
+ Res *types.UpdateInternetScsiAliasResponse `xml:"UpdateInternetScsiAliasResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14945,7 +15965,7 @@ func UpdateInternetScsiAlias(ctx context.Context, r soap.RoundTripper, req *type
type UpdateInternetScsiAuthenticationPropertiesBody struct {
Req *types.UpdateInternetScsiAuthenticationProperties `xml:"urn:vim25 UpdateInternetScsiAuthenticationProperties,omitempty"`
- Res *types.UpdateInternetScsiAuthenticationPropertiesResponse `xml:"urn:vim25 UpdateInternetScsiAuthenticationPropertiesResponse,omitempty"`
+ Res *types.UpdateInternetScsiAuthenticationPropertiesResponse `xml:"UpdateInternetScsiAuthenticationPropertiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14965,7 +15985,7 @@ func UpdateInternetScsiAuthenticationProperties(ctx context.Context, r soap.Roun
type UpdateInternetScsiDigestPropertiesBody struct {
Req *types.UpdateInternetScsiDigestProperties `xml:"urn:vim25 UpdateInternetScsiDigestProperties,omitempty"`
- Res *types.UpdateInternetScsiDigestPropertiesResponse `xml:"urn:vim25 UpdateInternetScsiDigestPropertiesResponse,omitempty"`
+ Res *types.UpdateInternetScsiDigestPropertiesResponse `xml:"UpdateInternetScsiDigestPropertiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -14985,7 +16005,7 @@ func UpdateInternetScsiDigestProperties(ctx context.Context, r soap.RoundTripper
type UpdateInternetScsiDiscoveryPropertiesBody struct {
Req *types.UpdateInternetScsiDiscoveryProperties `xml:"urn:vim25 UpdateInternetScsiDiscoveryProperties,omitempty"`
- Res *types.UpdateInternetScsiDiscoveryPropertiesResponse `xml:"urn:vim25 UpdateInternetScsiDiscoveryPropertiesResponse,omitempty"`
+ Res *types.UpdateInternetScsiDiscoveryPropertiesResponse `xml:"UpdateInternetScsiDiscoveryPropertiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15005,7 +16025,7 @@ func UpdateInternetScsiDiscoveryProperties(ctx context.Context, r soap.RoundTrip
type UpdateInternetScsiIPPropertiesBody struct {
Req *types.UpdateInternetScsiIPProperties `xml:"urn:vim25 UpdateInternetScsiIPProperties,omitempty"`
- Res *types.UpdateInternetScsiIPPropertiesResponse `xml:"urn:vim25 UpdateInternetScsiIPPropertiesResponse,omitempty"`
+ Res *types.UpdateInternetScsiIPPropertiesResponse `xml:"UpdateInternetScsiIPPropertiesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15025,7 +16045,7 @@ func UpdateInternetScsiIPProperties(ctx context.Context, r soap.RoundTripper, re
type UpdateInternetScsiNameBody struct {
Req *types.UpdateInternetScsiName `xml:"urn:vim25 UpdateInternetScsiName,omitempty"`
- Res *types.UpdateInternetScsiNameResponse `xml:"urn:vim25 UpdateInternetScsiNameResponse,omitempty"`
+ Res *types.UpdateInternetScsiNameResponse `xml:"UpdateInternetScsiNameResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15045,7 +16065,7 @@ func UpdateInternetScsiName(ctx context.Context, r soap.RoundTripper, req *types
type UpdateIpConfigBody struct {
Req *types.UpdateIpConfig `xml:"urn:vim25 UpdateIpConfig,omitempty"`
- Res *types.UpdateIpConfigResponse `xml:"urn:vim25 UpdateIpConfigResponse,omitempty"`
+ Res *types.UpdateIpConfigResponse `xml:"UpdateIpConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15065,7 +16085,7 @@ func UpdateIpConfig(ctx context.Context, r soap.RoundTripper, req *types.UpdateI
type UpdateIpPoolBody struct {
Req *types.UpdateIpPool `xml:"urn:vim25 UpdateIpPool,omitempty"`
- Res *types.UpdateIpPoolResponse `xml:"urn:vim25 UpdateIpPoolResponse,omitempty"`
+ Res *types.UpdateIpPoolResponse `xml:"UpdateIpPoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15085,7 +16105,7 @@ func UpdateIpPool(ctx context.Context, r soap.RoundTripper, req *types.UpdateIpP
type UpdateIpRouteConfigBody struct {
Req *types.UpdateIpRouteConfig `xml:"urn:vim25 UpdateIpRouteConfig,omitempty"`
- Res *types.UpdateIpRouteConfigResponse `xml:"urn:vim25 UpdateIpRouteConfigResponse,omitempty"`
+ Res *types.UpdateIpRouteConfigResponse `xml:"UpdateIpRouteConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15105,7 +16125,7 @@ func UpdateIpRouteConfig(ctx context.Context, r soap.RoundTripper, req *types.Up
type UpdateIpRouteTableConfigBody struct {
Req *types.UpdateIpRouteTableConfig `xml:"urn:vim25 UpdateIpRouteTableConfig,omitempty"`
- Res *types.UpdateIpRouteTableConfigResponse `xml:"urn:vim25 UpdateIpRouteTableConfigResponse,omitempty"`
+ Res *types.UpdateIpRouteTableConfigResponse `xml:"UpdateIpRouteTableConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15125,7 +16145,7 @@ func UpdateIpRouteTableConfig(ctx context.Context, r soap.RoundTripper, req *typ
type UpdateIpmiBody struct {
Req *types.UpdateIpmi `xml:"urn:vim25 UpdateIpmi,omitempty"`
- Res *types.UpdateIpmiResponse `xml:"urn:vim25 UpdateIpmiResponse,omitempty"`
+ Res *types.UpdateIpmiResponse `xml:"UpdateIpmiResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15145,7 +16165,7 @@ func UpdateIpmi(ctx context.Context, r soap.RoundTripper, req *types.UpdateIpmi)
type UpdateKmipServerBody struct {
Req *types.UpdateKmipServer `xml:"urn:vim25 UpdateKmipServer,omitempty"`
- Res *types.UpdateKmipServerResponse `xml:"urn:vim25 UpdateKmipServerResponse,omitempty"`
+ Res *types.UpdateKmipServerResponse `xml:"UpdateKmipServerResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15165,7 +16185,7 @@ func UpdateKmipServer(ctx context.Context, r soap.RoundTripper, req *types.Updat
type UpdateKmsSignedCsrClientCertBody struct {
Req *types.UpdateKmsSignedCsrClientCert `xml:"urn:vim25 UpdateKmsSignedCsrClientCert,omitempty"`
- Res *types.UpdateKmsSignedCsrClientCertResponse `xml:"urn:vim25 UpdateKmsSignedCsrClientCertResponse,omitempty"`
+ Res *types.UpdateKmsSignedCsrClientCertResponse `xml:"UpdateKmsSignedCsrClientCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15185,7 +16205,7 @@ func UpdateKmsSignedCsrClientCert(ctx context.Context, r soap.RoundTripper, req
type UpdateLicenseBody struct {
Req *types.UpdateLicense `xml:"urn:vim25 UpdateLicense,omitempty"`
- Res *types.UpdateLicenseResponse `xml:"urn:vim25 UpdateLicenseResponse,omitempty"`
+ Res *types.UpdateLicenseResponse `xml:"UpdateLicenseResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15205,7 +16225,7 @@ func UpdateLicense(ctx context.Context, r soap.RoundTripper, req *types.UpdateLi
type UpdateLicenseLabelBody struct {
Req *types.UpdateLicenseLabel `xml:"urn:vim25 UpdateLicenseLabel,omitempty"`
- Res *types.UpdateLicenseLabelResponse `xml:"urn:vim25 UpdateLicenseLabelResponse,omitempty"`
+ Res *types.UpdateLicenseLabelResponse `xml:"UpdateLicenseLabelResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15225,7 +16245,7 @@ func UpdateLicenseLabel(ctx context.Context, r soap.RoundTripper, req *types.Upd
type UpdateLinkedChildrenBody struct {
Req *types.UpdateLinkedChildren `xml:"urn:vim25 UpdateLinkedChildren,omitempty"`
- Res *types.UpdateLinkedChildrenResponse `xml:"urn:vim25 UpdateLinkedChildrenResponse,omitempty"`
+ Res *types.UpdateLinkedChildrenResponse `xml:"UpdateLinkedChildrenResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15245,7 +16265,7 @@ func UpdateLinkedChildren(ctx context.Context, r soap.RoundTripper, req *types.U
type UpdateLocalSwapDatastoreBody struct {
Req *types.UpdateLocalSwapDatastore `xml:"urn:vim25 UpdateLocalSwapDatastore,omitempty"`
- Res *types.UpdateLocalSwapDatastoreResponse `xml:"urn:vim25 UpdateLocalSwapDatastoreResponse,omitempty"`
+ Res *types.UpdateLocalSwapDatastoreResponse `xml:"UpdateLocalSwapDatastoreResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15265,7 +16285,7 @@ func UpdateLocalSwapDatastore(ctx context.Context, r soap.RoundTripper, req *typ
type UpdateLockdownExceptionsBody struct {
Req *types.UpdateLockdownExceptions `xml:"urn:vim25 UpdateLockdownExceptions,omitempty"`
- Res *types.UpdateLockdownExceptionsResponse `xml:"urn:vim25 UpdateLockdownExceptionsResponse,omitempty"`
+ Res *types.UpdateLockdownExceptionsResponse `xml:"UpdateLockdownExceptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15285,7 +16305,7 @@ func UpdateLockdownExceptions(ctx context.Context, r soap.RoundTripper, req *typ
type UpdateModuleOptionStringBody struct {
Req *types.UpdateModuleOptionString `xml:"urn:vim25 UpdateModuleOptionString,omitempty"`
- Res *types.UpdateModuleOptionStringResponse `xml:"urn:vim25 UpdateModuleOptionStringResponse,omitempty"`
+ Res *types.UpdateModuleOptionStringResponse `xml:"UpdateModuleOptionStringResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15305,7 +16325,7 @@ func UpdateModuleOptionString(ctx context.Context, r soap.RoundTripper, req *typ
type UpdateNetworkConfigBody struct {
Req *types.UpdateNetworkConfig `xml:"urn:vim25 UpdateNetworkConfig,omitempty"`
- Res *types.UpdateNetworkConfigResponse `xml:"urn:vim25 UpdateNetworkConfigResponse,omitempty"`
+ Res *types.UpdateNetworkConfigResponse `xml:"UpdateNetworkConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15325,7 +16345,7 @@ func UpdateNetworkConfig(ctx context.Context, r soap.RoundTripper, req *types.Up
type UpdateNetworkResourcePoolBody struct {
Req *types.UpdateNetworkResourcePool `xml:"urn:vim25 UpdateNetworkResourcePool,omitempty"`
- Res *types.UpdateNetworkResourcePoolResponse `xml:"urn:vim25 UpdateNetworkResourcePoolResponse,omitempty"`
+ Res *types.UpdateNetworkResourcePoolResponse `xml:"UpdateNetworkResourcePoolResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15345,7 +16365,7 @@ func UpdateNetworkResourcePool(ctx context.Context, r soap.RoundTripper, req *ty
type UpdateOptionsBody struct {
Req *types.UpdateOptions `xml:"urn:vim25 UpdateOptions,omitempty"`
- Res *types.UpdateOptionsResponse `xml:"urn:vim25 UpdateOptionsResponse,omitempty"`
+ Res *types.UpdateOptionsResponse `xml:"UpdateOptionsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15365,7 +16385,7 @@ func UpdateOptions(ctx context.Context, r soap.RoundTripper, req *types.UpdateOp
type UpdatePassthruConfigBody struct {
Req *types.UpdatePassthruConfig `xml:"urn:vim25 UpdatePassthruConfig,omitempty"`
- Res *types.UpdatePassthruConfigResponse `xml:"urn:vim25 UpdatePassthruConfigResponse,omitempty"`
+ Res *types.UpdatePassthruConfigResponse `xml:"UpdatePassthruConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15385,7 +16405,7 @@ func UpdatePassthruConfig(ctx context.Context, r soap.RoundTripper, req *types.U
type UpdatePerfIntervalBody struct {
Req *types.UpdatePerfInterval `xml:"urn:vim25 UpdatePerfInterval,omitempty"`
- Res *types.UpdatePerfIntervalResponse `xml:"urn:vim25 UpdatePerfIntervalResponse,omitempty"`
+ Res *types.UpdatePerfIntervalResponse `xml:"UpdatePerfIntervalResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15405,7 +16425,7 @@ func UpdatePerfInterval(ctx context.Context, r soap.RoundTripper, req *types.Upd
type UpdatePhysicalNicLinkSpeedBody struct {
Req *types.UpdatePhysicalNicLinkSpeed `xml:"urn:vim25 UpdatePhysicalNicLinkSpeed,omitempty"`
- Res *types.UpdatePhysicalNicLinkSpeedResponse `xml:"urn:vim25 UpdatePhysicalNicLinkSpeedResponse,omitempty"`
+ Res *types.UpdatePhysicalNicLinkSpeedResponse `xml:"UpdatePhysicalNicLinkSpeedResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15425,7 +16445,7 @@ func UpdatePhysicalNicLinkSpeed(ctx context.Context, r soap.RoundTripper, req *t
type UpdatePortGroupBody struct {
Req *types.UpdatePortGroup `xml:"urn:vim25 UpdatePortGroup,omitempty"`
- Res *types.UpdatePortGroupResponse `xml:"urn:vim25 UpdatePortGroupResponse,omitempty"`
+ Res *types.UpdatePortGroupResponse `xml:"UpdatePortGroupResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15443,9 +16463,29 @@ func UpdatePortGroup(ctx context.Context, r soap.RoundTripper, req *types.Update
return resBody.Res, nil
}
+type UpdateProductLockerLocation_TaskBody struct {
+ Req *types.UpdateProductLockerLocation_Task `xml:"urn:vim25 UpdateProductLockerLocation_Task,omitempty"`
+ Res *types.UpdateProductLockerLocation_TaskResponse `xml:"UpdateProductLockerLocation_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *UpdateProductLockerLocation_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func UpdateProductLockerLocation_Task(ctx context.Context, r soap.RoundTripper, req *types.UpdateProductLockerLocation_Task) (*types.UpdateProductLockerLocation_TaskResponse, error) {
+ var reqBody, resBody UpdateProductLockerLocation_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type UpdateProgressBody struct {
Req *types.UpdateProgress `xml:"urn:vim25 UpdateProgress,omitempty"`
- Res *types.UpdateProgressResponse `xml:"urn:vim25 UpdateProgressResponse,omitempty"`
+ Res *types.UpdateProgressResponse `xml:"UpdateProgressResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15465,7 +16505,7 @@ func UpdateProgress(ctx context.Context, r soap.RoundTripper, req *types.UpdateP
type UpdateReferenceHostBody struct {
Req *types.UpdateReferenceHost `xml:"urn:vim25 UpdateReferenceHost,omitempty"`
- Res *types.UpdateReferenceHostResponse `xml:"urn:vim25 UpdateReferenceHostResponse,omitempty"`
+ Res *types.UpdateReferenceHostResponse `xml:"UpdateReferenceHostResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15485,7 +16525,7 @@ func UpdateReferenceHost(ctx context.Context, r soap.RoundTripper, req *types.Up
type UpdateRulesetBody struct {
Req *types.UpdateRuleset `xml:"urn:vim25 UpdateRuleset,omitempty"`
- Res *types.UpdateRulesetResponse `xml:"urn:vim25 UpdateRulesetResponse,omitempty"`
+ Res *types.UpdateRulesetResponse `xml:"UpdateRulesetResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15505,7 +16545,7 @@ func UpdateRuleset(ctx context.Context, r soap.RoundTripper, req *types.UpdateRu
type UpdateScsiLunDisplayNameBody struct {
Req *types.UpdateScsiLunDisplayName `xml:"urn:vim25 UpdateScsiLunDisplayName,omitempty"`
- Res *types.UpdateScsiLunDisplayNameResponse `xml:"urn:vim25 UpdateScsiLunDisplayNameResponse,omitempty"`
+ Res *types.UpdateScsiLunDisplayNameResponse `xml:"UpdateScsiLunDisplayNameResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15525,7 +16565,7 @@ func UpdateScsiLunDisplayName(ctx context.Context, r soap.RoundTripper, req *typ
type UpdateSelfSignedClientCertBody struct {
Req *types.UpdateSelfSignedClientCert `xml:"urn:vim25 UpdateSelfSignedClientCert,omitempty"`
- Res *types.UpdateSelfSignedClientCertResponse `xml:"urn:vim25 UpdateSelfSignedClientCertResponse,omitempty"`
+ Res *types.UpdateSelfSignedClientCertResponse `xml:"UpdateSelfSignedClientCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15545,7 +16585,7 @@ func UpdateSelfSignedClientCert(ctx context.Context, r soap.RoundTripper, req *t
type UpdateServiceConsoleVirtualNicBody struct {
Req *types.UpdateServiceConsoleVirtualNic `xml:"urn:vim25 UpdateServiceConsoleVirtualNic,omitempty"`
- Res *types.UpdateServiceConsoleVirtualNicResponse `xml:"urn:vim25 UpdateServiceConsoleVirtualNicResponse,omitempty"`
+ Res *types.UpdateServiceConsoleVirtualNicResponse `xml:"UpdateServiceConsoleVirtualNicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15565,7 +16605,7 @@ func UpdateServiceConsoleVirtualNic(ctx context.Context, r soap.RoundTripper, re
type UpdateServiceMessageBody struct {
Req *types.UpdateServiceMessage `xml:"urn:vim25 UpdateServiceMessage,omitempty"`
- Res *types.UpdateServiceMessageResponse `xml:"urn:vim25 UpdateServiceMessageResponse,omitempty"`
+ Res *types.UpdateServiceMessageResponse `xml:"UpdateServiceMessageResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15585,7 +16625,7 @@ func UpdateServiceMessage(ctx context.Context, r soap.RoundTripper, req *types.U
type UpdateServicePolicyBody struct {
Req *types.UpdateServicePolicy `xml:"urn:vim25 UpdateServicePolicy,omitempty"`
- Res *types.UpdateServicePolicyResponse `xml:"urn:vim25 UpdateServicePolicyResponse,omitempty"`
+ Res *types.UpdateServicePolicyResponse `xml:"UpdateServicePolicyResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15605,7 +16645,7 @@ func UpdateServicePolicy(ctx context.Context, r soap.RoundTripper, req *types.Up
type UpdateSoftwareInternetScsiEnabledBody struct {
Req *types.UpdateSoftwareInternetScsiEnabled `xml:"urn:vim25 UpdateSoftwareInternetScsiEnabled,omitempty"`
- Res *types.UpdateSoftwareInternetScsiEnabledResponse `xml:"urn:vim25 UpdateSoftwareInternetScsiEnabledResponse,omitempty"`
+ Res *types.UpdateSoftwareInternetScsiEnabledResponse `xml:"UpdateSoftwareInternetScsiEnabledResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15625,7 +16665,7 @@ func UpdateSoftwareInternetScsiEnabled(ctx context.Context, r soap.RoundTripper,
type UpdateSystemResourcesBody struct {
Req *types.UpdateSystemResources `xml:"urn:vim25 UpdateSystemResources,omitempty"`
- Res *types.UpdateSystemResourcesResponse `xml:"urn:vim25 UpdateSystemResourcesResponse,omitempty"`
+ Res *types.UpdateSystemResourcesResponse `xml:"UpdateSystemResourcesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15645,7 +16685,7 @@ func UpdateSystemResources(ctx context.Context, r soap.RoundTripper, req *types.
type UpdateSystemSwapConfigurationBody struct {
Req *types.UpdateSystemSwapConfiguration `xml:"urn:vim25 UpdateSystemSwapConfiguration,omitempty"`
- Res *types.UpdateSystemSwapConfigurationResponse `xml:"urn:vim25 UpdateSystemSwapConfigurationResponse,omitempty"`
+ Res *types.UpdateSystemSwapConfigurationResponse `xml:"UpdateSystemSwapConfigurationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15665,7 +16705,7 @@ func UpdateSystemSwapConfiguration(ctx context.Context, r soap.RoundTripper, req
type UpdateSystemUsersBody struct {
Req *types.UpdateSystemUsers `xml:"urn:vim25 UpdateSystemUsers,omitempty"`
- Res *types.UpdateSystemUsersResponse `xml:"urn:vim25 UpdateSystemUsersResponse,omitempty"`
+ Res *types.UpdateSystemUsersResponse `xml:"UpdateSystemUsersResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15685,7 +16725,7 @@ func UpdateSystemUsers(ctx context.Context, r soap.RoundTripper, req *types.Upda
type UpdateUserBody struct {
Req *types.UpdateUser `xml:"urn:vim25 UpdateUser,omitempty"`
- Res *types.UpdateUserResponse `xml:"urn:vim25 UpdateUserResponse,omitempty"`
+ Res *types.UpdateUserResponse `xml:"UpdateUserResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15705,7 +16745,7 @@ func UpdateUser(ctx context.Context, r soap.RoundTripper, req *types.UpdateUser)
type UpdateVAppConfigBody struct {
Req *types.UpdateVAppConfig `xml:"urn:vim25 UpdateVAppConfig,omitempty"`
- Res *types.UpdateVAppConfigResponse `xml:"urn:vim25 UpdateVAppConfigResponse,omitempty"`
+ Res *types.UpdateVAppConfigResponse `xml:"UpdateVAppConfigResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15723,9 +16763,49 @@ func UpdateVAppConfig(ctx context.Context, r soap.RoundTripper, req *types.Updat
return resBody.Res, nil
}
+type UpdateVStorageInfrastructureObjectPolicy_TaskBody struct {
+ Req *types.UpdateVStorageInfrastructureObjectPolicy_Task `xml:"urn:vim25 UpdateVStorageInfrastructureObjectPolicy_Task,omitempty"`
+ Res *types.UpdateVStorageInfrastructureObjectPolicy_TaskResponse `xml:"UpdateVStorageInfrastructureObjectPolicy_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *UpdateVStorageInfrastructureObjectPolicy_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func UpdateVStorageInfrastructureObjectPolicy_Task(ctx context.Context, r soap.RoundTripper, req *types.UpdateVStorageInfrastructureObjectPolicy_Task) (*types.UpdateVStorageInfrastructureObjectPolicy_TaskResponse, error) {
+ var reqBody, resBody UpdateVStorageInfrastructureObjectPolicy_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type UpdateVStorageObjectPolicy_TaskBody struct {
+ Req *types.UpdateVStorageObjectPolicy_Task `xml:"urn:vim25 UpdateVStorageObjectPolicy_Task,omitempty"`
+ Res *types.UpdateVStorageObjectPolicy_TaskResponse `xml:"UpdateVStorageObjectPolicy_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *UpdateVStorageObjectPolicy_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func UpdateVStorageObjectPolicy_Task(ctx context.Context, r soap.RoundTripper, req *types.UpdateVStorageObjectPolicy_Task) (*types.UpdateVStorageObjectPolicy_TaskResponse, error) {
+ var reqBody, resBody UpdateVStorageObjectPolicy_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type UpdateVVolVirtualMachineFiles_TaskBody struct {
Req *types.UpdateVVolVirtualMachineFiles_Task `xml:"urn:vim25 UpdateVVolVirtualMachineFiles_Task,omitempty"`
- Res *types.UpdateVVolVirtualMachineFiles_TaskResponse `xml:"urn:vim25 UpdateVVolVirtualMachineFiles_TaskResponse,omitempty"`
+ Res *types.UpdateVVolVirtualMachineFiles_TaskResponse `xml:"UpdateVVolVirtualMachineFiles_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15745,7 +16825,7 @@ func UpdateVVolVirtualMachineFiles_Task(ctx context.Context, r soap.RoundTripper
type UpdateVirtualMachineFiles_TaskBody struct {
Req *types.UpdateVirtualMachineFiles_Task `xml:"urn:vim25 UpdateVirtualMachineFiles_Task,omitempty"`
- Res *types.UpdateVirtualMachineFiles_TaskResponse `xml:"urn:vim25 UpdateVirtualMachineFiles_TaskResponse,omitempty"`
+ Res *types.UpdateVirtualMachineFiles_TaskResponse `xml:"UpdateVirtualMachineFiles_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15765,7 +16845,7 @@ func UpdateVirtualMachineFiles_Task(ctx context.Context, r soap.RoundTripper, re
type UpdateVirtualNicBody struct {
Req *types.UpdateVirtualNic `xml:"urn:vim25 UpdateVirtualNic,omitempty"`
- Res *types.UpdateVirtualNicResponse `xml:"urn:vim25 UpdateVirtualNicResponse,omitempty"`
+ Res *types.UpdateVirtualNicResponse `xml:"UpdateVirtualNicResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15785,7 +16865,7 @@ func UpdateVirtualNic(ctx context.Context, r soap.RoundTripper, req *types.Updat
type UpdateVirtualSwitchBody struct {
Req *types.UpdateVirtualSwitch `xml:"urn:vim25 UpdateVirtualSwitch,omitempty"`
- Res *types.UpdateVirtualSwitchResponse `xml:"urn:vim25 UpdateVirtualSwitchResponse,omitempty"`
+ Res *types.UpdateVirtualSwitchResponse `xml:"UpdateVirtualSwitchResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15803,9 +16883,29 @@ func UpdateVirtualSwitch(ctx context.Context, r soap.RoundTripper, req *types.Up
return resBody.Res, nil
}
+type UpdateVmfsUnmapBandwidthBody struct {
+ Req *types.UpdateVmfsUnmapBandwidth `xml:"urn:vim25 UpdateVmfsUnmapBandwidth,omitempty"`
+ Res *types.UpdateVmfsUnmapBandwidthResponse `xml:"UpdateVmfsUnmapBandwidthResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *UpdateVmfsUnmapBandwidthBody) Fault() *soap.Fault { return b.Fault_ }
+
+func UpdateVmfsUnmapBandwidth(ctx context.Context, r soap.RoundTripper, req *types.UpdateVmfsUnmapBandwidth) (*types.UpdateVmfsUnmapBandwidthResponse, error) {
+ var reqBody, resBody UpdateVmfsUnmapBandwidthBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type UpdateVmfsUnmapPriorityBody struct {
Req *types.UpdateVmfsUnmapPriority `xml:"urn:vim25 UpdateVmfsUnmapPriority,omitempty"`
- Res *types.UpdateVmfsUnmapPriorityResponse `xml:"urn:vim25 UpdateVmfsUnmapPriorityResponse,omitempty"`
+ Res *types.UpdateVmfsUnmapPriorityResponse `xml:"UpdateVmfsUnmapPriorityResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15825,7 +16925,7 @@ func UpdateVmfsUnmapPriority(ctx context.Context, r soap.RoundTripper, req *type
type UpdateVsan_TaskBody struct {
Req *types.UpdateVsan_Task `xml:"urn:vim25 UpdateVsan_Task,omitempty"`
- Res *types.UpdateVsan_TaskResponse `xml:"urn:vim25 UpdateVsan_TaskResponse,omitempty"`
+ Res *types.UpdateVsan_TaskResponse `xml:"UpdateVsan_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15845,7 +16945,7 @@ func UpdateVsan_Task(ctx context.Context, r soap.RoundTripper, req *types.Update
type UpgradeIoFilter_TaskBody struct {
Req *types.UpgradeIoFilter_Task `xml:"urn:vim25 UpgradeIoFilter_Task,omitempty"`
- Res *types.UpgradeIoFilter_TaskResponse `xml:"urn:vim25 UpgradeIoFilter_TaskResponse,omitempty"`
+ Res *types.UpgradeIoFilter_TaskResponse `xml:"UpgradeIoFilter_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15865,7 +16965,7 @@ func UpgradeIoFilter_Task(ctx context.Context, r soap.RoundTripper, req *types.U
type UpgradeTools_TaskBody struct {
Req *types.UpgradeTools_Task `xml:"urn:vim25 UpgradeTools_Task,omitempty"`
- Res *types.UpgradeTools_TaskResponse `xml:"urn:vim25 UpgradeTools_TaskResponse,omitempty"`
+ Res *types.UpgradeTools_TaskResponse `xml:"UpgradeTools_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15885,7 +16985,7 @@ func UpgradeTools_Task(ctx context.Context, r soap.RoundTripper, req *types.Upgr
type UpgradeVM_TaskBody struct {
Req *types.UpgradeVM_Task `xml:"urn:vim25 UpgradeVM_Task,omitempty"`
- Res *types.UpgradeVM_TaskResponse `xml:"urn:vim25 UpgradeVM_TaskResponse,omitempty"`
+ Res *types.UpgradeVM_TaskResponse `xml:"UpgradeVM_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15905,7 +17005,7 @@ func UpgradeVM_Task(ctx context.Context, r soap.RoundTripper, req *types.Upgrade
type UpgradeVmLayoutBody struct {
Req *types.UpgradeVmLayout `xml:"urn:vim25 UpgradeVmLayout,omitempty"`
- Res *types.UpgradeVmLayoutResponse `xml:"urn:vim25 UpgradeVmLayoutResponse,omitempty"`
+ Res *types.UpgradeVmLayoutResponse `xml:"UpgradeVmLayoutResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15925,7 +17025,7 @@ func UpgradeVmLayout(ctx context.Context, r soap.RoundTripper, req *types.Upgrad
type UpgradeVmfsBody struct {
Req *types.UpgradeVmfs `xml:"urn:vim25 UpgradeVmfs,omitempty"`
- Res *types.UpgradeVmfsResponse `xml:"urn:vim25 UpgradeVmfsResponse,omitempty"`
+ Res *types.UpgradeVmfsResponse `xml:"UpgradeVmfsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15945,7 +17045,7 @@ func UpgradeVmfs(ctx context.Context, r soap.RoundTripper, req *types.UpgradeVmf
type UpgradeVsanObjectsBody struct {
Req *types.UpgradeVsanObjects `xml:"urn:vim25 UpgradeVsanObjects,omitempty"`
- Res *types.UpgradeVsanObjectsResponse `xml:"urn:vim25 UpgradeVsanObjectsResponse,omitempty"`
+ Res *types.UpgradeVsanObjectsResponse `xml:"UpgradeVsanObjectsResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15965,7 +17065,7 @@ func UpgradeVsanObjects(ctx context.Context, r soap.RoundTripper, req *types.Upg
type UploadClientCertBody struct {
Req *types.UploadClientCert `xml:"urn:vim25 UploadClientCert,omitempty"`
- Res *types.UploadClientCertResponse `xml:"urn:vim25 UploadClientCertResponse,omitempty"`
+ Res *types.UploadClientCertResponse `xml:"UploadClientCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -15985,7 +17085,7 @@ func UploadClientCert(ctx context.Context, r soap.RoundTripper, req *types.Uploa
type UploadKmipServerCertBody struct {
Req *types.UploadKmipServerCert `xml:"urn:vim25 UploadKmipServerCert,omitempty"`
- Res *types.UploadKmipServerCertResponse `xml:"urn:vim25 UploadKmipServerCertResponse,omitempty"`
+ Res *types.UploadKmipServerCertResponse `xml:"UploadKmipServerCertResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16003,9 +17103,29 @@ func UploadKmipServerCert(ctx context.Context, r soap.RoundTripper, req *types.U
return resBody.Res, nil
}
+type VStorageObjectCreateSnapshot_TaskBody struct {
+ Req *types.VStorageObjectCreateSnapshot_Task `xml:"urn:vim25 VStorageObjectCreateSnapshot_Task,omitempty"`
+ Res *types.VStorageObjectCreateSnapshot_TaskResponse `xml:"VStorageObjectCreateSnapshot_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *VStorageObjectCreateSnapshot_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func VStorageObjectCreateSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.VStorageObjectCreateSnapshot_Task) (*types.VStorageObjectCreateSnapshot_TaskResponse, error) {
+ var reqBody, resBody VStorageObjectCreateSnapshot_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ValidateCredentialsInGuestBody struct {
Req *types.ValidateCredentialsInGuest `xml:"urn:vim25 ValidateCredentialsInGuest,omitempty"`
- Res *types.ValidateCredentialsInGuestResponse `xml:"urn:vim25 ValidateCredentialsInGuestResponse,omitempty"`
+ Res *types.ValidateCredentialsInGuestResponse `xml:"ValidateCredentialsInGuestResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16023,9 +17143,29 @@ func ValidateCredentialsInGuest(ctx context.Context, r soap.RoundTripper, req *t
return resBody.Res, nil
}
+type ValidateHCIConfigurationBody struct {
+ Req *types.ValidateHCIConfiguration `xml:"urn:vim25 ValidateHCIConfiguration,omitempty"`
+ Res *types.ValidateHCIConfigurationResponse `xml:"ValidateHCIConfigurationResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ValidateHCIConfigurationBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ValidateHCIConfiguration(ctx context.Context, r soap.RoundTripper, req *types.ValidateHCIConfiguration) (*types.ValidateHCIConfigurationResponse, error) {
+ var reqBody, resBody ValidateHCIConfigurationBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ValidateHostBody struct {
Req *types.ValidateHost `xml:"urn:vim25 ValidateHost,omitempty"`
- Res *types.ValidateHostResponse `xml:"urn:vim25 ValidateHostResponse,omitempty"`
+ Res *types.ValidateHostResponse `xml:"ValidateHostResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16043,9 +17183,29 @@ func ValidateHost(ctx context.Context, r soap.RoundTripper, req *types.ValidateH
return resBody.Res, nil
}
+type ValidateHostProfileComposition_TaskBody struct {
+ Req *types.ValidateHostProfileComposition_Task `xml:"urn:vim25 ValidateHostProfileComposition_Task,omitempty"`
+ Res *types.ValidateHostProfileComposition_TaskResponse `xml:"ValidateHostProfileComposition_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ValidateHostProfileComposition_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ValidateHostProfileComposition_Task(ctx context.Context, r soap.RoundTripper, req *types.ValidateHostProfileComposition_Task) (*types.ValidateHostProfileComposition_TaskResponse, error) {
+ var reqBody, resBody ValidateHostProfileComposition_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ValidateMigrationBody struct {
Req *types.ValidateMigration `xml:"urn:vim25 ValidateMigration,omitempty"`
- Res *types.ValidateMigrationResponse `xml:"urn:vim25 ValidateMigrationResponse,omitempty"`
+ Res *types.ValidateMigrationResponse `xml:"ValidateMigrationResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16063,9 +17223,29 @@ func ValidateMigration(ctx context.Context, r soap.RoundTripper, req *types.Vali
return resBody.Res, nil
}
+type ValidateStoragePodConfigBody struct {
+ Req *types.ValidateStoragePodConfig `xml:"urn:vim25 ValidateStoragePodConfig,omitempty"`
+ Res *types.ValidateStoragePodConfigResponse `xml:"ValidateStoragePodConfigResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ValidateStoragePodConfigBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ValidateStoragePodConfig(ctx context.Context, r soap.RoundTripper, req *types.ValidateStoragePodConfig) (*types.ValidateStoragePodConfigResponse, error) {
+ var reqBody, resBody ValidateStoragePodConfigBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type WaitForUpdatesBody struct {
Req *types.WaitForUpdates `xml:"urn:vim25 WaitForUpdates,omitempty"`
- Res *types.WaitForUpdatesResponse `xml:"urn:vim25 WaitForUpdatesResponse,omitempty"`
+ Res *types.WaitForUpdatesResponse `xml:"WaitForUpdatesResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16085,7 +17265,7 @@ func WaitForUpdates(ctx context.Context, r soap.RoundTripper, req *types.WaitFor
type WaitForUpdatesExBody struct {
Req *types.WaitForUpdatesEx `xml:"urn:vim25 WaitForUpdatesEx,omitempty"`
- Res *types.WaitForUpdatesExResponse `xml:"urn:vim25 WaitForUpdatesExResponse,omitempty"`
+ Res *types.WaitForUpdatesExResponse `xml:"WaitForUpdatesExResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16105,7 +17285,7 @@ func WaitForUpdatesEx(ctx context.Context, r soap.RoundTripper, req *types.WaitF
type XmlToCustomizationSpecItemBody struct {
Req *types.XmlToCustomizationSpecItem `xml:"urn:vim25 XmlToCustomizationSpecItem,omitempty"`
- Res *types.XmlToCustomizationSpecItemResponse `xml:"urn:vim25 XmlToCustomizationSpecItemResponse,omitempty"`
+ Res *types.XmlToCustomizationSpecItemResponse `xml:"XmlToCustomizationSpecItemResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16125,7 +17305,7 @@ func XmlToCustomizationSpecItem(ctx context.Context, r soap.RoundTripper, req *t
type ZeroFillVirtualDisk_TaskBody struct {
Req *types.ZeroFillVirtualDisk_Task `xml:"urn:vim25 ZeroFillVirtualDisk_Task,omitempty"`
- Res *types.ZeroFillVirtualDisk_TaskResponse `xml:"urn:vim25 ZeroFillVirtualDisk_TaskResponse,omitempty"`
+ Res *types.ZeroFillVirtualDisk_TaskResponse `xml:"ZeroFillVirtualDisk_TaskResponse,omitempty"`
Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
}
@@ -16142,3 +17322,323 @@ func ZeroFillVirtualDisk_Task(ctx context.Context, r soap.RoundTripper, req *typ
return resBody.Res, nil
}
+
+type ConfigureVcha_TaskBody struct {
+ Req *types.ConfigureVcha_Task `xml:"urn:vim25 configureVcha_Task,omitempty"`
+ Res *types.ConfigureVcha_TaskResponse `xml:"configureVcha_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ConfigureVcha_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ConfigureVcha_Task(ctx context.Context, r soap.RoundTripper, req *types.ConfigureVcha_Task) (*types.ConfigureVcha_TaskResponse, error) {
+ var reqBody, resBody ConfigureVcha_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type CreatePassiveNode_TaskBody struct {
+ Req *types.CreatePassiveNode_Task `xml:"urn:vim25 createPassiveNode_Task,omitempty"`
+ Res *types.CreatePassiveNode_TaskResponse `xml:"createPassiveNode_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CreatePassiveNode_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CreatePassiveNode_Task(ctx context.Context, r soap.RoundTripper, req *types.CreatePassiveNode_Task) (*types.CreatePassiveNode_TaskResponse, error) {
+ var reqBody, resBody CreatePassiveNode_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type CreateWitnessNode_TaskBody struct {
+ Req *types.CreateWitnessNode_Task `xml:"urn:vim25 createWitnessNode_Task,omitempty"`
+ Res *types.CreateWitnessNode_TaskResponse `xml:"createWitnessNode_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *CreateWitnessNode_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func CreateWitnessNode_Task(ctx context.Context, r soap.RoundTripper, req *types.CreateWitnessNode_Task) (*types.CreateWitnessNode_TaskResponse, error) {
+ var reqBody, resBody CreateWitnessNode_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type DeployVcha_TaskBody struct {
+ Req *types.DeployVcha_Task `xml:"urn:vim25 deployVcha_Task,omitempty"`
+ Res *types.DeployVcha_TaskResponse `xml:"deployVcha_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *DeployVcha_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func DeployVcha_Task(ctx context.Context, r soap.RoundTripper, req *types.DeployVcha_Task) (*types.DeployVcha_TaskResponse, error) {
+ var reqBody, resBody DeployVcha_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type DestroyVcha_TaskBody struct {
+ Req *types.DestroyVcha_Task `xml:"urn:vim25 destroyVcha_Task,omitempty"`
+ Res *types.DestroyVcha_TaskResponse `xml:"destroyVcha_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *DestroyVcha_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func DestroyVcha_Task(ctx context.Context, r soap.RoundTripper, req *types.DestroyVcha_Task) (*types.DestroyVcha_TaskResponse, error) {
+ var reqBody, resBody DestroyVcha_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type FetchSoftwarePackagesBody struct {
+ Req *types.FetchSoftwarePackages `xml:"urn:vim25 fetchSoftwarePackages,omitempty"`
+ Res *types.FetchSoftwarePackagesResponse `xml:"fetchSoftwarePackagesResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *FetchSoftwarePackagesBody) Fault() *soap.Fault { return b.Fault_ }
+
+func FetchSoftwarePackages(ctx context.Context, r soap.RoundTripper, req *types.FetchSoftwarePackages) (*types.FetchSoftwarePackagesResponse, error) {
+ var reqBody, resBody FetchSoftwarePackagesBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type GetClusterModeBody struct {
+ Req *types.GetClusterMode `xml:"urn:vim25 getClusterMode,omitempty"`
+ Res *types.GetClusterModeResponse `xml:"getClusterModeResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *GetClusterModeBody) Fault() *soap.Fault { return b.Fault_ }
+
+func GetClusterMode(ctx context.Context, r soap.RoundTripper, req *types.GetClusterMode) (*types.GetClusterModeResponse, error) {
+ var reqBody, resBody GetClusterModeBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type GetVchaConfigBody struct {
+ Req *types.GetVchaConfig `xml:"urn:vim25 getVchaConfig,omitempty"`
+ Res *types.GetVchaConfigResponse `xml:"getVchaConfigResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *GetVchaConfigBody) Fault() *soap.Fault { return b.Fault_ }
+
+func GetVchaConfig(ctx context.Context, r soap.RoundTripper, req *types.GetVchaConfig) (*types.GetVchaConfigResponse, error) {
+ var reqBody, resBody GetVchaConfigBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type InitiateFailover_TaskBody struct {
+ Req *types.InitiateFailover_Task `xml:"urn:vim25 initiateFailover_Task,omitempty"`
+ Res *types.InitiateFailover_TaskResponse `xml:"initiateFailover_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *InitiateFailover_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func InitiateFailover_Task(ctx context.Context, r soap.RoundTripper, req *types.InitiateFailover_Task) (*types.InitiateFailover_TaskResponse, error) {
+ var reqBody, resBody InitiateFailover_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type InstallDateBody struct {
+ Req *types.InstallDate `xml:"urn:vim25 installDate,omitempty"`
+ Res *types.InstallDateResponse `xml:"installDateResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *InstallDateBody) Fault() *soap.Fault { return b.Fault_ }
+
+func InstallDate(ctx context.Context, r soap.RoundTripper, req *types.InstallDate) (*types.InstallDateResponse, error) {
+ var reqBody, resBody InstallDateBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type PrepareVcha_TaskBody struct {
+ Req *types.PrepareVcha_Task `xml:"urn:vim25 prepareVcha_Task,omitempty"`
+ Res *types.PrepareVcha_TaskResponse `xml:"prepareVcha_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *PrepareVcha_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func PrepareVcha_Task(ctx context.Context, r soap.RoundTripper, req *types.PrepareVcha_Task) (*types.PrepareVcha_TaskResponse, error) {
+ var reqBody, resBody PrepareVcha_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type QueryDatacenterConfigOptionDescriptorBody struct {
+ Req *types.QueryDatacenterConfigOptionDescriptor `xml:"urn:vim25 queryDatacenterConfigOptionDescriptor,omitempty"`
+ Res *types.QueryDatacenterConfigOptionDescriptorResponse `xml:"queryDatacenterConfigOptionDescriptorResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *QueryDatacenterConfigOptionDescriptorBody) Fault() *soap.Fault { return b.Fault_ }
+
+func QueryDatacenterConfigOptionDescriptor(ctx context.Context, r soap.RoundTripper, req *types.QueryDatacenterConfigOptionDescriptor) (*types.QueryDatacenterConfigOptionDescriptorResponse, error) {
+ var reqBody, resBody QueryDatacenterConfigOptionDescriptorBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type ReloadVirtualMachineFromPath_TaskBody struct {
+ Req *types.ReloadVirtualMachineFromPath_Task `xml:"urn:vim25 reloadVirtualMachineFromPath_Task,omitempty"`
+ Res *types.ReloadVirtualMachineFromPath_TaskResponse `xml:"reloadVirtualMachineFromPath_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *ReloadVirtualMachineFromPath_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func ReloadVirtualMachineFromPath_Task(ctx context.Context, r soap.RoundTripper, req *types.ReloadVirtualMachineFromPath_Task) (*types.ReloadVirtualMachineFromPath_TaskResponse, error) {
+ var reqBody, resBody ReloadVirtualMachineFromPath_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type SetClusterMode_TaskBody struct {
+ Req *types.SetClusterMode_Task `xml:"urn:vim25 setClusterMode_Task,omitempty"`
+ Res *types.SetClusterMode_TaskResponse `xml:"setClusterMode_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *SetClusterMode_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func SetClusterMode_Task(ctx context.Context, r soap.RoundTripper, req *types.SetClusterMode_Task) (*types.SetClusterMode_TaskResponse, error) {
+ var reqBody, resBody SetClusterMode_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type SetCustomValueBody struct {
+ Req *types.SetCustomValue `xml:"urn:vim25 setCustomValue,omitempty"`
+ Res *types.SetCustomValueResponse `xml:"setCustomValueResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *SetCustomValueBody) Fault() *soap.Fault { return b.Fault_ }
+
+func SetCustomValue(ctx context.Context, r soap.RoundTripper, req *types.SetCustomValue) (*types.SetCustomValueResponse, error) {
+ var reqBody, resBody SetCustomValueBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type UnregisterVApp_TaskBody struct {
+ Req *types.UnregisterVApp_Task `xml:"urn:vim25 unregisterVApp_Task,omitempty"`
+ Res *types.UnregisterVApp_TaskResponse `xml:"unregisterVApp_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *UnregisterVApp_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func UnregisterVApp_Task(ctx context.Context, r soap.RoundTripper, req *types.UnregisterVApp_Task) (*types.UnregisterVApp_TaskResponse, error) {
+ var reqBody, resBody UnregisterVApp_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
diff --git a/vendor/github.com/vmware/govmomi/vim25/methods/service_content.go b/vendor/github.com/vmware/govmomi/vim25/methods/service_content.go
index 634fbfbd9..401646598 100644
--- a/vendor/github.com/vmware/govmomi/vim25/methods/service_content.go
+++ b/vendor/github.com/vmware/govmomi/vim25/methods/service_content.go
@@ -24,14 +24,15 @@ import (
"github.com/vmware/govmomi/vim25/types"
)
-var ServiceInstance = types.ManagedObjectReference{
+// copy of vim25.ServiceInstance to avoid import cycle
+var serviceInstance = types.ManagedObjectReference{
Type: "ServiceInstance",
Value: "ServiceInstance",
}
func GetServiceContent(ctx context.Context, r soap.RoundTripper) (types.ServiceContent, error) {
req := types.RetrieveServiceContent{
- This: ServiceInstance,
+ This: serviceInstance,
}
res, err := RetrieveServiceContent(ctx, r, &req)
@@ -44,7 +45,7 @@ func GetServiceContent(ctx context.Context, r soap.RoundTripper) (types.ServiceC
func GetCurrentTime(ctx context.Context, r soap.RoundTripper) (*time.Time, error) {
req := types.CurrentTime{
- This: ServiceInstance,
+ This: serviceInstance,
}
res, err := CurrentTime(ctx, r, &req)
diff --git a/vendor/github.com/vmware/govmomi/vim25/mo/mo.go b/vendor/github.com/vmware/govmomi/vim25/mo/mo.go
index ede6e44d7..4f19988e3 100644
--- a/vendor/github.com/vmware/govmomi/vim25/mo/mo.go
+++ b/vendor/github.com/vmware/govmomi/vim25/mo/mo.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -164,6 +164,22 @@ func init() {
t["CryptoManager"] = reflect.TypeOf((*CryptoManager)(nil)).Elem()
}
+type CryptoManagerHost struct {
+ CryptoManager
+}
+
+func init() {
+ t["CryptoManagerHost"] = reflect.TypeOf((*CryptoManagerHost)(nil)).Elem()
+}
+
+type CryptoManagerHostKMS struct {
+ CryptoManagerHost
+}
+
+func init() {
+ t["CryptoManagerHostKMS"] = reflect.TypeOf((*CryptoManagerHostKMS)(nil)).Elem()
+}
+
type CryptoManagerKmip struct {
CryptoManager
@@ -759,9 +775,10 @@ func init() {
type HostGraphicsManager struct {
ExtensibleManagedObject
- GraphicsInfo []types.HostGraphicsInfo `mo:"graphicsInfo"`
- GraphicsConfig *types.HostGraphicsConfig `mo:"graphicsConfig"`
- SharedPassthruGpuTypes []string `mo:"sharedPassthruGpuTypes"`
+ GraphicsInfo []types.HostGraphicsInfo `mo:"graphicsInfo"`
+ GraphicsConfig *types.HostGraphicsConfig `mo:"graphicsConfig"`
+ SharedPassthruGpuTypes []string `mo:"sharedPassthruGpuTypes"`
+ SharedGpuCapabilities []types.HostSharedGpuCapabilities `mo:"sharedGpuCapabilities"`
}
func init() {
@@ -853,6 +870,20 @@ func init() {
t["HostNetworkSystem"] = reflect.TypeOf((*HostNetworkSystem)(nil)).Elem()
}
+type HostNvdimmSystem struct {
+ Self types.ManagedObjectReference
+
+ NvdimmSystemInfo types.NvdimmSystemInfo `mo:"nvdimmSystemInfo"`
+}
+
+func (m HostNvdimmSystem) Reference() types.ManagedObjectReference {
+ return m.Self
+}
+
+func init() {
+ t["HostNvdimmSystem"] = reflect.TypeOf((*HostNvdimmSystem)(nil)).Elem()
+}
+
type HostPatchManager struct {
Self types.ManagedObjectReference
}
@@ -894,7 +925,10 @@ func init() {
type HostProfile struct {
Profile
- ReferenceHost *types.ManagedObjectReference `mo:"referenceHost"`
+ ValidationState *string `mo:"validationState"`
+ ValidationStateUpdateTime *time.Time `mo:"validationStateUpdateTime"`
+ ValidationFailureInfo *types.HostProfileValidationFailureInfo `mo:"validationFailureInfo"`
+ ReferenceHost *types.ManagedObjectReference `mo:"referenceHost"`
}
func init() {
@@ -962,18 +996,25 @@ func init() {
type HostSystem struct {
ManagedEntity
- Runtime types.HostRuntimeInfo `mo:"runtime"`
- Summary types.HostListSummary `mo:"summary"`
- Hardware *types.HostHardwareInfo `mo:"hardware"`
- Capability *types.HostCapability `mo:"capability"`
- LicensableResource types.HostLicensableResourceInfo `mo:"licensableResource"`
- ConfigManager types.HostConfigManager `mo:"configManager"`
- Config *types.HostConfigInfo `mo:"config"`
- Vm []types.ManagedObjectReference `mo:"vm"`
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- Network []types.ManagedObjectReference `mo:"network"`
- DatastoreBrowser types.ManagedObjectReference `mo:"datastoreBrowser"`
- SystemResources *types.HostSystemResourceInfo `mo:"systemResources"`
+ Runtime types.HostRuntimeInfo `mo:"runtime"`
+ Summary types.HostListSummary `mo:"summary"`
+ Hardware *types.HostHardwareInfo `mo:"hardware"`
+ Capability *types.HostCapability `mo:"capability"`
+ LicensableResource types.HostLicensableResourceInfo `mo:"licensableResource"`
+ RemediationState *types.HostSystemRemediationState `mo:"remediationState"`
+ PrecheckRemediationResult *types.ApplyHostProfileConfigurationSpec `mo:"precheckRemediationResult"`
+ RemediationResult *types.ApplyHostProfileConfigurationResult `mo:"remediationResult"`
+ ComplianceCheckState *types.HostSystemComplianceCheckState `mo:"complianceCheckState"`
+ ComplianceCheckResult *types.ComplianceResult `mo:"complianceCheckResult"`
+ ConfigManager types.HostConfigManager `mo:"configManager"`
+ Config *types.HostConfigInfo `mo:"config"`
+ Vm []types.ManagedObjectReference `mo:"vm"`
+ Datastore []types.ManagedObjectReference `mo:"datastore"`
+ Network []types.ManagedObjectReference `mo:"network"`
+ DatastoreBrowser types.ManagedObjectReference `mo:"datastoreBrowser"`
+ SystemResources *types.HostSystemResourceInfo `mo:"systemResources"`
+ AnswerFileValidationState *types.AnswerFileStatusResult `mo:"answerFileValidationState"`
+ AnswerFileValidationResult *types.AnswerFileStatusResult `mo:"answerFileValidationResult"`
}
func (m *HostSystem) Entity() *ManagedEntity {
@@ -1056,10 +1097,13 @@ func init() {
type HttpNfcLease struct {
Self types.ManagedObjectReference
- InitializeProgress int32 `mo:"initializeProgress"`
- Info *types.HttpNfcLeaseInfo `mo:"info"`
- State types.HttpNfcLeaseState `mo:"state"`
- Error *types.LocalizedMethodFault `mo:"error"`
+ InitializeProgress int32 `mo:"initializeProgress"`
+ TransferProgress int32 `mo:"transferProgress"`
+ Mode string `mo:"mode"`
+ Capabilities types.HttpNfcLeaseCapabilities `mo:"capabilities"`
+ Info *types.HttpNfcLeaseInfo `mo:"info"`
+ State types.HttpNfcLeaseState `mo:"state"`
+ Error *types.LocalizedMethodFault `mo:"error"`
}
func (m HttpNfcLease) Reference() types.ManagedObjectReference {
diff --git a/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go b/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go
index e7ffc32ce..c470c0ac0 100644
--- a/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go
+++ b/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go
@@ -65,6 +65,22 @@ func ObjectContentToType(o types.ObjectContent) (interface{}, error) {
return v.Elem().Interface(), nil
}
+// ApplyPropertyChange converts the response of a call to WaitForUpdates
+// and applies it to the given managed object.
+func ApplyPropertyChange(obj Reference, changes []types.PropertyChange) {
+ t := typeInfoForType(obj.Reference().Type)
+ v := reflect.ValueOf(obj)
+
+ for _, p := range changes {
+ rv, ok := t.props[p.Name]
+ if !ok {
+ continue
+ }
+
+ assignValue(v, rv, reflect.ValueOf(p.Val))
+ }
+}
+
// LoadRetrievePropertiesResponse converts the response of a call to
// RetrieveProperties to one or more managed objects.
func LoadRetrievePropertiesResponse(res *types.RetrievePropertiesResponse, dst interface{}) error {
diff --git a/vendor/github.com/vmware/govmomi/vim25/mo/type_info.go b/vendor/github.com/vmware/govmomi/vim25/mo/type_info.go
index 0c9e5b034..5276d0b82 100644
--- a/vendor/github.com/vmware/govmomi/vim25/mo/type_info.go
+++ b/vendor/github.com/vmware/govmomi/vim25/mo/type_info.go
@@ -155,7 +155,9 @@ func (t *typeInfo) build(typ reflect.Type, fn string, fi []int) {
}
}
-// assignValue assignes a value 'pv' to the struct pointed to by 'val', given a
+var nilValue reflect.Value
+
+// assignValue assigns a value 'pv' to the struct pointed to by 'val', given a
// slice of field indices. It recurses into the struct until it finds the field
// specified by the indices. It creates new values for pointer types where
// needed.
@@ -172,6 +174,11 @@ func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
rv := val.Field(fi[0])
fi = fi[1:]
if len(fi) == 0 {
+ if pv == nilValue {
+ pv = reflect.Zero(rv.Type())
+ rv.Set(pv)
+ return
+ }
rt := rv.Type()
pt := pv.Type()
@@ -182,6 +189,24 @@ func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
rt = rv.Type()
}
+ // If the target type is a slice, but the source is not, deference any ArrayOfXYZ type
+ if rt.Kind() == reflect.Slice && pt.Kind() != reflect.Slice {
+ if pt.Kind() == reflect.Ptr {
+ pv = pv.Elem()
+ pt = pt.Elem()
+ }
+
+ m := arrayOfRegexp.FindStringSubmatch(pt.Name())
+ if len(m) > 0 {
+ pv = pv.FieldByName(m[1]) // ArrayOfXYZ type has single field named XYZ
+ pt = pv.Type()
+
+ if !pv.IsValid() {
+ panic(fmt.Sprintf("expected %s type to have field %s", m[0], m[1]))
+ }
+ }
+ }
+
// If type is an interface, check if pv implements it.
if rt.Kind() == reflect.Interface && !pt.Implements(rt) {
// Check if pointer to pv implements it.
@@ -193,6 +218,9 @@ func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
} else {
panic(fmt.Sprintf("type %s doesn't implement %s", pt.Name(), rt.Name()))
}
+ } else if rt.Kind() == reflect.Struct && pt.Kind() == reflect.Ptr {
+ pv = pv.Elem()
+ pt = pv.Type()
}
if pt.AssignableTo(rt) {
@@ -200,7 +228,7 @@ func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
} else if rt.ConvertibleTo(pt) {
rv.Set(pv.Convert(rt))
} else {
- panic(fmt.Sprintf("cannot assign %s (%s) to %s (%s)", rt.Name(), rt.Kind(), pt.Name(), pt.Kind()))
+ panic(fmt.Sprintf("cannot assign %q (%s) to %q (%s)", rt.Name(), rt.Kind(), pt.Name(), pt.Kind()))
}
return
@@ -211,23 +239,6 @@ func assignValue(val reflect.Value, fi []int, pv reflect.Value) {
var arrayOfRegexp = regexp.MustCompile("ArrayOf(.*)$")
-func anyTypeToValue(t interface{}) reflect.Value {
- rt := reflect.TypeOf(t)
- rv := reflect.ValueOf(t)
-
- // Dereference if ArrayOfXYZ type
- m := arrayOfRegexp.FindStringSubmatch(rt.Name())
- if len(m) > 0 {
- // ArrayOfXYZ type has single field named XYZ
- rv = rv.FieldByName(m[1])
- if !rv.IsValid() {
- panic(fmt.Sprintf("expected %s type to have field %s", m[0], m[1]))
- }
- }
-
- return rv
-}
-
// LoadObjectFromContent loads properties from the 'PropSet' field in the
// specified ObjectContent value into the value it represents, which is
// returned as a reflect.Value.
@@ -240,7 +251,7 @@ func (t *typeInfo) LoadFromObjectContent(o types.ObjectContent) (reflect.Value,
if !ok {
continue
}
- assignValue(v, rv, anyTypeToValue(p.Val))
+ assignValue(v, rv, reflect.ValueOf(p.Val))
}
return v, nil
diff --git a/vendor/github.com/vmware/govmomi/vim25/progress/reader.go b/vendor/github.com/vmware/govmomi/vim25/progress/reader.go
index a981cb4e1..e37cd13cb 100644
--- a/vendor/github.com/vmware/govmomi/vim25/progress/reader.go
+++ b/vendor/github.com/vmware/govmomi/vim25/progress/reader.go
@@ -18,6 +18,7 @@ package progress
import (
"container/list"
+ "context"
"fmt"
"io"
"sync/atomic"
@@ -25,11 +26,11 @@ import (
)
type readerReport struct {
- t time.Time
+ pos int64 // Keep first to ensure 64-bit alignment
+ size int64 // Keep first to ensure 64-bit alignment
+ bps *uint64 // Keep first to ensure 64-bit alignment
- pos int64
- size int64
- bps *uint64
+ t time.Time
err error
}
@@ -75,16 +76,16 @@ type reader struct {
pos int64
size int64
+ bps uint64
- bps uint64
-
- ch chan<- Report
+ ch chan<- Report
+ ctx context.Context
}
-func NewReader(s Sinker, r io.Reader, size int64) *reader {
+func NewReader(ctx context.Context, s Sinker, r io.Reader, size int64) *reader {
pr := reader{
- r: r,
-
+ r: r,
+ ctx: ctx,
size: size,
}
@@ -99,11 +100,12 @@ func NewReader(s Sinker, r io.Reader, size int64) *reader {
// underlying channel.
func (r *reader) Read(b []byte) (int, error) {
n, err := r.r.Read(b)
- if err != nil {
+ r.pos += int64(n)
+
+ if err != nil && err != io.EOF {
return n, err
}
- r.pos += int64(n)
q := readerReport{
t: time.Now(),
pos: r.pos,
@@ -111,7 +113,10 @@ func (r *reader) Read(b []byte) (int, error) {
bps: &r.bps,
}
- r.ch <- q
+ select {
+ case r.ch <- q:
+ case <-r.ctx.Done():
+ }
return n, err
}
@@ -127,8 +132,11 @@ func (r *reader) Done(err error) {
err: err,
}
- r.ch <- q
- close(r.ch)
+ select {
+ case r.ch <- q:
+ close(r.ch)
+ case <-r.ctx.Done():
+ }
}
// newBpsLoop returns a sink that monitors and stores throughput.
@@ -150,7 +158,7 @@ func bpsLoop(ch <-chan Report, dst *uint64) {
// Setup timer for front of list to become stale.
if e := l.Front(); e != nil {
- dt := time.Second - time.Now().Sub(e.Value.(readerReport).t)
+ dt := time.Second - time.Since(e.Value.(readerReport).t)
tch = time.After(dt)
}
diff --git a/vendor/github.com/vmware/govmomi/vim25/soap/client.go b/vendor/github.com/vmware/govmomi/vim25/soap/client.go
index 520929692..705bc46cb 100644
--- a/vendor/github.com/vmware/govmomi/vim25/soap/client.go
+++ b/vendor/github.com/vmware/govmomi/vim25/soap/client.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -28,12 +28,14 @@ import (
"fmt"
"io"
"io/ioutil"
+ "log"
"net"
"net/http"
"net/http/cookiejar"
"net/url"
"os"
"path/filepath"
+ "reflect"
"regexp"
"strings"
"sync"
@@ -53,15 +55,9 @@ type RoundTripper interface {
}
const (
- DefaultVimNamespace = "urn:vim25"
- DefaultVimVersion = "6.5"
- DefaultMinVimVersion = "5.5"
+ SessionCookieName = "vmware_soap_session"
)
-type header struct {
- Cookie string `xml:"vcSessionCookie,omitempty"`
-}
-
type Client struct {
http.Client
@@ -69,20 +65,31 @@ type Client struct {
k bool // Named after curl's -k flag
d *debugContainer
t *http.Transport
- p *url.URL
hostsMu sync.Mutex
hosts map[string]string
Namespace string // Vim namespace
Version string // Vim version
+ Types types.Func
UserAgent string
- header *header
+ cookie string
}
var schemeMatch = regexp.MustCompile(`^\w+://`)
+type errInvalidCACertificate struct {
+ File string
+}
+
+func (e errInvalidCACertificate) Error() string {
+ return fmt.Sprintf(
+ "invalid certificate '%s', cannot be used as a trusted CA certificate",
+ e.File,
+ )
+}
+
// ParseURL is wrapper around url.Parse, where Scheme defaults to "https" and Path defaults to "/sdk"
func ParseURL(s string) (*url.URL, error) {
var err error
@@ -117,6 +124,8 @@ func NewClient(u *url.URL, insecure bool) *Client {
u: u,
k: insecure,
d: newDebug(),
+
+ Types: types.TypeFunc(),
}
// Initialize http.RoundTripper on client, so we can customize it below
@@ -147,35 +156,62 @@ func NewClient(u *url.URL, insecure bool) *Client {
c.u = c.URL()
c.u.User = nil
- c.Namespace = DefaultVimNamespace
- c.Version = DefaultVimVersion
-
return &c
}
// NewServiceClient creates a NewClient with the given URL.Path and namespace.
func (c *Client) NewServiceClient(path string, namespace string) *Client {
- u := c.URL()
- u.Path = path
+ vc := c.URL()
+ u, err := url.Parse(path)
+ if err != nil {
+ log.Panicf("url.Parse(%q): %s", path, err)
+ }
+ if u.Host == "" {
+ u.Scheme = vc.Scheme
+ u.Host = vc.Host
+ }
client := NewClient(u, c.k)
+ client.Namespace = "urn:" + namespace
+ client.Transport.(*http.Transport).TLSClientConfig = c.Transport.(*http.Transport).TLSClientConfig
+ if cert := c.Certificate(); cert != nil {
+ client.SetCertificate(*cert)
+ }
- client.Namespace = namespace
+ // Copy the trusted thumbprints
+ c.hostsMu.Lock()
+ for k, v := range c.hosts {
+ client.hosts[k] = v
+ }
+ c.hostsMu.Unlock()
// Copy the cookies
client.Client.Jar.SetCookies(u, c.Client.Jar.Cookies(u))
// Set SOAP Header cookie
for _, cookie := range client.Jar.Cookies(u) {
- if cookie.Name == "vmware_soap_session" {
- client.header = &header{
- Cookie: cookie.Value,
- }
-
+ if cookie.Name == SessionCookieName {
+ client.cookie = cookie.Value
break
}
}
+ // Copy any query params (e.g. GOVMOMI_TUNNEL_PROXY_PORT used in testing)
+ client.u.RawQuery = vc.RawQuery
+
+ client.UserAgent = c.UserAgent
+
+ vimTypes := c.Types
+ client.Types = func(name string) (reflect.Type, bool) {
+ kind, ok := vimTypes(name)
+ if ok {
+ return kind, ok
+ }
+ // vim25/xml typeToString() does not have an option to include namespace prefix.
+ // Workaround this by re-trying the lookup with the namespace prefix.
+ return vimTypes(namespace + ":" + name)
+ }
+
return client
}
@@ -188,12 +224,16 @@ func (c *Client) SetRootCAs(file string) error {
pool := x509.NewCertPool()
for _, name := range filepath.SplitList(file) {
- pem, err := ioutil.ReadFile(name)
+ pem, err := ioutil.ReadFile(filepath.Clean(name))
if err != nil {
return err
}
- pool.AppendCertsFromPEM(pem)
+ if ok := pool.AppendCertsFromPEM(pem); !ok {
+ return errInvalidCACertificate{
+ File: name,
+ }
+ }
}
c.t.TLSClientConfig.RootCAs = pool
@@ -254,7 +294,7 @@ func (c *Client) LoadThumbprints(file string) error {
}
func (c *Client) loadThumbprints(name string) error {
- f, err := os.Open(name)
+ f, err := os.Open(filepath.Clean(name))
if err != nil {
if os.IsNotExist(err) {
return nil
@@ -323,7 +363,7 @@ func (c *Client) dialTLS(network string, addr string) (net.Conn, error) {
if thumbprint != peer {
_ = conn.Close()
- return nil, fmt.Errorf("Host %q thumbprint does not match %q", addr, thumbprint)
+ return nil, fmt.Errorf("host %q thumbprint does not match %q", addr, thumbprint)
}
return conn, nil
@@ -347,19 +387,33 @@ func splitHostPort(host string) (string, string) {
const sdkTunnel = "sdkTunnel:8089"
+func (c *Client) Certificate() *tls.Certificate {
+ certs := c.t.TLSClientConfig.Certificates
+ if len(certs) == 0 {
+ return nil
+ }
+ return &certs[0]
+}
+
func (c *Client) SetCertificate(cert tls.Certificate) {
t := c.Client.Transport.(*http.Transport)
- // Extension certificate
+ // Extension or HoK certificate
t.TLSClientConfig.Certificates = []tls.Certificate{cert}
+}
+// Tunnel returns a Client configured to proxy requests through vCenter's http port 80,
+// to the SDK tunnel virtual host. Use of the SDK tunnel is required by LoginExtensionByCertificate()
+// and optional for other methods.
+func (c *Client) Tunnel() *Client {
+ tunnel := c.NewServiceClient(c.u.Path, c.Namespace)
+ t := tunnel.Client.Transport.(*http.Transport)
// Proxy to vCenter host on port 80
- host, _ := splitHostPort(c.u.Host)
-
+ host := tunnel.u.Hostname()
// Should be no reason to change the default port other than testing
key := "GOVMOMI_TUNNEL_PROXY_PORT"
- port := c.URL().Query().Get(key)
+ port := tunnel.URL().Query().Get(key)
if port == "" {
port = os.Getenv(key)
}
@@ -368,20 +422,14 @@ func (c *Client) SetCertificate(cert tls.Certificate) {
host += ":" + port
}
- c.p = &url.URL{
+ t.Proxy = http.ProxyURL(&url.URL{
Scheme: "http",
Host: host,
- }
- t.Proxy = func(r *http.Request) (*url.URL, error) {
- // Only sdk requests should be proxied
- if r.URL.Path == "/sdk" {
- return c.p, nil
- }
- return http.ProxyFromEnvironment(r)
- }
+ })
// Rewrite url Host to use the sdk tunnel, required for a certificate request.
- c.u.Host = sdkTunnel
+ tunnel.u.Host = sdkTunnel
+ return tunnel
}
func (c *Client) URL() *url.URL {
@@ -393,6 +441,7 @@ type marshaledClient struct {
Cookies []*http.Cookie
URL *url.URL
Insecure bool
+ Version string
}
func (c *Client) MarshalJSON() ([]byte, error) {
@@ -400,6 +449,7 @@ func (c *Client) MarshalJSON() ([]byte, error) {
Cookies: c.Jar.Cookies(c.u),
URL: c.u,
Insecure: c.k,
+ Version: c.Version,
}
return json.Marshal(m)
@@ -414,36 +464,106 @@ func (c *Client) UnmarshalJSON(b []byte) error {
}
*c = *NewClient(m.URL, m.Insecure)
+ c.Version = m.Version
c.Jar.SetCookies(m.URL, m.Cookies)
return nil
}
-func (c *Client) do(ctx context.Context, req *http.Request) (*http.Response, error) {
- if nil == ctx || nil == ctx.Done() { // ctx.Done() is for ctx
- return c.Client.Do(req)
+type kindContext struct{}
+
+func (c *Client) Do(ctx context.Context, req *http.Request, f func(*http.Response) error) error {
+ if ctx == nil {
+ ctx = context.Background()
}
-
- return c.Client.Do(req.WithContext(ctx))
-}
-
-func (c *Client) RoundTrip(ctx context.Context, reqBody, resBody HasFault) error {
- var err error
-
- reqEnv := Envelope{Body: reqBody}
- resEnv := Envelope{Body: resBody}
-
- reqEnv.Header = c.header
-
// Create debugging context for this round trip
d := c.d.newRoundTrip()
if d.enabled() {
defer d.done()
}
- b, err := xml.Marshal(reqEnv)
+ if c.UserAgent != "" {
+ req.Header.Set(`User-Agent`, c.UserAgent)
+ }
+
+ ext := ""
+ if d.enabled() {
+ ext = d.debugRequest(req)
+ }
+
+ tstart := time.Now()
+ res, err := c.Client.Do(req.WithContext(ctx))
+ tstop := time.Now()
+
+ if d.enabled() {
+ var name string
+ if kind, ok := ctx.Value(kindContext{}).(HasFault); ok {
+ name = fmt.Sprintf("%T", kind)
+ } else {
+ name = fmt.Sprintf("%s %s", req.Method, req.URL)
+ }
+ d.logf("%6dms (%s)", tstop.Sub(tstart)/time.Millisecond, name)
+ }
+
if err != nil {
- panic(err)
+ return err
+ }
+
+ defer res.Body.Close()
+
+ if d.enabled() {
+ d.debugResponse(res, ext)
+ }
+
+ return f(res)
+}
+
+// Signer can be implemented by soap.Header.Security to sign requests.
+// If the soap.Header.Security field is set to an implementation of Signer via WithHeader(),
+// then Client.RoundTrip will call Sign() to marshal the SOAP request.
+type Signer interface {
+ Sign(Envelope) ([]byte, error)
+}
+
+type headerContext struct{}
+
+// WithHeader can be used to modify the outgoing request soap.Header fields.
+func (c *Client) WithHeader(ctx context.Context, header Header) context.Context {
+ return context.WithValue(ctx, headerContext{}, header)
+}
+
+func (c *Client) RoundTrip(ctx context.Context, reqBody, resBody HasFault) error {
+ var err error
+ var b []byte
+
+ reqEnv := Envelope{Body: reqBody}
+ resEnv := Envelope{Body: resBody}
+
+ h, ok := ctx.Value(headerContext{}).(Header)
+ if !ok {
+ h = Header{}
+ }
+
+ // We added support for OperationID before soap.Header was exported.
+ if id, ok := ctx.Value(types.ID{}).(string); ok {
+ h.ID = id
+ }
+
+ h.Cookie = c.cookie
+ if h.Cookie != "" || h.ID != "" || h.Security != nil {
+ reqEnv.Header = &h // XML marshal header only if a field is set
+ }
+
+ if signer, ok := h.Security.(Signer); ok {
+ b, err = signer.Sign(reqEnv)
+ if err != nil {
+ return err
+ }
+ } else {
+ b, err = xml.Marshal(reqEnv)
+ if err != nil {
+ panic(err)
+ }
}
rawReqBody := io.MultiReader(strings.NewReader(xml.Header), bytes.NewReader(b))
@@ -453,56 +573,36 @@ func (c *Client) RoundTrip(ctx context.Context, reqBody, resBody HasFault) error
}
req.Header.Set(`Content-Type`, `text/xml; charset="utf-8"`)
- soapAction := fmt.Sprintf("%s/%s", c.Namespace, c.Version)
- req.Header.Set(`SOAPAction`, soapAction)
- if c.UserAgent != "" {
- req.Header.Set(`User-Agent`, c.UserAgent)
+
+ action := h.Action
+ if action == "" {
+ action = fmt.Sprintf("%s/%s", c.Namespace, c.Version)
}
+ req.Header.Set(`SOAPAction`, action)
- if d.enabled() {
- d.debugRequest(req)
- }
+ return c.Do(context.WithValue(ctx, kindContext{}, resBody), req, func(res *http.Response) error {
+ switch res.StatusCode {
+ case http.StatusOK:
+ // OK
+ case http.StatusInternalServerError:
+ // Error, but typically includes a body explaining the error
+ default:
+ return errors.New(res.Status)
+ }
- tstart := time.Now()
- res, err := c.do(ctx, req)
- tstop := time.Now()
+ dec := xml.NewDecoder(res.Body)
+ dec.TypeFunc = c.Types
+ err = dec.Decode(&resEnv)
+ if err != nil {
+ return err
+ }
- if d.enabled() {
- d.logf("%6dms (%T)", tstop.Sub(tstart)/time.Millisecond, resBody)
- }
+ if f := resBody.Fault(); f != nil {
+ return WrapSoapFault(f)
+ }
- if err != nil {
return err
- }
-
- if d.enabled() {
- d.debugResponse(res)
- }
-
- // Close response regardless of what happens next
- defer res.Body.Close()
-
- switch res.StatusCode {
- case http.StatusOK:
- // OK
- case http.StatusInternalServerError:
- // Error, but typically includes a body explaining the error
- default:
- return errors.New(res.Status)
- }
-
- dec := xml.NewDecoder(res.Body)
- dec.TypeFunc = types.TypeFunc()
- err = dec.Decode(&resEnv)
- if err != nil {
- return err
- }
-
- if f := resBody.Fault(); f != nil {
- return WrapSoapFault(f)
- }
-
- return err
+ })
}
func (c *Client) CloseIdleConnections() {
@@ -542,11 +642,11 @@ var DefaultUpload = Upload{
}
// Upload PUTs the local file to the given URL
-func (c *Client) Upload(f io.Reader, u *url.URL, param *Upload) error {
+func (c *Client) Upload(ctx context.Context, f io.Reader, u *url.URL, param *Upload) error {
var err error
if param.Progress != nil {
- pr := progress.NewReader(param.Progress, f, param.ContentLength)
+ pr := progress.NewReader(ctx, param.Progress, f, param.ContentLength)
f = pr
// Mark progress reader as done when returning from this function.
@@ -560,6 +660,8 @@ func (c *Client) Upload(f io.Reader, u *url.URL, param *Upload) error {
return err
}
+ req = req.WithContext(ctx)
+
req.ContentLength = param.ContentLength
req.Header.Set("Content-Type", param.Type)
@@ -576,6 +678,8 @@ func (c *Client) Upload(f io.Reader, u *url.URL, param *Upload) error {
return err
}
+ defer res.Body.Close()
+
switch res.StatusCode {
case http.StatusOK:
case http.StatusCreated:
@@ -587,7 +691,7 @@ func (c *Client) Upload(f io.Reader, u *url.URL, param *Upload) error {
}
// UploadFile PUTs the local file to the given URL
-func (c *Client) UploadFile(file string, u *url.URL, param *Upload) error {
+func (c *Client) UploadFile(ctx context.Context, file string, u *url.URL, param *Upload) error {
if param == nil {
p := DefaultUpload // Copy since we set ContentLength
param = &p
@@ -598,7 +702,7 @@ func (c *Client) UploadFile(file string, u *url.URL, param *Upload) error {
return err
}
- f, err := os.Open(file)
+ f, err := os.Open(filepath.Clean(file))
if err != nil {
return err
}
@@ -606,7 +710,7 @@ func (c *Client) UploadFile(file string, u *url.URL, param *Upload) error {
param.ContentLength = s.Size()
- return c.Upload(f, u, param)
+ return c.Upload(ctx, f, u, param)
}
type Download struct {
@@ -614,6 +718,7 @@ type Download struct {
Headers map[string]string
Ticket *http.Cookie
Progress progress.Sinker
+ Writer io.Writer
}
var DefaultDownload = Download{
@@ -621,12 +726,14 @@ var DefaultDownload = Download{
}
// DownloadRequest wraps http.Client.Do, returning the http.Response without checking its StatusCode
-func (c *Client) DownloadRequest(u *url.URL, param *Download) (*http.Response, error) {
+func (c *Client) DownloadRequest(ctx context.Context, u *url.URL, param *Download) (*http.Response, error) {
req, err := http.NewRequest(param.Method, u.String(), nil)
if err != nil {
return nil, err
}
+ req = req.WithContext(ctx)
+
for k, v := range param.Headers {
req.Header.Add(k, v)
}
@@ -638,39 +745,9 @@ func (c *Client) DownloadRequest(u *url.URL, param *Download) (*http.Response, e
return c.Client.Do(req)
}
-// directoryReader wraps an io.ReadCloser to support streaming download
-// of a guest directory, stops reading once it sees the stream trailer.
-// This is only useful when guest tools is the Go toolbox.
-// The trailer is required since TransferFromGuest requires a Content-Length,
-// which toolbox doesn't know ahead of time as the gzip'd tarball never touches the disk.
-// We opted to wrap this here for now rather than guest.FileManager so
-// DownloadFile can be also be used as-is to handle this use case.
-type directoryReader struct {
- io.ReadCloser
-}
-
-var (
- gzipHeader = []byte{0x1f, 0x8b, 0x08} // rfc1952 {ID1, ID2, CM}
- gzipHeaderLen = len(gzipHeader)
-)
-
-func (r *directoryReader) Read(buf []byte) (int, error) {
- nr, err := r.ReadCloser.Read(buf)
-
- // Stop reading if the last N bytes are the gzipTrailer
- if nr >= gzipHeaderLen {
- if bytes.Equal(buf[nr-gzipHeaderLen:nr], gzipHeader) {
- nr -= gzipHeaderLen
- err = io.EOF
- }
- }
-
- return nr, err
-}
-
// Download GETs the remote file from the given URL
-func (c *Client) Download(u *url.URL, param *Download) (io.ReadCloser, int64, error) {
- res, err := c.DownloadRequest(u, param)
+func (c *Client) Download(ctx context.Context, u *url.URL, param *Download) (io.ReadCloser, int64, error) {
+ res, err := c.DownloadRequest(ctx, u, param)
if err != nil {
return nil, 0, err
}
@@ -687,37 +764,22 @@ func (c *Client) Download(u *url.URL, param *Download) (io.ReadCloser, int64, er
r := res.Body
- if strings.HasSuffix(u.Path, "/") {
- r = &directoryReader{ReadCloser: r}
- }
-
return r, res.ContentLength, nil
}
-// DownloadFile GETs the given URL to a local file
-func (c *Client) DownloadFile(file string, u *url.URL, param *Download) error {
+func (c *Client) WriteFile(ctx context.Context, file string, src io.Reader, size int64, s progress.Sinker, w io.Writer) error {
var err error
- if param == nil {
- param = &DefaultDownload
- }
- rc, contentLength, err := c.Download(u, param)
- if err != nil {
- return err
- }
- defer rc.Close()
-
- var r io.Reader = rc
+ r := src
fh, err := os.Create(file)
if err != nil {
return err
}
- defer fh.Close()
- if param.Progress != nil {
- pr := progress.NewReader(param.Progress, r, contentLength)
- r = pr
+ if s != nil {
+ pr := progress.NewReader(ctx, s, src, size)
+ src = pr
// Mark progress reader as done when returning from this function.
defer func() {
@@ -725,17 +787,34 @@ func (c *Client) DownloadFile(file string, u *url.URL, param *Download) error {
}()
}
- _, err = io.Copy(fh, r)
- if err != nil {
- return err
+ if w == nil {
+ w = fh
+ } else {
+ w = io.MultiWriter(w, fh)
}
- // Assign error before returning so that it gets picked up by the deferred
- // function marking the progress reader as done.
- err = fh.Close()
- if err != nil {
- return err
+ _, err = io.Copy(w, r)
+
+ cerr := fh.Close()
+
+ if err == nil {
+ err = cerr
}
- return nil
+ return err
+}
+
+// DownloadFile GETs the given URL to a local file
+func (c *Client) DownloadFile(ctx context.Context, file string, u *url.URL, param *Download) error {
+ var err error
+ if param == nil {
+ param = &DefaultDownload
+ }
+
+ rc, contentLength, err := c.Download(ctx, u, param)
+ if err != nil {
+ return err
+ }
+
+ return c.WriteFile(ctx, file, rc, contentLength, param.Progress, param.Writer)
}
diff --git a/vendor/github.com/vmware/govmomi/vim25/soap/debug.go b/vendor/github.com/vmware/govmomi/vim25/soap/debug.go
index 63518abca..3d4b57704 100644
--- a/vendor/github.com/vmware/govmomi/vim25/soap/debug.go
+++ b/vendor/github.com/vmware/govmomi/vim25/soap/debug.go
@@ -69,42 +69,50 @@ func (d *debugRoundTrip) newFile(suffix string) io.WriteCloser {
return debug.NewFile(fmt.Sprintf("%d-%04d.%s", d.cn, d.rn, suffix))
}
-func (d *debugRoundTrip) debugRequest(req *http.Request) {
+func (d *debugRoundTrip) ext(h http.Header) string {
+ const json = "application/json"
+ ext := "xml"
+ if h.Get("Accept") == json || h.Get("Content-Type") == json {
+ ext = "json"
+ }
+ return ext
+}
+
+func (d *debugRoundTrip) debugRequest(req *http.Request) string {
if d == nil {
- return
+ return ""
}
- var wc io.WriteCloser
-
// Capture headers
- wc = d.newFile("req.headers")
+ var wc io.WriteCloser = d.newFile("req.headers")
b, _ := httputil.DumpRequest(req, false)
wc.Write(b)
wc.Close()
+ ext := d.ext(req.Header)
// Capture body
- wc = d.newFile("req.xml")
+ wc = d.newFile("req." + ext)
req.Body = newTeeReader(req.Body, wc)
// Delay closing until marked done
d.cs = append(d.cs, wc)
+
+ return ext
}
-func (d *debugRoundTrip) debugResponse(res *http.Response) {
+func (d *debugRoundTrip) debugResponse(res *http.Response, ext string) {
if d == nil {
return
}
- var wc io.WriteCloser
-
// Capture headers
- wc = d.newFile("res.headers")
+ var wc io.WriteCloser = d.newFile("res.headers")
b, _ := httputil.DumpResponse(res, false)
wc.Write(b)
wc.Close()
// Capture body
- wc = d.newFile("res.xml")
+ wc = d.newFile("res." + ext)
res.Body = newTeeReader(res.Body, wc)
// Delay closing until marked done
diff --git a/vendor/github.com/vmware/govmomi/vim25/soap/error.go b/vendor/github.com/vmware/govmomi/vim25/soap/error.go
index d89208522..46111556c 100644
--- a/vendor/github.com/vmware/govmomi/vim25/soap/error.go
+++ b/vendor/github.com/vmware/govmomi/vim25/soap/error.go
@@ -39,7 +39,11 @@ func (s soapFaultError) Error() string {
msg := s.fault.String
if msg == "" {
- msg = reflect.TypeOf(s.fault.Detail.Fault).Name()
+ if s.fault.Detail.Fault == nil {
+ msg = "unknown fault"
+ } else {
+ msg = reflect.TypeOf(s.fault.Detail.Fault).Name()
+ }
}
return fmt.Sprintf("%s: %s", s.fault.Code, msg)
diff --git a/vendor/github.com/vmware/govmomi/vim25/soap/soap.go b/vendor/github.com/vmware/govmomi/vim25/soap/soap.go
index a8baa0122..a8dc121ba 100644
--- a/vendor/github.com/vmware/govmomi/vim25/soap/soap.go
+++ b/vendor/github.com/vmware/govmomi/vim25/soap/soap.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -21,9 +21,17 @@ import (
"github.com/vmware/govmomi/vim25/xml"
)
+// Header includes optional soap Header fields.
+type Header struct {
+ Action string `xml:"-"` // Action is the 'SOAPAction' HTTP header value. Defaults to "Client.Namespace/Client.Version".
+ Cookie string `xml:"vcSessionCookie,omitempty"` // Cookie is a vCenter session cookie that can be used with other SDK endpoints (e.g. pbm).
+ ID string `xml:"operationID,omitempty"` // ID is the operationID used by ESX/vCenter logging for correlation.
+ Security interface{} `xml:",omitempty"` // Security is used for SAML token authentication and request signing.
+}
+
type Envelope struct {
- XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"`
- Header interface{} `xml:",omitempty"`
+ XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"`
+ Header *Header `xml:"http://schemas.xmlsoap.org/soap/envelope/ Header,omitempty"`
Body interface{}
}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/enum.go b/vendor/github.com/vmware/govmomi/vim25/types/enum.go
index 02f7f3cb5..ed9dad1c4 100644
--- a/vendor/github.com/vmware/govmomi/vim25/types/enum.go
+++ b/vendor/github.com/vmware/govmomi/vim25/types/enum.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -82,6 +82,59 @@ func init() {
t["AgentInstallFailedReason"] = reflect.TypeOf((*AgentInstallFailedReason)(nil)).Elem()
}
+type AlarmFilterSpecAlarmTypeByEntity string
+
+const (
+ AlarmFilterSpecAlarmTypeByEntityEntityTypeAll = AlarmFilterSpecAlarmTypeByEntity("entityTypeAll")
+ AlarmFilterSpecAlarmTypeByEntityEntityTypeHost = AlarmFilterSpecAlarmTypeByEntity("entityTypeHost")
+ AlarmFilterSpecAlarmTypeByEntityEntityTypeVm = AlarmFilterSpecAlarmTypeByEntity("entityTypeVm")
+)
+
+func init() {
+ t["AlarmFilterSpecAlarmTypeByEntity"] = reflect.TypeOf((*AlarmFilterSpecAlarmTypeByEntity)(nil)).Elem()
+}
+
+type AlarmFilterSpecAlarmTypeByTrigger string
+
+const (
+ AlarmFilterSpecAlarmTypeByTriggerTriggerTypeAll = AlarmFilterSpecAlarmTypeByTrigger("triggerTypeAll")
+ AlarmFilterSpecAlarmTypeByTriggerTriggerTypeEvent = AlarmFilterSpecAlarmTypeByTrigger("triggerTypeEvent")
+ AlarmFilterSpecAlarmTypeByTriggerTriggerTypeMetric = AlarmFilterSpecAlarmTypeByTrigger("triggerTypeMetric")
+)
+
+func init() {
+ t["AlarmFilterSpecAlarmTypeByTrigger"] = reflect.TypeOf((*AlarmFilterSpecAlarmTypeByTrigger)(nil)).Elem()
+}
+
+type AnswerFileValidationInfoStatus string
+
+const (
+ AnswerFileValidationInfoStatusSuccess = AnswerFileValidationInfoStatus("success")
+ AnswerFileValidationInfoStatusFailed = AnswerFileValidationInfoStatus("failed")
+ AnswerFileValidationInfoStatusFailed_defaults = AnswerFileValidationInfoStatus("failed_defaults")
+)
+
+func init() {
+ t["AnswerFileValidationInfoStatus"] = reflect.TypeOf((*AnswerFileValidationInfoStatus)(nil)).Elem()
+}
+
+type ApplyHostProfileConfigurationResultStatus string
+
+const (
+ ApplyHostProfileConfigurationResultStatusSuccess = ApplyHostProfileConfigurationResultStatus("success")
+ ApplyHostProfileConfigurationResultStatusFailed = ApplyHostProfileConfigurationResultStatus("failed")
+ ApplyHostProfileConfigurationResultStatusReboot_failed = ApplyHostProfileConfigurationResultStatus("reboot_failed")
+ ApplyHostProfileConfigurationResultStatusStateless_reboot_failed = ApplyHostProfileConfigurationResultStatus("stateless_reboot_failed")
+ ApplyHostProfileConfigurationResultStatusCheck_compliance_failed = ApplyHostProfileConfigurationResultStatus("check_compliance_failed")
+ ApplyHostProfileConfigurationResultStatusState_not_satisfied = ApplyHostProfileConfigurationResultStatus("state_not_satisfied")
+ ApplyHostProfileConfigurationResultStatusExit_maintenancemode_failed = ApplyHostProfileConfigurationResultStatus("exit_maintenancemode_failed")
+ ApplyHostProfileConfigurationResultStatusCanceled = ApplyHostProfileConfigurationResultStatus("canceled")
+)
+
+func init() {
+ t["ApplyHostProfileConfigurationResultStatus"] = reflect.TypeOf((*ApplyHostProfileConfigurationResultStatus)(nil)).Elem()
+}
+
type ArrayUpdateOperation string
const (
@@ -206,6 +259,18 @@ func init() {
t["CheckTestType"] = reflect.TypeOf((*CheckTestType)(nil)).Elem()
}
+type ClusterComputeResourceHCIWorkflowState string
+
+const (
+ ClusterComputeResourceHCIWorkflowStateIn_progress = ClusterComputeResourceHCIWorkflowState("in_progress")
+ ClusterComputeResourceHCIWorkflowStateDone = ClusterComputeResourceHCIWorkflowState("done")
+ ClusterComputeResourceHCIWorkflowStateInvalid = ClusterComputeResourceHCIWorkflowState("invalid")
+)
+
+func init() {
+ t["ClusterComputeResourceHCIWorkflowState"] = reflect.TypeOf((*ClusterComputeResourceHCIWorkflowState)(nil)).Elem()
+}
+
type ClusterDasAamNodeStateDasState string
const (
@@ -410,6 +475,7 @@ const (
ComplianceResultStatusCompliant = ComplianceResultStatus("compliant")
ComplianceResultStatusNonCompliant = ComplianceResultStatus("nonCompliant")
ComplianceResultStatusUnknown = ComplianceResultStatus("unknown")
+ ComplianceResultStatusRunning = ComplianceResultStatus("running")
)
func init() {
@@ -440,6 +506,20 @@ func init() {
t["ConfigSpecOperation"] = reflect.TypeOf((*ConfigSpecOperation)(nil)).Elem()
}
+type CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason string
+
+const (
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateMissingInCache = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateMissingInCache")
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateClusterInvalid = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateClusterInvalid")
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateClusterUnreachable = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateClusterUnreachable")
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateMissingInKMS = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateMissingInKMS")
+ CryptoManagerKmipCryptoKeyStatusKeyUnavailableReasonKeyStateNotActiveOrEnabled = CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason("KeyStateNotActiveOrEnabled")
+)
+
+func init() {
+ t["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = reflect.TypeOf((*CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason)(nil)).Elem()
+}
+
type CustomizationLicenseDataMode string
const (
@@ -499,6 +579,17 @@ func init() {
t["DVPortStatusVmDirectPathGen2InactiveReasonOther"] = reflect.TypeOf((*DVPortStatusVmDirectPathGen2InactiveReasonOther)(nil)).Elem()
}
+type DVSMacLimitPolicyType string
+
+const (
+ DVSMacLimitPolicyTypeAllow = DVSMacLimitPolicyType("allow")
+ DVSMacLimitPolicyTypeDrop = DVSMacLimitPolicyType("drop")
+)
+
+func init() {
+ t["DVSMacLimitPolicyType"] = reflect.TypeOf((*DVSMacLimitPolicyType)(nil)).Elem()
+}
+
type DasConfigFaultDasConfigFaultReason string
const (
@@ -932,6 +1023,17 @@ func init() {
t["FileSystemMountInfoVStorageSupportStatus"] = reflect.TypeOf((*FileSystemMountInfoVStorageSupportStatus)(nil)).Elem()
}
+type FolderDesiredHostState string
+
+const (
+ FolderDesiredHostStateMaintenance = FolderDesiredHostState("maintenance")
+ FolderDesiredHostStateNon_maintenance = FolderDesiredHostState("non_maintenance")
+)
+
+func init() {
+ t["FolderDesiredHostState"] = reflect.TypeOf((*FolderDesiredHostState)(nil)).Elem()
+}
+
type FtIssuesOnHostHostSelectionType string
const (
@@ -1079,6 +1181,18 @@ func init() {
t["HostCapabilityFtUnsupportedReason"] = reflect.TypeOf((*HostCapabilityFtUnsupportedReason)(nil)).Elem()
}
+type HostCapabilityUnmapMethodSupported string
+
+const (
+ HostCapabilityUnmapMethodSupportedPriority = HostCapabilityUnmapMethodSupported("priority")
+ HostCapabilityUnmapMethodSupportedFixed = HostCapabilityUnmapMethodSupported("fixed")
+ HostCapabilityUnmapMethodSupportedDynamic = HostCapabilityUnmapMethodSupported("dynamic")
+)
+
+func init() {
+ t["HostCapabilityUnmapMethodSupported"] = reflect.TypeOf((*HostCapabilityUnmapMethodSupported)(nil)).Elem()
+}
+
type HostCapabilityVmDirectPathGen2UnsupportedReason string
const (
@@ -1136,6 +1250,7 @@ const (
HostCpuPackageVendorUnknown = HostCpuPackageVendor("unknown")
HostCpuPackageVendorIntel = HostCpuPackageVendor("intel")
HostCpuPackageVendorAmd = HostCpuPackageVendor("amd")
+ HostCpuPackageVendorHygon = HostCpuPackageVendor("hygon")
)
func init() {
@@ -1186,8 +1301,12 @@ func init() {
type HostDigestInfoDigestMethodType string
const (
- HostDigestInfoDigestMethodTypeSHA1 = HostDigestInfoDigestMethodType("SHA1")
- HostDigestInfoDigestMethodTypeMD5 = HostDigestInfoDigestMethodType("MD5")
+ HostDigestInfoDigestMethodTypeSHA1 = HostDigestInfoDigestMethodType("SHA1")
+ HostDigestInfoDigestMethodTypeMD5 = HostDigestInfoDigestMethodType("MD5")
+ HostDigestInfoDigestMethodTypeSHA256 = HostDigestInfoDigestMethodType("SHA256")
+ HostDigestInfoDigestMethodTypeSHA384 = HostDigestInfoDigestMethodType("SHA384")
+ HostDigestInfoDigestMethodTypeSHA512 = HostDigestInfoDigestMethodType("SHA512")
+ HostDigestInfoDigestMethodTypeSM3_256 = HostDigestInfoDigestMethodType("SM3_256")
)
func init() {
@@ -1261,6 +1380,7 @@ const (
HostFileSystemVolumeFileSystemTypeVsan = HostFileSystemVolumeFileSystemType("vsan")
HostFileSystemVolumeFileSystemTypeVFFS = HostFileSystemVolumeFileSystemType("VFFS")
HostFileSystemVolumeFileSystemTypeVVOL = HostFileSystemVolumeFileSystemType("VVOL")
+ HostFileSystemVolumeFileSystemTypePMEM = HostFileSystemVolumeFileSystemType("PMEM")
HostFileSystemVolumeFileSystemTypeOTHER = HostFileSystemVolumeFileSystemType("OTHER")
)
@@ -1720,6 +1840,28 @@ func init() {
t["HostProfileManagerAnswerFileStatus"] = reflect.TypeOf((*HostProfileManagerAnswerFileStatus)(nil)).Elem()
}
+type HostProfileManagerCompositionResultResultElementStatus string
+
+const (
+ HostProfileManagerCompositionResultResultElementStatusSuccess = HostProfileManagerCompositionResultResultElementStatus("success")
+ HostProfileManagerCompositionResultResultElementStatusError = HostProfileManagerCompositionResultResultElementStatus("error")
+)
+
+func init() {
+ t["HostProfileManagerCompositionResultResultElementStatus"] = reflect.TypeOf((*HostProfileManagerCompositionResultResultElementStatus)(nil)).Elem()
+}
+
+type HostProfileManagerCompositionValidationResultResultElementStatus string
+
+const (
+ HostProfileManagerCompositionValidationResultResultElementStatusSuccess = HostProfileManagerCompositionValidationResultResultElementStatus("success")
+ HostProfileManagerCompositionValidationResultResultElementStatusError = HostProfileManagerCompositionValidationResultResultElementStatus("error")
+)
+
+func init() {
+ t["HostProfileManagerCompositionValidationResultResultElementStatus"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResultResultElementStatus)(nil)).Elem()
+}
+
type HostProfileManagerTaskListRequirement string
const (
@@ -1731,6 +1873,31 @@ func init() {
t["HostProfileManagerTaskListRequirement"] = reflect.TypeOf((*HostProfileManagerTaskListRequirement)(nil)).Elem()
}
+type HostProfileValidationFailureInfoUpdateType string
+
+const (
+ HostProfileValidationFailureInfoUpdateTypeHostBased = HostProfileValidationFailureInfoUpdateType("HostBased")
+ HostProfileValidationFailureInfoUpdateTypeImport = HostProfileValidationFailureInfoUpdateType("Import")
+ HostProfileValidationFailureInfoUpdateTypeEdit = HostProfileValidationFailureInfoUpdateType("Edit")
+ HostProfileValidationFailureInfoUpdateTypeCompose = HostProfileValidationFailureInfoUpdateType("Compose")
+)
+
+func init() {
+ t["HostProfileValidationFailureInfoUpdateType"] = reflect.TypeOf((*HostProfileValidationFailureInfoUpdateType)(nil)).Elem()
+}
+
+type HostProfileValidationState string
+
+const (
+ HostProfileValidationStateReady = HostProfileValidationState("Ready")
+ HostProfileValidationStateRunning = HostProfileValidationState("Running")
+ HostProfileValidationStateFailed = HostProfileValidationState("Failed")
+)
+
+func init() {
+ t["HostProfileValidationState"] = reflect.TypeOf((*HostProfileValidationState)(nil)).Elem()
+}
+
type HostProtocolEndpointPEType string
const (
@@ -1834,9 +2001,11 @@ func init() {
type HostSystemIdentificationInfoIdentifier string
const (
- HostSystemIdentificationInfoIdentifierAssetTag = HostSystemIdentificationInfoIdentifier("AssetTag")
- HostSystemIdentificationInfoIdentifierServiceTag = HostSystemIdentificationInfoIdentifier("ServiceTag")
- HostSystemIdentificationInfoIdentifierOemSpecificString = HostSystemIdentificationInfoIdentifier("OemSpecificString")
+ HostSystemIdentificationInfoIdentifierAssetTag = HostSystemIdentificationInfoIdentifier("AssetTag")
+ HostSystemIdentificationInfoIdentifierServiceTag = HostSystemIdentificationInfoIdentifier("ServiceTag")
+ HostSystemIdentificationInfoIdentifierOemSpecificString = HostSystemIdentificationInfoIdentifier("OemSpecificString")
+ HostSystemIdentificationInfoIdentifierEnclosureSerialNumberTag = HostSystemIdentificationInfoIdentifier("EnclosureSerialNumberTag")
+ HostSystemIdentificationInfoIdentifierSerialNumberTag = HostSystemIdentificationInfoIdentifier("SerialNumberTag")
)
func init() {
@@ -1856,6 +2025,32 @@ func init() {
t["HostSystemPowerState"] = reflect.TypeOf((*HostSystemPowerState)(nil)).Elem()
}
+type HostSystemRemediationStateState string
+
+const (
+ HostSystemRemediationStateStateRemediationReady = HostSystemRemediationStateState("remediationReady")
+ HostSystemRemediationStateStatePrecheckRemediationRunning = HostSystemRemediationStateState("precheckRemediationRunning")
+ HostSystemRemediationStateStatePrecheckRemediationComplete = HostSystemRemediationStateState("precheckRemediationComplete")
+ HostSystemRemediationStateStatePrecheckRemediationFailed = HostSystemRemediationStateState("precheckRemediationFailed")
+ HostSystemRemediationStateStateRemediationRunning = HostSystemRemediationStateState("remediationRunning")
+ HostSystemRemediationStateStateRemediationFailed = HostSystemRemediationStateState("remediationFailed")
+)
+
+func init() {
+ t["HostSystemRemediationStateState"] = reflect.TypeOf((*HostSystemRemediationStateState)(nil)).Elem()
+}
+
+type HostTpmAttestationInfoAcceptanceStatus string
+
+const (
+ HostTpmAttestationInfoAcceptanceStatusNotAccepted = HostTpmAttestationInfoAcceptanceStatus("notAccepted")
+ HostTpmAttestationInfoAcceptanceStatusAccepted = HostTpmAttestationInfoAcceptanceStatus("accepted")
+)
+
+func init() {
+ t["HostTpmAttestationInfoAcceptanceStatus"] = reflect.TypeOf((*HostTpmAttestationInfoAcceptanceStatus)(nil)).Elem()
+}
+
type HostUnresolvedVmfsExtentUnresolvedReason string
const (
@@ -1907,6 +2102,17 @@ func init() {
t["HostVmciAccessManagerMode"] = reflect.TypeOf((*HostVmciAccessManagerMode)(nil)).Elem()
}
+type HostVmfsVolumeUnmapBandwidthPolicy string
+
+const (
+ HostVmfsVolumeUnmapBandwidthPolicyFixed = HostVmfsVolumeUnmapBandwidthPolicy("fixed")
+ HostVmfsVolumeUnmapBandwidthPolicyDynamic = HostVmfsVolumeUnmapBandwidthPolicy("dynamic")
+)
+
+func init() {
+ t["HostVmfsVolumeUnmapBandwidthPolicy"] = reflect.TypeOf((*HostVmfsVolumeUnmapBandwidthPolicy)(nil)).Elem()
+}
+
type HostVmfsVolumeUnmapPriority string
const (
@@ -1918,6 +2124,28 @@ func init() {
t["HostVmfsVolumeUnmapPriority"] = reflect.TypeOf((*HostVmfsVolumeUnmapPriority)(nil)).Elem()
}
+type HttpNfcLeaseManifestEntryChecksumType string
+
+const (
+ HttpNfcLeaseManifestEntryChecksumTypeSha1 = HttpNfcLeaseManifestEntryChecksumType("sha1")
+ HttpNfcLeaseManifestEntryChecksumTypeSha256 = HttpNfcLeaseManifestEntryChecksumType("sha256")
+)
+
+func init() {
+ t["HttpNfcLeaseManifestEntryChecksumType"] = reflect.TypeOf((*HttpNfcLeaseManifestEntryChecksumType)(nil)).Elem()
+}
+
+type HttpNfcLeaseMode string
+
+const (
+ HttpNfcLeaseModePushOrGet = HttpNfcLeaseMode("pushOrGet")
+ HttpNfcLeaseModePull = HttpNfcLeaseMode("pull")
+)
+
+func init() {
+ t["HttpNfcLeaseMode"] = reflect.TypeOf((*HttpNfcLeaseMode)(nil)).Elem()
+}
+
type HttpNfcLeaseState string
const (
@@ -2288,6 +2516,110 @@ func init() {
t["NumVirtualCpusIncompatibleReason"] = reflect.TypeOf((*NumVirtualCpusIncompatibleReason)(nil)).Elem()
}
+type NvdimmInterleaveSetState string
+
+const (
+ NvdimmInterleaveSetStateInvalid = NvdimmInterleaveSetState("invalid")
+ NvdimmInterleaveSetStateActive = NvdimmInterleaveSetState("active")
+)
+
+func init() {
+ t["NvdimmInterleaveSetState"] = reflect.TypeOf((*NvdimmInterleaveSetState)(nil)).Elem()
+}
+
+type NvdimmNamespaceDetailsHealthStatus string
+
+const (
+ NvdimmNamespaceDetailsHealthStatusNormal = NvdimmNamespaceDetailsHealthStatus("normal")
+ NvdimmNamespaceDetailsHealthStatusMissing = NvdimmNamespaceDetailsHealthStatus("missing")
+ NvdimmNamespaceDetailsHealthStatusLabelMissing = NvdimmNamespaceDetailsHealthStatus("labelMissing")
+ NvdimmNamespaceDetailsHealthStatusInterleaveBroken = NvdimmNamespaceDetailsHealthStatus("interleaveBroken")
+ NvdimmNamespaceDetailsHealthStatusLabelInconsistent = NvdimmNamespaceDetailsHealthStatus("labelInconsistent")
+)
+
+func init() {
+ t["NvdimmNamespaceDetailsHealthStatus"] = reflect.TypeOf((*NvdimmNamespaceDetailsHealthStatus)(nil)).Elem()
+}
+
+type NvdimmNamespaceDetailsState string
+
+const (
+ NvdimmNamespaceDetailsStateInvalid = NvdimmNamespaceDetailsState("invalid")
+ NvdimmNamespaceDetailsStateNotInUse = NvdimmNamespaceDetailsState("notInUse")
+ NvdimmNamespaceDetailsStateInUse = NvdimmNamespaceDetailsState("inUse")
+)
+
+func init() {
+ t["NvdimmNamespaceDetailsState"] = reflect.TypeOf((*NvdimmNamespaceDetailsState)(nil)).Elem()
+}
+
+type NvdimmNamespaceHealthStatus string
+
+const (
+ NvdimmNamespaceHealthStatusNormal = NvdimmNamespaceHealthStatus("normal")
+ NvdimmNamespaceHealthStatusMissing = NvdimmNamespaceHealthStatus("missing")
+ NvdimmNamespaceHealthStatusLabelMissing = NvdimmNamespaceHealthStatus("labelMissing")
+ NvdimmNamespaceHealthStatusInterleaveBroken = NvdimmNamespaceHealthStatus("interleaveBroken")
+ NvdimmNamespaceHealthStatusLabelInconsistent = NvdimmNamespaceHealthStatus("labelInconsistent")
+ NvdimmNamespaceHealthStatusBttCorrupt = NvdimmNamespaceHealthStatus("bttCorrupt")
+ NvdimmNamespaceHealthStatusBadBlockSize = NvdimmNamespaceHealthStatus("badBlockSize")
+)
+
+func init() {
+ t["NvdimmNamespaceHealthStatus"] = reflect.TypeOf((*NvdimmNamespaceHealthStatus)(nil)).Elem()
+}
+
+type NvdimmNamespaceState string
+
+const (
+ NvdimmNamespaceStateInvalid = NvdimmNamespaceState("invalid")
+ NvdimmNamespaceStateNotInUse = NvdimmNamespaceState("notInUse")
+ NvdimmNamespaceStateInUse = NvdimmNamespaceState("inUse")
+)
+
+func init() {
+ t["NvdimmNamespaceState"] = reflect.TypeOf((*NvdimmNamespaceState)(nil)).Elem()
+}
+
+type NvdimmNamespaceType string
+
+const (
+ NvdimmNamespaceTypeBlockNamespace = NvdimmNamespaceType("blockNamespace")
+ NvdimmNamespaceTypePersistentNamespace = NvdimmNamespaceType("persistentNamespace")
+)
+
+func init() {
+ t["NvdimmNamespaceType"] = reflect.TypeOf((*NvdimmNamespaceType)(nil)).Elem()
+}
+
+type NvdimmNvdimmHealthInfoState string
+
+const (
+ NvdimmNvdimmHealthInfoStateNormal = NvdimmNvdimmHealthInfoState("normal")
+ NvdimmNvdimmHealthInfoStateError = NvdimmNvdimmHealthInfoState("error")
+)
+
+func init() {
+ t["NvdimmNvdimmHealthInfoState"] = reflect.TypeOf((*NvdimmNvdimmHealthInfoState)(nil)).Elem()
+}
+
+type NvdimmRangeType string
+
+const (
+ NvdimmRangeTypeVolatileRange = NvdimmRangeType("volatileRange")
+ NvdimmRangeTypePersistentRange = NvdimmRangeType("persistentRange")
+ NvdimmRangeTypeControlRange = NvdimmRangeType("controlRange")
+ NvdimmRangeTypeBlockRange = NvdimmRangeType("blockRange")
+ NvdimmRangeTypeVolatileVirtualDiskRange = NvdimmRangeType("volatileVirtualDiskRange")
+ NvdimmRangeTypeVolatileVirtualCDRange = NvdimmRangeType("volatileVirtualCDRange")
+ NvdimmRangeTypePersistentVirtualDiskRange = NvdimmRangeType("persistentVirtualDiskRange")
+ NvdimmRangeTypePersistentVirtualCDRange = NvdimmRangeType("persistentVirtualCDRange")
+)
+
+func init() {
+ t["NvdimmRangeType"] = reflect.TypeOf((*NvdimmRangeType)(nil)).Elem()
+}
+
type ObjectUpdateKind string
const (
@@ -2491,6 +2823,20 @@ func init() {
t["ProfileNumericComparator"] = reflect.TypeOf((*ProfileNumericComparator)(nil)).Elem()
}
+type ProfileParameterMetadataRelationType string
+
+const (
+ ProfileParameterMetadataRelationTypeDynamic_relation = ProfileParameterMetadataRelationType("dynamic_relation")
+ ProfileParameterMetadataRelationTypeExtensible_relation = ProfileParameterMetadataRelationType("extensible_relation")
+ ProfileParameterMetadataRelationTypeLocalizable_relation = ProfileParameterMetadataRelationType("localizable_relation")
+ ProfileParameterMetadataRelationTypeStatic_relation = ProfileParameterMetadataRelationType("static_relation")
+ ProfileParameterMetadataRelationTypeValidation_relation = ProfileParameterMetadataRelationType("validation_relation")
+)
+
+func init() {
+ t["ProfileParameterMetadataRelationType"] = reflect.TypeOf((*ProfileParameterMetadataRelationType)(nil)).Elem()
+}
+
type PropertyChangeOp string
const (
@@ -2611,6 +2957,8 @@ const (
ReplicationVmConfigFaultReasonForFaultReplicationNotEnabled = ReplicationVmConfigFaultReasonForFault("replicationNotEnabled")
ReplicationVmConfigFaultReasonForFaultReplicationConfigurationFailed = ReplicationVmConfigFaultReasonForFault("replicationConfigurationFailed")
ReplicationVmConfigFaultReasonForFaultEncryptedVm = ReplicationVmConfigFaultReasonForFault("encryptedVm")
+ ReplicationVmConfigFaultReasonForFaultInvalidThumbprint = ReplicationVmConfigFaultReasonForFault("invalidThumbprint")
+ ReplicationVmConfigFaultReasonForFaultIncompatibleDevice = ReplicationVmConfigFaultReasonForFault("incompatibleDevice")
)
func init() {
@@ -2628,6 +2976,7 @@ const (
ReplicationVmFaultReasonForFaultInvalidState = ReplicationVmFaultReasonForFault("invalidState")
ReplicationVmFaultReasonForFaultInvalidInstanceId = ReplicationVmFaultReasonForFault("invalidInstanceId")
ReplicationVmFaultReasonForFaultCloseDiskError = ReplicationVmFaultReasonForFault("closeDiskError")
+ ReplicationVmFaultReasonForFaultGroupExist = ReplicationVmFaultReasonForFault("groupExist")
)
func init() {
@@ -2688,10 +3037,11 @@ func init() {
type ScsiDiskType string
const (
- ScsiDiskTypeNative512 = ScsiDiskType("native512")
- ScsiDiskTypeEmulated512 = ScsiDiskType("emulated512")
- ScsiDiskTypeNative4k = ScsiDiskType("native4k")
- ScsiDiskTypeUnknown = ScsiDiskType("unknown")
+ ScsiDiskTypeNative512 = ScsiDiskType("native512")
+ ScsiDiskTypeEmulated512 = ScsiDiskType("emulated512")
+ ScsiDiskTypeNative4k = ScsiDiskType("native4k")
+ ScsiDiskTypeSoftwareEmulated4k = ScsiDiskType("SoftwareEmulated4k")
+ ScsiDiskTypeUnknown = ScsiDiskType("unknown")
)
func init() {
@@ -3266,6 +3616,18 @@ func init() {
t["VirtualDeviceConfigSpecOperation"] = reflect.TypeOf((*VirtualDeviceConfigSpecOperation)(nil)).Elem()
}
+type VirtualDeviceConnectInfoMigrateConnectOp string
+
+const (
+ VirtualDeviceConnectInfoMigrateConnectOpConnect = VirtualDeviceConnectInfoMigrateConnectOp("connect")
+ VirtualDeviceConnectInfoMigrateConnectOpDisconnect = VirtualDeviceConnectInfoMigrateConnectOp("disconnect")
+ VirtualDeviceConnectInfoMigrateConnectOpUnset = VirtualDeviceConnectInfoMigrateConnectOp("unset")
+)
+
+func init() {
+ t["VirtualDeviceConnectInfoMigrateConnectOp"] = reflect.TypeOf((*VirtualDeviceConnectInfoMigrateConnectOp)(nil)).Elem()
+}
+
type VirtualDeviceConnectInfoStatus string
const (
@@ -3365,6 +3727,18 @@ func init() {
t["VirtualDiskMode"] = reflect.TypeOf((*VirtualDiskMode)(nil)).Elem()
}
+type VirtualDiskRuleSpecRuleType string
+
+const (
+ VirtualDiskRuleSpecRuleTypeAffinity = VirtualDiskRuleSpecRuleType("affinity")
+ VirtualDiskRuleSpecRuleTypeAntiAffinity = VirtualDiskRuleSpecRuleType("antiAffinity")
+ VirtualDiskRuleSpecRuleTypeDisabled = VirtualDiskRuleSpecRuleType("disabled")
+)
+
+func init() {
+ t["VirtualDiskRuleSpecRuleType"] = reflect.TypeOf((*VirtualDiskRuleSpecRuleType)(nil)).Elem()
+}
+
type VirtualDiskSharing string
const (
@@ -3530,6 +3904,17 @@ func init() {
t["VirtualMachineConnectionState"] = reflect.TypeOf((*VirtualMachineConnectionState)(nil)).Elem()
}
+type VirtualMachineCryptoState string
+
+const (
+ VirtualMachineCryptoStateUnlocked = VirtualMachineCryptoState("unlocked")
+ VirtualMachineCryptoStateLocked = VirtualMachineCryptoState("locked")
+)
+
+func init() {
+ t["VirtualMachineCryptoState"] = reflect.TypeOf((*VirtualMachineCryptoState)(nil)).Elem()
+}
+
type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther string
const (
@@ -3725,6 +4110,10 @@ const (
VirtualMachineGuestOsIdentifierWindowsHyperVGuest = VirtualMachineGuestOsIdentifier("windowsHyperVGuest")
VirtualMachineGuestOsIdentifierFreebsdGuest = VirtualMachineGuestOsIdentifier("freebsdGuest")
VirtualMachineGuestOsIdentifierFreebsd64Guest = VirtualMachineGuestOsIdentifier("freebsd64Guest")
+ VirtualMachineGuestOsIdentifierFreebsd11Guest = VirtualMachineGuestOsIdentifier("freebsd11Guest")
+ VirtualMachineGuestOsIdentifierFreebsd11_64Guest = VirtualMachineGuestOsIdentifier("freebsd11_64Guest")
+ VirtualMachineGuestOsIdentifierFreebsd12Guest = VirtualMachineGuestOsIdentifier("freebsd12Guest")
+ VirtualMachineGuestOsIdentifierFreebsd12_64Guest = VirtualMachineGuestOsIdentifier("freebsd12_64Guest")
VirtualMachineGuestOsIdentifierRedhatGuest = VirtualMachineGuestOsIdentifier("redhatGuest")
VirtualMachineGuestOsIdentifierRhel2Guest = VirtualMachineGuestOsIdentifier("rhel2Guest")
VirtualMachineGuestOsIdentifierRhel3Guest = VirtualMachineGuestOsIdentifier("rhel3Guest")
@@ -3737,18 +4126,21 @@ const (
VirtualMachineGuestOsIdentifierRhel6_64Guest = VirtualMachineGuestOsIdentifier("rhel6_64Guest")
VirtualMachineGuestOsIdentifierRhel7Guest = VirtualMachineGuestOsIdentifier("rhel7Guest")
VirtualMachineGuestOsIdentifierRhel7_64Guest = VirtualMachineGuestOsIdentifier("rhel7_64Guest")
+ VirtualMachineGuestOsIdentifierRhel8_64Guest = VirtualMachineGuestOsIdentifier("rhel8_64Guest")
VirtualMachineGuestOsIdentifierCentosGuest = VirtualMachineGuestOsIdentifier("centosGuest")
VirtualMachineGuestOsIdentifierCentos64Guest = VirtualMachineGuestOsIdentifier("centos64Guest")
VirtualMachineGuestOsIdentifierCentos6Guest = VirtualMachineGuestOsIdentifier("centos6Guest")
VirtualMachineGuestOsIdentifierCentos6_64Guest = VirtualMachineGuestOsIdentifier("centos6_64Guest")
VirtualMachineGuestOsIdentifierCentos7Guest = VirtualMachineGuestOsIdentifier("centos7Guest")
VirtualMachineGuestOsIdentifierCentos7_64Guest = VirtualMachineGuestOsIdentifier("centos7_64Guest")
+ VirtualMachineGuestOsIdentifierCentos8_64Guest = VirtualMachineGuestOsIdentifier("centos8_64Guest")
VirtualMachineGuestOsIdentifierOracleLinuxGuest = VirtualMachineGuestOsIdentifier("oracleLinuxGuest")
VirtualMachineGuestOsIdentifierOracleLinux64Guest = VirtualMachineGuestOsIdentifier("oracleLinux64Guest")
VirtualMachineGuestOsIdentifierOracleLinux6Guest = VirtualMachineGuestOsIdentifier("oracleLinux6Guest")
VirtualMachineGuestOsIdentifierOracleLinux6_64Guest = VirtualMachineGuestOsIdentifier("oracleLinux6_64Guest")
VirtualMachineGuestOsIdentifierOracleLinux7Guest = VirtualMachineGuestOsIdentifier("oracleLinux7Guest")
VirtualMachineGuestOsIdentifierOracleLinux7_64Guest = VirtualMachineGuestOsIdentifier("oracleLinux7_64Guest")
+ VirtualMachineGuestOsIdentifierOracleLinux8_64Guest = VirtualMachineGuestOsIdentifier("oracleLinux8_64Guest")
VirtualMachineGuestOsIdentifierSuseGuest = VirtualMachineGuestOsIdentifier("suseGuest")
VirtualMachineGuestOsIdentifierSuse64Guest = VirtualMachineGuestOsIdentifier("suse64Guest")
VirtualMachineGuestOsIdentifierSlesGuest = VirtualMachineGuestOsIdentifier("slesGuest")
@@ -3759,6 +4151,7 @@ const (
VirtualMachineGuestOsIdentifierSles11_64Guest = VirtualMachineGuestOsIdentifier("sles11_64Guest")
VirtualMachineGuestOsIdentifierSles12Guest = VirtualMachineGuestOsIdentifier("sles12Guest")
VirtualMachineGuestOsIdentifierSles12_64Guest = VirtualMachineGuestOsIdentifier("sles12_64Guest")
+ VirtualMachineGuestOsIdentifierSles15_64Guest = VirtualMachineGuestOsIdentifier("sles15_64Guest")
VirtualMachineGuestOsIdentifierNld9Guest = VirtualMachineGuestOsIdentifier("nld9Guest")
VirtualMachineGuestOsIdentifierOesGuest = VirtualMachineGuestOsIdentifier("oesGuest")
VirtualMachineGuestOsIdentifierSjdsGuest = VirtualMachineGuestOsIdentifier("sjdsGuest")
@@ -3789,6 +4182,7 @@ const (
VirtualMachineGuestOsIdentifierAsianux4_64Guest = VirtualMachineGuestOsIdentifier("asianux4_64Guest")
VirtualMachineGuestOsIdentifierAsianux5_64Guest = VirtualMachineGuestOsIdentifier("asianux5_64Guest")
VirtualMachineGuestOsIdentifierAsianux7_64Guest = VirtualMachineGuestOsIdentifier("asianux7_64Guest")
+ VirtualMachineGuestOsIdentifierAsianux8_64Guest = VirtualMachineGuestOsIdentifier("asianux8_64Guest")
VirtualMachineGuestOsIdentifierOpensuseGuest = VirtualMachineGuestOsIdentifier("opensuseGuest")
VirtualMachineGuestOsIdentifierOpensuse64Guest = VirtualMachineGuestOsIdentifier("opensuse64Guest")
VirtualMachineGuestOsIdentifierFedoraGuest = VirtualMachineGuestOsIdentifier("fedoraGuest")
@@ -3799,10 +4193,12 @@ const (
VirtualMachineGuestOsIdentifierOther26xLinuxGuest = VirtualMachineGuestOsIdentifier("other26xLinuxGuest")
VirtualMachineGuestOsIdentifierOtherLinuxGuest = VirtualMachineGuestOsIdentifier("otherLinuxGuest")
VirtualMachineGuestOsIdentifierOther3xLinuxGuest = VirtualMachineGuestOsIdentifier("other3xLinuxGuest")
+ VirtualMachineGuestOsIdentifierOther4xLinuxGuest = VirtualMachineGuestOsIdentifier("other4xLinuxGuest")
VirtualMachineGuestOsIdentifierGenericLinuxGuest = VirtualMachineGuestOsIdentifier("genericLinuxGuest")
VirtualMachineGuestOsIdentifierOther24xLinux64Guest = VirtualMachineGuestOsIdentifier("other24xLinux64Guest")
VirtualMachineGuestOsIdentifierOther26xLinux64Guest = VirtualMachineGuestOsIdentifier("other26xLinux64Guest")
VirtualMachineGuestOsIdentifierOther3xLinux64Guest = VirtualMachineGuestOsIdentifier("other3xLinux64Guest")
+ VirtualMachineGuestOsIdentifierOther4xLinux64Guest = VirtualMachineGuestOsIdentifier("other4xLinux64Guest")
VirtualMachineGuestOsIdentifierOtherLinux64Guest = VirtualMachineGuestOsIdentifier("otherLinux64Guest")
VirtualMachineGuestOsIdentifierSolaris6Guest = VirtualMachineGuestOsIdentifier("solaris6Guest")
VirtualMachineGuestOsIdentifierSolaris7Guest = VirtualMachineGuestOsIdentifier("solaris7Guest")
@@ -3831,10 +4227,13 @@ const (
VirtualMachineGuestOsIdentifierDarwin14_64Guest = VirtualMachineGuestOsIdentifier("darwin14_64Guest")
VirtualMachineGuestOsIdentifierDarwin15_64Guest = VirtualMachineGuestOsIdentifier("darwin15_64Guest")
VirtualMachineGuestOsIdentifierDarwin16_64Guest = VirtualMachineGuestOsIdentifier("darwin16_64Guest")
+ VirtualMachineGuestOsIdentifierDarwin17_64Guest = VirtualMachineGuestOsIdentifier("darwin17_64Guest")
+ VirtualMachineGuestOsIdentifierDarwin18_64Guest = VirtualMachineGuestOsIdentifier("darwin18_64Guest")
VirtualMachineGuestOsIdentifierVmkernelGuest = VirtualMachineGuestOsIdentifier("vmkernelGuest")
VirtualMachineGuestOsIdentifierVmkernel5Guest = VirtualMachineGuestOsIdentifier("vmkernel5Guest")
VirtualMachineGuestOsIdentifierVmkernel6Guest = VirtualMachineGuestOsIdentifier("vmkernel6Guest")
VirtualMachineGuestOsIdentifierVmkernel65Guest = VirtualMachineGuestOsIdentifier("vmkernel65Guest")
+ VirtualMachineGuestOsIdentifierAmazonlinux2_64Guest = VirtualMachineGuestOsIdentifier("amazonlinux2_64Guest")
VirtualMachineGuestOsIdentifierOtherGuest = VirtualMachineGuestOsIdentifier("otherGuest")
VirtualMachineGuestOsIdentifierOtherGuest64 = VirtualMachineGuestOsIdentifier("otherGuest64")
)
@@ -4051,10 +4450,11 @@ func init() {
type VirtualMachineTicketType string
const (
- VirtualMachineTicketTypeMks = VirtualMachineTicketType("mks")
- VirtualMachineTicketTypeDevice = VirtualMachineTicketType("device")
- VirtualMachineTicketTypeGuestControl = VirtualMachineTicketType("guestControl")
- VirtualMachineTicketTypeWebmks = VirtualMachineTicketType("webmks")
+ VirtualMachineTicketTypeMks = VirtualMachineTicketType("mks")
+ VirtualMachineTicketTypeDevice = VirtualMachineTicketType("device")
+ VirtualMachineTicketTypeGuestControl = VirtualMachineTicketType("guestControl")
+ VirtualMachineTicketTypeWebmks = VirtualMachineTicketType("webmks")
+ VirtualMachineTicketTypeGuestIntegrity = VirtualMachineTicketType("guestIntegrity")
)
func init() {
@@ -4262,6 +4662,17 @@ func init() {
t["VirtualSerialPortEndPoint"] = reflect.TypeOf((*VirtualSerialPortEndPoint)(nil)).Elem()
}
+type VirtualVmxnet3VrdmaOptionDeviceProtocols string
+
+const (
+ VirtualVmxnet3VrdmaOptionDeviceProtocolsRocev1 = VirtualVmxnet3VrdmaOptionDeviceProtocols("rocev1")
+ VirtualVmxnet3VrdmaOptionDeviceProtocolsRocev2 = VirtualVmxnet3VrdmaOptionDeviceProtocols("rocev2")
+)
+
+func init() {
+ t["VirtualVmxnet3VrdmaOptionDeviceProtocols"] = reflect.TypeOf((*VirtualVmxnet3VrdmaOptionDeviceProtocols)(nil)).Elem()
+}
+
type VmDasBeingResetEventReasonCode string
const (
@@ -4319,6 +4730,8 @@ const (
VmFaultToleranceConfigIssueReasonForIssueCpuHwmmuUnsupported = VmFaultToleranceConfigIssueReasonForIssue("cpuHwmmuUnsupported")
VmFaultToleranceConfigIssueReasonForIssueCpuHvDisabled = VmFaultToleranceConfigIssueReasonForIssue("cpuHvDisabled")
VmFaultToleranceConfigIssueReasonForIssueHasEFIFirmware = VmFaultToleranceConfigIssueReasonForIssue("hasEFIFirmware")
+ VmFaultToleranceConfigIssueReasonForIssueTooManyVCPUs = VmFaultToleranceConfigIssueReasonForIssue("tooManyVCPUs")
+ VmFaultToleranceConfigIssueReasonForIssueTooMuchMemory = VmFaultToleranceConfigIssueReasonForIssue("tooMuchMemory")
)
func init() {
@@ -4464,3 +4877,15 @@ const (
func init() {
t["WillLoseHAProtectionResolution"] = reflect.TypeOf((*WillLoseHAProtectionResolution)(nil)).Elem()
}
+
+type VslmVStorageObjectControlFlag string
+
+const (
+ VslmVStorageObjectControlFlagKeepAfterDeleteVm = VslmVStorageObjectControlFlag("keepAfterDeleteVm")
+ VslmVStorageObjectControlFlagDisableRelocation = VslmVStorageObjectControlFlag("disableRelocation")
+ VslmVStorageObjectControlFlagEnableChangedBlockTracking = VslmVStorageObjectControlFlag("enableChangedBlockTracking")
+)
+
+func init() {
+ t["vslmVStorageObjectControlFlag"] = reflect.TypeOf((*VslmVStorageObjectControlFlag)(nil)).Elem()
+}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/helpers.go b/vendor/github.com/vmware/govmomi/vim25/types/helpers.go
index 2364ed421..95c49f333 100644
--- a/vendor/github.com/vmware/govmomi/vim25/types/helpers.go
+++ b/vendor/github.com/vmware/govmomi/vim25/types/helpers.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2015 VMware, Inc. All Rights Reserved.
+Copyright (c) 2015-2017 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -16,12 +16,28 @@ limitations under the License.
package types
-import "strings"
+import (
+ "reflect"
+ "strings"
+ "time"
+)
func NewBool(v bool) *bool {
return &v
}
+func NewInt32(v int32) *int32 {
+ return &v
+}
+
+func NewInt64(v int64) *int64 {
+ return &v
+}
+
+func NewTime(v time.Time) *time.Time {
+ return &v
+}
+
func NewReference(r ManagedObjectReference) *ManagedObjectReference {
return &r
}
@@ -50,3 +66,30 @@ func (r *ManagedObjectReference) FromString(o string) bool {
func (c *PerfCounterInfo) Name() string {
return c.GroupInfo.GetElementDescription().Key + "." + c.NameInfo.GetElementDescription().Key + "." + string(c.RollupType)
}
+
+func defaultResourceAllocationInfo() ResourceAllocationInfo {
+ return ResourceAllocationInfo{
+ Reservation: NewInt64(0),
+ ExpandableReservation: NewBool(true),
+ Limit: NewInt64(-1),
+ Shares: &SharesInfo{
+ Level: SharesLevelNormal,
+ },
+ }
+}
+
+// DefaultResourceConfigSpec returns a ResourceConfigSpec populated with the same default field values as vCenter.
+// Note that the wsdl marks these fields as optional, but they are required to be set when creating a resource pool.
+// They are only optional when updating a resource pool.
+func DefaultResourceConfigSpec() ResourceConfigSpec {
+ return ResourceConfigSpec{
+ CpuAllocation: defaultResourceAllocationInfo(),
+ MemoryAllocation: defaultResourceAllocationInfo(),
+ }
+}
+
+func init() {
+ // Known 6.5 issue where this event type is sent even though it is internal.
+ // This workaround allows us to unmarshal and avoid NPEs.
+ t["HostSubSpecificationUpdateEvent"] = reflect.TypeOf((*HostEvent)(nil)).Elem()
+}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/if.go b/vendor/github.com/vmware/govmomi/vim25/types/if.go
index dbf594cfc..32e17f14c 100644
--- a/vendor/github.com/vmware/govmomi/vim25/types/if.go
+++ b/vendor/github.com/vmware/govmomi/vim25/types/if.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -214,6 +214,18 @@ func init() {
t["BaseClusterAction"] = reflect.TypeOf((*ClusterAction)(nil)).Elem()
}
+func (b *ClusterComputeResourceValidationResultBase) GetClusterComputeResourceValidationResultBase() *ClusterComputeResourceValidationResultBase {
+ return b
+}
+
+type BaseClusterComputeResourceValidationResultBase interface {
+ GetClusterComputeResourceValidationResultBase() *ClusterComputeResourceValidationResultBase
+}
+
+func init() {
+ t["BaseClusterComputeResourceValidationResultBase"] = reflect.TypeOf((*ClusterComputeResourceValidationResultBase)(nil)).Elem()
+}
+
func (b *ClusterDasAdmissionControlInfo) GetClusterDasAdmissionControlInfo() *ClusterDasAdmissionControlInfo {
return b
}
@@ -786,6 +798,7 @@ func (b *DvsFilterConfig) GetDvsFilterConfig() *DvsFilterConfig { return b }
type BaseDvsFilterConfig interface {
GetDvsFilterConfig() *DvsFilterConfig
+ GetDvsTrafficFilterConfig() *DvsTrafficFilterConfig
}
func init() {
@@ -828,12 +841,21 @@ func (b *DvsNetworkRuleQualifier) GetDvsNetworkRuleQualifier() *DvsNetworkRuleQu
type BaseDvsNetworkRuleQualifier interface {
GetDvsNetworkRuleQualifier() *DvsNetworkRuleQualifier
+ GetDvsIpNetworkRuleQualifier() *DvsIpNetworkRuleQualifier
}
func init() {
t["BaseDvsNetworkRuleQualifier"] = reflect.TypeOf((*DvsNetworkRuleQualifier)(nil)).Elem()
}
+func (b *DvsIpNetworkRuleQualifier) GetDvsIpNetworkRuleQualifier() *DvsIpNetworkRuleQualifier {
+ return b
+}
+
+type BaseDvsIpNetworkRuleQualifier interface {
+ GetDvsIpNetworkRuleQualifier() *DvsIpNetworkRuleQualifier
+}
+
func (b *DvsTrafficFilterConfig) GetDvsTrafficFilterConfig() *DvsTrafficFilterConfig { return b }
type BaseDvsTrafficFilterConfig interface {
@@ -2360,16 +2382,6 @@ func init() {
t["BaseReplicationVmFault"] = reflect.TypeOf((*ReplicationVmFault)(nil)).Elem()
}
-func (b *ResourceAllocationInfo) GetResourceAllocationInfo() *ResourceAllocationInfo { return b }
-
-type BaseResourceAllocationInfo interface {
- GetResourceAllocationInfo() *ResourceAllocationInfo
-}
-
-func init() {
- t["BaseResourceAllocationInfo"] = reflect.TypeOf((*ResourceAllocationInfo)(nil)).Elem()
-}
-
func (b *ResourceInUse) GetResourceInUse() *ResourceInUse { return b }
type BaseResourceInUse interface {
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/internal.go b/vendor/github.com/vmware/govmomi/vim25/types/internal.go
deleted file mode 100644
index 0c2693499..000000000
--- a/vendor/github.com/vmware/govmomi/vim25/types/internal.go
+++ /dev/null
@@ -1,266 +0,0 @@
-/*
-Copyright (c) 2014 VMware, Inc. All Rights Reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-package types
-
-import "reflect"
-
-type DynamicTypeMgrQueryMoInstances struct {
- This ManagedObjectReference `xml:"_this"`
- FilterSpec BaseDynamicTypeMgrFilterSpec `xml:"filterSpec,omitempty,typeattr"`
-}
-
-type DynamicTypeMgrQueryMoInstancesResponse struct {
- Returnval []DynamicTypeMgrMoInstance `xml:"urn:vim25 returnval"`
-}
-
-type DynamicTypeEnumTypeInfo struct {
- DynamicData
-
- Name string `xml:"name"`
- WsdlName string `xml:"wsdlName"`
- Version string `xml:"version"`
- Value []string `xml:"value,omitempty"`
- Annotation []DynamicTypeMgrAnnotation `xml:"annotation,omitempty"`
-}
-
-func init() {
- t["DynamicTypeEnumTypeInfo"] = reflect.TypeOf((*DynamicTypeEnumTypeInfo)(nil)).Elem()
-}
-
-type DynamicTypeMgrAllTypeInfo struct {
- DynamicData
-
- ManagedTypeInfo []DynamicTypeMgrManagedTypeInfo `xml:"managedTypeInfo,omitempty"`
- EnumTypeInfo []DynamicTypeEnumTypeInfo `xml:"enumTypeInfo,omitempty"`
- DataTypeInfo []DynamicTypeMgrDataTypeInfo `xml:"dataTypeInfo,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrAllTypeInfo"] = reflect.TypeOf((*DynamicTypeMgrAllTypeInfo)(nil)).Elem()
-}
-
-type DynamicTypeMgrAnnotation struct {
- DynamicData
-
- Name string `xml:"name"`
- Parameter []string `xml:"parameter,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrAnnotation"] = reflect.TypeOf((*DynamicTypeMgrAnnotation)(nil)).Elem()
-}
-
-type DynamicTypeMgrDataTypeInfo struct {
- DynamicData
-
- Name string `xml:"name"`
- WsdlName string `xml:"wsdlName"`
- Version string `xml:"version"`
- Base []string `xml:"base,omitempty"`
- Property []DynamicTypeMgrPropertyTypeInfo `xml:"property,omitempty"`
- Annotation []DynamicTypeMgrAnnotation `xml:"annotation,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrDataTypeInfo"] = reflect.TypeOf((*DynamicTypeMgrDataTypeInfo)(nil)).Elem()
-}
-
-func (b *DynamicTypeMgrFilterSpec) GetDynamicTypeMgrFilterSpec() *DynamicTypeMgrFilterSpec { return b }
-
-type BaseDynamicTypeMgrFilterSpec interface {
- GetDynamicTypeMgrFilterSpec() *DynamicTypeMgrFilterSpec
-}
-
-type DynamicTypeMgrFilterSpec struct {
- DynamicData
-}
-
-func init() {
- t["DynamicTypeMgrFilterSpec"] = reflect.TypeOf((*DynamicTypeMgrFilterSpec)(nil)).Elem()
-}
-
-type DynamicTypeMgrManagedTypeInfo struct {
- DynamicData
-
- Name string `xml:"name"`
- WsdlName string `xml:"wsdlName"`
- Version string `xml:"version"`
- Base []string `xml:"base,omitempty"`
- Property []DynamicTypeMgrPropertyTypeInfo `xml:"property,omitempty"`
- Method []DynamicTypeMgrMethodTypeInfo `xml:"method,omitempty"`
- Annotation []DynamicTypeMgrAnnotation `xml:"annotation,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrManagedTypeInfo"] = reflect.TypeOf((*DynamicTypeMgrManagedTypeInfo)(nil)).Elem()
-}
-
-type DynamicTypeMgrMethodTypeInfo struct {
- DynamicData
-
- Name string `xml:"name"`
- WsdlName string `xml:"wsdlName"`
- Version string `xml:"version"`
- ParamTypeInfo []DynamicTypeMgrParamTypeInfo `xml:"paramTypeInfo,omitempty"`
- ReturnTypeInfo *DynamicTypeMgrParamTypeInfo `xml:"returnTypeInfo,omitempty"`
- Fault []string `xml:"fault,omitempty"`
- PrivId string `xml:"privId,omitempty"`
- Annotation []DynamicTypeMgrAnnotation `xml:"annotation,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrMethodTypeInfo"] = reflect.TypeOf((*DynamicTypeMgrMethodTypeInfo)(nil)).Elem()
-}
-
-type DynamicTypeMgrMoFilterSpec struct {
- DynamicTypeMgrFilterSpec
-
- Id string `xml:"id,omitempty"`
- TypeSubstr string `xml:"typeSubstr,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrMoFilterSpec"] = reflect.TypeOf((*DynamicTypeMgrMoFilterSpec)(nil)).Elem()
-}
-
-type DynamicTypeMgrMoInstance struct {
- DynamicData
-
- Id string `xml:"id"`
- MoType string `xml:"moType"`
-}
-
-func init() {
- t["DynamicTypeMgrMoInstance"] = reflect.TypeOf((*DynamicTypeMgrMoInstance)(nil)).Elem()
-}
-
-type DynamicTypeMgrParamTypeInfo struct {
- DynamicData
-
- Name string `xml:"name"`
- Version string `xml:"version"`
- Type string `xml:"type"`
- PrivId string `xml:"privId,omitempty"`
- Annotation []DynamicTypeMgrAnnotation `xml:"annotation,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrParamTypeInfo"] = reflect.TypeOf((*DynamicTypeMgrParamTypeInfo)(nil)).Elem()
-}
-
-type DynamicTypeMgrPropertyTypeInfo struct {
- DynamicData
-
- Name string `xml:"name"`
- Version string `xml:"version"`
- Type string `xml:"type"`
- PrivId string `xml:"privId,omitempty"`
- MsgIdFormat string `xml:"msgIdFormat,omitempty"`
- Annotation []DynamicTypeMgrAnnotation `xml:"annotation,omitempty"`
-}
-
-type DynamicTypeMgrQueryTypeInfo struct {
- This ManagedObjectReference `xml:"_this"`
- FilterSpec BaseDynamicTypeMgrFilterSpec `xml:"filterSpec,omitempty,typeattr"`
-}
-
-type DynamicTypeMgrQueryTypeInfoResponse struct {
- Returnval DynamicTypeMgrAllTypeInfo `xml:"urn:vim25 returnval"`
-}
-
-func init() {
- t["DynamicTypeMgrPropertyTypeInfo"] = reflect.TypeOf((*DynamicTypeMgrPropertyTypeInfo)(nil)).Elem()
-}
-
-type DynamicTypeMgrTypeFilterSpec struct {
- DynamicTypeMgrFilterSpec
-
- TypeSubstr string `xml:"typeSubstr,omitempty"`
-}
-
-func init() {
- t["DynamicTypeMgrTypeFilterSpec"] = reflect.TypeOf((*DynamicTypeMgrTypeFilterSpec)(nil)).Elem()
-}
-
-type ReflectManagedMethodExecuterSoapArgument struct {
- DynamicData
-
- Name string `xml:"name"`
- Val string `xml:"val"`
-}
-
-func init() {
- t["ReflectManagedMethodExecuterSoapArgument"] = reflect.TypeOf((*ReflectManagedMethodExecuterSoapArgument)(nil)).Elem()
-}
-
-type ReflectManagedMethodExecuterSoapFault struct {
- DynamicData
-
- FaultMsg string `xml:"faultMsg"`
- FaultDetail string `xml:"faultDetail,omitempty"`
-}
-
-func init() {
- t["ReflectManagedMethodExecuterSoapFault"] = reflect.TypeOf((*ReflectManagedMethodExecuterSoapFault)(nil)).Elem()
-}
-
-type ReflectManagedMethodExecuterSoapResult struct {
- DynamicData
-
- Response string `xml:"response,omitempty"`
- Fault *ReflectManagedMethodExecuterSoapFault `xml:"fault,omitempty"`
-}
-
-type RetrieveDynamicTypeManager struct {
- This ManagedObjectReference `xml:"_this"`
-}
-
-type RetrieveDynamicTypeManagerResponse struct {
- Returnval *InternalDynamicTypeManager `xml:"urn:vim25 returnval"`
-}
-
-type RetrieveManagedMethodExecuter struct {
- This ManagedObjectReference `xml:"_this"`
-}
-
-func init() {
- t["RetrieveManagedMethodExecuter"] = reflect.TypeOf((*RetrieveManagedMethodExecuter)(nil)).Elem()
-}
-
-type RetrieveManagedMethodExecuterResponse struct {
- Returnval *ReflectManagedMethodExecuter `xml:"urn:vim25 returnval"`
-}
-
-type InternalDynamicTypeManager struct {
- ManagedObjectReference
-}
-
-type ReflectManagedMethodExecuter struct {
- ManagedObjectReference
-}
-
-type ExecuteSoap struct {
- This ManagedObjectReference `xml:"_this"`
- Moid string `xml:"moid"`
- Version string `xml:"version"`
- Method string `xml:"method"`
- Argument []ReflectManagedMethodExecuterSoapArgument `xml:"argument,omitempty"`
-}
-
-type ExecuteSoapResponse struct {
- Returnval *ReflectManagedMethodExecuterSoapResult `xml:"urn:vim25 returnval"`
-}
diff --git a/vendor/github.com/vmware/govmomi/vim25/types/types.go b/vendor/github.com/vmware/govmomi/vim25/types/types.go
index cb7035824..628a4cd6a 100644
--- a/vendor/github.com/vmware/govmomi/vim25/types/types.go
+++ b/vendor/github.com/vmware/govmomi/vim25/types/types.go
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2014-2017 VMware, Inc. All Rights Reserved.
+Copyright (c) 2014-2018 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -17,11 +17,27 @@ limitations under the License.
package types
import (
- "net/url"
"reflect"
"time"
)
+type AbandonHciWorkflow AbandonHciWorkflowRequestType
+
+func init() {
+ t["AbandonHciWorkflow"] = reflect.TypeOf((*AbandonHciWorkflow)(nil)).Elem()
+}
+
+type AbandonHciWorkflowRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["AbandonHciWorkflowRequestType"] = reflect.TypeOf((*AbandonHciWorkflowRequestType)(nil)).Elem()
+}
+
+type AbandonHciWorkflowResponse struct {
+}
+
type AbdicateDomOwnership AbdicateDomOwnershipRequestType
func init() {
@@ -897,6 +913,18 @@ func init() {
t["AlarmExpression"] = reflect.TypeOf((*AlarmExpression)(nil)).Elem()
}
+type AlarmFilterSpec struct {
+ DynamicData
+
+ Status []ManagedEntityStatus `xml:"status,omitempty"`
+ TypeEntity string `xml:"typeEntity,omitempty"`
+ TypeTrigger string `xml:"typeTrigger,omitempty"`
+}
+
+func init() {
+ t["AlarmFilterSpec"] = reflect.TypeOf((*AlarmFilterSpec)(nil)).Elem()
+}
+
type AlarmInfo struct {
AlarmSpec
@@ -1338,6 +1366,26 @@ type ApplyEntitiesConfig_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type ApplyEvcModeVMRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Mask []HostFeatureMask `xml:"mask,omitempty"`
+ CompleteMasks *bool `xml:"completeMasks"`
+}
+
+func init() {
+ t["ApplyEvcModeVMRequestType"] = reflect.TypeOf((*ApplyEvcModeVMRequestType)(nil)).Elem()
+}
+
+type ApplyEvcModeVM_Task ApplyEvcModeVMRequestType
+
+func init() {
+ t["ApplyEvcModeVM_Task"] = reflect.TypeOf((*ApplyEvcModeVM_Task)(nil)).Elem()
+}
+
+type ApplyEvcModeVM_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type ApplyHostConfigRequestType struct {
This ManagedObjectReference `xml:"_this"`
Host ManagedObjectReference `xml:"host"`
@@ -1359,6 +1407,20 @@ type ApplyHostConfig_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type ApplyHostProfileConfigurationResult struct {
+ DynamicData
+
+ StartTime time.Time `xml:"startTime"`
+ CompleteTime time.Time `xml:"completeTime"`
+ Host ManagedObjectReference `xml:"host"`
+ Status string `xml:"status"`
+ Errors []LocalizedMethodFault `xml:"errors,omitempty"`
+}
+
+func init() {
+ t["ApplyHostProfileConfigurationResult"] = reflect.TypeOf((*ApplyHostProfileConfigurationResult)(nil)).Elem()
+}
+
type ApplyHostProfileConfigurationSpec struct {
ProfileExecuteResult
@@ -1387,6 +1449,7 @@ type ApplyProfile struct {
ToReplaceWith *bool `xml:"toReplaceWith"`
ToBeDeleted *bool `xml:"toBeDeleted"`
CopyEnableStatus *bool `xml:"copyEnableStatus"`
+ Hidden *bool `xml:"hidden"`
}
func init() {
@@ -1544,13 +1607,21 @@ func init() {
}
type ArrayOfAnyURI struct {
- AnyURI []url.URL `xml:"anyURI,omitempty"`
+ AnyURI []string `xml:"anyURI,omitempty"`
}
func init() {
t["ArrayOfAnyURI"] = reflect.TypeOf((*ArrayOfAnyURI)(nil)).Elem()
}
+type ArrayOfApplyHostProfileConfigurationResult struct {
+ ApplyHostProfileConfigurationResult []ApplyHostProfileConfigurationResult `xml:"ApplyHostProfileConfigurationResult,omitempty"`
+}
+
+func init() {
+ t["ArrayOfApplyHostProfileConfigurationResult"] = reflect.TypeOf((*ArrayOfApplyHostProfileConfigurationResult)(nil)).Elem()
+}
+
type ArrayOfApplyHostProfileConfigurationSpec struct {
ApplyHostProfileConfigurationSpec []ApplyHostProfileConfigurationSpec `xml:"ApplyHostProfileConfigurationSpec,omitempty"`
}
@@ -1591,6 +1662,14 @@ func init() {
t["ArrayOfAutoStartPowerInfo"] = reflect.TypeOf((*ArrayOfAutoStartPowerInfo)(nil)).Elem()
}
+type ArrayOfBase64Binary struct {
+ Base64Binary [][]byte `xml:"base64Binary,omitempty"`
+}
+
+func init() {
+ t["ArrayOfBase64Binary"] = reflect.TypeOf((*ArrayOfBase64Binary)(nil)).Elem()
+}
+
type ArrayOfBoolean struct {
Boolean []bool `xml:"boolean,omitempty"`
}
@@ -1647,6 +1726,62 @@ func init() {
t["ArrayOfClusterAttemptedVmInfo"] = reflect.TypeOf((*ArrayOfClusterAttemptedVmInfo)(nil)).Elem()
}
+type ArrayOfClusterComputeResourceDVSSetting struct {
+ ClusterComputeResourceDVSSetting []ClusterComputeResourceDVSSetting `xml:"ClusterComputeResourceDVSSetting,omitempty"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceDVSSetting"] = reflect.TypeOf((*ArrayOfClusterComputeResourceDVSSetting)(nil)).Elem()
+}
+
+type ArrayOfClusterComputeResourceDVSSettingDVPortgroupToServiceMapping struct {
+ ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping []ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping `xml:"ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping,omitempty"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceDVSSettingDVPortgroupToServiceMapping"] = reflect.TypeOf((*ArrayOfClusterComputeResourceDVSSettingDVPortgroupToServiceMapping)(nil)).Elem()
+}
+
+type ArrayOfClusterComputeResourceDvsProfile struct {
+ ClusterComputeResourceDvsProfile []ClusterComputeResourceDvsProfile `xml:"ClusterComputeResourceDvsProfile,omitempty"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceDvsProfile"] = reflect.TypeOf((*ArrayOfClusterComputeResourceDvsProfile)(nil)).Elem()
+}
+
+type ArrayOfClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping struct {
+ ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping []ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping `xml:"ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping,omitempty"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping"] = reflect.TypeOf((*ArrayOfClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping)(nil)).Elem()
+}
+
+type ArrayOfClusterComputeResourceHostConfigurationInput struct {
+ ClusterComputeResourceHostConfigurationInput []ClusterComputeResourceHostConfigurationInput `xml:"ClusterComputeResourceHostConfigurationInput,omitempty"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceHostConfigurationInput"] = reflect.TypeOf((*ArrayOfClusterComputeResourceHostConfigurationInput)(nil)).Elem()
+}
+
+type ArrayOfClusterComputeResourceHostVmkNicInfo struct {
+ ClusterComputeResourceHostVmkNicInfo []ClusterComputeResourceHostVmkNicInfo `xml:"ClusterComputeResourceHostVmkNicInfo,omitempty"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceHostVmkNicInfo"] = reflect.TypeOf((*ArrayOfClusterComputeResourceHostVmkNicInfo)(nil)).Elem()
+}
+
+type ArrayOfClusterComputeResourceValidationResultBase struct {
+ ClusterComputeResourceValidationResultBase []BaseClusterComputeResourceValidationResultBase `xml:"ClusterComputeResourceValidationResultBase,omitempty,typeattr"`
+}
+
+func init() {
+ t["ArrayOfClusterComputeResourceValidationResultBase"] = reflect.TypeOf((*ArrayOfClusterComputeResourceValidationResultBase)(nil)).Elem()
+}
+
type ArrayOfClusterDasAamNodeState struct {
ClusterDasAamNodeState []ClusterDasAamNodeState `xml:"ClusterDasAamNodeState,omitempty"`
}
@@ -1927,6 +2062,14 @@ func init() {
t["ArrayOfCryptoManagerKmipClusterStatus"] = reflect.TypeOf((*ArrayOfCryptoManagerKmipClusterStatus)(nil)).Elem()
}
+type ArrayOfCryptoManagerKmipCryptoKeyStatus struct {
+ CryptoManagerKmipCryptoKeyStatus []CryptoManagerKmipCryptoKeyStatus `xml:"CryptoManagerKmipCryptoKeyStatus,omitempty"`
+}
+
+func init() {
+ t["ArrayOfCryptoManagerKmipCryptoKeyStatus"] = reflect.TypeOf((*ArrayOfCryptoManagerKmipCryptoKeyStatus)(nil)).Elem()
+}
+
type ArrayOfCryptoManagerKmipServerStatus struct {
CryptoManagerKmipServerStatus []CryptoManagerKmipServerStatus `xml:"CryptoManagerKmipServerStatus,omitempty"`
}
@@ -2031,6 +2174,14 @@ func init() {
t["ArrayOfDasHeartbeatDatastoreInfo"] = reflect.TypeOf((*ArrayOfDasHeartbeatDatastoreInfo)(nil)).Elem()
}
+type ArrayOfDatacenterBasicConnectInfo struct {
+ DatacenterBasicConnectInfo []DatacenterBasicConnectInfo `xml:"DatacenterBasicConnectInfo,omitempty"`
+}
+
+func init() {
+ t["ArrayOfDatacenterBasicConnectInfo"] = reflect.TypeOf((*ArrayOfDatacenterBasicConnectInfo)(nil)).Elem()
+}
+
type ArrayOfDatacenterMismatchArgument struct {
DatacenterMismatchArgument []DatacenterMismatchArgument `xml:"DatacenterMismatchArgument,omitempty"`
}
@@ -2471,6 +2622,22 @@ func init() {
t["ArrayOfFaultToleranceDiskSpec"] = reflect.TypeOf((*ArrayOfFaultToleranceDiskSpec)(nil)).Elem()
}
+type ArrayOfFaultsByHost struct {
+ FaultsByHost []FaultsByHost `xml:"FaultsByHost,omitempty"`
+}
+
+func init() {
+ t["ArrayOfFaultsByHost"] = reflect.TypeOf((*ArrayOfFaultsByHost)(nil)).Elem()
+}
+
+type ArrayOfFaultsByVM struct {
+ FaultsByVM []FaultsByVM `xml:"FaultsByVM,omitempty"`
+}
+
+func init() {
+ t["ArrayOfFaultsByVM"] = reflect.TypeOf((*ArrayOfFaultsByVM)(nil)).Elem()
+}
+
type ArrayOfFcoeConfigVlanRange struct {
FcoeConfigVlanRange []FcoeConfigVlanRange `xml:"FcoeConfigVlanRange,omitempty"`
}
@@ -2503,6 +2670,22 @@ func init() {
t["ArrayOfFirewallProfileRulesetProfile"] = reflect.TypeOf((*ArrayOfFirewallProfileRulesetProfile)(nil)).Elem()
}
+type ArrayOfFolderFailedHostResult struct {
+ FolderFailedHostResult []FolderFailedHostResult `xml:"FolderFailedHostResult,omitempty"`
+}
+
+func init() {
+ t["ArrayOfFolderFailedHostResult"] = reflect.TypeOf((*ArrayOfFolderFailedHostResult)(nil)).Elem()
+}
+
+type ArrayOfFolderNewHostSpec struct {
+ FolderNewHostSpec []FolderNewHostSpec `xml:"FolderNewHostSpec,omitempty"`
+}
+
+func init() {
+ t["ArrayOfFolderNewHostSpec"] = reflect.TypeOf((*ArrayOfFolderNewHostSpec)(nil)).Elem()
+}
+
type ArrayOfGuestAliases struct {
GuestAliases []GuestAliases `xml:"GuestAliases,omitempty"`
}
@@ -2687,6 +2870,14 @@ func init() {
t["ArrayOfHostConnectInfoNetworkInfo"] = reflect.TypeOf((*ArrayOfHostConnectInfoNetworkInfo)(nil)).Elem()
}
+type ArrayOfHostConnectSpec struct {
+ HostConnectSpec []HostConnectSpec `xml:"HostConnectSpec,omitempty"`
+}
+
+func init() {
+ t["ArrayOfHostConnectSpec"] = reflect.TypeOf((*ArrayOfHostConnectSpec)(nil)).Elem()
+}
+
type ArrayOfHostCpuIdInfo struct {
HostCpuIdInfo []HostCpuIdInfo `xml:"HostCpuIdInfo,omitempty"`
}
@@ -3295,6 +3486,14 @@ func init() {
t["ArrayOfHostPowerPolicy"] = reflect.TypeOf((*ArrayOfHostPowerPolicy)(nil)).Elem()
}
+type ArrayOfHostProfileManagerCompositionResultResultElement struct {
+ HostProfileManagerCompositionResultResultElement []HostProfileManagerCompositionResultResultElement `xml:"HostProfileManagerCompositionResultResultElement,omitempty"`
+}
+
+func init() {
+ t["ArrayOfHostProfileManagerCompositionResultResultElement"] = reflect.TypeOf((*ArrayOfHostProfileManagerCompositionResultResultElement)(nil)).Elem()
+}
+
type ArrayOfHostProfileManagerCompositionValidationResultResultElement struct {
HostProfileManagerCompositionValidationResultResultElement []HostProfileManagerCompositionValidationResultResultElement `xml:"HostProfileManagerCompositionValidationResultResultElement,omitempty"`
}
@@ -3415,6 +3614,14 @@ func init() {
t["ArrayOfHostServiceConfig"] = reflect.TypeOf((*ArrayOfHostServiceConfig)(nil)).Elem()
}
+type ArrayOfHostSharedGpuCapabilities struct {
+ HostSharedGpuCapabilities []HostSharedGpuCapabilities `xml:"HostSharedGpuCapabilities,omitempty"`
+}
+
+func init() {
+ t["ArrayOfHostSharedGpuCapabilities"] = reflect.TypeOf((*ArrayOfHostSharedGpuCapabilities)(nil)).Elem()
+}
+
type ArrayOfHostSnmpDestination struct {
HostSnmpDestination []HostSnmpDestination `xml:"HostSnmpDestination,omitempty"`
}
@@ -3703,6 +3910,14 @@ func init() {
t["ArrayOfHttpNfcLeaseManifestEntry"] = reflect.TypeOf((*ArrayOfHttpNfcLeaseManifestEntry)(nil)).Elem()
}
+type ArrayOfHttpNfcLeaseSourceFile struct {
+ HttpNfcLeaseSourceFile []HttpNfcLeaseSourceFile `xml:"HttpNfcLeaseSourceFile,omitempty"`
+}
+
+func init() {
+ t["ArrayOfHttpNfcLeaseSourceFile"] = reflect.TypeOf((*ArrayOfHttpNfcLeaseSourceFile)(nil)).Elem()
+}
+
type ArrayOfID struct {
ID []ID `xml:"ID,omitempty"`
}
@@ -3887,6 +4102,14 @@ func init() {
t["ArrayOfLong"] = reflect.TypeOf((*ArrayOfLong)(nil)).Elem()
}
+type ArrayOfManagedEntityStatus struct {
+ ManagedEntityStatus []ManagedEntityStatus `xml:"ManagedEntityStatus,omitempty"`
+}
+
+func init() {
+ t["ArrayOfManagedEntityStatus"] = reflect.TypeOf((*ArrayOfManagedEntityStatus)(nil)).Elem()
+}
+
type ArrayOfManagedObjectReference struct {
ManagedObjectReference []ManagedObjectReference `xml:"ManagedObjectReference,omitempty"`
}
@@ -3999,6 +4222,14 @@ func init() {
t["ArrayOfNetStackInstanceProfile"] = reflect.TypeOf((*ArrayOfNetStackInstanceProfile)(nil)).Elem()
}
+type ArrayOfNsxHostVNicProfile struct {
+ NsxHostVNicProfile []NsxHostVNicProfile `xml:"NsxHostVNicProfile,omitempty"`
+}
+
+func init() {
+ t["ArrayOfNsxHostVNicProfile"] = reflect.TypeOf((*ArrayOfNsxHostVNicProfile)(nil)).Elem()
+}
+
type ArrayOfNumericRange struct {
NumericRange []NumericRange `xml:"NumericRange,omitempty"`
}
@@ -4007,6 +4238,54 @@ func init() {
t["ArrayOfNumericRange"] = reflect.TypeOf((*ArrayOfNumericRange)(nil)).Elem()
}
+type ArrayOfNvdimmDimmInfo struct {
+ NvdimmDimmInfo []NvdimmDimmInfo `xml:"NvdimmDimmInfo,omitempty"`
+}
+
+func init() {
+ t["ArrayOfNvdimmDimmInfo"] = reflect.TypeOf((*ArrayOfNvdimmDimmInfo)(nil)).Elem()
+}
+
+type ArrayOfNvdimmGuid struct {
+ NvdimmGuid []NvdimmGuid `xml:"NvdimmGuid,omitempty"`
+}
+
+func init() {
+ t["ArrayOfNvdimmGuid"] = reflect.TypeOf((*ArrayOfNvdimmGuid)(nil)).Elem()
+}
+
+type ArrayOfNvdimmInterleaveSetInfo struct {
+ NvdimmInterleaveSetInfo []NvdimmInterleaveSetInfo `xml:"NvdimmInterleaveSetInfo,omitempty"`
+}
+
+func init() {
+ t["ArrayOfNvdimmInterleaveSetInfo"] = reflect.TypeOf((*ArrayOfNvdimmInterleaveSetInfo)(nil)).Elem()
+}
+
+type ArrayOfNvdimmNamespaceDetails struct {
+ NvdimmNamespaceDetails []NvdimmNamespaceDetails `xml:"NvdimmNamespaceDetails,omitempty"`
+}
+
+func init() {
+ t["ArrayOfNvdimmNamespaceDetails"] = reflect.TypeOf((*ArrayOfNvdimmNamespaceDetails)(nil)).Elem()
+}
+
+type ArrayOfNvdimmNamespaceInfo struct {
+ NvdimmNamespaceInfo []NvdimmNamespaceInfo `xml:"NvdimmNamespaceInfo,omitempty"`
+}
+
+func init() {
+ t["ArrayOfNvdimmNamespaceInfo"] = reflect.TypeOf((*ArrayOfNvdimmNamespaceInfo)(nil)).Elem()
+}
+
+type ArrayOfNvdimmRegionInfo struct {
+ NvdimmRegionInfo []NvdimmRegionInfo `xml:"NvdimmRegionInfo,omitempty"`
+}
+
+func init() {
+ t["ArrayOfNvdimmRegionInfo"] = reflect.TypeOf((*ArrayOfNvdimmRegionInfo)(nil)).Elem()
+}
+
type ArrayOfObjectContent struct {
ObjectContent []ObjectContent `xml:"ObjectContent,omitempty"`
}
@@ -4391,6 +4670,14 @@ func init() {
t["ArrayOfProfileMetadata"] = reflect.TypeOf((*ArrayOfProfileMetadata)(nil)).Elem()
}
+type ArrayOfProfileMetadataProfileOperationMessage struct {
+ ProfileMetadataProfileOperationMessage []ProfileMetadataProfileOperationMessage `xml:"ProfileMetadataProfileOperationMessage,omitempty"`
+}
+
+func init() {
+ t["ArrayOfProfileMetadataProfileOperationMessage"] = reflect.TypeOf((*ArrayOfProfileMetadataProfileOperationMessage)(nil)).Elem()
+}
+
type ArrayOfProfileMetadataProfileSortSpec struct {
ProfileMetadataProfileSortSpec []ProfileMetadataProfileSortSpec `xml:"ProfileMetadataProfileSortSpec,omitempty"`
}
@@ -4407,6 +4694,14 @@ func init() {
t["ArrayOfProfileParameterMetadata"] = reflect.TypeOf((*ArrayOfProfileParameterMetadata)(nil)).Elem()
}
+type ArrayOfProfileParameterMetadataParameterRelationMetadata struct {
+ ProfileParameterMetadataParameterRelationMetadata []ProfileParameterMetadataParameterRelationMetadata `xml:"ProfileParameterMetadataParameterRelationMetadata,omitempty"`
+}
+
+func init() {
+ t["ArrayOfProfileParameterMetadataParameterRelationMetadata"] = reflect.TypeOf((*ArrayOfProfileParameterMetadataParameterRelationMetadata)(nil)).Elem()
+}
+
type ArrayOfProfilePolicy struct {
ProfilePolicy []ProfilePolicy `xml:"ProfilePolicy,omitempty"`
}
@@ -4511,6 +4806,14 @@ func init() {
t["ArrayOfResourceConfigSpec"] = reflect.TypeOf((*ArrayOfResourceConfigSpec)(nil)).Elem()
}
+type ArrayOfRetrieveVStorageObjSpec struct {
+ RetrieveVStorageObjSpec []RetrieveVStorageObjSpec `xml:"RetrieveVStorageObjSpec,omitempty"`
+}
+
+func init() {
+ t["ArrayOfRetrieveVStorageObjSpec"] = reflect.TypeOf((*ArrayOfRetrieveVStorageObjSpec)(nil)).Elem()
+}
+
type ArrayOfScheduledTaskDetail struct {
ScheduledTaskDetail []ScheduledTaskDetail `xml:"ScheduledTaskDetail,omitempty"`
}
@@ -4903,6 +5206,30 @@ func init() {
t["ArrayOfVMwareVspanSession"] = reflect.TypeOf((*ArrayOfVMwareVspanSession)(nil)).Elem()
}
+type ArrayOfVStorageObjectAssociations struct {
+ VStorageObjectAssociations []VStorageObjectAssociations `xml:"VStorageObjectAssociations,omitempty"`
+}
+
+func init() {
+ t["ArrayOfVStorageObjectAssociations"] = reflect.TypeOf((*ArrayOfVStorageObjectAssociations)(nil)).Elem()
+}
+
+type ArrayOfVStorageObjectAssociationsVmDiskAssociations struct {
+ VStorageObjectAssociationsVmDiskAssociations []VStorageObjectAssociationsVmDiskAssociations `xml:"VStorageObjectAssociationsVmDiskAssociations,omitempty"`
+}
+
+func init() {
+ t["ArrayOfVStorageObjectAssociationsVmDiskAssociations"] = reflect.TypeOf((*ArrayOfVStorageObjectAssociationsVmDiskAssociations)(nil)).Elem()
+}
+
+type ArrayOfVStorageObjectSnapshotInfoVStorageObjectSnapshot struct {
+ VStorageObjectSnapshotInfoVStorageObjectSnapshot []VStorageObjectSnapshotInfoVStorageObjectSnapshot `xml:"VStorageObjectSnapshotInfoVStorageObjectSnapshot,omitempty"`
+}
+
+func init() {
+ t["ArrayOfVStorageObjectSnapshotInfoVStorageObjectSnapshot"] = reflect.TypeOf((*ArrayOfVStorageObjectSnapshotInfoVStorageObjectSnapshot)(nil)).Elem()
+}
+
type ArrayOfVVolHostPE struct {
VVolHostPE []VVolHostPE `xml:"VVolHostPE,omitempty"`
}
@@ -5007,6 +5334,14 @@ func init() {
t["ArrayOfVirtualDiskId"] = reflect.TypeOf((*ArrayOfVirtualDiskId)(nil)).Elem()
}
+type ArrayOfVirtualDiskRuleSpec struct {
+ VirtualDiskRuleSpec []VirtualDiskRuleSpec `xml:"VirtualDiskRuleSpec,omitempty"`
+}
+
+func init() {
+ t["ArrayOfVirtualDiskRuleSpec"] = reflect.TypeOf((*ArrayOfVirtualDiskRuleSpec)(nil)).Elem()
+}
+
type ArrayOfVirtualMachineBootOptionsBootableDevice struct {
VirtualMachineBootOptionsBootableDevice []BaseVirtualMachineBootOptionsBootableDevice `xml:"VirtualMachineBootOptionsBootableDevice,omitempty,typeattr"`
}
@@ -5223,6 +5558,14 @@ func init() {
t["ArrayOfVirtualMachinePciSharedGpuPassthroughInfo"] = reflect.TypeOf((*ArrayOfVirtualMachinePciSharedGpuPassthroughInfo)(nil)).Elem()
}
+type ArrayOfVirtualMachineProfileDetailsDiskProfileDetails struct {
+ VirtualMachineProfileDetailsDiskProfileDetails []VirtualMachineProfileDetailsDiskProfileDetails `xml:"VirtualMachineProfileDetailsDiskProfileDetails,omitempty"`
+}
+
+func init() {
+ t["ArrayOfVirtualMachineProfileDetailsDiskProfileDetails"] = reflect.TypeOf((*ArrayOfVirtualMachineProfileDetailsDiskProfileDetails)(nil)).Elem()
+}
+
type ArrayOfVirtualMachineProfileSpec struct {
VirtualMachineProfileSpec []BaseVirtualMachineProfileSpec `xml:"VirtualMachineProfileSpec,omitempty,typeattr"`
}
@@ -5231,6 +5574,14 @@ func init() {
t["ArrayOfVirtualMachineProfileSpec"] = reflect.TypeOf((*ArrayOfVirtualMachineProfileSpec)(nil)).Elem()
}
+type ArrayOfVirtualMachinePropertyRelation struct {
+ VirtualMachinePropertyRelation []VirtualMachinePropertyRelation `xml:"VirtualMachinePropertyRelation,omitempty"`
+}
+
+func init() {
+ t["ArrayOfVirtualMachinePropertyRelation"] = reflect.TypeOf((*ArrayOfVirtualMachinePropertyRelation)(nil)).Elem()
+}
+
type ArrayOfVirtualMachineRelocateSpecDiskLocator struct {
VirtualMachineRelocateSpecDiskLocator []VirtualMachineRelocateSpecDiskLocator `xml:"VirtualMachineRelocateSpecDiskLocator,omitempty"`
}
@@ -5519,6 +5870,14 @@ func init() {
t["ArrayOfVslmTagEntry"] = reflect.TypeOf((*ArrayOfVslmTagEntry)(nil)).Elem()
}
+type ArrayOfVslmInfrastructureObjectPolicy struct {
+ VslmInfrastructureObjectPolicy []VslmInfrastructureObjectPolicy `xml:"vslmInfrastructureObjectPolicy,omitempty"`
+}
+
+func init() {
+ t["ArrayOfvslmInfrastructureObjectPolicy"] = reflect.TypeOf((*ArrayOfVslmInfrastructureObjectPolicy)(nil)).Elem()
+}
+
type ArrayUpdateSpec struct {
DynamicData
@@ -5866,10 +6225,15 @@ func init() {
type BaseConfigInfo struct {
DynamicData
- Id ID `xml:"id"`
- Name string `xml:"name"`
- CreateTime time.Time `xml:"createTime"`
- Backing BaseBaseConfigInfoBackingInfo `xml:"backing,typeattr"`
+ Id ID `xml:"id"`
+ Name string `xml:"name"`
+ CreateTime time.Time `xml:"createTime"`
+ KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm"`
+ RelocationDisabled *bool `xml:"relocationDisabled"`
+ NativeSnapshotSupported *bool `xml:"nativeSnapshotSupported"`
+ ChangedBlockTrackingEnabled *bool `xml:"changedBlockTrackingEnabled"`
+ Backing BaseBaseConfigInfoBackingInfo `xml:"backing,typeattr"`
+ Iofilter []string `xml:"iofilter,omitempty"`
}
func init() {
@@ -5920,6 +6284,69 @@ func init() {
t["BaseConfigInfoRawDiskMappingBackingInfo"] = reflect.TypeOf((*BaseConfigInfoRawDiskMappingBackingInfo)(nil)).Elem()
}
+type BatchAddHostsToClusterRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Cluster ManagedObjectReference `xml:"cluster"`
+ NewHosts []FolderNewHostSpec `xml:"newHosts,omitempty"`
+ ExistingHosts []ManagedObjectReference `xml:"existingHosts,omitempty"`
+ CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr"`
+ DesiredState string `xml:"desiredState,omitempty"`
+}
+
+func init() {
+ t["BatchAddHostsToClusterRequestType"] = reflect.TypeOf((*BatchAddHostsToClusterRequestType)(nil)).Elem()
+}
+
+type BatchAddHostsToCluster_Task BatchAddHostsToClusterRequestType
+
+func init() {
+ t["BatchAddHostsToCluster_Task"] = reflect.TypeOf((*BatchAddHostsToCluster_Task)(nil)).Elem()
+}
+
+type BatchAddHostsToCluster_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type BatchAddStandaloneHostsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ NewHosts []FolderNewHostSpec `xml:"newHosts,omitempty"`
+ CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr"`
+ AddConnected bool `xml:"addConnected"`
+}
+
+func init() {
+ t["BatchAddStandaloneHostsRequestType"] = reflect.TypeOf((*BatchAddStandaloneHostsRequestType)(nil)).Elem()
+}
+
+type BatchAddStandaloneHosts_Task BatchAddStandaloneHostsRequestType
+
+func init() {
+ t["BatchAddStandaloneHosts_Task"] = reflect.TypeOf((*BatchAddStandaloneHosts_Task)(nil)).Elem()
+}
+
+type BatchAddStandaloneHosts_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type BatchQueryConnectInfo BatchQueryConnectInfoRequestType
+
+func init() {
+ t["BatchQueryConnectInfo"] = reflect.TypeOf((*BatchQueryConnectInfo)(nil)).Elem()
+}
+
+type BatchQueryConnectInfoRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ HostSpecs []HostConnectSpec `xml:"hostSpecs,omitempty"`
+}
+
+func init() {
+ t["BatchQueryConnectInfoRequestType"] = reflect.TypeOf((*BatchQueryConnectInfoRequestType)(nil)).Elem()
+}
+
+type BatchQueryConnectInfoResponse struct {
+ Returnval []DatacenterBasicConnectInfo `xml:"returnval,omitempty"`
+}
+
type BatchResult struct {
DynamicData
@@ -6635,6 +7062,8 @@ type Capability struct {
UserShellAccessSupported bool `xml:"userShellAccessSupported"`
SupportedEVCMode []EVCMode `xml:"supportedEVCMode,omitempty"`
NetworkBackupAndRestoreSupported *bool `xml:"networkBackupAndRestoreSupported"`
+ FtDrsWithoutEvcSupported *bool `xml:"ftDrsWithoutEvcSupported"`
+ HciWorkflowSupported *bool `xml:"hciWorkflowSupported"`
}
func init() {
@@ -6739,6 +7168,25 @@ func init() {
type ChangeFileAttributesInGuestResponse struct {
}
+type ChangeKeyRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ NewKey CryptoKeyPlain `xml:"newKey"`
+}
+
+func init() {
+ t["ChangeKeyRequestType"] = reflect.TypeOf((*ChangeKeyRequestType)(nil)).Elem()
+}
+
+type ChangeKey_Task ChangeKeyRequestType
+
+func init() {
+ t["ChangeKey_Task"] = reflect.TypeOf((*ChangeKey_Task)(nil)).Elem()
+}
+
+type ChangeKey_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type ChangeLockdownMode ChangeLockdownModeRequestType
func init() {
@@ -6795,6 +7243,26 @@ func init() {
type ChangeOwnerResponse struct {
}
+type ChangePassword ChangePasswordRequestType
+
+func init() {
+ t["ChangePassword"] = reflect.TypeOf((*ChangePassword)(nil)).Elem()
+}
+
+type ChangePasswordRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ User string `xml:"user"`
+ OldPassword string `xml:"oldPassword"`
+ NewPassword string `xml:"newPassword"`
+}
+
+func init() {
+ t["ChangePasswordRequestType"] = reflect.TypeOf((*ChangePasswordRequestType)(nil)).Elem()
+}
+
+type ChangePasswordResponse struct {
+}
+
type ChangesInfoEventArgument struct {
DynamicData
@@ -6845,6 +7313,29 @@ type CheckAnswerFileStatus_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type CheckCloneRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Vm ManagedObjectReference `xml:"vm"`
+ Folder ManagedObjectReference `xml:"folder"`
+ Name string `xml:"name"`
+ Spec VirtualMachineCloneSpec `xml:"spec"`
+ TestType []string `xml:"testType,omitempty"`
+}
+
+func init() {
+ t["CheckCloneRequestType"] = reflect.TypeOf((*CheckCloneRequestType)(nil)).Elem()
+}
+
+type CheckClone_Task CheckCloneRequestType
+
+func init() {
+ t["CheckClone_Task"] = reflect.TypeOf((*CheckClone_Task)(nil)).Elem()
+}
+
+type CheckClone_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type CheckCompatibilityRequestType struct {
This ManagedObjectReference `xml:"_this"`
Vm ManagedObjectReference `xml:"vm"`
@@ -6982,6 +7473,27 @@ type CheckHostPatch_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type CheckInstantCloneRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Vm ManagedObjectReference `xml:"vm"`
+ Spec VirtualMachineInstantCloneSpec `xml:"spec"`
+ TestType []string `xml:"testType,omitempty"`
+}
+
+func init() {
+ t["CheckInstantCloneRequestType"] = reflect.TypeOf((*CheckInstantCloneRequestType)(nil)).Elem()
+}
+
+type CheckInstantClone_Task CheckInstantCloneRequestType
+
+func init() {
+ t["CheckInstantClone_Task"] = reflect.TypeOf((*CheckInstantClone_Task)(nil)).Elem()
+}
+
+type CheckInstantClone_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type CheckLicenseFeature CheckLicenseFeatureRequestType
func init() {
@@ -7025,6 +7537,28 @@ type CheckMigrate_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type CheckPowerOnRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Vm ManagedObjectReference `xml:"vm"`
+ Host *ManagedObjectReference `xml:"host,omitempty"`
+ Pool *ManagedObjectReference `xml:"pool,omitempty"`
+ TestType []string `xml:"testType,omitempty"`
+}
+
+func init() {
+ t["CheckPowerOnRequestType"] = reflect.TypeOf((*CheckPowerOnRequestType)(nil)).Elem()
+}
+
+type CheckPowerOn_Task CheckPowerOnRequestType
+
+func init() {
+ t["CheckPowerOn_Task"] = reflect.TypeOf((*CheckPowerOn_Task)(nil)).Elem()
+}
+
+type CheckPowerOn_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type CheckProfileComplianceRequestType struct {
This ManagedObjectReference `xml:"_this"`
Entity []ManagedObjectReference `xml:"entity,omitempty"`
@@ -7078,6 +7612,29 @@ func init() {
t["CheckResult"] = reflect.TypeOf((*CheckResult)(nil)).Elem()
}
+type CheckVmConfigRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Spec VirtualMachineConfigSpec `xml:"spec"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty"`
+ Host *ManagedObjectReference `xml:"host,omitempty"`
+ Pool *ManagedObjectReference `xml:"pool,omitempty"`
+ TestType []string `xml:"testType,omitempty"`
+}
+
+func init() {
+ t["CheckVmConfigRequestType"] = reflect.TypeOf((*CheckVmConfigRequestType)(nil)).Elem()
+}
+
+type CheckVmConfig_Task CheckVmConfigRequestType
+
+func init() {
+ t["CheckVmConfig_Task"] = reflect.TypeOf((*CheckVmConfig_Task)(nil)).Elem()
+}
+
+type CheckVmConfig_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type ChoiceOption struct {
OptionType
@@ -7142,6 +7699,44 @@ func init() {
type ClearSystemEventLogResponse struct {
}
+type ClearTriggeredAlarms ClearTriggeredAlarmsRequestType
+
+func init() {
+ t["ClearTriggeredAlarms"] = reflect.TypeOf((*ClearTriggeredAlarms)(nil)).Elem()
+}
+
+type ClearTriggeredAlarmsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Filter AlarmFilterSpec `xml:"filter"`
+}
+
+func init() {
+ t["ClearTriggeredAlarmsRequestType"] = reflect.TypeOf((*ClearTriggeredAlarmsRequestType)(nil)).Elem()
+}
+
+type ClearTriggeredAlarmsResponse struct {
+}
+
+type ClearVStorageObjectControlFlags ClearVStorageObjectControlFlagsRequestType
+
+func init() {
+ t["ClearVStorageObjectControlFlags"] = reflect.TypeOf((*ClearVStorageObjectControlFlags)(nil)).Elem()
+}
+
+type ClearVStorageObjectControlFlagsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ ControlFlags []string `xml:"controlFlags,omitempty"`
+}
+
+func init() {
+ t["ClearVStorageObjectControlFlagsRequestType"] = reflect.TypeOf((*ClearVStorageObjectControlFlagsRequestType)(nil)).Elem()
+}
+
+type ClearVStorageObjectControlFlagsResponse struct {
+}
+
type ClockSkew struct {
HostConfigFault
}
@@ -7334,6 +7929,150 @@ func init() {
t["ClusterComplianceCheckedEvent"] = reflect.TypeOf((*ClusterComplianceCheckedEvent)(nil)).Elem()
}
+type ClusterComputeResourceClusterConfigResult struct {
+ DynamicData
+
+ FailedHosts []FolderFailedHostResult `xml:"failedHosts,omitempty"`
+ ConfiguredHosts []ManagedObjectReference `xml:"configuredHosts,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceClusterConfigResult"] = reflect.TypeOf((*ClusterComputeResourceClusterConfigResult)(nil)).Elem()
+}
+
+type ClusterComputeResourceDVSConfigurationValidation struct {
+ ClusterComputeResourceValidationResultBase
+
+ IsDvsValid bool `xml:"isDvsValid"`
+ IsDvpgValid bool `xml:"isDvpgValid"`
+}
+
+func init() {
+ t["ClusterComputeResourceDVSConfigurationValidation"] = reflect.TypeOf((*ClusterComputeResourceDVSConfigurationValidation)(nil)).Elem()
+}
+
+type ClusterComputeResourceDVSSetting struct {
+ DynamicData
+
+ DvSwitch ManagedObjectReference `xml:"dvSwitch"`
+ PnicDevices []string `xml:"pnicDevices,omitempty"`
+ DvPortgroupSetting []ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping `xml:"dvPortgroupSetting,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceDVSSetting"] = reflect.TypeOf((*ClusterComputeResourceDVSSetting)(nil)).Elem()
+}
+
+type ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping struct {
+ DynamicData
+
+ DvPortgroup ManagedObjectReference `xml:"dvPortgroup"`
+ Service string `xml:"service"`
+}
+
+func init() {
+ t["ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping"] = reflect.TypeOf((*ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping)(nil)).Elem()
+}
+
+type ClusterComputeResourceDvsProfile struct {
+ DynamicData
+
+ DvsName string `xml:"dvsName,omitempty"`
+ DvSwitch *ManagedObjectReference `xml:"dvSwitch,omitempty"`
+ PnicDevices []string `xml:"pnicDevices,omitempty"`
+ DvPortgroupMapping []ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping `xml:"dvPortgroupMapping,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceDvsProfile"] = reflect.TypeOf((*ClusterComputeResourceDvsProfile)(nil)).Elem()
+}
+
+type ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping struct {
+ DynamicData
+
+ DvPortgroupSpec *DVPortgroupConfigSpec `xml:"dvPortgroupSpec,omitempty"`
+ DvPortgroup *ManagedObjectReference `xml:"dvPortgroup,omitempty"`
+ Service string `xml:"service"`
+}
+
+func init() {
+ t["ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping"] = reflect.TypeOf((*ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping)(nil)).Elem()
+}
+
+type ClusterComputeResourceHCIConfigInfo struct {
+ DynamicData
+
+ WorkflowState string `xml:"workflowState"`
+ DvsSetting []ClusterComputeResourceDVSSetting `xml:"dvsSetting,omitempty"`
+ ConfiguredHosts []ManagedObjectReference `xml:"configuredHosts,omitempty"`
+ HostConfigProfile *ClusterComputeResourceHostConfigurationProfile `xml:"hostConfigProfile,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceHCIConfigInfo"] = reflect.TypeOf((*ClusterComputeResourceHCIConfigInfo)(nil)).Elem()
+}
+
+type ClusterComputeResourceHCIConfigSpec struct {
+ DynamicData
+
+ DvsProf []ClusterComputeResourceDvsProfile `xml:"dvsProf,omitempty"`
+ HostConfigProfile *ClusterComputeResourceHostConfigurationProfile `xml:"hostConfigProfile,omitempty"`
+ VSanConfigSpec *SDDCBase `xml:"vSanConfigSpec,omitempty"`
+ VcProf *ClusterComputeResourceVCProfile `xml:"vcProf,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceHCIConfigSpec"] = reflect.TypeOf((*ClusterComputeResourceHCIConfigSpec)(nil)).Elem()
+}
+
+type ClusterComputeResourceHostConfigurationInput struct {
+ DynamicData
+
+ Host ManagedObjectReference `xml:"host"`
+ HostVmkNics []ClusterComputeResourceHostVmkNicInfo `xml:"hostVmkNics,omitempty"`
+ AllowedInNonMaintenanceMode *bool `xml:"allowedInNonMaintenanceMode"`
+}
+
+func init() {
+ t["ClusterComputeResourceHostConfigurationInput"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationInput)(nil)).Elem()
+}
+
+type ClusterComputeResourceHostConfigurationProfile struct {
+ DynamicData
+
+ DateTimeConfig *HostDateTimeConfig `xml:"dateTimeConfig,omitempty"`
+ LockdownMode HostLockdownMode `xml:"lockdownMode,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceHostConfigurationProfile"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationProfile)(nil)).Elem()
+}
+
+type ClusterComputeResourceHostConfigurationValidation struct {
+ ClusterComputeResourceValidationResultBase
+
+ Host ManagedObjectReference `xml:"host"`
+ IsDvsSettingValid *bool `xml:"isDvsSettingValid"`
+ IsVmknicSettingValid *bool `xml:"isVmknicSettingValid"`
+ IsNtpSettingValid *bool `xml:"isNtpSettingValid"`
+ IsLockdownModeValid *bool `xml:"isLockdownModeValid"`
+}
+
+func init() {
+ t["ClusterComputeResourceHostConfigurationValidation"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationValidation)(nil)).Elem()
+}
+
+type ClusterComputeResourceHostVmkNicInfo struct {
+ DynamicData
+
+ NicSpec HostVirtualNicSpec `xml:"nicSpec"`
+ Service string `xml:"service"`
+}
+
+func init() {
+ t["ClusterComputeResourceHostVmkNicInfo"] = reflect.TypeOf((*ClusterComputeResourceHostVmkNicInfo)(nil)).Elem()
+}
+
type ClusterComputeResourceSummary struct {
ComputeResourceSummary
@@ -7351,6 +8090,27 @@ func init() {
t["ClusterComputeResourceSummary"] = reflect.TypeOf((*ClusterComputeResourceSummary)(nil)).Elem()
}
+type ClusterComputeResourceVCProfile struct {
+ DynamicData
+
+ ClusterSpec *ClusterConfigSpecEx `xml:"clusterSpec,omitempty"`
+ EvcModeKey string `xml:"evcModeKey,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceVCProfile"] = reflect.TypeOf((*ClusterComputeResourceVCProfile)(nil)).Elem()
+}
+
+type ClusterComputeResourceValidationResultBase struct {
+ DynamicData
+
+ Info []LocalizableMessage `xml:"info,omitempty"`
+}
+
+func init() {
+ t["ClusterComputeResourceValidationResultBase"] = reflect.TypeOf((*ClusterComputeResourceValidationResultBase)(nil)).Elem()
+}
+
type ClusterConfigInfo struct {
DynamicData
@@ -7419,6 +8179,7 @@ type ClusterConfigSpecEx struct {
GroupSpec []ClusterGroupSpec `xml:"groupSpec,omitempty"`
InfraUpdateHaConfig *ClusterInfraUpdateHaConfigInfo `xml:"infraUpdateHaConfig,omitempty"`
ProactiveDrsConfig *ClusterProactiveDrsConfigInfo `xml:"proactiveDrsConfig,omitempty"`
+ InHciWorkflow *bool `xml:"inHciWorkflow"`
}
func init() {
@@ -8226,6 +8987,8 @@ type ClusterResourceUsageSummary struct {
CpuCapacityMHz int32 `xml:"cpuCapacityMHz"`
MemUsedMB int32 `xml:"memUsedMB"`
MemCapacityMB int32 `xml:"memCapacityMB"`
+ PMemAvailableMB int64 `xml:"pMemAvailableMB,omitempty"`
+ PMemCapacityMB int64 `xml:"pMemCapacityMB,omitempty"`
StorageUsedMB int64 `xml:"storageUsedMB"`
StorageCapacityMB int64 `xml:"storageCapacityMB"`
}
@@ -8462,6 +9225,30 @@ func init() {
t["ComplianceResult"] = reflect.TypeOf((*ComplianceResult)(nil)).Elem()
}
+type CompositeHostProfileRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Source ManagedObjectReference `xml:"source"`
+ Targets []ManagedObjectReference `xml:"targets,omitempty"`
+ ToBeMerged *HostApplyProfile `xml:"toBeMerged,omitempty"`
+ ToBeReplacedWith *HostApplyProfile `xml:"toBeReplacedWith,omitempty"`
+ ToBeDeleted *HostApplyProfile `xml:"toBeDeleted,omitempty"`
+ EnableStatusToBeCopied *HostApplyProfile `xml:"enableStatusToBeCopied,omitempty"`
+}
+
+func init() {
+ t["CompositeHostProfileRequestType"] = reflect.TypeOf((*CompositeHostProfileRequestType)(nil)).Elem()
+}
+
+type CompositeHostProfile_Task CompositeHostProfileRequestType
+
+func init() {
+ t["CompositeHostProfile_Task"] = reflect.TypeOf((*CompositeHostProfile_Task)(nil)).Elem()
+}
+
+type CompositeHostProfile_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type CompositePolicyOption struct {
PolicyOption
@@ -8594,32 +9381,33 @@ func init() {
type ConfigTarget struct {
DynamicData
- NumCpus int32 `xml:"numCpus"`
- NumCpuCores int32 `xml:"numCpuCores"`
- NumNumaNodes int32 `xml:"numNumaNodes"`
- SmcPresent *bool `xml:"smcPresent"`
- Datastore []VirtualMachineDatastoreInfo `xml:"datastore,omitempty"`
- Network []VirtualMachineNetworkInfo `xml:"network,omitempty"`
- OpaqueNetwork []OpaqueNetworkTargetInfo `xml:"opaqueNetwork,omitempty"`
- DistributedVirtualPortgroup []DistributedVirtualPortgroupInfo `xml:"distributedVirtualPortgroup,omitempty"`
- DistributedVirtualSwitch []DistributedVirtualSwitchInfo `xml:"distributedVirtualSwitch,omitempty"`
- CdRom []VirtualMachineCdromInfo `xml:"cdRom,omitempty"`
- Serial []VirtualMachineSerialInfo `xml:"serial,omitempty"`
- Parallel []VirtualMachineParallelInfo `xml:"parallel,omitempty"`
- Sound []VirtualMachineSoundInfo `xml:"sound,omitempty"`
- Usb []VirtualMachineUsbInfo `xml:"usb,omitempty"`
- Floppy []VirtualMachineFloppyInfo `xml:"floppy,omitempty"`
- LegacyNetworkInfo []VirtualMachineLegacyNetworkSwitchInfo `xml:"legacyNetworkInfo,omitempty"`
- ScsiPassthrough []VirtualMachineScsiPassthroughInfo `xml:"scsiPassthrough,omitempty"`
- ScsiDisk []VirtualMachineScsiDiskDeviceInfo `xml:"scsiDisk,omitempty"`
- IdeDisk []VirtualMachineIdeDiskDeviceInfo `xml:"ideDisk,omitempty"`
- MaxMemMBOptimalPerf int32 `xml:"maxMemMBOptimalPerf"`
- ResourcePool *ResourcePoolRuntimeInfo `xml:"resourcePool,omitempty"`
- AutoVmotion *bool `xml:"autoVmotion"`
- PciPassthrough []BaseVirtualMachinePciPassthroughInfo `xml:"pciPassthrough,omitempty,typeattr"`
- Sriov []VirtualMachineSriovInfo `xml:"sriov,omitempty"`
- VFlashModule []VirtualMachineVFlashModuleInfo `xml:"vFlashModule,omitempty"`
- SharedGpuPassthroughTypes []VirtualMachinePciSharedGpuPassthroughInfo `xml:"sharedGpuPassthroughTypes,omitempty"`
+ NumCpus int32 `xml:"numCpus"`
+ NumCpuCores int32 `xml:"numCpuCores"`
+ NumNumaNodes int32 `xml:"numNumaNodes"`
+ SmcPresent *bool `xml:"smcPresent"`
+ Datastore []VirtualMachineDatastoreInfo `xml:"datastore,omitempty"`
+ Network []VirtualMachineNetworkInfo `xml:"network,omitempty"`
+ OpaqueNetwork []OpaqueNetworkTargetInfo `xml:"opaqueNetwork,omitempty"`
+ DistributedVirtualPortgroup []DistributedVirtualPortgroupInfo `xml:"distributedVirtualPortgroup,omitempty"`
+ DistributedVirtualSwitch []DistributedVirtualSwitchInfo `xml:"distributedVirtualSwitch,omitempty"`
+ CdRom []VirtualMachineCdromInfo `xml:"cdRom,omitempty"`
+ Serial []VirtualMachineSerialInfo `xml:"serial,omitempty"`
+ Parallel []VirtualMachineParallelInfo `xml:"parallel,omitempty"`
+ Sound []VirtualMachineSoundInfo `xml:"sound,omitempty"`
+ Usb []VirtualMachineUsbInfo `xml:"usb,omitempty"`
+ Floppy []VirtualMachineFloppyInfo `xml:"floppy,omitempty"`
+ LegacyNetworkInfo []VirtualMachineLegacyNetworkSwitchInfo `xml:"legacyNetworkInfo,omitempty"`
+ ScsiPassthrough []VirtualMachineScsiPassthroughInfo `xml:"scsiPassthrough,omitempty"`
+ ScsiDisk []VirtualMachineScsiDiskDeviceInfo `xml:"scsiDisk,omitempty"`
+ IdeDisk []VirtualMachineIdeDiskDeviceInfo `xml:"ideDisk,omitempty"`
+ MaxMemMBOptimalPerf int32 `xml:"maxMemMBOptimalPerf"`
+ ResourcePool *ResourcePoolRuntimeInfo `xml:"resourcePool,omitempty"`
+ AutoVmotion *bool `xml:"autoVmotion"`
+ PciPassthrough []BaseVirtualMachinePciPassthroughInfo `xml:"pciPassthrough,omitempty,typeattr"`
+ Sriov []VirtualMachineSriovInfo `xml:"sriov,omitempty"`
+ VFlashModule []VirtualMachineVFlashModuleInfo `xml:"vFlashModule,omitempty"`
+ SharedGpuPassthroughTypes []VirtualMachinePciSharedGpuPassthroughInfo `xml:"sharedGpuPassthroughTypes,omitempty"`
+ AvailablePersistentMemoryReservationMB int64 `xml:"availablePersistentMemoryReservationMB,omitempty"`
}
func init() {
@@ -8702,6 +9490,26 @@ type ConfigureEvcMode_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type ConfigureHCIRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ ClusterSpec ClusterComputeResourceHCIConfigSpec `xml:"clusterSpec"`
+ HostInputs []ClusterComputeResourceHostConfigurationInput `xml:"hostInputs,omitempty"`
+}
+
+func init() {
+ t["ConfigureHCIRequestType"] = reflect.TypeOf((*ConfigureHCIRequestType)(nil)).Elem()
+}
+
+type ConfigureHCI_Task ConfigureHCIRequestType
+
+func init() {
+ t["ConfigureHCI_Task"] = reflect.TypeOf((*ConfigureHCI_Task)(nil)).Elem()
+}
+
+type ConfigureHCI_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type ConfigureHostCacheRequestType struct {
This ManagedObjectReference `xml:"_this"`
Spec HostCacheConfigurationSpec `xml:"spec"`
@@ -9349,6 +10157,31 @@ type CreateDirectoryResponse struct {
Returnval string `xml:"returnval"`
}
+type CreateDiskFromSnapshotRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId ID `xml:"snapshotId"`
+ Name string `xml:"name"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+ Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr"`
+ Path string `xml:"path,omitempty"`
+}
+
+func init() {
+ t["CreateDiskFromSnapshotRequestType"] = reflect.TypeOf((*CreateDiskFromSnapshotRequestType)(nil)).Elem()
+}
+
+type CreateDiskFromSnapshot_Task CreateDiskFromSnapshotRequestType
+
+func init() {
+ t["CreateDiskFromSnapshot_Task"] = reflect.TypeOf((*CreateDiskFromSnapshot_Task)(nil)).Elem()
+}
+
+type CreateDiskFromSnapshot_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type CreateDiskRequestType struct {
This ManagedObjectReference `xml:"_this"`
Spec VslmCreateSpec `xml:"spec"`
@@ -9562,6 +10395,44 @@ type CreateNasDatastoreResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type CreateNvdimmNamespaceRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ CreateSpec NvdimmNamespaceCreateSpec `xml:"createSpec"`
+}
+
+func init() {
+ t["CreateNvdimmNamespaceRequestType"] = reflect.TypeOf((*CreateNvdimmNamespaceRequestType)(nil)).Elem()
+}
+
+type CreateNvdimmNamespace_Task CreateNvdimmNamespaceRequestType
+
+func init() {
+ t["CreateNvdimmNamespace_Task"] = reflect.TypeOf((*CreateNvdimmNamespace_Task)(nil)).Elem()
+}
+
+type CreateNvdimmNamespace_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type CreateNvdimmPMemNamespaceRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ CreateSpec NvdimmPMemNamespaceCreateSpec `xml:"createSpec"`
+}
+
+func init() {
+ t["CreateNvdimmPMemNamespaceRequestType"] = reflect.TypeOf((*CreateNvdimmPMemNamespaceRequestType)(nil)).Elem()
+}
+
+type CreateNvdimmPMemNamespace_Task CreateNvdimmPMemNamespaceRequestType
+
+func init() {
+ t["CreateNvdimmPMemNamespace_Task"] = reflect.TypeOf((*CreateNvdimmPMemNamespace_Task)(nil)).Elem()
+}
+
+type CreateNvdimmPMemNamespace_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type CreateObjectScheduledTask CreateObjectScheduledTaskRequestType
func init() {
@@ -10055,6 +10926,41 @@ func init() {
t["CryptoKeyResult"] = reflect.TypeOf((*CryptoKeyResult)(nil)).Elem()
}
+type CryptoManagerHostEnable CryptoManagerHostEnableRequestType
+
+func init() {
+ t["CryptoManagerHostEnable"] = reflect.TypeOf((*CryptoManagerHostEnable)(nil)).Elem()
+}
+
+type CryptoManagerHostEnableRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ InitialKey CryptoKeyPlain `xml:"initialKey"`
+}
+
+func init() {
+ t["CryptoManagerHostEnableRequestType"] = reflect.TypeOf((*CryptoManagerHostEnableRequestType)(nil)).Elem()
+}
+
+type CryptoManagerHostEnableResponse struct {
+}
+
+type CryptoManagerHostPrepare CryptoManagerHostPrepareRequestType
+
+func init() {
+ t["CryptoManagerHostPrepare"] = reflect.TypeOf((*CryptoManagerHostPrepare)(nil)).Elem()
+}
+
+type CryptoManagerHostPrepareRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["CryptoManagerHostPrepareRequestType"] = reflect.TypeOf((*CryptoManagerHostPrepareRequestType)(nil)).Elem()
+}
+
+type CryptoManagerHostPrepareResponse struct {
+}
+
type CryptoManagerKmipCertificateInfo struct {
DynamicData
@@ -10085,6 +10991,21 @@ func init() {
t["CryptoManagerKmipClusterStatus"] = reflect.TypeOf((*CryptoManagerKmipClusterStatus)(nil)).Elem()
}
+type CryptoManagerKmipCryptoKeyStatus struct {
+ DynamicData
+
+ KeyId CryptoKeyId `xml:"keyId"`
+ KeyAvailable *bool `xml:"keyAvailable"`
+ Reason string `xml:"reason,omitempty"`
+ EncryptedVMs []ManagedObjectReference `xml:"encryptedVMs,omitempty"`
+ AffectedHosts []ManagedObjectReference `xml:"affectedHosts,omitempty"`
+ ReferencedByTags []string `xml:"referencedByTags,omitempty"`
+}
+
+func init() {
+ t["CryptoManagerKmipCryptoKeyStatus"] = reflect.TypeOf((*CryptoManagerKmipCryptoKeyStatus)(nil)).Elem()
+}
+
type CryptoManagerKmipServerCertInfo struct {
DynamicData
@@ -10176,6 +11097,24 @@ func init() {
t["CryptoSpecShallowRecrypt"] = reflect.TypeOf((*CryptoSpecShallowRecrypt)(nil)).Elem()
}
+type CryptoUnlockRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["CryptoUnlockRequestType"] = reflect.TypeOf((*CryptoUnlockRequestType)(nil)).Elem()
+}
+
+type CryptoUnlock_Task CryptoUnlockRequestType
+
+func init() {
+ t["CryptoUnlock_Task"] = reflect.TypeOf((*CryptoUnlock_Task)(nil)).Elem()
+}
+
+type CryptoUnlock_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type CurrentTime CurrentTimeRequestType
func init() {
@@ -11073,32 +12012,33 @@ func init() {
type DVSConfigInfo struct {
DynamicData
- Uuid string `xml:"uuid"`
- Name string `xml:"name"`
- NumStandalonePorts int32 `xml:"numStandalonePorts"`
- NumPorts int32 `xml:"numPorts"`
- MaxPorts int32 `xml:"maxPorts"`
- UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,typeattr"`
- UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty"`
- DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,typeattr"`
- Host []DistributedVirtualSwitchHostMember `xml:"host,omitempty"`
- ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo"`
- TargetInfo *DistributedVirtualSwitchProductSpec `xml:"targetInfo,omitempty"`
- ExtensionKey string `xml:"extensionKey,omitempty"`
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty"`
- Policy *DVSPolicy `xml:"policy,omitempty"`
- Description string `xml:"description,omitempty"`
- ConfigVersion string `xml:"configVersion"`
- Contact DVSContactInfo `xml:"contact"`
- SwitchIpAddress string `xml:"switchIpAddress,omitempty"`
- CreateTime time.Time `xml:"createTime"`
- NetworkResourceManagementEnabled *bool `xml:"networkResourceManagementEnabled"`
- DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty"`
- HealthCheckConfig []BaseDVSHealthCheckConfig `xml:"healthCheckConfig,omitempty,typeattr"`
- InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty"`
- NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty"`
- VmVnicNetworkResourcePool []DVSVmVnicNetworkResourcePool `xml:"vmVnicNetworkResourcePool,omitempty"`
- PnicCapacityRatioForReservation int32 `xml:"pnicCapacityRatioForReservation,omitempty"`
+ Uuid string `xml:"uuid"`
+ Name string `xml:"name"`
+ NumStandalonePorts int32 `xml:"numStandalonePorts"`
+ NumPorts int32 `xml:"numPorts"`
+ MaxPorts int32 `xml:"maxPorts"`
+ UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,typeattr"`
+ UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty"`
+ DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,typeattr"`
+ Host []DistributedVirtualSwitchHostMember `xml:"host,omitempty"`
+ ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo"`
+ TargetInfo *DistributedVirtualSwitchProductSpec `xml:"targetInfo,omitempty"`
+ ExtensionKey string `xml:"extensionKey,omitempty"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty"`
+ Policy *DVSPolicy `xml:"policy,omitempty"`
+ Description string `xml:"description,omitempty"`
+ ConfigVersion string `xml:"configVersion"`
+ Contact DVSContactInfo `xml:"contact"`
+ SwitchIpAddress string `xml:"switchIpAddress,omitempty"`
+ CreateTime time.Time `xml:"createTime"`
+ NetworkResourceManagementEnabled *bool `xml:"networkResourceManagementEnabled"`
+ DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty"`
+ HealthCheckConfig []BaseDVSHealthCheckConfig `xml:"healthCheckConfig,omitempty,typeattr"`
+ InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty"`
+ NetResourcePoolTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"netResourcePoolTrafficResourceConfig,omitempty"`
+ NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty"`
+ VmVnicNetworkResourcePool []DVSVmVnicNetworkResourcePool `xml:"vmVnicNetworkResourcePool,omitempty"`
+ PnicCapacityRatioForReservation int32 `xml:"pnicCapacityRatioForReservation,omitempty"`
}
func init() {
@@ -11108,23 +12048,24 @@ func init() {
type DVSConfigSpec struct {
DynamicData
- ConfigVersion string `xml:"configVersion,omitempty"`
- Name string `xml:"name,omitempty"`
- NumStandalonePorts int32 `xml:"numStandalonePorts,omitempty"`
- MaxPorts int32 `xml:"maxPorts,omitempty"`
- UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,omitempty,typeattr"`
- UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty"`
- DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr"`
- Host []DistributedVirtualSwitchHostMemberConfigSpec `xml:"host,omitempty"`
- ExtensionKey string `xml:"extensionKey,omitempty"`
- Description string `xml:"description,omitempty"`
- Policy *DVSPolicy `xml:"policy,omitempty"`
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty"`
- Contact *DVSContactInfo `xml:"contact,omitempty"`
- SwitchIpAddress string `xml:"switchIpAddress,omitempty"`
- DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty"`
- InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty"`
- NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty"`
+ ConfigVersion string `xml:"configVersion,omitempty"`
+ Name string `xml:"name,omitempty"`
+ NumStandalonePorts int32 `xml:"numStandalonePorts,omitempty"`
+ MaxPorts int32 `xml:"maxPorts,omitempty"`
+ UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,omitempty,typeattr"`
+ UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty"`
+ DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr"`
+ Host []DistributedVirtualSwitchHostMemberConfigSpec `xml:"host,omitempty"`
+ ExtensionKey string `xml:"extensionKey,omitempty"`
+ Description string `xml:"description,omitempty"`
+ Policy *DVSPolicy `xml:"policy,omitempty"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty"`
+ Contact *DVSContactInfo `xml:"contact,omitempty"`
+ SwitchIpAddress string `xml:"switchIpAddress,omitempty"`
+ DefaultProxySwitchMaxNumPorts int32 `xml:"defaultProxySwitchMaxNumPorts,omitempty"`
+ InfrastructureTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"infrastructureTrafficResourceConfig,omitempty"`
+ NetResourcePoolTrafficResourceConfig []DvsHostInfrastructureTrafficResource `xml:"netResourcePoolTrafficResourceConfig,omitempty"`
+ NetworkResourceControlVersion string `xml:"networkResourceControlVersion,omitempty"`
}
func init() {
@@ -11182,6 +12123,7 @@ type DVSFeatureCapability struct {
RollbackCapability *DVSRollbackCapability `xml:"rollbackCapability,omitempty"`
BackupRestoreCapability *DVSBackupRestoreCapability `xml:"backupRestoreCapability,omitempty"`
NetworkFilterSupported *bool `xml:"networkFilterSupported"`
+ MacLearningSupported *bool `xml:"macLearningSupported"`
}
func init() {
@@ -11220,6 +12162,32 @@ func init() {
t["DVSHostLocalPortInfo"] = reflect.TypeOf((*DVSHostLocalPortInfo)(nil)).Elem()
}
+type DVSMacLearningPolicy struct {
+ InheritablePolicy
+
+ Enabled bool `xml:"enabled"`
+ AllowUnicastFlooding *bool `xml:"allowUnicastFlooding"`
+ Limit *int32 `xml:"limit"`
+ LimitPolicy string `xml:"limitPolicy,omitempty"`
+}
+
+func init() {
+ t["DVSMacLearningPolicy"] = reflect.TypeOf((*DVSMacLearningPolicy)(nil)).Elem()
+}
+
+type DVSMacManagementPolicy struct {
+ InheritablePolicy
+
+ AllowPromiscuous *bool `xml:"allowPromiscuous"`
+ MacChanges *bool `xml:"macChanges"`
+ ForgedTransmits *bool `xml:"forgedTransmits"`
+ MacLearningPolicy *DVSMacLearningPolicy `xml:"macLearningPolicy,omitempty"`
+}
+
+func init() {
+ t["DVSMacManagementPolicy"] = reflect.TypeOf((*DVSMacManagementPolicy)(nil)).Elem()
+}
+
type DVSManagerDvsConfigTarget struct {
DynamicData
@@ -11308,6 +12276,7 @@ type DVSNetworkResourceManagementCapability struct {
QosSupported bool `xml:"qosSupported"`
UserDefinedNetworkResourcePoolsSupported bool `xml:"userDefinedNetworkResourcePoolsSupported"`
NetworkResourceControlVersion3Supported *bool `xml:"networkResourceControlVersion3Supported"`
+ UserDefinedInfraTrafficPoolSupported *bool `xml:"userDefinedInfraTrafficPoolSupported"`
}
func init() {
@@ -11331,7 +12300,7 @@ func init() {
type DVSNetworkResourcePoolAllocationInfo struct {
DynamicData
- Limit int64 `xml:"limit,omitempty"`
+ Limit *int64 `xml:"limit"`
Shares *SharesInfo `xml:"shares,omitempty"`
PriorityTag int32 `xml:"priorityTag,omitempty"`
}
@@ -11643,6 +12612,23 @@ func init() {
t["DatabaseSizeParam"] = reflect.TypeOf((*DatabaseSizeParam)(nil)).Elem()
}
+type DatacenterBasicConnectInfo struct {
+ DynamicData
+
+ Hostname string `xml:"hostname,omitempty"`
+ Error *LocalizedMethodFault `xml:"error,omitempty"`
+ ServerIp string `xml:"serverIp,omitempty"`
+ NumVm int32 `xml:"numVm,omitempty"`
+ NumPoweredOnVm int32 `xml:"numPoweredOnVm,omitempty"`
+ HostProductInfo *AboutInfo `xml:"hostProductInfo,omitempty"`
+ HardwareVendor string `xml:"hardwareVendor,omitempty"`
+ HardwareModel string `xml:"hardwareModel,omitempty"`
+}
+
+func init() {
+ t["DatacenterBasicConnectInfo"] = reflect.TypeOf((*DatacenterBasicConnectInfo)(nil)).Elem()
+}
+
type DatacenterConfigInfo struct {
DynamicData
@@ -11743,6 +12729,7 @@ type DatastoreCapability struct {
VmfsSparseSupported *bool `xml:"vmfsSparseSupported"`
VsanSparseSupported *bool `xml:"vsanSparseSupported"`
UpitSupported *bool `xml:"upitSupported"`
+ VmdkExpandSupported *bool `xml:"vmdkExpandSupported"`
}
func init() {
@@ -11914,6 +12901,7 @@ type DatastoreInfo struct {
MaxMemoryFileSize int64 `xml:"maxMemoryFileSize,omitempty"`
Timestamp *time.Time `xml:"timestamp"`
ContainerId string `xml:"containerId,omitempty"`
+ AliasOf string `xml:"aliasOf,omitempty"`
}
func init() {
@@ -12247,6 +13235,43 @@ func init() {
type DeleteHostSubSpecificationResponse struct {
}
+type DeleteNvdimmBlockNamespacesRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["DeleteNvdimmBlockNamespacesRequestType"] = reflect.TypeOf((*DeleteNvdimmBlockNamespacesRequestType)(nil)).Elem()
+}
+
+type DeleteNvdimmBlockNamespaces_Task DeleteNvdimmBlockNamespacesRequestType
+
+func init() {
+ t["DeleteNvdimmBlockNamespaces_Task"] = reflect.TypeOf((*DeleteNvdimmBlockNamespaces_Task)(nil)).Elem()
+}
+
+type DeleteNvdimmBlockNamespaces_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type DeleteNvdimmNamespaceRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ DeleteSpec NvdimmNamespaceDeleteSpec `xml:"deleteSpec"`
+}
+
+func init() {
+ t["DeleteNvdimmNamespaceRequestType"] = reflect.TypeOf((*DeleteNvdimmNamespaceRequestType)(nil)).Elem()
+}
+
+type DeleteNvdimmNamespace_Task DeleteNvdimmNamespaceRequestType
+
+func init() {
+ t["DeleteNvdimmNamespace_Task"] = reflect.TypeOf((*DeleteNvdimmNamespace_Task)(nil)).Elem()
+}
+
+type DeleteNvdimmNamespace_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type DeleteRegistryKeyInGuest DeleteRegistryKeyInGuestRequestType
func init() {
@@ -12306,6 +13331,27 @@ func init() {
type DeleteScsiLunStateResponse struct {
}
+type DeleteSnapshotRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId ID `xml:"snapshotId"`
+}
+
+func init() {
+ t["DeleteSnapshotRequestType"] = reflect.TypeOf((*DeleteSnapshotRequestType)(nil)).Elem()
+}
+
+type DeleteSnapshot_Task DeleteSnapshotRequestType
+
+func init() {
+ t["DeleteSnapshot_Task"] = reflect.TypeOf((*DeleteSnapshot_Task)(nil)).Elem()
+}
+
+type DeleteSnapshot_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type DeleteVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this"`
Id ID `xml:"id"`
@@ -14165,9 +15211,9 @@ func init() {
type DvsHostInfrastructureTrafficResourceAllocation struct {
DynamicData
- Limit int64 `xml:"limit,omitempty"`
+ Limit *int64 `xml:"limit"`
Shares *SharesInfo `xml:"shares,omitempty"`
- Reservation int64 `xml:"reservation,omitempty"`
+ Reservation *int64 `xml:"reservation"`
}
func init() {
@@ -14846,7 +15892,7 @@ type DvsVnicAllocatedResource struct {
Vm ManagedObjectReference `xml:"vm"`
VnicKey string `xml:"vnicKey"`
- Reservation int64 `xml:"reservation,omitempty"`
+ Reservation *int64 `xml:"reservation"`
}
func init() {
@@ -15336,6 +16382,22 @@ func init() {
type EnableSmartCardAuthenticationResponse struct {
}
+type EncryptionKeyRequired struct {
+ InvalidState
+
+ RequiredKey []CryptoKeyId `xml:"requiredKey,omitempty"`
+}
+
+func init() {
+ t["EncryptionKeyRequired"] = reflect.TypeOf((*EncryptionKeyRequired)(nil)).Elem()
+}
+
+type EncryptionKeyRequiredFault EncryptionKeyRequired
+
+func init() {
+ t["EncryptionKeyRequiredFault"] = reflect.TypeOf((*EncryptionKeyRequiredFault)(nil)).Elem()
+}
+
type EnterLockdownMode EnterLockdownModeRequestType
func init() {
@@ -16105,6 +17167,26 @@ type ExtendDisk_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type ExtendHCIRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ HostInputs []ClusterComputeResourceHostConfigurationInput `xml:"hostInputs,omitempty"`
+ VSanConfigSpec *SDDCBase `xml:"vSanConfigSpec,omitempty"`
+}
+
+func init() {
+ t["ExtendHCIRequestType"] = reflect.TypeOf((*ExtendHCIRequestType)(nil)).Elem()
+}
+
+type ExtendHCI_Task ExtendHCIRequestType
+
+func init() {
+ t["ExtendHCI_Task"] = reflect.TypeOf((*ExtendHCI_Task)(nil)).Elem()
+}
+
+type ExtendHCI_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type ExtendVffs ExtendVffsRequestType
func init() {
@@ -16679,6 +17761,28 @@ func init() {
t["FaultToleranceVmNotDasProtectedFault"] = reflect.TypeOf((*FaultToleranceVmNotDasProtectedFault)(nil)).Elem()
}
+type FaultsByHost struct {
+ DynamicData
+
+ Host ManagedObjectReference `xml:"host"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty"`
+}
+
+func init() {
+ t["FaultsByHost"] = reflect.TypeOf((*FaultsByHost)(nil)).Elem()
+}
+
+type FaultsByVM struct {
+ DynamicData
+
+ Vm ManagedObjectReference `xml:"vm"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty"`
+}
+
+func init() {
+ t["FaultsByVM"] = reflect.TypeOf((*FaultsByVM)(nil)).Elem()
+}
+
type FcoeConfig struct {
DynamicData
@@ -17352,6 +18456,29 @@ func init() {
t["FloppyImageFileQuery"] = reflect.TypeOf((*FloppyImageFileQuery)(nil)).Elem()
}
+type FolderBatchAddHostsToClusterResult struct {
+ DynamicData
+
+ HostsAddedToCluster []ManagedObjectReference `xml:"hostsAddedToCluster,omitempty"`
+ HostsFailedInventoryAdd []FolderFailedHostResult `xml:"hostsFailedInventoryAdd,omitempty"`
+ HostsFailedMoveToCluster []FolderFailedHostResult `xml:"hostsFailedMoveToCluster,omitempty"`
+}
+
+func init() {
+ t["FolderBatchAddHostsToClusterResult"] = reflect.TypeOf((*FolderBatchAddHostsToClusterResult)(nil)).Elem()
+}
+
+type FolderBatchAddStandaloneHostsResult struct {
+ DynamicData
+
+ AddedHosts []ManagedObjectReference `xml:"addedHosts,omitempty"`
+ HostsFailedInventoryAdd []FolderFailedHostResult `xml:"hostsFailedInventoryAdd,omitempty"`
+}
+
+func init() {
+ t["FolderBatchAddStandaloneHostsResult"] = reflect.TypeOf((*FolderBatchAddStandaloneHostsResult)(nil)).Elem()
+}
+
type FolderEventArgument struct {
EntityEventArgument
@@ -17362,6 +18489,19 @@ func init() {
t["FolderEventArgument"] = reflect.TypeOf((*FolderEventArgument)(nil)).Elem()
}
+type FolderFailedHostResult struct {
+ DynamicData
+
+ HostName string `xml:"hostName,omitempty"`
+ Host *ManagedObjectReference `xml:"host,omitempty"`
+ Context LocalizableMessage `xml:"context"`
+ Fault LocalizedMethodFault `xml:"fault"`
+}
+
+func init() {
+ t["FolderFailedHostResult"] = reflect.TypeOf((*FolderFailedHostResult)(nil)).Elem()
+}
+
type FolderFileInfo struct {
FileInfo
}
@@ -17378,6 +18518,17 @@ func init() {
t["FolderFileQuery"] = reflect.TypeOf((*FolderFileQuery)(nil)).Elem()
}
+type FolderNewHostSpec struct {
+ DynamicData
+
+ HostCnxSpec HostConnectSpec `xml:"hostCnxSpec"`
+ EsxLicense string `xml:"esxLicense,omitempty"`
+}
+
+func init() {
+ t["FolderNewHostSpec"] = reflect.TypeOf((*FolderNewHostSpec)(nil)).Elem()
+}
+
type FormatVffs FormatVffsRequestType
func init() {
@@ -18273,51 +19424,66 @@ func init() {
type GuestOsDescriptor struct {
DynamicData
- Id string `xml:"id"`
- Family string `xml:"family"`
- FullName string `xml:"fullName"`
- SupportedMaxCPUs int32 `xml:"supportedMaxCPUs"`
- NumSupportedPhysicalSockets int32 `xml:"numSupportedPhysicalSockets,omitempty"`
- NumSupportedCoresPerSocket int32 `xml:"numSupportedCoresPerSocket,omitempty"`
- SupportedMinMemMB int32 `xml:"supportedMinMemMB"`
- SupportedMaxMemMB int32 `xml:"supportedMaxMemMB"`
- RecommendedMemMB int32 `xml:"recommendedMemMB"`
- RecommendedColorDepth int32 `xml:"recommendedColorDepth"`
- SupportedDiskControllerList []string `xml:"supportedDiskControllerList"`
- RecommendedSCSIController string `xml:"recommendedSCSIController,omitempty"`
- RecommendedDiskController string `xml:"recommendedDiskController"`
- SupportedNumDisks int32 `xml:"supportedNumDisks"`
- RecommendedDiskSizeMB int32 `xml:"recommendedDiskSizeMB"`
- RecommendedCdromController string `xml:"recommendedCdromController,omitempty"`
- SupportedEthernetCard []string `xml:"supportedEthernetCard"`
- RecommendedEthernetCard string `xml:"recommendedEthernetCard,omitempty"`
- SupportsSlaveDisk *bool `xml:"supportsSlaveDisk"`
- CpuFeatureMask []HostCpuIdInfo `xml:"cpuFeatureMask,omitempty"`
- SmcRequired *bool `xml:"smcRequired"`
- SupportsWakeOnLan bool `xml:"supportsWakeOnLan"`
- SupportsVMI *bool `xml:"supportsVMI"`
- SupportsMemoryHotAdd *bool `xml:"supportsMemoryHotAdd"`
- SupportsCpuHotAdd *bool `xml:"supportsCpuHotAdd"`
- SupportsCpuHotRemove *bool `xml:"supportsCpuHotRemove"`
- SupportedFirmware []string `xml:"supportedFirmware,omitempty"`
- RecommendedFirmware string `xml:"recommendedFirmware,omitempty"`
- SupportedUSBControllerList []string `xml:"supportedUSBControllerList,omitempty"`
- RecommendedUSBController string `xml:"recommendedUSBController,omitempty"`
- Supports3D *bool `xml:"supports3D"`
- Recommended3D *bool `xml:"recommended3D"`
- SmcRecommended *bool `xml:"smcRecommended"`
- Ich7mRecommended *bool `xml:"ich7mRecommended"`
- UsbRecommended *bool `xml:"usbRecommended"`
- SupportLevel string `xml:"supportLevel,omitempty"`
- SupportedForCreate *bool `xml:"supportedForCreate"`
- VRAMSizeInKB *IntOption `xml:"vRAMSizeInKB,omitempty"`
- NumSupportedFloppyDevices int32 `xml:"numSupportedFloppyDevices,omitempty"`
- WakeOnLanEthernetCard []string `xml:"wakeOnLanEthernetCard,omitempty"`
- SupportsPvscsiControllerForBoot *bool `xml:"supportsPvscsiControllerForBoot"`
- DiskUuidEnabled *bool `xml:"diskUuidEnabled"`
- SupportsHotPlugPCI *bool `xml:"supportsHotPlugPCI"`
- SupportsSecureBoot *bool `xml:"supportsSecureBoot"`
- DefaultSecureBoot *bool `xml:"defaultSecureBoot"`
+ Id string `xml:"id"`
+ Family string `xml:"family"`
+ FullName string `xml:"fullName"`
+ SupportedMaxCPUs int32 `xml:"supportedMaxCPUs"`
+ NumSupportedPhysicalSockets int32 `xml:"numSupportedPhysicalSockets,omitempty"`
+ NumSupportedCoresPerSocket int32 `xml:"numSupportedCoresPerSocket,omitempty"`
+ SupportedMinMemMB int32 `xml:"supportedMinMemMB"`
+ SupportedMaxMemMB int32 `xml:"supportedMaxMemMB"`
+ RecommendedMemMB int32 `xml:"recommendedMemMB"`
+ RecommendedColorDepth int32 `xml:"recommendedColorDepth"`
+ SupportedDiskControllerList []string `xml:"supportedDiskControllerList"`
+ RecommendedSCSIController string `xml:"recommendedSCSIController,omitempty"`
+ RecommendedDiskController string `xml:"recommendedDiskController"`
+ SupportedNumDisks int32 `xml:"supportedNumDisks"`
+ RecommendedDiskSizeMB int32 `xml:"recommendedDiskSizeMB"`
+ RecommendedCdromController string `xml:"recommendedCdromController,omitempty"`
+ SupportedEthernetCard []string `xml:"supportedEthernetCard"`
+ RecommendedEthernetCard string `xml:"recommendedEthernetCard,omitempty"`
+ SupportsSlaveDisk *bool `xml:"supportsSlaveDisk"`
+ CpuFeatureMask []HostCpuIdInfo `xml:"cpuFeatureMask,omitempty"`
+ SmcRequired *bool `xml:"smcRequired"`
+ SupportsWakeOnLan bool `xml:"supportsWakeOnLan"`
+ SupportsVMI *bool `xml:"supportsVMI"`
+ SupportsMemoryHotAdd *bool `xml:"supportsMemoryHotAdd"`
+ SupportsCpuHotAdd *bool `xml:"supportsCpuHotAdd"`
+ SupportsCpuHotRemove *bool `xml:"supportsCpuHotRemove"`
+ SupportedFirmware []string `xml:"supportedFirmware,omitempty"`
+ RecommendedFirmware string `xml:"recommendedFirmware,omitempty"`
+ SupportedUSBControllerList []string `xml:"supportedUSBControllerList,omitempty"`
+ RecommendedUSBController string `xml:"recommendedUSBController,omitempty"`
+ Supports3D *bool `xml:"supports3D"`
+ Recommended3D *bool `xml:"recommended3D"`
+ SmcRecommended *bool `xml:"smcRecommended"`
+ Ich7mRecommended *bool `xml:"ich7mRecommended"`
+ UsbRecommended *bool `xml:"usbRecommended"`
+ SupportLevel string `xml:"supportLevel,omitempty"`
+ SupportedForCreate *bool `xml:"supportedForCreate"`
+ VRAMSizeInKB *IntOption `xml:"vRAMSizeInKB,omitempty"`
+ NumSupportedFloppyDevices int32 `xml:"numSupportedFloppyDevices,omitempty"`
+ WakeOnLanEthernetCard []string `xml:"wakeOnLanEthernetCard,omitempty"`
+ SupportsPvscsiControllerForBoot *bool `xml:"supportsPvscsiControllerForBoot"`
+ DiskUuidEnabled *bool `xml:"diskUuidEnabled"`
+ SupportsHotPlugPCI *bool `xml:"supportsHotPlugPCI"`
+ SupportsSecureBoot *bool `xml:"supportsSecureBoot"`
+ DefaultSecureBoot *bool `xml:"defaultSecureBoot"`
+ PersistentMemorySupported *bool `xml:"persistentMemorySupported"`
+ SupportedMinPersistentMemoryMB int64 `xml:"supportedMinPersistentMemoryMB,omitempty"`
+ SupportedMaxPersistentMemoryMB int64 `xml:"supportedMaxPersistentMemoryMB,omitempty"`
+ RecommendedPersistentMemoryMB int64 `xml:"recommendedPersistentMemoryMB,omitempty"`
+ PersistentMemoryHotAddSupported *bool `xml:"persistentMemoryHotAddSupported"`
+ PersistentMemoryHotRemoveSupported *bool `xml:"persistentMemoryHotRemoveSupported"`
+ PersistentMemoryColdGrowthSupported *bool `xml:"persistentMemoryColdGrowthSupported"`
+ PersistentMemoryColdGrowthGranularityMB int64 `xml:"persistentMemoryColdGrowthGranularityMB,omitempty"`
+ PersistentMemoryHotGrowthSupported *bool `xml:"persistentMemoryHotGrowthSupported"`
+ PersistentMemoryHotGrowthGranularityMB int64 `xml:"persistentMemoryHotGrowthGranularityMB,omitempty"`
+ NumRecommendedPhysicalSockets int32 `xml:"numRecommendedPhysicalSockets,omitempty"`
+ NumRecommendedCoresPerSocket int32 `xml:"numRecommendedCoresPerSocket,omitempty"`
+ VvtdSupported *BoolOption `xml:"vvtdSupported,omitempty"`
+ VbsSupported *BoolOption `xml:"vbsSupported,omitempty"`
+ SupportsTPM20 *bool `xml:"supportsTPM20"`
}
func init() {
@@ -19205,6 +20371,8 @@ type HostCapability struct {
DeltaDiskBackingsSupported *bool `xml:"deltaDiskBackingsSupported"`
PerVMNetworkTrafficShapingSupported *bool `xml:"perVMNetworkTrafficShapingSupported"`
TpmSupported *bool `xml:"tpmSupported"`
+ TpmVersion string `xml:"tpmVersion,omitempty"`
+ TxtEnabled *bool `xml:"txtEnabled"`
SupportedCpuFeature []HostCpuIdInfo `xml:"supportedCpuFeature,omitempty"`
VirtualExecUsageSupported *bool `xml:"virtualExecUsageSupported"`
StorageIORMSupported *bool `xml:"storageIORMSupported"`
@@ -19242,6 +20410,8 @@ type HostCapability struct {
MarkAsSsdSupported *bool `xml:"markAsSsdSupported"`
MarkAsLocalSupported *bool `xml:"markAsLocalSupported"`
SmartCardAuthenticationSupported *bool `xml:"smartCardAuthenticationSupported"`
+ PMemSupported *bool `xml:"pMemSupported"`
+ PMemSnapshotSupported *bool `xml:"pMemSnapshotSupported"`
CryptoSupported *bool `xml:"cryptoSupported"`
OneKVolumeAPIsSupported *bool `xml:"oneKVolumeAPIsSupported"`
GatewayOnNicSupported *bool `xml:"gatewayOnNicSupported"`
@@ -19257,6 +20427,16 @@ type HostCapability struct {
EncryptionVFlashSupported *bool `xml:"encryptionVFlashSupported"`
EncryptionCBRCSupported *bool `xml:"encryptionCBRCSupported"`
EncryptionHBRSupported *bool `xml:"encryptionHBRSupported"`
+ FtEfiSupported *bool `xml:"ftEfiSupported"`
+ UnmapMethodSupported string `xml:"unmapMethodSupported,omitempty"`
+ MaxMemMBPerFtVm int32 `xml:"maxMemMBPerFtVm,omitempty"`
+ VirtualMmuUsageIgnored *bool `xml:"virtualMmuUsageIgnored"`
+ VirtualExecUsageIgnored *bool `xml:"virtualExecUsageIgnored"`
+ VmCreateDateSupported *bool `xml:"vmCreateDateSupported"`
+ Vmfs3EOLSupported *bool `xml:"vmfs3EOLSupported"`
+ FtVmcpSupported *bool `xml:"ftVmcpSupported"`
+ QuickBootSupported *bool `xml:"quickBootSupported"`
+ MarkPerenniallyReservedSupported *bool `xml:"markPerenniallyReservedSupported"`
}
func init() {
@@ -19277,6 +20457,26 @@ func init() {
t["HostCertificateManagerCertificateInfo"] = reflect.TypeOf((*HostCertificateManagerCertificateInfo)(nil)).Elem()
}
+type HostClearVStorageObjectControlFlags HostClearVStorageObjectControlFlagsRequestType
+
+func init() {
+ t["HostClearVStorageObjectControlFlags"] = reflect.TypeOf((*HostClearVStorageObjectControlFlags)(nil)).Elem()
+}
+
+type HostClearVStorageObjectControlFlagsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ ControlFlags []string `xml:"controlFlags,omitempty"`
+}
+
+func init() {
+ t["HostClearVStorageObjectControlFlagsRequestType"] = reflect.TypeOf((*HostClearVStorageObjectControlFlagsRequestType)(nil)).Elem()
+}
+
+type HostClearVStorageObjectControlFlagsResponse struct {
+}
+
type HostCloneVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this"`
Id ID `xml:"id"`
@@ -19536,6 +20736,7 @@ type HostConfigInfo struct {
GraphicsInfo []HostGraphicsInfo `xml:"graphicsInfo,omitempty"`
SharedPassthruGpuTypes []string `xml:"sharedPassthruGpuTypes,omitempty"`
GraphicsConfig *HostGraphicsConfig `xml:"graphicsConfig,omitempty"`
+ SharedGpuCapabilities []HostSharedGpuCapabilities `xml:"sharedGpuCapabilities,omitempty"`
IoFilterInfo []HostIoFilterInfo `xml:"ioFilterInfo,omitempty"`
SriovDevicePool []BaseHostSriovDevicePoolInfo `xml:"sriovDevicePool,omitempty,typeattr"`
}
@@ -19584,6 +20785,7 @@ type HostConfigManager struct {
VsanInternalSystem *ManagedObjectReference `xml:"vsanInternalSystem,omitempty"`
CertificateManager *ManagedObjectReference `xml:"certificateManager,omitempty"`
CryptoManager *ManagedObjectReference `xml:"cryptoManager,omitempty"`
+ NvdimmSystem *ManagedObjectReference `xml:"nvdimmSystem,omitempty"`
}
func init() {
@@ -20331,12 +21533,13 @@ func init() {
type HostDnsConfig struct {
DynamicData
- Dhcp bool `xml:"dhcp"`
- VirtualNicDevice string `xml:"virtualNicDevice,omitempty"`
- HostName string `xml:"hostName"`
- DomainName string `xml:"domainName"`
- Address []string `xml:"address,omitempty"`
- SearchDomain []string `xml:"searchDomain,omitempty"`
+ Dhcp bool `xml:"dhcp"`
+ VirtualNicDevice string `xml:"virtualNicDevice,omitempty"`
+ Ipv6VirtualNicDevice string `xml:"ipv6VirtualNicDevice,omitempty"`
+ HostName string `xml:"hostName"`
+ DomainName string `xml:"domainName"`
+ Address []string `xml:"address,omitempty"`
+ SearchDomain []string `xml:"searchDomain,omitempty"`
}
func init() {
@@ -20346,7 +21549,8 @@ func init() {
type HostDnsConfigSpec struct {
HostDnsConfig
- VirtualNicConnection *HostVirtualNicConnection `xml:"virtualNicConnection,omitempty"`
+ VirtualNicConnection *HostVirtualNicConnection `xml:"virtualNicConnection,omitempty"`
+ VirtualNicConnectionV6 *HostVirtualNicConnection `xml:"virtualNicConnectionV6,omitempty"`
}
func init() {
@@ -20363,6 +21567,17 @@ func init() {
t["HostEnableAdminFailedEvent"] = reflect.TypeOf((*HostEnableAdminFailedEvent)(nil)).Elem()
}
+type HostEnterMaintenanceResult struct {
+ DynamicData
+
+ VmFaults []FaultsByVM `xml:"vmFaults,omitempty"`
+ HostFaults []FaultsByHost `xml:"hostFaults,omitempty"`
+}
+
+func init() {
+ t["HostEnterMaintenanceResult"] = reflect.TypeOf((*HostEnterMaintenanceResult)(nil)).Elem()
+}
+
type HostEsxAgentHostManagerConfigInfo struct {
DynamicData
@@ -20808,6 +22023,7 @@ type HostHardwareInfo struct {
CpuFeature []HostCpuIdInfo `xml:"cpuFeature,omitempty"`
BiosInfo *HostBIOSInfo `xml:"biosInfo,omitempty"`
ReliableMemoryInfo *HostReliableMemoryInfo `xml:"reliableMemoryInfo,omitempty"`
+ PersistentMemoryInfo *HostPersistentMemoryInfo `xml:"persistentMemoryInfo,omitempty"`
}
func init() {
@@ -21547,6 +22763,7 @@ type HostListSummary struct {
MaxEVCModeKey string `xml:"maxEVCModeKey,omitempty"`
CurrentEVCModeKey string `xml:"currentEVCModeKey,omitempty"`
Gateway *HostListSummaryGatewaySummary `xml:"gateway,omitempty"`
+ TpmAttestation *HostTpmAttestationInfo `xml:"tpmAttestation,omitempty"`
}
func init() {
@@ -21571,6 +22788,7 @@ type HostListSummaryQuickStats struct {
OverallMemoryUsage int32 `xml:"overallMemoryUsage,omitempty"`
DistributedCpuFairness int32 `xml:"distributedCpuFairness,omitempty"`
DistributedMemoryFairness int32 `xml:"distributedMemoryFairness,omitempty"`
+ AvailablePMemCapacity int32 `xml:"availablePMemCapacity,omitempty"`
Uptime int32 `xml:"uptime,omitempty"`
}
@@ -22366,10 +23584,11 @@ func init() {
type HostNumaNode struct {
DynamicData
- TypeId byte `xml:"typeId"`
- CpuID []int16 `xml:"cpuID"`
- MemoryRangeBegin int64 `xml:"memoryRangeBegin"`
- MemoryRangeLength int64 `xml:"memoryRangeLength"`
+ TypeId byte `xml:"typeId"`
+ CpuID []int16 `xml:"cpuID"`
+ MemoryRangeBegin int64 `xml:"memoryRangeBegin"`
+ MemoryRangeLength int64 `xml:"memoryRangeLength"`
+ PciId []string `xml:"pciId,omitempty"`
}
func init() {
@@ -22412,13 +23631,14 @@ func init() {
type HostOpaqueSwitch struct {
DynamicData
- Key string `xml:"key"`
- Name string `xml:"name,omitempty"`
- Pnic []string `xml:"pnic,omitempty"`
- PnicZone []HostOpaqueSwitchPhysicalNicZone `xml:"pnicZone,omitempty"`
- Status string `xml:"status,omitempty"`
- Vtep []HostVirtualNic `xml:"vtep,omitempty"`
- ExtraConfig []BaseOptionValue `xml:"extraConfig,omitempty,typeattr"`
+ Key string `xml:"key"`
+ Name string `xml:"name,omitempty"`
+ Pnic []string `xml:"pnic,omitempty"`
+ PnicZone []HostOpaqueSwitchPhysicalNicZone `xml:"pnicZone,omitempty"`
+ Status string `xml:"status,omitempty"`
+ Vtep []HostVirtualNic `xml:"vtep,omitempty"`
+ ExtraConfig []BaseOptionValue `xml:"extraConfig,omitempty,typeattr"`
+ FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty"`
}
func init() {
@@ -22444,6 +23664,17 @@ func init() {
t["HostOvercommittedEvent"] = reflect.TypeOf((*HostOvercommittedEvent)(nil)).Elem()
}
+type HostPMemVolume struct {
+ HostFileSystemVolume
+
+ Uuid string `xml:"uuid"`
+ Version string `xml:"version"`
+}
+
+func init() {
+ t["HostPMemVolume"] = reflect.TypeOf((*HostPMemVolume)(nil)).Elem()
+}
+
type HostParallelScsiHba struct {
HostHostBusAdapter
}
@@ -22584,12 +23815,23 @@ func init() {
t["HostPciPassthruInfo"] = reflect.TypeOf((*HostPciPassthruInfo)(nil)).Elem()
}
+type HostPersistentMemoryInfo struct {
+ DynamicData
+
+ CapacityInMB int64 `xml:"capacityInMB,omitempty"`
+ VolumeUUID string `xml:"volumeUUID,omitempty"`
+}
+
+func init() {
+ t["HostPersistentMemoryInfo"] = reflect.TypeOf((*HostPersistentMemoryInfo)(nil)).Elem()
+}
+
type HostPlacedVirtualNicIdentifier struct {
DynamicData
Vm ManagedObjectReference `xml:"vm"`
VnicKey string `xml:"vnicKey"`
- Reservation int32 `xml:"reservation,omitempty"`
+ Reservation *int32 `xml:"reservation"`
}
func init() {
@@ -22856,6 +24098,40 @@ func init() {
t["HostProfileHostBasedConfigSpec"] = reflect.TypeOf((*HostProfileHostBasedConfigSpec)(nil)).Elem()
}
+type HostProfileManagerCompositionResult struct {
+ DynamicData
+
+ Errors []LocalizableMessage `xml:"errors,omitempty"`
+ Results []HostProfileManagerCompositionResultResultElement `xml:"results,omitempty"`
+}
+
+func init() {
+ t["HostProfileManagerCompositionResult"] = reflect.TypeOf((*HostProfileManagerCompositionResult)(nil)).Elem()
+}
+
+type HostProfileManagerCompositionResultResultElement struct {
+ DynamicData
+
+ Target ManagedObjectReference `xml:"target"`
+ Status string `xml:"status"`
+ Errors []LocalizableMessage `xml:"errors,omitempty"`
+}
+
+func init() {
+ t["HostProfileManagerCompositionResultResultElement"] = reflect.TypeOf((*HostProfileManagerCompositionResultResultElement)(nil)).Elem()
+}
+
+type HostProfileManagerCompositionValidationResult struct {
+ DynamicData
+
+ Results []HostProfileManagerCompositionValidationResultResultElement `xml:"results,omitempty"`
+ Errors []LocalizableMessage `xml:"errors,omitempty"`
+}
+
+func init() {
+ t["HostProfileManagerCompositionValidationResult"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResult)(nil)).Elem()
+}
+
type HostProfileManagerCompositionValidationResultResultElement struct {
DynamicData
@@ -22898,6 +24174,23 @@ func init() {
t["HostProfileManagerHostToConfigSpecMap"] = reflect.TypeOf((*HostProfileManagerHostToConfigSpecMap)(nil)).Elem()
}
+type HostProfileResetValidationState HostProfileResetValidationStateRequestType
+
+func init() {
+ t["HostProfileResetValidationState"] = reflect.TypeOf((*HostProfileResetValidationState)(nil)).Elem()
+}
+
+type HostProfileResetValidationStateRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["HostProfileResetValidationStateRequestType"] = reflect.TypeOf((*HostProfileResetValidationStateRequestType)(nil)).Elem()
+}
+
+type HostProfileResetValidationStateResponse struct {
+}
+
type HostProfileSerializedHostProfileSpec struct {
ProfileSerializedCreateSpec
@@ -22909,6 +24202,22 @@ func init() {
t["HostProfileSerializedHostProfileSpec"] = reflect.TypeOf((*HostProfileSerializedHostProfileSpec)(nil)).Elem()
}
+type HostProfileValidationFailureInfo struct {
+ DynamicData
+
+ Name string `xml:"name"`
+ Annotation string `xml:"annotation"`
+ UpdateType string `xml:"updateType"`
+ Host *ManagedObjectReference `xml:"host,omitempty"`
+ ApplyProfile *HostApplyProfile `xml:"applyProfile,omitempty"`
+ Failures []ProfileUpdateFailedUpdateFailure `xml:"failures,omitempty"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty"`
+}
+
+func init() {
+ t["HostProfileValidationFailureInfo"] = reflect.TypeOf((*HostProfileValidationFailureInfo)(nil)).Elem()
+}
+
type HostProfilesEntityCustomizations struct {
DynamicData
}
@@ -23127,12 +24436,75 @@ func init() {
t["HostResignatureRescanResult"] = reflect.TypeOf((*HostResignatureRescanResult)(nil)).Elem()
}
+type HostRetrieveVStorageInfrastructureObjectPolicy HostRetrieveVStorageInfrastructureObjectPolicyRequestType
+
+func init() {
+ t["HostRetrieveVStorageInfrastructureObjectPolicy"] = reflect.TypeOf((*HostRetrieveVStorageInfrastructureObjectPolicy)(nil)).Elem()
+}
+
+type HostRetrieveVStorageInfrastructureObjectPolicyRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+}
+
+func init() {
+ t["HostRetrieveVStorageInfrastructureObjectPolicyRequestType"] = reflect.TypeOf((*HostRetrieveVStorageInfrastructureObjectPolicyRequestType)(nil)).Elem()
+}
+
+type HostRetrieveVStorageInfrastructureObjectPolicyResponse struct {
+ Returnval []VslmInfrastructureObjectPolicy `xml:"returnval,omitempty"`
+}
+
type HostRetrieveVStorageObject HostRetrieveVStorageObjectRequestType
func init() {
t["HostRetrieveVStorageObject"] = reflect.TypeOf((*HostRetrieveVStorageObject)(nil)).Elem()
}
+type HostRetrieveVStorageObjectMetadata HostRetrieveVStorageObjectMetadataRequestType
+
+func init() {
+ t["HostRetrieveVStorageObjectMetadata"] = reflect.TypeOf((*HostRetrieveVStorageObjectMetadata)(nil)).Elem()
+}
+
+type HostRetrieveVStorageObjectMetadataRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId *ID `xml:"snapshotId,omitempty"`
+ Prefix string `xml:"prefix,omitempty"`
+}
+
+func init() {
+ t["HostRetrieveVStorageObjectMetadataRequestType"] = reflect.TypeOf((*HostRetrieveVStorageObjectMetadataRequestType)(nil)).Elem()
+}
+
+type HostRetrieveVStorageObjectMetadataResponse struct {
+ Returnval []KeyValue `xml:"returnval,omitempty"`
+}
+
+type HostRetrieveVStorageObjectMetadataValue HostRetrieveVStorageObjectMetadataValueRequestType
+
+func init() {
+ t["HostRetrieveVStorageObjectMetadataValue"] = reflect.TypeOf((*HostRetrieveVStorageObjectMetadataValue)(nil)).Elem()
+}
+
+type HostRetrieveVStorageObjectMetadataValueRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId *ID `xml:"snapshotId,omitempty"`
+ Key string `xml:"key"`
+}
+
+func init() {
+ t["HostRetrieveVStorageObjectMetadataValueRequestType"] = reflect.TypeOf((*HostRetrieveVStorageObjectMetadataValueRequestType)(nil)).Elem()
+}
+
+type HostRetrieveVStorageObjectMetadataValueResponse struct {
+ Returnval string `xml:"returnval"`
+}
+
type HostRetrieveVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this"`
Id ID `xml:"id"`
@@ -23403,6 +24775,40 @@ func init() {
t["HostServiceTicket"] = reflect.TypeOf((*HostServiceTicket)(nil)).Elem()
}
+type HostSetVStorageObjectControlFlags HostSetVStorageObjectControlFlagsRequestType
+
+func init() {
+ t["HostSetVStorageObjectControlFlags"] = reflect.TypeOf((*HostSetVStorageObjectControlFlags)(nil)).Elem()
+}
+
+type HostSetVStorageObjectControlFlagsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ ControlFlags []string `xml:"controlFlags,omitempty"`
+}
+
+func init() {
+ t["HostSetVStorageObjectControlFlagsRequestType"] = reflect.TypeOf((*HostSetVStorageObjectControlFlagsRequestType)(nil)).Elem()
+}
+
+type HostSetVStorageObjectControlFlagsResponse struct {
+}
+
+type HostSharedGpuCapabilities struct {
+ DynamicData
+
+ Vgpu string `xml:"vgpu"`
+ DiskSnapshotSupported bool `xml:"diskSnapshotSupported"`
+ MemorySnapshotSupported bool `xml:"memorySnapshotSupported"`
+ SuspendSupported bool `xml:"suspendSupported"`
+ MigrateSupported bool `xml:"migrateSupported"`
+}
+
+func init() {
+ t["HostSharedGpuCapabilities"] = reflect.TypeOf((*HostSharedGpuCapabilities)(nil)).Elem()
+}
+
type HostShortNameInconsistentEvent struct {
HostDasEvent
@@ -23508,6 +24914,14 @@ func init() {
t["HostSpecification"] = reflect.TypeOf((*HostSpecification)(nil)).Elem()
}
+type HostSpecificationChangedEvent struct {
+ HostEvent
+}
+
+func init() {
+ t["HostSpecificationChangedEvent"] = reflect.TypeOf((*HostSpecificationChangedEvent)(nil)).Elem()
+}
+
type HostSpecificationOperationFailed struct {
VimFault
@@ -23524,6 +24938,24 @@ func init() {
t["HostSpecificationOperationFailedFault"] = reflect.TypeOf((*HostSpecificationOperationFailedFault)(nil)).Elem()
}
+type HostSpecificationRequireEvent struct {
+ HostEvent
+}
+
+func init() {
+ t["HostSpecificationRequireEvent"] = reflect.TypeOf((*HostSpecificationRequireEvent)(nil)).Elem()
+}
+
+type HostSpecificationUpdateEvent struct {
+ HostEvent
+
+ HostSpec HostSpecification `xml:"hostSpec"`
+}
+
+func init() {
+ t["HostSpecificationUpdateEvent"] = reflect.TypeOf((*HostSpecificationUpdateEvent)(nil)).Elem()
+}
+
type HostSriovConfig struct {
HostPciPassthruConfig
@@ -23677,12 +25109,33 @@ type HostSubSpecification struct {
Name string `xml:"name"`
CreatedTime time.Time `xml:"createdTime"`
Data []byte `xml:"data,omitempty"`
+ BinaryData []byte `xml:"binaryData,omitempty"`
}
func init() {
t["HostSubSpecification"] = reflect.TypeOf((*HostSubSpecification)(nil)).Elem()
}
+type HostSubSpecificationDeleteEvent struct {
+ HostEvent
+
+ SubSpecName string `xml:"subSpecName"`
+}
+
+func init() {
+ t["HostSubSpecificationDeleteEvent"] = reflect.TypeOf((*HostSubSpecificationDeleteEvent)(nil)).Elem()
+}
+
+type HostSubSpecificationUpdateEvent struct {
+ HostEvent
+
+ HostSubSpec HostSubSpecification `xml:"hostSubSpec"`
+}
+
+func init() {
+ t["HostSubSpecificationUpdateEvent"] = reflect.TypeOf((*HostSubSpecificationUpdateEvent)(nil)).Elem()
+}
+
type HostSyncFailedEvent struct {
HostEvent
@@ -23693,6 +25146,17 @@ func init() {
t["HostSyncFailedEvent"] = reflect.TypeOf((*HostSyncFailedEvent)(nil)).Elem()
}
+type HostSystemComplianceCheckState struct {
+ DynamicData
+
+ State string `xml:"state"`
+ CheckTime time.Time `xml:"checkTime"`
+}
+
+func init() {
+ t["HostSystemComplianceCheckState"] = reflect.TypeOf((*HostSystemComplianceCheckState)(nil)).Elem()
+}
+
type HostSystemHealthInfo struct {
DynamicData
@@ -23721,6 +25185,7 @@ type HostSystemInfo struct {
Model string `xml:"model"`
Uuid string `xml:"uuid"`
OtherIdentifyingInfo []HostSystemIdentificationInfo `xml:"otherIdentifyingInfo,omitempty"`
+ SerialNumber string `xml:"serialNumber,omitempty"`
}
func init() {
@@ -23737,6 +25202,17 @@ func init() {
t["HostSystemReconnectSpec"] = reflect.TypeOf((*HostSystemReconnectSpec)(nil)).Elem()
}
+type HostSystemRemediationState struct {
+ DynamicData
+
+ State string `xml:"state"`
+ OperationTime time.Time `xml:"operationTime"`
+}
+
+func init() {
+ t["HostSystemRemediationState"] = reflect.TypeOf((*HostSystemRemediationState)(nil)).Elem()
+}
+
type HostSystemResourceInfo struct {
DynamicData
@@ -23811,6 +25287,18 @@ func init() {
t["HostTargetTransport"] = reflect.TypeOf((*HostTargetTransport)(nil)).Elem()
}
+type HostTpmAttestationInfo struct {
+ DynamicData
+
+ Time time.Time `xml:"time"`
+ Status HostTpmAttestationInfoAcceptanceStatus `xml:"status"`
+ Message *LocalizableMessage `xml:"message,omitempty"`
+}
+
+func init() {
+ t["HostTpmAttestationInfo"] = reflect.TypeOf((*HostTpmAttestationInfo)(nil)).Elem()
+}
+
type HostTpmAttestationReport struct {
DynamicData
@@ -23856,7 +25344,8 @@ func init() {
type HostTpmEventDetails struct {
DynamicData
- DataHash []byte `xml:"dataHash"`
+ DataHash []byte `xml:"dataHash"`
+ DataHashMethod string `xml:"dataHashMethod,omitempty"`
}
func init() {
@@ -23974,6 +25463,28 @@ func init() {
t["HostUnresolvedVmfsVolumeResolveStatus"] = reflect.TypeOf((*HostUnresolvedVmfsVolumeResolveStatus)(nil)).Elem()
}
+type HostUpdateVStorageObjectMetadataRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ Metadata []KeyValue `xml:"metadata,omitempty"`
+ DeleteKeys []string `xml:"deleteKeys,omitempty"`
+}
+
+func init() {
+ t["HostUpdateVStorageObjectMetadataRequestType"] = reflect.TypeOf((*HostUpdateVStorageObjectMetadataRequestType)(nil)).Elem()
+}
+
+type HostUpdateVStorageObjectMetadata_Task HostUpdateVStorageObjectMetadataRequestType
+
+func init() {
+ t["HostUpdateVStorageObjectMetadata_Task"] = reflect.TypeOf((*HostUpdateVStorageObjectMetadata_Task)(nil)).Elem()
+}
+
+type HostUpdateVStorageObjectMetadata_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type HostUpgradeFailedEvent struct {
HostEvent
}
@@ -24132,6 +25643,114 @@ func init() {
t["HostVMotionNetConfig"] = reflect.TypeOf((*HostVMotionNetConfig)(nil)).Elem()
}
+type HostVStorageObjectCreateDiskFromSnapshotRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId ID `xml:"snapshotId"`
+ Name string `xml:"name"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+ Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr"`
+ Path string `xml:"path,omitempty"`
+}
+
+func init() {
+ t["HostVStorageObjectCreateDiskFromSnapshotRequestType"] = reflect.TypeOf((*HostVStorageObjectCreateDiskFromSnapshotRequestType)(nil)).Elem()
+}
+
+type HostVStorageObjectCreateDiskFromSnapshot_Task HostVStorageObjectCreateDiskFromSnapshotRequestType
+
+func init() {
+ t["HostVStorageObjectCreateDiskFromSnapshot_Task"] = reflect.TypeOf((*HostVStorageObjectCreateDiskFromSnapshot_Task)(nil)).Elem()
+}
+
+type HostVStorageObjectCreateDiskFromSnapshot_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type HostVStorageObjectCreateSnapshotRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ Description string `xml:"description"`
+}
+
+func init() {
+ t["HostVStorageObjectCreateSnapshotRequestType"] = reflect.TypeOf((*HostVStorageObjectCreateSnapshotRequestType)(nil)).Elem()
+}
+
+type HostVStorageObjectCreateSnapshot_Task HostVStorageObjectCreateSnapshotRequestType
+
+func init() {
+ t["HostVStorageObjectCreateSnapshot_Task"] = reflect.TypeOf((*HostVStorageObjectCreateSnapshot_Task)(nil)).Elem()
+}
+
+type HostVStorageObjectCreateSnapshot_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type HostVStorageObjectDeleteSnapshotRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId ID `xml:"snapshotId"`
+}
+
+func init() {
+ t["HostVStorageObjectDeleteSnapshotRequestType"] = reflect.TypeOf((*HostVStorageObjectDeleteSnapshotRequestType)(nil)).Elem()
+}
+
+type HostVStorageObjectDeleteSnapshot_Task HostVStorageObjectDeleteSnapshotRequestType
+
+func init() {
+ t["HostVStorageObjectDeleteSnapshot_Task"] = reflect.TypeOf((*HostVStorageObjectDeleteSnapshot_Task)(nil)).Elem()
+}
+
+type HostVStorageObjectDeleteSnapshot_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type HostVStorageObjectRetrieveSnapshotInfo HostVStorageObjectRetrieveSnapshotInfoRequestType
+
+func init() {
+ t["HostVStorageObjectRetrieveSnapshotInfo"] = reflect.TypeOf((*HostVStorageObjectRetrieveSnapshotInfo)(nil)).Elem()
+}
+
+type HostVStorageObjectRetrieveSnapshotInfoRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+}
+
+func init() {
+ t["HostVStorageObjectRetrieveSnapshotInfoRequestType"] = reflect.TypeOf((*HostVStorageObjectRetrieveSnapshotInfoRequestType)(nil)).Elem()
+}
+
+type HostVStorageObjectRetrieveSnapshotInfoResponse struct {
+ Returnval VStorageObjectSnapshotInfo `xml:"returnval"`
+}
+
+type HostVStorageObjectRevertRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId ID `xml:"snapshotId"`
+}
+
+func init() {
+ t["HostVStorageObjectRevertRequestType"] = reflect.TypeOf((*HostVStorageObjectRevertRequestType)(nil)).Elem()
+}
+
+type HostVStorageObjectRevert_Task HostVStorageObjectRevertRequestType
+
+func init() {
+ t["HostVStorageObjectRevert_Task"] = reflect.TypeOf((*HostVStorageObjectRevert_Task)(nil)).Elem()
+}
+
+type HostVStorageObjectRevert_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type HostVfatVolume struct {
HostFileSystemVolume
}
@@ -24198,6 +25817,7 @@ type HostVirtualNicConnection struct {
Portgroup string `xml:"portgroup,omitempty"`
DvPort *DistributedVirtualSwitchPortConnection `xml:"dvPort,omitempty"`
+ OpNetwork *HostVirtualNicOpaqueNetworkSpec `xml:"opNetwork,omitempty"`
}
func init() {
@@ -24384,13 +26004,14 @@ func init() {
type HostVmfsSpec struct {
DynamicData
- Extent HostScsiDiskPartition `xml:"extent"`
- BlockSizeMb int32 `xml:"blockSizeMb,omitempty"`
- MajorVersion int32 `xml:"majorVersion"`
- VolumeName string `xml:"volumeName"`
- BlockSize int32 `xml:"blockSize,omitempty"`
- UnmapGranularity int32 `xml:"unmapGranularity,omitempty"`
- UnmapPriority string `xml:"unmapPriority,omitempty"`
+ Extent HostScsiDiskPartition `xml:"extent"`
+ BlockSizeMb int32 `xml:"blockSizeMb,omitempty"`
+ MajorVersion int32 `xml:"majorVersion"`
+ VolumeName string `xml:"volumeName"`
+ BlockSize int32 `xml:"blockSize,omitempty"`
+ UnmapGranularity int32 `xml:"unmapGranularity,omitempty"`
+ UnmapPriority string `xml:"unmapPriority,omitempty"`
+ UnmapBandwidthSpec *VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec,omitempty"`
}
func init() {
@@ -24400,20 +26021,21 @@ func init() {
type HostVmfsVolume struct {
HostFileSystemVolume
- BlockSizeMb int32 `xml:"blockSizeMb"`
- BlockSize int32 `xml:"blockSize,omitempty"`
- UnmapGranularity int32 `xml:"unmapGranularity,omitempty"`
- UnmapPriority string `xml:"unmapPriority,omitempty"`
- MaxBlocks int32 `xml:"maxBlocks"`
- MajorVersion int32 `xml:"majorVersion"`
- Version string `xml:"version"`
- Uuid string `xml:"uuid"`
- Extent []HostScsiDiskPartition `xml:"extent"`
- VmfsUpgradable bool `xml:"vmfsUpgradable"`
- ForceMountedInfo *HostForceMountedInfo `xml:"forceMountedInfo,omitempty"`
- Ssd *bool `xml:"ssd"`
- Local *bool `xml:"local"`
- ScsiDiskType string `xml:"scsiDiskType,omitempty"`
+ BlockSizeMb int32 `xml:"blockSizeMb"`
+ BlockSize int32 `xml:"blockSize,omitempty"`
+ UnmapGranularity int32 `xml:"unmapGranularity,omitempty"`
+ UnmapPriority string `xml:"unmapPriority,omitempty"`
+ UnmapBandwidthSpec *VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec,omitempty"`
+ MaxBlocks int32 `xml:"maxBlocks"`
+ MajorVersion int32 `xml:"majorVersion"`
+ Version string `xml:"version"`
+ Uuid string `xml:"uuid"`
+ Extent []HostScsiDiskPartition `xml:"extent"`
+ VmfsUpgradable bool `xml:"vmfsUpgradable"`
+ ForceMountedInfo *HostForceMountedInfo `xml:"forceMountedInfo,omitempty"`
+ Ssd *bool `xml:"ssd"`
+ Local *bool `xml:"local"`
+ ScsiDiskType string `xml:"scsiDiskType,omitempty"`
}
func init() {
@@ -24554,6 +26176,23 @@ func init() {
t["HourlyTaskScheduler"] = reflect.TypeOf((*HourlyTaskScheduler)(nil)).Elem()
}
+type HttpFault struct {
+ VimFault
+
+ StatusCode int32 `xml:"statusCode"`
+ StatusMessage string `xml:"statusMessage"`
+}
+
+func init() {
+ t["HttpFault"] = reflect.TypeOf((*HttpFault)(nil)).Elem()
+}
+
+type HttpFaultFault HttpFault
+
+func init() {
+ t["HttpFaultFault"] = reflect.TypeOf((*HttpFaultFault)(nil)).Elem()
+}
+
type HttpNfcLeaseAbort HttpNfcLeaseAbortRequestType
func init() {
@@ -24572,6 +26211,17 @@ func init() {
type HttpNfcLeaseAbortResponse struct {
}
+type HttpNfcLeaseCapabilities struct {
+ DynamicData
+
+ PullModeSupported bool `xml:"pullModeSupported"`
+ CorsSupported bool `xml:"corsSupported"`
+}
+
+func init() {
+ t["HttpNfcLeaseCapabilities"] = reflect.TypeOf((*HttpNfcLeaseCapabilities)(nil)).Elem()
+}
+
type HttpNfcLeaseComplete HttpNfcLeaseCompleteRequestType
func init() {
@@ -24666,6 +26316,8 @@ type HttpNfcLeaseManifestEntry struct {
Key string `xml:"key"`
Sha1 string `xml:"sha1"`
+ Checksum string `xml:"checksum,omitempty"`
+ ChecksumType string `xml:"checksumType,omitempty"`
Size int64 `xml:"size"`
Disk bool `xml:"disk"`
Capacity int64 `xml:"capacity,omitempty"`
@@ -24694,6 +26346,59 @@ func init() {
type HttpNfcLeaseProgressResponse struct {
}
+type HttpNfcLeasePullFromUrlsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Files []HttpNfcLeaseSourceFile `xml:"files,omitempty"`
+}
+
+func init() {
+ t["HttpNfcLeasePullFromUrlsRequestType"] = reflect.TypeOf((*HttpNfcLeasePullFromUrlsRequestType)(nil)).Elem()
+}
+
+type HttpNfcLeasePullFromUrls_Task HttpNfcLeasePullFromUrlsRequestType
+
+func init() {
+ t["HttpNfcLeasePullFromUrls_Task"] = reflect.TypeOf((*HttpNfcLeasePullFromUrls_Task)(nil)).Elem()
+}
+
+type HttpNfcLeasePullFromUrls_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type HttpNfcLeaseSetManifestChecksumType HttpNfcLeaseSetManifestChecksumTypeRequestType
+
+func init() {
+ t["HttpNfcLeaseSetManifestChecksumType"] = reflect.TypeOf((*HttpNfcLeaseSetManifestChecksumType)(nil)).Elem()
+}
+
+type HttpNfcLeaseSetManifestChecksumTypeRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ DeviceUrlsToChecksumTypes []KeyValue `xml:"deviceUrlsToChecksumTypes,omitempty"`
+}
+
+func init() {
+ t["HttpNfcLeaseSetManifestChecksumTypeRequestType"] = reflect.TypeOf((*HttpNfcLeaseSetManifestChecksumTypeRequestType)(nil)).Elem()
+}
+
+type HttpNfcLeaseSetManifestChecksumTypeResponse struct {
+}
+
+type HttpNfcLeaseSourceFile struct {
+ DynamicData
+
+ TargetDeviceId string `xml:"targetDeviceId"`
+ Url string `xml:"url"`
+ MemberName string `xml:"memberName,omitempty"`
+ Create bool `xml:"create"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty"`
+ HttpHeaders []KeyValue `xml:"httpHeaders,omitempty"`
+ Size int64 `xml:"size,omitempty"`
+}
+
+func init() {
+ t["HttpNfcLeaseSourceFile"] = reflect.TypeOf((*HttpNfcLeaseSourceFile)(nil)).Elem()
+}
+
type ID struct {
DynamicData
@@ -25278,6 +26983,25 @@ func init() {
type InstallSmartCardTrustAnchorResponse struct {
}
+type InstantCloneRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Spec VirtualMachineInstantCloneSpec `xml:"spec"`
+}
+
+func init() {
+ t["InstantCloneRequestType"] = reflect.TypeOf((*InstantCloneRequestType)(nil)).Elem()
+}
+
+type InstantClone_Task InstantCloneRequestType
+
+func init() {
+ t["InstantClone_Task"] = reflect.TypeOf((*InstantClone_Task)(nil)).Elem()
+}
+
+type InstantClone_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type InsufficientAgentVmsDeployed struct {
InsufficientResourcesFault
@@ -26983,6 +28707,22 @@ func init() {
t["KeyAnyValue"] = reflect.TypeOf((*KeyAnyValue)(nil)).Elem()
}
+type KeyNotFound struct {
+ VimFault
+
+ Key string `xml:"key"`
+}
+
+func init() {
+ t["KeyNotFound"] = reflect.TypeOf((*KeyNotFound)(nil)).Elem()
+}
+
+type KeyNotFoundFault KeyNotFound
+
+func init() {
+ t["KeyNotFoundFault"] = reflect.TypeOf((*KeyNotFoundFault)(nil)).Elem()
+}
+
type KeyProviderId struct {
DynamicData
@@ -27456,7 +29196,7 @@ type LimitExceeded struct {
VimFault
Property string `xml:"property,omitempty"`
- Limit int32 `xml:"limit,omitempty"`
+ Limit *int32 `xml:"limit"`
}
func init() {
@@ -27624,7 +29364,7 @@ func init() {
type ListKeysRequestType struct {
This ManagedObjectReference `xml:"_this"`
- Limit int32 `xml:"limit,omitempty"`
+ Limit *int32 `xml:"limit"`
}
func init() {
@@ -27643,7 +29383,7 @@ func init() {
type ListKmipServersRequestType struct {
This ManagedObjectReference `xml:"_this"`
- Limit int32 `xml:"limit,omitempty"`
+ Limit *int32 `xml:"limit"`
}
func init() {
@@ -28395,6 +30135,45 @@ func init() {
type MarkForRemovalResponse struct {
}
+type MarkPerenniallyReserved MarkPerenniallyReservedRequestType
+
+func init() {
+ t["MarkPerenniallyReserved"] = reflect.TypeOf((*MarkPerenniallyReserved)(nil)).Elem()
+}
+
+type MarkPerenniallyReservedExRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ LunUuid []string `xml:"lunUuid,omitempty"`
+ State bool `xml:"state"`
+}
+
+func init() {
+ t["MarkPerenniallyReservedExRequestType"] = reflect.TypeOf((*MarkPerenniallyReservedExRequestType)(nil)).Elem()
+}
+
+type MarkPerenniallyReservedEx_Task MarkPerenniallyReservedExRequestType
+
+func init() {
+ t["MarkPerenniallyReservedEx_Task"] = reflect.TypeOf((*MarkPerenniallyReservedEx_Task)(nil)).Elem()
+}
+
+type MarkPerenniallyReservedEx_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type MarkPerenniallyReservedRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ LunUuid string `xml:"lunUuid"`
+ State bool `xml:"state"`
+}
+
+func init() {
+ t["MarkPerenniallyReservedRequestType"] = reflect.TypeOf((*MarkPerenniallyReservedRequestType)(nil)).Elem()
+}
+
+type MarkPerenniallyReservedResponse struct {
+}
+
type MemoryFileFormatNotSupportedByDatastore struct {
UnsupportedDatastore
@@ -29452,7 +31231,7 @@ func init() {
type NamespaceLimitReached struct {
VimFault
- Limit int32 `xml:"limit,omitempty"`
+ Limit *int32 `xml:"limit"`
}
func init() {
@@ -29904,6 +31683,7 @@ type NetworkProfile struct {
Dvswitch []DvsProfile `xml:"dvswitch,omitempty"`
DvsServiceConsoleNic []DvsServiceConsoleVNicProfile `xml:"dvsServiceConsoleNic,omitempty"`
DvsHostNic []DvsHostVNicProfile `xml:"dvsHostNic,omitempty"`
+ NsxHostNic []NsxHostVNicProfile `xml:"nsxHostNic,omitempty"`
NetStackInstance []NetStackInstanceProfile `xml:"netStackInstance,omitempty"`
}
@@ -29936,7 +31716,7 @@ type NetworkSummary struct {
Network *ManagedObjectReference `xml:"network,omitempty"`
Name string `xml:"name"`
Accessible bool `xml:"accessible"`
- IpPoolName string `xml:"ipPoolName,omitempty"`
+ IpPoolName string `xml:"ipPoolName"`
IpPoolId int32 `xml:"ipPoolId,omitempty"`
}
@@ -30814,6 +32594,17 @@ func init() {
t["NotUserConfigurablePropertyFault"] = reflect.TypeOf((*NotUserConfigurablePropertyFault)(nil)).Elem()
}
+type NsxHostVNicProfile struct {
+ ApplyProfile
+
+ Key string `xml:"key"`
+ IpConfig IpAddressProfile `xml:"ipConfig"`
+}
+
+func init() {
+ t["NsxHostVNicProfile"] = reflect.TypeOf((*NsxHostVNicProfile)(nil)).Elem()
+}
+
type NumPortsProfile struct {
ApplyProfile
}
@@ -30900,6 +32691,189 @@ func init() {
t["NumericRange"] = reflect.TypeOf((*NumericRange)(nil)).Elem()
}
+type NvdimmDimmInfo struct {
+ DynamicData
+
+ DimmHandle int32 `xml:"dimmHandle"`
+ HealthInfo NvdimmHealthInfo `xml:"healthInfo"`
+ TotalCapacity int64 `xml:"totalCapacity"`
+ PersistentCapacity int64 `xml:"persistentCapacity"`
+ AvailablePersistentCapacity int64 `xml:"availablePersistentCapacity"`
+ VolatileCapacity int64 `xml:"volatileCapacity"`
+ AvailableVolatileCapacity int64 `xml:"availableVolatileCapacity"`
+ BlockCapacity int64 `xml:"blockCapacity"`
+ RegionInfo []NvdimmRegionInfo `xml:"regionInfo,omitempty"`
+ RepresentationString string `xml:"representationString"`
+}
+
+func init() {
+ t["NvdimmDimmInfo"] = reflect.TypeOf((*NvdimmDimmInfo)(nil)).Elem()
+}
+
+type NvdimmGuid struct {
+ DynamicData
+
+ Uuid string `xml:"uuid"`
+}
+
+func init() {
+ t["NvdimmGuid"] = reflect.TypeOf((*NvdimmGuid)(nil)).Elem()
+}
+
+type NvdimmHealthInfo struct {
+ DynamicData
+
+ HealthStatus string `xml:"healthStatus"`
+ HealthInformation string `xml:"healthInformation"`
+ StateFlagInfo []string `xml:"stateFlagInfo,omitempty"`
+ DimmTemperature int32 `xml:"dimmTemperature"`
+ DimmTemperatureThreshold int32 `xml:"dimmTemperatureThreshold"`
+ SpareBlocksPercentage int32 `xml:"spareBlocksPercentage"`
+ SpareBlockThreshold int32 `xml:"spareBlockThreshold"`
+ DimmLifespanPercentage int32 `xml:"dimmLifespanPercentage"`
+ EsTemperature int32 `xml:"esTemperature,omitempty"`
+ EsTemperatureThreshold int32 `xml:"esTemperatureThreshold,omitempty"`
+ EsLifespanPercentage int32 `xml:"esLifespanPercentage,omitempty"`
+}
+
+func init() {
+ t["NvdimmHealthInfo"] = reflect.TypeOf((*NvdimmHealthInfo)(nil)).Elem()
+}
+
+type NvdimmInterleaveSetInfo struct {
+ DynamicData
+
+ SetId int32 `xml:"setId"`
+ RangeType string `xml:"rangeType"`
+ BaseAddress int64 `xml:"baseAddress"`
+ Size int64 `xml:"size"`
+ AvailableSize int64 `xml:"availableSize"`
+ DeviceList []int32 `xml:"deviceList,omitempty"`
+ State string `xml:"state"`
+}
+
+func init() {
+ t["NvdimmInterleaveSetInfo"] = reflect.TypeOf((*NvdimmInterleaveSetInfo)(nil)).Elem()
+}
+
+type NvdimmNamespaceCreateSpec struct {
+ DynamicData
+
+ FriendlyName string `xml:"friendlyName,omitempty"`
+ BlockSize int64 `xml:"blockSize"`
+ BlockCount int64 `xml:"blockCount"`
+ Type string `xml:"type"`
+ LocationID int32 `xml:"locationID"`
+}
+
+func init() {
+ t["NvdimmNamespaceCreateSpec"] = reflect.TypeOf((*NvdimmNamespaceCreateSpec)(nil)).Elem()
+}
+
+type NvdimmNamespaceDeleteSpec struct {
+ DynamicData
+
+ Uuid string `xml:"uuid"`
+}
+
+func init() {
+ t["NvdimmNamespaceDeleteSpec"] = reflect.TypeOf((*NvdimmNamespaceDeleteSpec)(nil)).Elem()
+}
+
+type NvdimmNamespaceDetails struct {
+ DynamicData
+
+ Uuid string `xml:"uuid"`
+ FriendlyName string `xml:"friendlyName"`
+ Size int64 `xml:"size"`
+ Type string `xml:"type"`
+ NamespaceHealthStatus string `xml:"namespaceHealthStatus"`
+ InterleavesetID int32 `xml:"interleavesetID"`
+ State string `xml:"state"`
+}
+
+func init() {
+ t["NvdimmNamespaceDetails"] = reflect.TypeOf((*NvdimmNamespaceDetails)(nil)).Elem()
+}
+
+type NvdimmNamespaceInfo struct {
+ DynamicData
+
+ Uuid string `xml:"uuid"`
+ FriendlyName string `xml:"friendlyName"`
+ BlockSize int64 `xml:"blockSize"`
+ BlockCount int64 `xml:"blockCount"`
+ Type string `xml:"type"`
+ NamespaceHealthStatus string `xml:"namespaceHealthStatus"`
+ LocationID int32 `xml:"locationID"`
+ State string `xml:"state"`
+}
+
+func init() {
+ t["NvdimmNamespaceInfo"] = reflect.TypeOf((*NvdimmNamespaceInfo)(nil)).Elem()
+}
+
+type NvdimmPMemNamespaceCreateSpec struct {
+ DynamicData
+
+ FriendlyName string `xml:"friendlyName,omitempty"`
+ Size int64 `xml:"size"`
+ InterleavesetID int32 `xml:"interleavesetID"`
+}
+
+func init() {
+ t["NvdimmPMemNamespaceCreateSpec"] = reflect.TypeOf((*NvdimmPMemNamespaceCreateSpec)(nil)).Elem()
+}
+
+type NvdimmRegionInfo struct {
+ DynamicData
+
+ RegionId int32 `xml:"regionId"`
+ SetId int32 `xml:"setId"`
+ RangeType string `xml:"rangeType"`
+ StartAddr int64 `xml:"startAddr"`
+ Size int64 `xml:"size"`
+ Offset int64 `xml:"offset"`
+}
+
+func init() {
+ t["NvdimmRegionInfo"] = reflect.TypeOf((*NvdimmRegionInfo)(nil)).Elem()
+}
+
+type NvdimmSummary struct {
+ DynamicData
+
+ NumDimms int32 `xml:"numDimms"`
+ HealthStatus string `xml:"healthStatus"`
+ TotalCapacity int64 `xml:"totalCapacity"`
+ PersistentCapacity int64 `xml:"persistentCapacity"`
+ BlockCapacity int64 `xml:"blockCapacity"`
+ AvailableCapacity int64 `xml:"availableCapacity"`
+ NumInterleavesets int32 `xml:"numInterleavesets"`
+ NumNamespaces int32 `xml:"numNamespaces"`
+}
+
+func init() {
+ t["NvdimmSummary"] = reflect.TypeOf((*NvdimmSummary)(nil)).Elem()
+}
+
+type NvdimmSystemInfo struct {
+ DynamicData
+
+ Summary *NvdimmSummary `xml:"summary,omitempty"`
+ Dimms []int32 `xml:"dimms,omitempty"`
+ DimmInfo []NvdimmDimmInfo `xml:"dimmInfo,omitempty"`
+ InterleaveSet []int32 `xml:"interleaveSet,omitempty"`
+ ISetInfo []NvdimmInterleaveSetInfo `xml:"iSetInfo,omitempty"`
+ Namespace []NvdimmGuid `xml:"namespace,omitempty"`
+ NsInfo []NvdimmNamespaceInfo `xml:"nsInfo,omitempty"`
+ NsDetails []NvdimmNamespaceDetails `xml:"nsDetails,omitempty"`
+}
+
+func init() {
+ t["NvdimmSystemInfo"] = reflect.TypeOf((*NvdimmSystemInfo)(nil)).Elem()
+}
+
type ObjectContent struct {
DynamicData
@@ -32640,6 +34614,16 @@ func init() {
t["OvfXmlFormatFault"] = reflect.TypeOf((*OvfXmlFormatFault)(nil)).Elem()
}
+type PMemDatastoreInfo struct {
+ DatastoreInfo
+
+ Pmem HostPMemVolume `xml:"pmem"`
+}
+
+func init() {
+ t["PMemDatastoreInfo"] = reflect.TypeOf((*PMemDatastoreInfo)(nil)).Elem()
+}
+
type ParaVirtualSCSIController struct {
VirtualSCSIController
}
@@ -32696,6 +34680,20 @@ func init() {
t["PassiveNodeNetworkSpec"] = reflect.TypeOf((*PassiveNodeNetworkSpec)(nil)).Elem()
}
+type PasswordExpired struct {
+ InvalidLogin
+}
+
+func init() {
+ t["PasswordExpired"] = reflect.TypeOf((*PasswordExpired)(nil)).Elem()
+}
+
+type PasswordExpiredFault PasswordExpired
+
+func init() {
+ t["PasswordExpiredFault"] = reflect.TypeOf((*PasswordExpiredFault)(nil)).Elem()
+}
+
type PasswordField struct {
DynamicData
@@ -33214,6 +35212,7 @@ type PhysicalNic struct {
ResourcePoolSchedulerAllowed *bool `xml:"resourcePoolSchedulerAllowed"`
ResourcePoolSchedulerDisallowedReason []string `xml:"resourcePoolSchedulerDisallowedReason,omitempty"`
AutoNegotiateSupported *bool `xml:"autoNegotiateSupported"`
+ EnhancedNetworkingStackSupported *bool `xml:"enhancedNetworkingStackSupported"`
}
func init() {
@@ -33343,8 +35342,9 @@ func init() {
type PhysicalNicSpec struct {
DynamicData
- Ip *HostIpConfig `xml:"ip,omitempty"`
- LinkSpeed *PhysicalNicLinkInfo `xml:"linkSpeed,omitempty"`
+ Ip *HostIpConfig `xml:"ip,omitempty"`
+ LinkSpeed *PhysicalNicLinkInfo `xml:"linkSpeed,omitempty"`
+ EnableEnhancedNetworkingStack *bool `xml:"enableEnhancedNetworkingStack"`
}
func init() {
@@ -34031,18 +36031,30 @@ func init() {
type ProfileMetadata struct {
DynamicData
- Key string `xml:"key"`
- ProfileTypeName string `xml:"profileTypeName,omitempty"`
- Description *ExtendedDescription `xml:"description,omitempty"`
- SortSpec []ProfileMetadataProfileSortSpec `xml:"sortSpec,omitempty"`
- ProfileCategory string `xml:"profileCategory,omitempty"`
- ProfileComponent string `xml:"profileComponent,omitempty"`
+ Key string `xml:"key"`
+ ProfileTypeName string `xml:"profileTypeName,omitempty"`
+ Description *ExtendedDescription `xml:"description,omitempty"`
+ SortSpec []ProfileMetadataProfileSortSpec `xml:"sortSpec,omitempty"`
+ ProfileCategory string `xml:"profileCategory,omitempty"`
+ ProfileComponent string `xml:"profileComponent,omitempty"`
+ OperationMessages []ProfileMetadataProfileOperationMessage `xml:"operationMessages,omitempty"`
}
func init() {
t["ProfileMetadata"] = reflect.TypeOf((*ProfileMetadata)(nil)).Elem()
}
+type ProfileMetadataProfileOperationMessage struct {
+ DynamicData
+
+ OperationName string `xml:"operationName"`
+ Message LocalizableMessage `xml:"message"`
+}
+
+func init() {
+ t["ProfileMetadataProfileOperationMessage"] = reflect.TypeOf((*ProfileMetadataProfileOperationMessage)(nil)).Elem()
+}
+
type ProfileMetadataProfileSortSpec struct {
DynamicData
@@ -34057,19 +36069,34 @@ func init() {
type ProfileParameterMetadata struct {
DynamicData
- Id ExtendedElementDescription `xml:"id"`
- Type string `xml:"type"`
- Optional bool `xml:"optional"`
- DefaultValue AnyType `xml:"defaultValue,omitempty,typeattr"`
- Hidden *bool `xml:"hidden"`
- SecuritySensitive *bool `xml:"securitySensitive"`
- ReadOnly *bool `xml:"readOnly"`
+ Id ExtendedElementDescription `xml:"id"`
+ Type string `xml:"type"`
+ Optional bool `xml:"optional"`
+ DefaultValue AnyType `xml:"defaultValue,omitempty,typeattr"`
+ Hidden *bool `xml:"hidden"`
+ SecuritySensitive *bool `xml:"securitySensitive"`
+ ReadOnly *bool `xml:"readOnly"`
+ ParameterRelations []ProfileParameterMetadataParameterRelationMetadata `xml:"parameterRelations,omitempty"`
}
func init() {
t["ProfileParameterMetadata"] = reflect.TypeOf((*ProfileParameterMetadata)(nil)).Elem()
}
+type ProfileParameterMetadataParameterRelationMetadata struct {
+ DynamicData
+
+ RelationTypes []string `xml:"relationTypes,omitempty"`
+ Values []AnyType `xml:"values,omitempty,typeattr"`
+ Path *ProfilePropertyPath `xml:"path,omitempty"`
+ MinCount int32 `xml:"minCount"`
+ MaxCount int32 `xml:"maxCount"`
+}
+
+func init() {
+ t["ProfileParameterMetadataParameterRelationMetadata"] = reflect.TypeOf((*ProfileParameterMetadataParameterRelationMetadata)(nil)).Elem()
+}
+
type ProfilePolicy struct {
DynamicData
@@ -34129,9 +36156,10 @@ func init() {
type ProfilePropertyPath struct {
DynamicData
- ProfilePath string `xml:"profilePath"`
- PolicyId string `xml:"policyId,omitempty"`
- ParameterId string `xml:"parameterId,omitempty"`
+ ProfilePath string `xml:"profilePath"`
+ PolicyId string `xml:"policyId,omitempty"`
+ ParameterId string `xml:"parameterId,omitempty"`
+ PolicyOptionId string `xml:"policyOptionId,omitempty"`
}
func init() {
@@ -34182,7 +36210,8 @@ func init() {
type ProfileUpdateFailed struct {
VimFault
- Failure []ProfileUpdateFailedUpdateFailure `xml:"failure"`
+ Failure []ProfileUpdateFailedUpdateFailure `xml:"failure"`
+ Warnings []ProfileUpdateFailedUpdateFailure `xml:"warnings,omitempty"`
}
func init() {
@@ -34231,7 +36260,7 @@ type PropertyChange struct {
Name string `xml:"name"`
Op PropertyChangeOp `xml:"op"`
- Val AnyType `xml:"val,omitempty,typeattr"`
+ Val AnyType `xml:"val,typeattr"`
}
func init() {
@@ -34345,7 +36374,7 @@ func init() {
}
type QueryAssignedLicensesResponse struct {
- Returnval []LicenseAssignmentManagerLicenseAssignment `xml:"returnval"`
+ Returnval []LicenseAssignmentManagerLicenseAssignment `xml:"returnval,omitempty"`
}
type QueryAvailableDisksForVmfs QueryAvailableDisksForVmfsRequestType
@@ -34759,6 +36788,26 @@ type QueryConnectionInfoViaSpecResponse struct {
Returnval HostConnectInfo `xml:"returnval"`
}
+type QueryCryptoKeyStatus QueryCryptoKeyStatusRequestType
+
+func init() {
+ t["QueryCryptoKeyStatus"] = reflect.TypeOf((*QueryCryptoKeyStatus)(nil)).Elem()
+}
+
+type QueryCryptoKeyStatusRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ KeyIds []CryptoKeyId `xml:"keyIds,omitempty"`
+ CheckKeyBitMap int32 `xml:"checkKeyBitMap"`
+}
+
+func init() {
+ t["QueryCryptoKeyStatusRequestType"] = reflect.TypeOf((*QueryCryptoKeyStatusRequestType)(nil)).Elem()
+}
+
+type QueryCryptoKeyStatusResponse struct {
+ Returnval []CryptoManagerKmipCryptoKeyStatus `xml:"returnval,omitempty"`
+}
+
type QueryDatastorePerformanceSummary QueryDatastorePerformanceSummaryRequestType
func init() {
@@ -35254,6 +37303,25 @@ type QueryHostStatusResponse struct {
Returnval VsanHostClusterStatus `xml:"returnval"`
}
+type QueryHostsWithAttachedLun QueryHostsWithAttachedLunRequestType
+
+func init() {
+ t["QueryHostsWithAttachedLun"] = reflect.TypeOf((*QueryHostsWithAttachedLun)(nil)).Elem()
+}
+
+type QueryHostsWithAttachedLunRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ LunUuid string `xml:"lunUuid"`
+}
+
+func init() {
+ t["QueryHostsWithAttachedLunRequestType"] = reflect.TypeOf((*QueryHostsWithAttachedLunRequestType)(nil)).Elem()
+}
+
+type QueryHostsWithAttachedLunResponse struct {
+ Returnval []ManagedObjectReference `xml:"returnval,omitempty"`
+}
+
type QueryIORMConfigOption QueryIORMConfigOptionRequestType
func init() {
@@ -35828,6 +37896,24 @@ type QueryPolicyMetadataResponse struct {
Returnval []ProfilePolicyMetadata `xml:"returnval,omitempty"`
}
+type QueryProductLockerLocation QueryProductLockerLocationRequestType
+
+func init() {
+ t["QueryProductLockerLocation"] = reflect.TypeOf((*QueryProductLockerLocation)(nil)).Elem()
+}
+
+type QueryProductLockerLocationRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["QueryProductLockerLocationRequestType"] = reflect.TypeOf((*QueryProductLockerLocationRequestType)(nil)).Elem()
+}
+
+type QueryProductLockerLocationResponse struct {
+ Returnval string `xml:"returnval"`
+}
+
type QueryProfileStructure QueryProfileStructureRequestType
func init() {
@@ -36332,7 +38418,7 @@ func init() {
type QueryVsanObjectUuidsByFilterRequestType struct {
This ManagedObjectReference `xml:"_this"`
Uuids []string `xml:"uuids,omitempty"`
- Limit int32 `xml:"limit,omitempty"`
+ Limit *int32 `xml:"limit"`
Version int32 `xml:"version,omitempty"`
}
@@ -37403,6 +39489,25 @@ func init() {
type RefreshStorageDrsRecommendationResponse struct {
}
+type RefreshStorageDrsRecommendationsForPodRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Pod ManagedObjectReference `xml:"pod"`
+}
+
+func init() {
+ t["RefreshStorageDrsRecommendationsForPodRequestType"] = reflect.TypeOf((*RefreshStorageDrsRecommendationsForPodRequestType)(nil)).Elem()
+}
+
+type RefreshStorageDrsRecommendationsForPod_Task RefreshStorageDrsRecommendationsForPodRequestType
+
+func init() {
+ t["RefreshStorageDrsRecommendationsForPod_Task"] = reflect.TypeOf((*RefreshStorageDrsRecommendationsForPod_Task)(nil)).Elem()
+}
+
+type RefreshStorageDrsRecommendationsForPod_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type RefreshStorageInfo RefreshStorageInfoRequestType
func init() {
@@ -38530,16 +40635,20 @@ func init() {
type ReplicationConfigSpec struct {
DynamicData
- Generation int64 `xml:"generation"`
- VmReplicationId string `xml:"vmReplicationId"`
- Destination string `xml:"destination"`
- Port int32 `xml:"port"`
- Rpo int64 `xml:"rpo"`
- QuiesceGuestEnabled bool `xml:"quiesceGuestEnabled"`
- Paused bool `xml:"paused"`
- OppUpdatesEnabled bool `xml:"oppUpdatesEnabled"`
- NetCompressionEnabled *bool `xml:"netCompressionEnabled"`
- Disk []ReplicationInfoDiskSettings `xml:"disk,omitempty"`
+ Generation int64 `xml:"generation"`
+ VmReplicationId string `xml:"vmReplicationId"`
+ Destination string `xml:"destination"`
+ Port int32 `xml:"port"`
+ Rpo int64 `xml:"rpo"`
+ QuiesceGuestEnabled bool `xml:"quiesceGuestEnabled"`
+ Paused bool `xml:"paused"`
+ OppUpdatesEnabled bool `xml:"oppUpdatesEnabled"`
+ NetCompressionEnabled *bool `xml:"netCompressionEnabled"`
+ NetEncryptionEnabled *bool `xml:"netEncryptionEnabled"`
+ EncryptionDestination string `xml:"encryptionDestination,omitempty"`
+ EncryptionPort int32 `xml:"encryptionPort,omitempty"`
+ RemoteCertificateThumbprint string `xml:"remoteCertificateThumbprint,omitempty"`
+ Disk []ReplicationInfoDiskSettings `xml:"disk,omitempty"`
}
func init() {
@@ -39065,11 +41174,11 @@ type ResolveMultipleUnresolvedVmfsVolumesResponse struct {
type ResourceAllocationInfo struct {
DynamicData
- Reservation int64 `xml:"reservation,omitempty"`
+ Reservation *int64 `xml:"reservation"`
ExpandableReservation *bool `xml:"expandableReservation"`
- Limit int64 `xml:"limit,omitempty"`
+ Limit *int64 `xml:"limit"`
Shares *SharesInfo `xml:"shares,omitempty"`
- OverheadLimit int64 `xml:"overheadLimit,omitempty"`
+ OverheadLimit *int64 `xml:"overheadLimit"`
}
func init() {
@@ -39100,11 +41209,11 @@ func init() {
type ResourceConfigSpec struct {
DynamicData
- Entity *ManagedObjectReference `xml:"entity,omitempty"`
- ChangeVersion string `xml:"changeVersion,omitempty"`
- LastModified *time.Time `xml:"lastModified"`
- CpuAllocation BaseResourceAllocationInfo `xml:"cpuAllocation,typeattr"`
- MemoryAllocation BaseResourceAllocationInfo `xml:"memoryAllocation,typeattr"`
+ Entity *ManagedObjectReference `xml:"entity,omitempty"`
+ ChangeVersion string `xml:"changeVersion,omitempty"`
+ LastModified *time.Time `xml:"lastModified"`
+ CpuAllocation ResourceAllocationInfo `xml:"cpuAllocation"`
+ MemoryAllocation ResourceAllocationInfo `xml:"memoryAllocation"`
}
func init() {
@@ -39857,6 +41966,26 @@ type RetrieveServiceContentResponse struct {
Returnval ServiceContent `xml:"returnval"`
}
+type RetrieveSnapshotInfo RetrieveSnapshotInfoRequestType
+
+func init() {
+ t["RetrieveSnapshotInfo"] = reflect.TypeOf((*RetrieveSnapshotInfo)(nil)).Elem()
+}
+
+type RetrieveSnapshotInfoRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+}
+
+func init() {
+ t["RetrieveSnapshotInfoRequestType"] = reflect.TypeOf((*RetrieveSnapshotInfoRequestType)(nil)).Elem()
+}
+
+type RetrieveSnapshotInfoResponse struct {
+ Returnval VStorageObjectSnapshotInfo `xml:"returnval"`
+}
+
type RetrieveUserGroups RetrieveUserGroupsRequestType
func init() {
@@ -39882,12 +42011,61 @@ type RetrieveUserGroupsResponse struct {
Returnval []BaseUserSearchResult `xml:"returnval,omitempty,typeattr"`
}
+type RetrieveVStorageInfrastructureObjectPolicy RetrieveVStorageInfrastructureObjectPolicyRequestType
+
+func init() {
+ t["RetrieveVStorageInfrastructureObjectPolicy"] = reflect.TypeOf((*RetrieveVStorageInfrastructureObjectPolicy)(nil)).Elem()
+}
+
+type RetrieveVStorageInfrastructureObjectPolicyRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+}
+
+func init() {
+ t["RetrieveVStorageInfrastructureObjectPolicyRequestType"] = reflect.TypeOf((*RetrieveVStorageInfrastructureObjectPolicyRequestType)(nil)).Elem()
+}
+
+type RetrieveVStorageInfrastructureObjectPolicyResponse struct {
+ Returnval []VslmInfrastructureObjectPolicy `xml:"returnval,omitempty"`
+}
+
+type RetrieveVStorageObjSpec struct {
+ DynamicData
+
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+}
+
+func init() {
+ t["RetrieveVStorageObjSpec"] = reflect.TypeOf((*RetrieveVStorageObjSpec)(nil)).Elem()
+}
+
type RetrieveVStorageObject RetrieveVStorageObjectRequestType
func init() {
t["RetrieveVStorageObject"] = reflect.TypeOf((*RetrieveVStorageObject)(nil)).Elem()
}
+type RetrieveVStorageObjectAssociations RetrieveVStorageObjectAssociationsRequestType
+
+func init() {
+ t["RetrieveVStorageObjectAssociations"] = reflect.TypeOf((*RetrieveVStorageObjectAssociations)(nil)).Elem()
+}
+
+type RetrieveVStorageObjectAssociationsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Ids []RetrieveVStorageObjSpec `xml:"ids,omitempty"`
+}
+
+func init() {
+ t["RetrieveVStorageObjectAssociationsRequestType"] = reflect.TypeOf((*RetrieveVStorageObjectAssociationsRequestType)(nil)).Elem()
+}
+
+type RetrieveVStorageObjectAssociationsResponse struct {
+ Returnval []VStorageObjectAssociations `xml:"returnval,omitempty"`
+}
+
type RetrieveVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this"`
Id ID `xml:"id"`
@@ -39962,6 +42140,27 @@ type RevertToSnapshot_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+type RevertVStorageObjectRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ SnapshotId ID `xml:"snapshotId"`
+}
+
+func init() {
+ t["RevertVStorageObjectRequestType"] = reflect.TypeOf((*RevertVStorageObjectRequestType)(nil)).Elem()
+}
+
+type RevertVStorageObject_Task RevertVStorageObjectRequestType
+
+func init() {
+ t["RevertVStorageObject_Task"] = reflect.TypeOf((*RevertVStorageObject_Task)(nil)).Elem()
+}
+
+type RevertVStorageObject_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type RewindCollector RewindCollectorRequestType
func init() {
@@ -40147,6 +42346,14 @@ func init() {
t["SAMLTokenAuthentication"] = reflect.TypeOf((*SAMLTokenAuthentication)(nil)).Elem()
}
+type SDDCBase struct {
+ DynamicData
+}
+
+func init() {
+ t["SDDCBase"] = reflect.TypeOf((*SDDCBase)(nil)).Elem()
+}
+
type SSLDisabledFault struct {
HostConnectFault
}
@@ -40433,25 +42640,26 @@ func init() {
type ScsiLun struct {
HostDevice
- Key string `xml:"key,omitempty"`
- Uuid string `xml:"uuid"`
- Descriptor []ScsiLunDescriptor `xml:"descriptor,omitempty"`
- CanonicalName string `xml:"canonicalName,omitempty"`
- DisplayName string `xml:"displayName,omitempty"`
- LunType string `xml:"lunType"`
- Vendor string `xml:"vendor,omitempty"`
- Model string `xml:"model,omitempty"`
- Revision string `xml:"revision,omitempty"`
- ScsiLevel int32 `xml:"scsiLevel,omitempty"`
- SerialNumber string `xml:"serialNumber,omitempty"`
- DurableName *ScsiLunDurableName `xml:"durableName,omitempty"`
- AlternateName []ScsiLunDurableName `xml:"alternateName,omitempty"`
- StandardInquiry []byte `xml:"standardInquiry,omitempty"`
- QueueDepth int32 `xml:"queueDepth,omitempty"`
- OperationalState []string `xml:"operationalState"`
- Capabilities *ScsiLunCapabilities `xml:"capabilities,omitempty"`
- VStorageSupport string `xml:"vStorageSupport,omitempty"`
- ProtocolEndpoint *bool `xml:"protocolEndpoint"`
+ Key string `xml:"key,omitempty"`
+ Uuid string `xml:"uuid"`
+ Descriptor []ScsiLunDescriptor `xml:"descriptor,omitempty"`
+ CanonicalName string `xml:"canonicalName,omitempty"`
+ DisplayName string `xml:"displayName,omitempty"`
+ LunType string `xml:"lunType"`
+ Vendor string `xml:"vendor,omitempty"`
+ Model string `xml:"model,omitempty"`
+ Revision string `xml:"revision,omitempty"`
+ ScsiLevel int32 `xml:"scsiLevel,omitempty"`
+ SerialNumber string `xml:"serialNumber,omitempty"`
+ DurableName *ScsiLunDurableName `xml:"durableName,omitempty"`
+ AlternateName []ScsiLunDurableName `xml:"alternateName,omitempty"`
+ StandardInquiry []byte `xml:"standardInquiry,omitempty"`
+ QueueDepth int32 `xml:"queueDepth,omitempty"`
+ OperationalState []string `xml:"operationalState"`
+ Capabilities *ScsiLunCapabilities `xml:"capabilities,omitempty"`
+ VStorageSupport string `xml:"vStorageSupport,omitempty"`
+ ProtocolEndpoint *bool `xml:"protocolEndpoint"`
+ PerenniallyReserved *bool `xml:"perenniallyReserved"`
}
func init() {
@@ -40846,6 +43054,7 @@ type ServiceContent struct {
HealthUpdateManager *ManagedObjectReference `xml:"healthUpdateManager,omitempty"`
FailoverClusterConfigurator *ManagedObjectReference `xml:"failoverClusterConfigurator,omitempty"`
FailoverClusterManager *ManagedObjectReference `xml:"failoverClusterManager,omitempty"`
+ StorageQueryManager *ManagedObjectReference `xml:"storageQueryManager,omitempty"`
}
func init() {
@@ -41273,6 +43482,26 @@ func init() {
type SetTaskStateResponse struct {
}
+type SetVStorageObjectControlFlags SetVStorageObjectControlFlagsRequestType
+
+func init() {
+ t["SetVStorageObjectControlFlags"] = reflect.TypeOf((*SetVStorageObjectControlFlags)(nil)).Elem()
+}
+
+type SetVStorageObjectControlFlagsRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ ControlFlags []string `xml:"controlFlags,omitempty"`
+}
+
+func init() {
+ t["SetVStorageObjectControlFlagsRequestType"] = reflect.TypeOf((*SetVStorageObjectControlFlagsRequestType)(nil)).Elem()
+}
+
+type SetVStorageObjectControlFlagsResponse struct {
+}
+
type SetVirtualDiskUuid SetVirtualDiskUuidRequestType
func init() {
@@ -42303,6 +44532,7 @@ type StorageDrsVmConfigInfo struct {
Behavior string `xml:"behavior,omitempty"`
IntraVmAffinity *bool `xml:"intraVmAffinity"`
IntraVmAntiAffinity *VirtualDiskAntiAffinityRuleSpec `xml:"intraVmAntiAffinity,omitempty"`
+ VirtualDiskRules []VirtualDiskRuleSpec `xml:"virtualDiskRules,omitempty"`
}
func init() {
@@ -42322,9 +44552,9 @@ func init() {
type StorageIOAllocationInfo struct {
DynamicData
- Limit int64 `xml:"limit,omitempty"`
+ Limit *int64 `xml:"limit"`
Shares *SharesInfo `xml:"shares,omitempty"`
- Reservation int32 `xml:"reservation,omitempty"`
+ Reservation *int32 `xml:"reservation"`
}
func init() {
@@ -44978,6 +47208,25 @@ func init() {
type UpdatePortGroupResponse struct {
}
+type UpdateProductLockerLocationRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Path string `xml:"path"`
+}
+
+func init() {
+ t["UpdateProductLockerLocationRequestType"] = reflect.TypeOf((*UpdateProductLockerLocationRequestType)(nil)).Elem()
+}
+
+type UpdateProductLockerLocation_Task UpdateProductLockerLocationRequestType
+
+func init() {
+ t["UpdateProductLockerLocation_Task"] = reflect.TypeOf((*UpdateProductLockerLocation_Task)(nil)).Elem()
+}
+
+type UpdateProductLockerLocation_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type UpdateProgress UpdateProgressRequestType
func init() {
@@ -45247,6 +47496,46 @@ func init() {
type UpdateVAppConfigResponse struct {
}
+type UpdateVStorageInfrastructureObjectPolicyRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Spec VslmInfrastructureObjectPolicySpec `xml:"spec"`
+}
+
+func init() {
+ t["UpdateVStorageInfrastructureObjectPolicyRequestType"] = reflect.TypeOf((*UpdateVStorageInfrastructureObjectPolicyRequestType)(nil)).Elem()
+}
+
+type UpdateVStorageInfrastructureObjectPolicy_Task UpdateVStorageInfrastructureObjectPolicyRequestType
+
+func init() {
+ t["UpdateVStorageInfrastructureObjectPolicy_Task"] = reflect.TypeOf((*UpdateVStorageInfrastructureObjectPolicy_Task)(nil)).Elem()
+}
+
+type UpdateVStorageInfrastructureObjectPolicy_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type UpdateVStorageObjectPolicyRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+}
+
+func init() {
+ t["UpdateVStorageObjectPolicyRequestType"] = reflect.TypeOf((*UpdateVStorageObjectPolicyRequestType)(nil)).Elem()
+}
+
+type UpdateVStorageObjectPolicy_Task UpdateVStorageObjectPolicyRequestType
+
+func init() {
+ t["UpdateVStorageObjectPolicy_Task"] = reflect.TypeOf((*UpdateVStorageObjectPolicy_Task)(nil)).Elem()
+}
+
+type UpdateVStorageObjectPolicy_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type UpdateVVolVirtualMachineFilesRequestType struct {
This ManagedObjectReference `xml:"_this"`
FailoverPair []DatastoreVVolContainerFailoverPair `xml:"failoverPair,omitempty"`
@@ -45344,6 +47633,25 @@ func init() {
type UpdateVirtualSwitchResponse struct {
}
+type UpdateVmfsUnmapBandwidth UpdateVmfsUnmapBandwidthRequestType
+
+func init() {
+ t["UpdateVmfsUnmapBandwidth"] = reflect.TypeOf((*UpdateVmfsUnmapBandwidth)(nil)).Elem()
+}
+
+type UpdateVmfsUnmapBandwidthRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ VmfsUuid string `xml:"vmfsUuid"`
+ UnmapBandwidthSpec VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec"`
+}
+
+func init() {
+ t["UpdateVmfsUnmapBandwidthRequestType"] = reflect.TypeOf((*UpdateVmfsUnmapBandwidthRequestType)(nil)).Elem()
+}
+
+type UpdateVmfsUnmapBandwidthResponse struct {
+}
+
type UpdateVmfsUnmapPriority UpdateVmfsUnmapPriorityRequestType
func init() {
@@ -46394,6 +48702,7 @@ type VMwareDVSPortSetting struct {
IpfixEnabled *BoolPolicy `xml:"ipfixEnabled,omitempty"`
TxUplink *BoolPolicy `xml:"txUplink,omitempty"`
LacpPolicy *VMwareUplinkLacpPolicy `xml:"lacpPolicy,omitempty"`
+ MacManagementPolicy *DVSMacManagementPolicy `xml:"macManagementPolicy,omitempty"`
}
func init() {
@@ -46407,6 +48716,7 @@ type VMwareDVSPortgroupPolicy struct {
UplinkTeamingOverrideAllowed bool `xml:"uplinkTeamingOverrideAllowed"`
SecurityPolicyOverrideAllowed bool `xml:"securityPolicyOverrideAllowed"`
IpfixOverrideAllowed *bool `xml:"ipfixOverrideAllowed"`
+ MacManagementOverrideAllowed *bool `xml:"macManagementOverrideAllowed"`
}
func init() {
@@ -46482,6 +48792,7 @@ type VMwareDVSVspanCapability struct {
RemoteDestSupported bool `xml:"remoteDestSupported"`
EncapRemoteSourceSupported bool `xml:"encapRemoteSourceSupported"`
ErspanProtocolSupported *bool `xml:"erspanProtocolSupported"`
+ MirrorNetstackSupported *bool `xml:"mirrorNetstackSupported"`
}
func init() {
@@ -46643,28 +48954,13 @@ type VMwareVspanSession struct {
ErspanId int32 `xml:"erspanId,omitempty"`
ErspanCOS int32 `xml:"erspanCOS,omitempty"`
ErspanGraNanosec *bool `xml:"erspanGraNanosec"`
+ Netstack string `xml:"netstack,omitempty"`
}
func init() {
t["VMwareVspanSession"] = reflect.TypeOf((*VMwareVspanSession)(nil)).Elem()
}
-type VRPEditSpec struct {
- DynamicData
-
- VrpId string `xml:"vrpId"`
- Description string `xml:"description,omitempty"`
- CpuAllocation *VrpResourceAllocationInfo `xml:"cpuAllocation,omitempty"`
- MemoryAllocation *VrpResourceAllocationInfo `xml:"memoryAllocation,omitempty"`
- AddedHubs []ManagedObjectReference `xml:"addedHubs,omitempty"`
- RemovedHubs []ManagedObjectReference `xml:"removedHubs,omitempty"`
- ChangeVersion int64 `xml:"changeVersion,omitempty"`
-}
-
-func init() {
- t["VRPEditSpec"] = reflect.TypeOf((*VRPEditSpec)(nil)).Elem()
-}
-
type VStorageObject struct {
DynamicData
@@ -46675,6 +48971,29 @@ func init() {
t["VStorageObject"] = reflect.TypeOf((*VStorageObject)(nil)).Elem()
}
+type VStorageObjectAssociations struct {
+ DynamicData
+
+ Id ID `xml:"id"`
+ VmDiskAssociations []VStorageObjectAssociationsVmDiskAssociations `xml:"vmDiskAssociations,omitempty"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty"`
+}
+
+func init() {
+ t["VStorageObjectAssociations"] = reflect.TypeOf((*VStorageObjectAssociations)(nil)).Elem()
+}
+
+type VStorageObjectAssociationsVmDiskAssociations struct {
+ DynamicData
+
+ VmId string `xml:"vmId"`
+ DiskKey int32 `xml:"diskKey"`
+}
+
+func init() {
+ t["VStorageObjectAssociationsVmDiskAssociations"] = reflect.TypeOf((*VStorageObjectAssociationsVmDiskAssociations)(nil)).Elem()
+}
+
type VStorageObjectConfigInfo struct {
BaseConfigInfo
@@ -46687,6 +49006,50 @@ func init() {
t["VStorageObjectConfigInfo"] = reflect.TypeOf((*VStorageObjectConfigInfo)(nil)).Elem()
}
+type VStorageObjectCreateSnapshotRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Id ID `xml:"id"`
+ Datastore ManagedObjectReference `xml:"datastore"`
+ Description string `xml:"description"`
+}
+
+func init() {
+ t["VStorageObjectCreateSnapshotRequestType"] = reflect.TypeOf((*VStorageObjectCreateSnapshotRequestType)(nil)).Elem()
+}
+
+type VStorageObjectCreateSnapshot_Task VStorageObjectCreateSnapshotRequestType
+
+func init() {
+ t["VStorageObjectCreateSnapshot_Task"] = reflect.TypeOf((*VStorageObjectCreateSnapshot_Task)(nil)).Elem()
+}
+
+type VStorageObjectCreateSnapshot_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type VStorageObjectSnapshotInfo struct {
+ DynamicData
+
+ Snapshots []VStorageObjectSnapshotInfoVStorageObjectSnapshot `xml:"snapshots,omitempty"`
+}
+
+func init() {
+ t["VStorageObjectSnapshotInfo"] = reflect.TypeOf((*VStorageObjectSnapshotInfo)(nil)).Elem()
+}
+
+type VStorageObjectSnapshotInfoVStorageObjectSnapshot struct {
+ DynamicData
+
+ Id *ID `xml:"id,omitempty"`
+ BackingObjectId string `xml:"backingObjectId,omitempty"`
+ CreateTime time.Time `xml:"createTime"`
+ Description string `xml:"description"`
+}
+
+func init() {
+ t["VStorageObjectSnapshotInfoVStorageObjectSnapshot"] = reflect.TypeOf((*VStorageObjectSnapshotInfoVStorageObjectSnapshot)(nil)).Elem()
+}
+
type VStorageObjectStateInfo struct {
DynamicData
@@ -46749,12 +49112,57 @@ func init() {
type ValidateCredentialsInGuestResponse struct {
}
+type ValidateHCIConfiguration ValidateHCIConfigurationRequestType
+
+func init() {
+ t["ValidateHCIConfiguration"] = reflect.TypeOf((*ValidateHCIConfiguration)(nil)).Elem()
+}
+
+type ValidateHCIConfigurationRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ HciConfigSpec *ClusterComputeResourceHCIConfigSpec `xml:"hciConfigSpec,omitempty"`
+ Hosts []ManagedObjectReference `xml:"hosts,omitempty"`
+}
+
+func init() {
+ t["ValidateHCIConfigurationRequestType"] = reflect.TypeOf((*ValidateHCIConfigurationRequestType)(nil)).Elem()
+}
+
+type ValidateHCIConfigurationResponse struct {
+ Returnval []BaseClusterComputeResourceValidationResultBase `xml:"returnval,omitempty,typeattr"`
+}
+
type ValidateHost ValidateHostRequestType
func init() {
t["ValidateHost"] = reflect.TypeOf((*ValidateHost)(nil)).Elem()
}
+type ValidateHostProfileCompositionRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Source ManagedObjectReference `xml:"source"`
+ Targets []ManagedObjectReference `xml:"targets,omitempty"`
+ ToBeMerged *HostApplyProfile `xml:"toBeMerged,omitempty"`
+ ToReplaceWith *HostApplyProfile `xml:"toReplaceWith,omitempty"`
+ ToBeDeleted *HostApplyProfile `xml:"toBeDeleted,omitempty"`
+ EnableStatusToBeCopied *HostApplyProfile `xml:"enableStatusToBeCopied,omitempty"`
+ ErrorOnly *bool `xml:"errorOnly"`
+}
+
+func init() {
+ t["ValidateHostProfileCompositionRequestType"] = reflect.TypeOf((*ValidateHostProfileCompositionRequestType)(nil)).Elem()
+}
+
+type ValidateHostProfileComposition_Task ValidateHostProfileCompositionRequestType
+
+func init() {
+ t["ValidateHostProfileComposition_Task"] = reflect.TypeOf((*ValidateHostProfileComposition_Task)(nil)).Elem()
+}
+
+type ValidateHostProfileComposition_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
type ValidateHostRequestType struct {
This ManagedObjectReference `xml:"_this"`
OvfDescriptor string `xml:"ovfDescriptor"`
@@ -46793,6 +49201,26 @@ type ValidateMigrationResponse struct {
Returnval []BaseEvent `xml:"returnval,omitempty,typeattr"`
}
+type ValidateStoragePodConfig ValidateStoragePodConfigRequestType
+
+func init() {
+ t["ValidateStoragePodConfig"] = reflect.TypeOf((*ValidateStoragePodConfig)(nil)).Elem()
+}
+
+type ValidateStoragePodConfigRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Pod ManagedObjectReference `xml:"pod"`
+ Spec StorageDrsConfigSpec `xml:"spec"`
+}
+
+func init() {
+ t["ValidateStoragePodConfigRequestType"] = reflect.TypeOf((*ValidateStoragePodConfigRequestType)(nil)).Elem()
+}
+
+type ValidateStoragePodConfigResponse struct {
+ Returnval *LocalizedMethodFault `xml:"returnval,omitempty"`
+}
+
type VasaProviderContainerSpec struct {
DynamicData
@@ -46950,6 +49378,7 @@ func init() {
type VimVasaProvider struct {
DynamicData
+ Uid string `xml:"uid,omitempty"`
Url string `xml:"url"`
Name string `xml:"name,omitempty"`
SelfSignedCertificate string `xml:"selfSignedCertificate,omitempty"`
@@ -47258,6 +49687,7 @@ func init() {
type VirtualDeviceConnectInfo struct {
DynamicData
+ MigrateConnect string `xml:"migrateConnect,omitempty"`
StartConnected bool `xml:"startConnected"`
AllowGuestControl bool `xml:"allowGuestControl"`
Connected bool `xml:"connected"`
@@ -47416,14 +49846,15 @@ func init() {
type VirtualDisk struct {
VirtualDevice
- CapacityInKB int64 `xml:"capacityInKB"`
- CapacityInBytes int64 `xml:"capacityInBytes,omitempty"`
- Shares *SharesInfo `xml:"shares,omitempty"`
- StorageIOAllocation *StorageIOAllocationInfo `xml:"storageIOAllocation,omitempty"`
- DiskObjectId string `xml:"diskObjectId,omitempty"`
- VFlashCacheConfigInfo *VirtualDiskVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty"`
- Iofilter []string `xml:"iofilter,omitempty"`
- VDiskId *ID `xml:"vDiskId,omitempty"`
+ CapacityInKB int64 `xml:"capacityInKB"`
+ CapacityInBytes int64 `xml:"capacityInBytes,omitempty"`
+ Shares *SharesInfo `xml:"shares,omitempty"`
+ StorageIOAllocation *StorageIOAllocationInfo `xml:"storageIOAllocation,omitempty"`
+ DiskObjectId string `xml:"diskObjectId,omitempty"`
+ VFlashCacheConfigInfo *VirtualDiskVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty"`
+ Iofilter []string `xml:"iofilter,omitempty"`
+ VDiskId *ID `xml:"vDiskId,omitempty"`
+ NativeUnmanagedLinkedClone *bool `xml:"nativeUnmanagedLinkedClone"`
}
func init() {
@@ -47557,6 +49988,32 @@ func init() {
t["VirtualDiskId"] = reflect.TypeOf((*VirtualDiskId)(nil)).Elem()
}
+type VirtualDiskLocalPMemBackingInfo struct {
+ VirtualDeviceFileBackingInfo
+
+ DiskMode string `xml:"diskMode"`
+ Uuid string `xml:"uuid,omitempty"`
+ VolumeUUID string `xml:"volumeUUID,omitempty"`
+ ContentId string `xml:"contentId,omitempty"`
+}
+
+func init() {
+ t["VirtualDiskLocalPMemBackingInfo"] = reflect.TypeOf((*VirtualDiskLocalPMemBackingInfo)(nil)).Elem()
+}
+
+type VirtualDiskLocalPMemBackingOption struct {
+ VirtualDeviceFileBackingOption
+
+ DiskMode ChoiceOption `xml:"diskMode"`
+ Growable bool `xml:"growable"`
+ HotGrowable bool `xml:"hotGrowable"`
+ Uuid bool `xml:"uuid"`
+}
+
+func init() {
+ t["VirtualDiskLocalPMemBackingOption"] = reflect.TypeOf((*VirtualDiskLocalPMemBackingOption)(nil)).Elem()
+}
+
type VirtualDiskModeNotSupported struct {
DeviceNotSupported
@@ -47627,6 +50084,8 @@ type VirtualDiskRawDiskMappingVer1BackingInfo struct {
ContentId string `xml:"contentId,omitempty"`
ChangeId string `xml:"changeId,omitempty"`
Parent *VirtualDiskRawDiskMappingVer1BackingInfo `xml:"parent,omitempty"`
+ DeltaDiskFormat string `xml:"deltaDiskFormat,omitempty"`
+ DeltaGrainSize int32 `xml:"deltaGrainSize,omitempty"`
Sharing string `xml:"sharing,omitempty"`
}
@@ -47671,6 +50130,17 @@ func init() {
t["VirtualDiskRawDiskVer2BackingOption"] = reflect.TypeOf((*VirtualDiskRawDiskVer2BackingOption)(nil)).Elem()
}
+type VirtualDiskRuleSpec struct {
+ ClusterRuleInfo
+
+ DiskRuleType string `xml:"diskRuleType"`
+ DiskId []int32 `xml:"diskId,omitempty"`
+}
+
+func init() {
+ t["VirtualDiskRuleSpec"] = reflect.TypeOf((*VirtualDiskRuleSpec)(nil)).Elem()
+}
+
type VirtualDiskSeSparseBackingInfo struct {
VirtualDeviceFileBackingInfo
@@ -47957,9 +50427,9 @@ func init() {
type VirtualEthernetCardResourceAllocation struct {
DynamicData
- Reservation int64 `xml:"reservation,omitempty"`
+ Reservation *int64 `xml:"reservation"`
Share SharesInfo `xml:"share"`
- Limit int64 `xml:"limit,omitempty"`
+ Limit *int64 `xml:"limit"`
}
func init() {
@@ -48079,6 +50549,8 @@ type VirtualHardwareOption struct {
NumSupportedWwnPorts *IntOption `xml:"numSupportedWwnPorts,omitempty"`
NumSupportedWwnNodes *IntOption `xml:"numSupportedWwnNodes,omitempty"`
ResourceConfigOption *ResourceConfigOption `xml:"resourceConfigOption,omitempty"`
+ NumNVDIMMControllers *IntOption `xml:"numNVDIMMControllers,omitempty"`
+ NumTPMDevices *IntOption `xml:"numTPMDevices,omitempty"`
}
func init() {
@@ -48188,7 +50660,7 @@ func init() {
type VirtualMachineAffinityInfo struct {
DynamicData
- AffinitySet []int32 `xml:"affinitySet,omitempty"`
+ AffinitySet []int32 `xml:"affinitySet"`
}
func init() {
@@ -48258,44 +50730,48 @@ func init() {
type VirtualMachineCapability struct {
DynamicData
- SnapshotOperationsSupported bool `xml:"snapshotOperationsSupported"`
- MultipleSnapshotsSupported bool `xml:"multipleSnapshotsSupported"`
- SnapshotConfigSupported bool `xml:"snapshotConfigSupported"`
- PoweredOffSnapshotsSupported bool `xml:"poweredOffSnapshotsSupported"`
- MemorySnapshotsSupported bool `xml:"memorySnapshotsSupported"`
- RevertToSnapshotSupported bool `xml:"revertToSnapshotSupported"`
- QuiescedSnapshotsSupported bool `xml:"quiescedSnapshotsSupported"`
- DisableSnapshotsSupported bool `xml:"disableSnapshotsSupported"`
- LockSnapshotsSupported bool `xml:"lockSnapshotsSupported"`
- ConsolePreferencesSupported bool `xml:"consolePreferencesSupported"`
- CpuFeatureMaskSupported bool `xml:"cpuFeatureMaskSupported"`
- S1AcpiManagementSupported bool `xml:"s1AcpiManagementSupported"`
- SettingScreenResolutionSupported bool `xml:"settingScreenResolutionSupported"`
- ToolsAutoUpdateSupported bool `xml:"toolsAutoUpdateSupported"`
- VmNpivWwnSupported bool `xml:"vmNpivWwnSupported"`
- NpivWwnOnNonRdmVmSupported bool `xml:"npivWwnOnNonRdmVmSupported"`
- VmNpivWwnDisableSupported *bool `xml:"vmNpivWwnDisableSupported"`
- VmNpivWwnUpdateSupported *bool `xml:"vmNpivWwnUpdateSupported"`
- SwapPlacementSupported bool `xml:"swapPlacementSupported"`
- ToolsSyncTimeSupported bool `xml:"toolsSyncTimeSupported"`
- VirtualMmuUsageSupported bool `xml:"virtualMmuUsageSupported"`
- DiskSharesSupported bool `xml:"diskSharesSupported"`
- BootOptionsSupported bool `xml:"bootOptionsSupported"`
- BootRetryOptionsSupported *bool `xml:"bootRetryOptionsSupported"`
- SettingVideoRamSizeSupported bool `xml:"settingVideoRamSizeSupported"`
- SettingDisplayTopologySupported *bool `xml:"settingDisplayTopologySupported"`
- RecordReplaySupported *bool `xml:"recordReplaySupported"`
- ChangeTrackingSupported *bool `xml:"changeTrackingSupported"`
- MultipleCoresPerSocketSupported *bool `xml:"multipleCoresPerSocketSupported"`
- HostBasedReplicationSupported *bool `xml:"hostBasedReplicationSupported"`
- GuestAutoLockSupported *bool `xml:"guestAutoLockSupported"`
- MemoryReservationLockSupported *bool `xml:"memoryReservationLockSupported"`
- FeatureRequirementSupported *bool `xml:"featureRequirementSupported"`
- PoweredOnMonitorTypeChangeSupported *bool `xml:"poweredOnMonitorTypeChangeSupported"`
- SeSparseDiskSupported *bool `xml:"seSparseDiskSupported"`
- NestedHVSupported *bool `xml:"nestedHVSupported"`
- VPMCSupported *bool `xml:"vPMCSupported"`
- SecureBootSupported *bool `xml:"secureBootSupported"`
+ SnapshotOperationsSupported bool `xml:"snapshotOperationsSupported"`
+ MultipleSnapshotsSupported bool `xml:"multipleSnapshotsSupported"`
+ SnapshotConfigSupported bool `xml:"snapshotConfigSupported"`
+ PoweredOffSnapshotsSupported bool `xml:"poweredOffSnapshotsSupported"`
+ MemorySnapshotsSupported bool `xml:"memorySnapshotsSupported"`
+ RevertToSnapshotSupported bool `xml:"revertToSnapshotSupported"`
+ QuiescedSnapshotsSupported bool `xml:"quiescedSnapshotsSupported"`
+ DisableSnapshotsSupported bool `xml:"disableSnapshotsSupported"`
+ LockSnapshotsSupported bool `xml:"lockSnapshotsSupported"`
+ ConsolePreferencesSupported bool `xml:"consolePreferencesSupported"`
+ CpuFeatureMaskSupported bool `xml:"cpuFeatureMaskSupported"`
+ S1AcpiManagementSupported bool `xml:"s1AcpiManagementSupported"`
+ SettingScreenResolutionSupported bool `xml:"settingScreenResolutionSupported"`
+ ToolsAutoUpdateSupported bool `xml:"toolsAutoUpdateSupported"`
+ VmNpivWwnSupported bool `xml:"vmNpivWwnSupported"`
+ NpivWwnOnNonRdmVmSupported bool `xml:"npivWwnOnNonRdmVmSupported"`
+ VmNpivWwnDisableSupported *bool `xml:"vmNpivWwnDisableSupported"`
+ VmNpivWwnUpdateSupported *bool `xml:"vmNpivWwnUpdateSupported"`
+ SwapPlacementSupported bool `xml:"swapPlacementSupported"`
+ ToolsSyncTimeSupported bool `xml:"toolsSyncTimeSupported"`
+ VirtualMmuUsageSupported bool `xml:"virtualMmuUsageSupported"`
+ DiskSharesSupported bool `xml:"diskSharesSupported"`
+ BootOptionsSupported bool `xml:"bootOptionsSupported"`
+ BootRetryOptionsSupported *bool `xml:"bootRetryOptionsSupported"`
+ SettingVideoRamSizeSupported bool `xml:"settingVideoRamSizeSupported"`
+ SettingDisplayTopologySupported *bool `xml:"settingDisplayTopologySupported"`
+ RecordReplaySupported *bool `xml:"recordReplaySupported"`
+ ChangeTrackingSupported *bool `xml:"changeTrackingSupported"`
+ MultipleCoresPerSocketSupported *bool `xml:"multipleCoresPerSocketSupported"`
+ HostBasedReplicationSupported *bool `xml:"hostBasedReplicationSupported"`
+ GuestAutoLockSupported *bool `xml:"guestAutoLockSupported"`
+ MemoryReservationLockSupported *bool `xml:"memoryReservationLockSupported"`
+ FeatureRequirementSupported *bool `xml:"featureRequirementSupported"`
+ PoweredOnMonitorTypeChangeSupported *bool `xml:"poweredOnMonitorTypeChangeSupported"`
+ SeSparseDiskSupported *bool `xml:"seSparseDiskSupported"`
+ NestedHVSupported *bool `xml:"nestedHVSupported"`
+ VPMCSupported *bool `xml:"vPMCSupported"`
+ SecureBootSupported *bool `xml:"secureBootSupported"`
+ PerVmEvcSupported *bool `xml:"perVmEvcSupported"`
+ VirtualMmuUsageIgnored *bool `xml:"virtualMmuUsageIgnored"`
+ VirtualExecUsageIgnored *bool `xml:"virtualExecUsageIgnored"`
+ DiskOnlySnapshotOnSuspendedVMSupported *bool `xml:"diskOnlySnapshotOnSuspendedVMSupported"`
}
func init() {
@@ -48337,6 +50813,7 @@ type VirtualMachineConfigInfo struct {
GuestFullName string `xml:"guestFullName"`
Version string `xml:"version"`
Uuid string `xml:"uuid"`
+ CreateDate *time.Time `xml:"createDate"`
InstanceUuid string `xml:"instanceUuid,omitempty"`
NpivNodeWorldWideName []int64 `xml:"npivNodeWorldWideName,omitempty"`
NpivPortWorldWideName []int64 `xml:"npivPortWorldWideName,omitempty"`
@@ -48356,8 +50833,8 @@ type VirtualMachineConfigInfo struct {
ConsolePreferences *VirtualMachineConsolePreferences `xml:"consolePreferences,omitempty"`
DefaultPowerOps VirtualMachineDefaultPowerOpInfo `xml:"defaultPowerOps"`
Hardware VirtualHardware `xml:"hardware"`
- CpuAllocation BaseResourceAllocationInfo `xml:"cpuAllocation,omitempty,typeattr"`
- MemoryAllocation BaseResourceAllocationInfo `xml:"memoryAllocation,omitempty,typeattr"`
+ CpuAllocation *ResourceAllocationInfo `xml:"cpuAllocation,omitempty"`
+ MemoryAllocation *ResourceAllocationInfo `xml:"memoryAllocation,omitempty"`
LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty"`
MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled"`
CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled"`
@@ -48426,17 +50903,18 @@ func init() {
type VirtualMachineConfigOption struct {
DynamicData
- Version string `xml:"version"`
- Description string `xml:"description"`
- GuestOSDescriptor []GuestOsDescriptor `xml:"guestOSDescriptor"`
- GuestOSDefaultIndex int32 `xml:"guestOSDefaultIndex"`
- HardwareOptions VirtualHardwareOption `xml:"hardwareOptions"`
- Capabilities VirtualMachineCapability `xml:"capabilities"`
- Datastore DatastoreOption `xml:"datastore"`
- DefaultDevice []BaseVirtualDevice `xml:"defaultDevice,omitempty,typeattr"`
- SupportedMonitorType []string `xml:"supportedMonitorType"`
- SupportedOvfEnvironmentTransport []string `xml:"supportedOvfEnvironmentTransport,omitempty"`
- SupportedOvfInstallTransport []string `xml:"supportedOvfInstallTransport,omitempty"`
+ Version string `xml:"version"`
+ Description string `xml:"description"`
+ GuestOSDescriptor []GuestOsDescriptor `xml:"guestOSDescriptor"`
+ GuestOSDefaultIndex int32 `xml:"guestOSDefaultIndex"`
+ HardwareOptions VirtualHardwareOption `xml:"hardwareOptions"`
+ Capabilities VirtualMachineCapability `xml:"capabilities"`
+ Datastore DatastoreOption `xml:"datastore"`
+ DefaultDevice []BaseVirtualDevice `xml:"defaultDevice,omitempty,typeattr"`
+ SupportedMonitorType []string `xml:"supportedMonitorType"`
+ SupportedOvfEnvironmentTransport []string `xml:"supportedOvfEnvironmentTransport,omitempty"`
+ SupportedOvfInstallTransport []string `xml:"supportedOvfInstallTransport,omitempty"`
+ PropertyRelations []VirtualMachinePropertyRelation `xml:"propertyRelations,omitempty"`
}
func init() {
@@ -48465,6 +50943,7 @@ type VirtualMachineConfigSpec struct {
ChangeVersion string `xml:"changeVersion,omitempty"`
Name string `xml:"name,omitempty"`
Version string `xml:"version,omitempty"`
+ CreateDate *time.Time `xml:"createDate"`
Uuid string `xml:"uuid,omitempty"`
InstanceUuid string `xml:"instanceUuid,omitempty"`
NpivNodeWorldWideName []int64 `xml:"npivNodeWorldWideName,omitempty"`
@@ -48493,8 +50972,8 @@ type VirtualMachineConfigSpec struct {
VirtualICH7MPresent *bool `xml:"virtualICH7MPresent"`
VirtualSMCPresent *bool `xml:"virtualSMCPresent"`
DeviceChange []BaseVirtualDeviceConfigSpec `xml:"deviceChange,omitempty,typeattr"`
- CpuAllocation BaseResourceAllocationInfo `xml:"cpuAllocation,omitempty,typeattr"`
- MemoryAllocation BaseResourceAllocationInfo `xml:"memoryAllocation,omitempty,typeattr"`
+ CpuAllocation *ResourceAllocationInfo `xml:"cpuAllocation,omitempty"`
+ MemoryAllocation *ResourceAllocationInfo `xml:"memoryAllocation,omitempty"`
LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty"`
CpuAffinity *VirtualMachineAffinityInfo `xml:"cpuAffinity,omitempty"`
MemoryAffinity *VirtualMachineAffinityInfo `xml:"memoryAffinity,omitempty"`
@@ -48548,6 +51027,8 @@ type VirtualMachineConfigSummary struct {
InstallBootRequired *bool `xml:"installBootRequired"`
FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr"`
ManagedBy *ManagedByInfo `xml:"managedBy,omitempty"`
+ TpmPresent *bool `xml:"tpmPresent"`
+ NumVmiopBackings int32 `xml:"numVmiopBackings,omitempty"`
}
func init() {
@@ -48634,6 +51115,7 @@ type VirtualMachineDefinedProfileSpec struct {
ProfileId string `xml:"profileId"`
ReplicationSpec *ReplicationSpec `xml:"replicationSpec,omitempty"`
ProfileData *VirtualMachineProfileRawData `xml:"profileData,omitempty"`
+ ProfileParams []KeyValue `xml:"profileParams,omitempty"`
}
func init() {
@@ -48662,11 +51144,13 @@ func init() {
type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
VirtualMachineDeviceRuntimeInfoDeviceRuntimeState
- VmDirectPathGen2Active bool `xml:"vmDirectPathGen2Active"`
- VmDirectPathGen2InactiveReasonVm []string `xml:"vmDirectPathGen2InactiveReasonVm,omitempty"`
- VmDirectPathGen2InactiveReasonOther []string `xml:"vmDirectPathGen2InactiveReasonOther,omitempty"`
- VmDirectPathGen2InactiveReasonExtended string `xml:"vmDirectPathGen2InactiveReasonExtended,omitempty"`
- ReservationStatus string `xml:"reservationStatus,omitempty"`
+ VmDirectPathGen2Active bool `xml:"vmDirectPathGen2Active"`
+ VmDirectPathGen2InactiveReasonVm []string `xml:"vmDirectPathGen2InactiveReasonVm,omitempty"`
+ VmDirectPathGen2InactiveReasonOther []string `xml:"vmDirectPathGen2InactiveReasonOther,omitempty"`
+ VmDirectPathGen2InactiveReasonExtended string `xml:"vmDirectPathGen2InactiveReasonExtended,omitempty"`
+ ReservationStatus string `xml:"reservationStatus,omitempty"`
+ AttachmentStatus string `xml:"attachmentStatus,omitempty"`
+ FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty"`
}
func init() {
@@ -48848,6 +51332,8 @@ type VirtualMachineFlagInfo struct {
RecordReplayEnabled *bool `xml:"recordReplayEnabled"`
FaultToleranceType string `xml:"faultToleranceType,omitempty"`
CbrcCacheEnabled *bool `xml:"cbrcCacheEnabled"`
+ VvtdEnabled *bool `xml:"vvtdEnabled"`
+ VbsEnabled *bool `xml:"vbsEnabled"`
}
func init() {
@@ -48944,6 +51430,19 @@ func init() {
t["VirtualMachineImportSpec"] = reflect.TypeOf((*VirtualMachineImportSpec)(nil)).Elem()
}
+type VirtualMachineInstantCloneSpec struct {
+ DynamicData
+
+ Name string `xml:"name"`
+ Location VirtualMachineRelocateSpec `xml:"location"`
+ Config []BaseOptionValue `xml:"config,omitempty,typeattr"`
+ BiosUuid string `xml:"biosUuid,omitempty"`
+}
+
+func init() {
+ t["VirtualMachineInstantCloneSpec"] = reflect.TypeOf((*VirtualMachineInstantCloneSpec)(nil)).Elem()
+}
+
type VirtualMachineLegacyNetworkSwitchInfo struct {
DynamicData
@@ -49100,6 +51599,28 @@ func init() {
t["VirtualMachinePciSharedGpuPassthroughInfo"] = reflect.TypeOf((*VirtualMachinePciSharedGpuPassthroughInfo)(nil)).Elem()
}
+type VirtualMachineProfileDetails struct {
+ DynamicData
+
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+ DiskProfileDetails []VirtualMachineProfileDetailsDiskProfileDetails `xml:"diskProfileDetails,omitempty"`
+}
+
+func init() {
+ t["VirtualMachineProfileDetails"] = reflect.TypeOf((*VirtualMachineProfileDetails)(nil)).Elem()
+}
+
+type VirtualMachineProfileDetailsDiskProfileDetails struct {
+ DynamicData
+
+ DiskId int32 `xml:"diskId"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+}
+
+func init() {
+ t["VirtualMachineProfileDetailsDiskProfileDetails"] = reflect.TypeOf((*VirtualMachineProfileDetailsDiskProfileDetails)(nil)).Elem()
+}
+
type VirtualMachineProfileRawData struct {
DynamicData
@@ -49119,6 +51640,17 @@ func init() {
t["VirtualMachineProfileSpec"] = reflect.TypeOf((*VirtualMachineProfileSpec)(nil)).Elem()
}
+type VirtualMachinePropertyRelation struct {
+ DynamicData
+
+ Key DynamicProperty `xml:"key"`
+ Relations []DynamicProperty `xml:"relations,omitempty"`
+}
+
+func init() {
+ t["VirtualMachinePropertyRelation"] = reflect.TypeOf((*VirtualMachinePropertyRelation)(nil)).Elem()
+}
+
type VirtualMachineQuestionInfo struct {
DynamicData
@@ -49225,6 +51757,8 @@ type VirtualMachineRuntimeInfo struct {
Paused *bool `xml:"paused"`
SnapshotInBackground *bool `xml:"snapshotInBackground"`
QuiescedForkParent *bool `xml:"quiescedForkParent"`
+ InstantCloneFrozen *bool `xml:"instantCloneFrozen"`
+ CryptoState string `xml:"cryptoState,omitempty"`
}
func init() {
@@ -49561,6 +52095,58 @@ func init() {
t["VirtualMachineWipeResult"] = reflect.TypeOf((*VirtualMachineWipeResult)(nil)).Elem()
}
+type VirtualNVDIMM struct {
+ VirtualDevice
+
+ CapacityInMB int64 `xml:"capacityInMB"`
+}
+
+func init() {
+ t["VirtualNVDIMM"] = reflect.TypeOf((*VirtualNVDIMM)(nil)).Elem()
+}
+
+type VirtualNVDIMMBackingInfo struct {
+ VirtualDeviceFileBackingInfo
+
+ Parent *VirtualNVDIMMBackingInfo `xml:"parent,omitempty"`
+ ChangeId string `xml:"changeId,omitempty"`
+}
+
+func init() {
+ t["VirtualNVDIMMBackingInfo"] = reflect.TypeOf((*VirtualNVDIMMBackingInfo)(nil)).Elem()
+}
+
+type VirtualNVDIMMController struct {
+ VirtualController
+}
+
+func init() {
+ t["VirtualNVDIMMController"] = reflect.TypeOf((*VirtualNVDIMMController)(nil)).Elem()
+}
+
+type VirtualNVDIMMControllerOption struct {
+ VirtualControllerOption
+
+ NumNVDIMMControllers IntOption `xml:"numNVDIMMControllers"`
+}
+
+func init() {
+ t["VirtualNVDIMMControllerOption"] = reflect.TypeOf((*VirtualNVDIMMControllerOption)(nil)).Elem()
+}
+
+type VirtualNVDIMMOption struct {
+ VirtualDeviceOption
+
+ CapacityInMB LongOption `xml:"capacityInMB"`
+ Growable bool `xml:"growable"`
+ HotGrowable bool `xml:"hotGrowable"`
+ GranularityInMB int64 `xml:"granularityInMB"`
+}
+
+func init() {
+ t["VirtualNVDIMMOption"] = reflect.TypeOf((*VirtualNVDIMMOption)(nil)).Elem()
+}
+
type VirtualNVMEController struct {
VirtualController
}
@@ -49615,6 +52201,7 @@ type VirtualPCIControllerOption struct {
NumParaVirtualSCSIControllers *IntOption `xml:"numParaVirtualSCSIControllers,omitempty"`
NumSATAControllers *IntOption `xml:"numSATAControllers,omitempty"`
NumNVMEControllers *IntOption `xml:"numNVMEControllers,omitempty"`
+ NumVmxnet3VrdmaEthernetCards *IntOption `xml:"numVmxnet3VrdmaEthernetCards,omitempty"`
}
func init() {
@@ -49816,39 +52403,6 @@ func init() {
t["VirtualPointingDeviceOption"] = reflect.TypeOf((*VirtualPointingDeviceOption)(nil)).Elem()
}
-type VirtualResourcePoolSpec struct {
- DynamicData
-
- VrpId string `xml:"vrpId,omitempty"`
- VrpName string `xml:"vrpName,omitempty"`
- Description string `xml:"description,omitempty"`
- CpuAllocation VrpResourceAllocationInfo `xml:"cpuAllocation"`
- MemoryAllocation VrpResourceAllocationInfo `xml:"memoryAllocation"`
- RpList []ManagedObjectReference `xml:"rpList,omitempty"`
- HubList []ManagedObjectReference `xml:"hubList,omitempty"`
- RootVRP *bool `xml:"rootVRP"`
- StaticVRP *bool `xml:"staticVRP"`
- ChangeVersion int64 `xml:"changeVersion,omitempty"`
-}
-
-func init() {
- t["VirtualResourcePoolSpec"] = reflect.TypeOf((*VirtualResourcePoolSpec)(nil)).Elem()
-}
-
-type VirtualResourcePoolUsage struct {
- DynamicData
-
- VrpId string `xml:"vrpId"`
- CpuReservationMhz int64 `xml:"cpuReservationMhz"`
- MemReservationMB int64 `xml:"memReservationMB"`
- CpuReservationUsedMhz int64 `xml:"cpuReservationUsedMhz"`
- MemReservationUsedMB int64 `xml:"memReservationUsedMB"`
-}
-
-func init() {
- t["VirtualResourcePoolUsage"] = reflect.TypeOf((*VirtualResourcePoolUsage)(nil)).Elem()
-}
-
type VirtualSATAController struct {
VirtualController
}
@@ -50163,6 +52717,27 @@ func init() {
t["VirtualSwitchSelectionProfile"] = reflect.TypeOf((*VirtualSwitchSelectionProfile)(nil)).Elem()
}
+type VirtualTPM struct {
+ VirtualDevice
+
+ EndorsementKeyCertificateSigningRequest [][]byte `xml:"endorsementKeyCertificateSigningRequest,omitempty"`
+ EndorsementKeyCertificate [][]byte `xml:"endorsementKeyCertificate,omitempty"`
+}
+
+func init() {
+ t["VirtualTPM"] = reflect.TypeOf((*VirtualTPM)(nil)).Elem()
+}
+
+type VirtualTPMOption struct {
+ VirtualDeviceOption
+
+ SupportedFirmware []string `xml:"supportedFirmware,omitempty"`
+}
+
+func init() {
+ t["VirtualTPMOption"] = reflect.TypeOf((*VirtualTPMOption)(nil)).Elem()
+}
+
type VirtualUSB struct {
VirtualDevice
@@ -50357,6 +52932,8 @@ func init() {
type VirtualVmxnet3Vrdma struct {
VirtualVmxnet3
+
+ DeviceProtocol string `xml:"deviceProtocol,omitempty"`
}
func init() {
@@ -50365,6 +52942,8 @@ func init() {
type VirtualVmxnet3VrdmaOption struct {
VirtualVmxnet3Option
+
+ DeviceProtocol *ChoiceOption `xml:"deviceProtocol,omitempty"`
}
func init() {
@@ -52110,8 +54689,12 @@ func init() {
type VmfsConfigOption struct {
DynamicData
- BlockSizeOption int32 `xml:"blockSizeOption"`
- UnmapGranularityOption []int32 `xml:"unmapGranularityOption,omitempty"`
+ BlockSizeOption int32 `xml:"blockSizeOption"`
+ UnmapGranularityOption []int32 `xml:"unmapGranularityOption,omitempty"`
+ UnmapBandwidthFixedValue *LongOption `xml:"unmapBandwidthFixedValue,omitempty"`
+ UnmapBandwidthDynamicMin *LongOption `xml:"unmapBandwidthDynamicMin,omitempty"`
+ UnmapBandwidthDynamicMax *LongOption `xml:"unmapBandwidthDynamicMax,omitempty"`
+ UnmapBandwidthIncrement int64 `xml:"unmapBandwidthIncrement,omitempty"`
}
func init() {
@@ -52240,6 +54823,19 @@ func init() {
t["VmfsMountFaultFault"] = reflect.TypeOf((*VmfsMountFaultFault)(nil)).Elem()
}
+type VmfsUnmapBandwidthSpec struct {
+ DynamicData
+
+ Policy string `xml:"policy"`
+ FixedValue int64 `xml:"fixedValue"`
+ DynamicMin int64 `xml:"dynamicMin"`
+ DynamicMax int64 `xml:"dynamicMax"`
+}
+
+func init() {
+ t["VmfsUnmapBandwidthSpec"] = reflect.TypeOf((*VmfsUnmapBandwidthSpec)(nil)).Elem()
+}
+
type VmotionInterfaceNotEnabled struct {
HostPowerOpFailed
}
@@ -52267,7 +54863,7 @@ func init() {
type VmwareDistributedVirtualSwitchTrunkVlanSpec struct {
VmwareDistributedVirtualSwitchVlanSpec
- VlanId []NumericRange `xml:"vlanId"`
+ VlanId []NumericRange `xml:"vlanId,omitempty"`
}
func init() {
@@ -52348,16 +54944,6 @@ func init() {
t["VramLimitLicenseFault"] = reflect.TypeOf((*VramLimitLicenseFault)(nil)).Elem()
}
-type VrpResourceAllocationInfo struct {
- ResourceAllocationInfo
-
- ReservationLimit int64 `xml:"reservationLimit,omitempty"`
-}
-
-func init() {
- t["VrpResourceAllocationInfo"] = reflect.TypeOf((*VrpResourceAllocationInfo)(nil)).Elem()
-}
-
type VsanClusterConfigInfo struct {
DynamicData
@@ -52886,7 +55472,9 @@ func init() {
type VslmCloneSpec struct {
VslmMigrateSpec
- Name string `xml:"name"`
+ Name string `xml:"name"`
+ KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm"`
+ Metadata []KeyValue `xml:"metadata,omitempty"`
}
func init() {
@@ -52896,9 +55484,12 @@ func init() {
type VslmCreateSpec struct {
DynamicData
- Name string `xml:"name"`
- BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr"`
- CapacityInMB int64 `xml:"capacityInMB"`
+ Name string `xml:"name"`
+ KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm"`
+ BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr"`
+ CapacityInMB int64 `xml:"capacityInMB"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+ Metadata []KeyValue `xml:"metadata,omitempty"`
}
func init() {
@@ -52909,6 +55500,7 @@ type VslmCreateSpecBackingSpec struct {
DynamicData
Datastore ManagedObjectReference `xml:"datastore"`
+ Path string `xml:"path,omitempty"`
}
func init() {
@@ -52939,8 +55531,9 @@ func init() {
type VslmMigrateSpec struct {
DynamicData
- BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr"`
- Consolidate *bool `xml:"consolidate"`
+ BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+ Consolidate *bool `xml:"consolidate"`
}
func init() {
@@ -53332,3 +55925,332 @@ func init() {
type ZeroFillVirtualDisk_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval"`
}
+
+type ConfigureVchaRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ ConfigSpec VchaClusterConfigSpec `xml:"configSpec"`
+}
+
+func init() {
+ t["configureVchaRequestType"] = reflect.TypeOf((*ConfigureVchaRequestType)(nil)).Elem()
+}
+
+type ConfigureVcha_Task ConfigureVchaRequestType
+
+func init() {
+ t["configureVcha_Task"] = reflect.TypeOf((*ConfigureVcha_Task)(nil)).Elem()
+}
+
+type ConfigureVcha_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type CreatePassiveNodeRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ PassiveDeploymentSpec PassiveNodeDeploymentSpec `xml:"passiveDeploymentSpec"`
+ SourceVcSpec SourceNodeSpec `xml:"sourceVcSpec"`
+}
+
+func init() {
+ t["createPassiveNodeRequestType"] = reflect.TypeOf((*CreatePassiveNodeRequestType)(nil)).Elem()
+}
+
+type CreatePassiveNode_Task CreatePassiveNodeRequestType
+
+func init() {
+ t["createPassiveNode_Task"] = reflect.TypeOf((*CreatePassiveNode_Task)(nil)).Elem()
+}
+
+type CreatePassiveNode_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type CreateWitnessNodeRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ WitnessDeploymentSpec BaseNodeDeploymentSpec `xml:"witnessDeploymentSpec,typeattr"`
+ SourceVcSpec SourceNodeSpec `xml:"sourceVcSpec"`
+}
+
+func init() {
+ t["createWitnessNodeRequestType"] = reflect.TypeOf((*CreateWitnessNodeRequestType)(nil)).Elem()
+}
+
+type CreateWitnessNode_Task CreateWitnessNodeRequestType
+
+func init() {
+ t["createWitnessNode_Task"] = reflect.TypeOf((*CreateWitnessNode_Task)(nil)).Elem()
+}
+
+type CreateWitnessNode_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type DeployVchaRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ DeploymentSpec VchaClusterDeploymentSpec `xml:"deploymentSpec"`
+}
+
+func init() {
+ t["deployVchaRequestType"] = reflect.TypeOf((*DeployVchaRequestType)(nil)).Elem()
+}
+
+type DeployVcha_Task DeployVchaRequestType
+
+func init() {
+ t["deployVcha_Task"] = reflect.TypeOf((*DeployVcha_Task)(nil)).Elem()
+}
+
+type DeployVcha_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type DestroyVchaRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["destroyVchaRequestType"] = reflect.TypeOf((*DestroyVchaRequestType)(nil)).Elem()
+}
+
+type DestroyVcha_Task DestroyVchaRequestType
+
+func init() {
+ t["destroyVcha_Task"] = reflect.TypeOf((*DestroyVcha_Task)(nil)).Elem()
+}
+
+type DestroyVcha_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type FetchSoftwarePackages FetchSoftwarePackagesRequestType
+
+func init() {
+ t["fetchSoftwarePackages"] = reflect.TypeOf((*FetchSoftwarePackages)(nil)).Elem()
+}
+
+type FetchSoftwarePackagesRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["fetchSoftwarePackagesRequestType"] = reflect.TypeOf((*FetchSoftwarePackagesRequestType)(nil)).Elem()
+}
+
+type FetchSoftwarePackagesResponse struct {
+ Returnval []SoftwarePackage `xml:"returnval,omitempty"`
+}
+
+type GetClusterMode GetClusterModeRequestType
+
+func init() {
+ t["getClusterMode"] = reflect.TypeOf((*GetClusterMode)(nil)).Elem()
+}
+
+type GetClusterModeRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["getClusterModeRequestType"] = reflect.TypeOf((*GetClusterModeRequestType)(nil)).Elem()
+}
+
+type GetClusterModeResponse struct {
+ Returnval string `xml:"returnval"`
+}
+
+type GetVchaConfig GetVchaConfigRequestType
+
+func init() {
+ t["getVchaConfig"] = reflect.TypeOf((*GetVchaConfig)(nil)).Elem()
+}
+
+type GetVchaConfigRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["getVchaConfigRequestType"] = reflect.TypeOf((*GetVchaConfigRequestType)(nil)).Elem()
+}
+
+type GetVchaConfigResponse struct {
+ Returnval VchaClusterConfigInfo `xml:"returnval"`
+}
+
+type InitiateFailoverRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Planned bool `xml:"planned"`
+}
+
+func init() {
+ t["initiateFailoverRequestType"] = reflect.TypeOf((*InitiateFailoverRequestType)(nil)).Elem()
+}
+
+type InitiateFailover_Task InitiateFailoverRequestType
+
+func init() {
+ t["initiateFailover_Task"] = reflect.TypeOf((*InitiateFailover_Task)(nil)).Elem()
+}
+
+type InitiateFailover_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type InstallDate InstallDateRequestType
+
+func init() {
+ t["installDate"] = reflect.TypeOf((*InstallDate)(nil)).Elem()
+}
+
+type InstallDateRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["installDateRequestType"] = reflect.TypeOf((*InstallDateRequestType)(nil)).Elem()
+}
+
+type InstallDateResponse struct {
+ Returnval time.Time `xml:"returnval"`
+}
+
+type PrepareVchaRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ NetworkSpec VchaClusterNetworkSpec `xml:"networkSpec"`
+}
+
+func init() {
+ t["prepareVchaRequestType"] = reflect.TypeOf((*PrepareVchaRequestType)(nil)).Elem()
+}
+
+type PrepareVcha_Task PrepareVchaRequestType
+
+func init() {
+ t["prepareVcha_Task"] = reflect.TypeOf((*PrepareVcha_Task)(nil)).Elem()
+}
+
+type PrepareVcha_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type QueryDatacenterConfigOptionDescriptor QueryDatacenterConfigOptionDescriptorRequestType
+
+func init() {
+ t["queryDatacenterConfigOptionDescriptor"] = reflect.TypeOf((*QueryDatacenterConfigOptionDescriptor)(nil)).Elem()
+}
+
+type QueryDatacenterConfigOptionDescriptorRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["queryDatacenterConfigOptionDescriptorRequestType"] = reflect.TypeOf((*QueryDatacenterConfigOptionDescriptorRequestType)(nil)).Elem()
+}
+
+type QueryDatacenterConfigOptionDescriptorResponse struct {
+ Returnval []VirtualMachineConfigOptionDescriptor `xml:"returnval,omitempty"`
+}
+
+type ReloadVirtualMachineFromPathRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ ConfigurationPath string `xml:"configurationPath"`
+}
+
+func init() {
+ t["reloadVirtualMachineFromPathRequestType"] = reflect.TypeOf((*ReloadVirtualMachineFromPathRequestType)(nil)).Elem()
+}
+
+type ReloadVirtualMachineFromPath_Task ReloadVirtualMachineFromPathRequestType
+
+func init() {
+ t["reloadVirtualMachineFromPath_Task"] = reflect.TypeOf((*ReloadVirtualMachineFromPath_Task)(nil)).Elem()
+}
+
+type ReloadVirtualMachineFromPath_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type SetClusterModeRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Mode string `xml:"mode"`
+}
+
+func init() {
+ t["setClusterModeRequestType"] = reflect.TypeOf((*SetClusterModeRequestType)(nil)).Elem()
+}
+
+type SetClusterMode_Task SetClusterModeRequestType
+
+func init() {
+ t["setClusterMode_Task"] = reflect.TypeOf((*SetClusterMode_Task)(nil)).Elem()
+}
+
+type SetClusterMode_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type SetCustomValue SetCustomValueRequestType
+
+func init() {
+ t["setCustomValue"] = reflect.TypeOf((*SetCustomValue)(nil)).Elem()
+}
+
+type SetCustomValueRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+ Key string `xml:"key"`
+ Value string `xml:"value"`
+}
+
+func init() {
+ t["setCustomValueRequestType"] = reflect.TypeOf((*SetCustomValueRequestType)(nil)).Elem()
+}
+
+type SetCustomValueResponse struct {
+}
+
+type UnregisterVAppRequestType struct {
+ This ManagedObjectReference `xml:"_this"`
+}
+
+func init() {
+ t["unregisterVAppRequestType"] = reflect.TypeOf((*UnregisterVAppRequestType)(nil)).Elem()
+}
+
+type UnregisterVApp_Task UnregisterVAppRequestType
+
+func init() {
+ t["unregisterVApp_Task"] = reflect.TypeOf((*UnregisterVApp_Task)(nil)).Elem()
+}
+
+type UnregisterVApp_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval"`
+}
+
+type VersionURI string
+
+func init() {
+ t["versionURI"] = reflect.TypeOf((*VersionURI)(nil)).Elem()
+}
+
+type VslmInfrastructureObjectPolicy struct {
+ DynamicData
+
+ Name string `xml:"name"`
+ BackingObjectId string `xml:"backingObjectId"`
+ ProfileId string `xml:"profileId"`
+ Error *LocalizedMethodFault `xml:"error,omitempty"`
+}
+
+func init() {
+ t["vslmInfrastructureObjectPolicy"] = reflect.TypeOf((*VslmInfrastructureObjectPolicy)(nil)).Elem()
+}
+
+type VslmInfrastructureObjectPolicySpec struct {
+ DynamicData
+
+ Datastore ManagedObjectReference `xml:"datastore"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr"`
+}
+
+func init() {
+ t["vslmInfrastructureObjectPolicySpec"] = reflect.TypeOf((*VslmInfrastructureObjectPolicySpec)(nil)).Elem()
+}
diff --git a/vendor/golang.org/x/mobile/AUTHORS b/vendor/golang.org/x/mobile/AUTHORS
new file mode 100644
index 000000000..15167cd74
--- /dev/null
+++ b/vendor/golang.org/x/mobile/AUTHORS
@@ -0,0 +1,3 @@
+# This source code refers to The Go Authors for copyright purposes.
+# The master list of authors is in the main Go distribution,
+# visible at http://tip.golang.org/AUTHORS.
diff --git a/vendor/golang.org/x/mobile/CONTRIBUTORS b/vendor/golang.org/x/mobile/CONTRIBUTORS
new file mode 100644
index 000000000..1c4577e96
--- /dev/null
+++ b/vendor/golang.org/x/mobile/CONTRIBUTORS
@@ -0,0 +1,3 @@
+# This source code was written by the Go contributors.
+# The master list of contributors is in the main Go distribution,
+# visible at http://tip.golang.org/CONTRIBUTORS.
diff --git a/vendor/golang.org/x/mobile/LICENSE b/vendor/golang.org/x/mobile/LICENSE
new file mode 100644
index 000000000..6a66aea5e
--- /dev/null
+++ b/vendor/golang.org/x/mobile/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2009 The Go Authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/golang.org/x/mobile/PATENTS b/vendor/golang.org/x/mobile/PATENTS
new file mode 100644
index 000000000..733099041
--- /dev/null
+++ b/vendor/golang.org/x/mobile/PATENTS
@@ -0,0 +1,22 @@
+Additional IP Rights Grant (Patents)
+
+"This implementation" means the copyrightable works distributed by
+Google as part of the Go project.
+
+Google hereby grants to You a perpetual, worldwide, non-exclusive,
+no-charge, royalty-free, irrevocable (except as stated in this section)
+patent license to make, have made, use, offer to sell, sell, import,
+transfer and otherwise run, modify and propagate the contents of this
+implementation of Go, where such license applies only to those patent
+claims, both currently owned or controlled by Google and acquired in
+the future, licensable by Google that are necessarily infringed by this
+implementation of Go. This grant does not include claims that would be
+infringed only as a consequence of further modification of this
+implementation. If you or your agent or exclusive licensee institute or
+order or agree to the institution of patent litigation against any
+entity (including a cross-claim or counterclaim in a lawsuit) alleging
+that this implementation of Go or any code incorporated within this
+implementation of Go constitutes direct or contributory patent
+infringement, or inducement of patent infringement, then any patent
+rights granted to you under this License for this implementation of Go
+shall terminate as of the date such litigation is filed.
diff --git a/vendor/golang.org/x/mobile/event/key/code_string.go b/vendor/golang.org/x/mobile/event/key/code_string.go
new file mode 100644
index 000000000..6af78b306
--- /dev/null
+++ b/vendor/golang.org/x/mobile/event/key/code_string.go
@@ -0,0 +1,60 @@
+// Code generated by "stringer -type=Code"; DO NOT EDIT
+
+package key
+
+import "fmt"
+
+const (
+ _Code_name_0 = "CodeUnknown"
+ _Code_name_1 = "CodeACodeBCodeCCodeDCodeECodeFCodeGCodeHCodeICodeJCodeKCodeLCodeMCodeNCodeOCodePCodeQCodeRCodeSCodeTCodeUCodeVCodeWCodeXCodeYCodeZCode1Code2Code3Code4Code5Code6Code7Code8Code9Code0CodeReturnEnterCodeEscapeCodeDeleteBackspaceCodeTabCodeSpacebarCodeHyphenMinusCodeEqualSignCodeLeftSquareBracketCodeRightSquareBracketCodeBackslash"
+ _Code_name_2 = "CodeSemicolonCodeApostropheCodeGraveAccentCodeCommaCodeFullStopCodeSlashCodeCapsLockCodeF1CodeF2CodeF3CodeF4CodeF5CodeF6CodeF7CodeF8CodeF9CodeF10CodeF11CodeF12"
+ _Code_name_3 = "CodePauseCodeInsertCodeHomeCodePageUpCodeDeleteForwardCodeEndCodePageDownCodeRightArrowCodeLeftArrowCodeDownArrowCodeUpArrowCodeKeypadNumLockCodeKeypadSlashCodeKeypadAsteriskCodeKeypadHyphenMinusCodeKeypadPlusSignCodeKeypadEnterCodeKeypad1CodeKeypad2CodeKeypad3CodeKeypad4CodeKeypad5CodeKeypad6CodeKeypad7CodeKeypad8CodeKeypad9CodeKeypad0CodeKeypadFullStop"
+ _Code_name_4 = "CodeKeypadEqualSignCodeF13CodeF14CodeF15CodeF16CodeF17CodeF18CodeF19CodeF20CodeF21CodeF22CodeF23CodeF24"
+ _Code_name_5 = "CodeHelp"
+ _Code_name_6 = "CodeMuteCodeVolumeUpCodeVolumeDown"
+ _Code_name_7 = "CodeLeftControlCodeLeftShiftCodeLeftAltCodeLeftGUICodeRightControlCodeRightShiftCodeRightAltCodeRightGUI"
+ _Code_name_8 = "CodeCompose"
+)
+
+var (
+ _Code_index_0 = [...]uint8{0, 11}
+ _Code_index_1 = [...]uint16{0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 110, 115, 120, 125, 130, 135, 140, 145, 150, 155, 160, 165, 170, 175, 180, 195, 205, 224, 231, 243, 258, 271, 292, 314, 327}
+ _Code_index_2 = [...]uint8{0, 13, 27, 42, 51, 63, 72, 84, 90, 96, 102, 108, 114, 120, 126, 132, 138, 145, 152, 159}
+ _Code_index_3 = [...]uint16{0, 9, 19, 27, 37, 54, 61, 73, 87, 100, 113, 124, 141, 156, 174, 195, 213, 228, 239, 250, 261, 272, 283, 294, 305, 316, 327, 338, 356}
+ _Code_index_4 = [...]uint8{0, 19, 26, 33, 40, 47, 54, 61, 68, 75, 82, 89, 96, 103}
+ _Code_index_5 = [...]uint8{0, 8}
+ _Code_index_6 = [...]uint8{0, 8, 20, 34}
+ _Code_index_7 = [...]uint8{0, 15, 28, 39, 50, 66, 80, 92, 104}
+ _Code_index_8 = [...]uint8{0, 11}
+)
+
+func (i Code) String() string {
+ switch {
+ case i == 0:
+ return _Code_name_0
+ case 4 <= i && i <= 49:
+ i -= 4
+ return _Code_name_1[_Code_index_1[i]:_Code_index_1[i+1]]
+ case 51 <= i && i <= 69:
+ i -= 51
+ return _Code_name_2[_Code_index_2[i]:_Code_index_2[i+1]]
+ case 72 <= i && i <= 99:
+ i -= 72
+ return _Code_name_3[_Code_index_3[i]:_Code_index_3[i+1]]
+ case 103 <= i && i <= 115:
+ i -= 103
+ return _Code_name_4[_Code_index_4[i]:_Code_index_4[i+1]]
+ case i == 117:
+ return _Code_name_5
+ case 127 <= i && i <= 129:
+ i -= 127
+ return _Code_name_6[_Code_index_6[i]:_Code_index_6[i+1]]
+ case 224 <= i && i <= 231:
+ i -= 224
+ return _Code_name_7[_Code_index_7[i]:_Code_index_7[i+1]]
+ case i == 65536:
+ return _Code_name_8
+ default:
+ return fmt.Sprintf("Code(%d)", i)
+ }
+}
diff --git a/vendor/golang.org/x/mobile/event/key/key.go b/vendor/golang.org/x/mobile/event/key/key.go
new file mode 100644
index 000000000..d70f1c343
--- /dev/null
+++ b/vendor/golang.org/x/mobile/event/key/key.go
@@ -0,0 +1,270 @@
+// Copyright 2015 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:generate stringer -type=Code
+
+// Package key defines an event for physical keyboard keys.
+//
+// On-screen software keyboards do not send key events.
+//
+// See the golang.org/x/mobile/app package for details on the event model.
+package key
+
+import (
+ "fmt"
+ "strings"
+)
+
+// Event is a key event.
+type Event struct {
+ // Rune is the meaning of the key event as determined by the
+ // operating system. The mapping is determined by system-dependent
+ // current layout, modifiers, lock-states, etc.
+ //
+ // If non-negative, it is a Unicode codepoint: pressing the 'a' key
+ // generates different Runes 'a' or 'A' (but the same Code) depending on
+ // the state of the shift key.
+ //
+ // If -1, the key does not generate a Unicode codepoint. To distinguish
+ // them, look at Code.
+ Rune rune
+
+ // Code is the identity of the physical key relative to a notional
+ // "standard" keyboard, independent of current layout, modifiers,
+ // lock-states, etc
+ //
+ // For standard key codes, its value matches USB HID key codes.
+ // Compare its value to uint32-typed constants in this package, such
+ // as CodeLeftShift and CodeEscape.
+ //
+ // Pressing the regular '2' key and number-pad '2' key (with Num-Lock)
+ // generate different Codes (but the same Rune).
+ Code Code
+
+ // Modifiers is a bitmask representing a set of modifier keys: ModShift,
+ // ModAlt, etc.
+ Modifiers Modifiers
+
+ // Direction is the direction of the key event: DirPress, DirRelease,
+ // or DirNone (for key repeats).
+ Direction Direction
+
+ // TODO: add a Device ID, for multiple input devices?
+ // TODO: add a time.Time?
+}
+
+func (e Event) String() string {
+ if e.Rune >= 0 {
+ return fmt.Sprintf("key.Event{%q (%v), %v, %v}", e.Rune, e.Code, e.Modifiers, e.Direction)
+ }
+ return fmt.Sprintf("key.Event{(%v), %v, %v}", e.Code, e.Modifiers, e.Direction)
+}
+
+// Direction is the direction of the key event.
+type Direction uint8
+
+const (
+ DirNone Direction = 0
+ DirPress Direction = 1
+ DirRelease Direction = 2
+)
+
+// Modifiers is a bitmask representing a set of modifier keys.
+type Modifiers uint32
+
+const (
+ ModShift Modifiers = 1 << 0
+ ModControl Modifiers = 1 << 1
+ ModAlt Modifiers = 1 << 2
+ ModMeta Modifiers = 1 << 3 // called "Command" on OS X
+)
+
+// Code is the identity of a key relative to a notional "standard" keyboard.
+type Code uint32
+
+// Physical key codes.
+//
+// For standard key codes, its value matches USB HID key codes.
+// TODO: add missing codes.
+const (
+ CodeUnknown Code = 0
+
+ CodeA Code = 4
+ CodeB Code = 5
+ CodeC Code = 6
+ CodeD Code = 7
+ CodeE Code = 8
+ CodeF Code = 9
+ CodeG Code = 10
+ CodeH Code = 11
+ CodeI Code = 12
+ CodeJ Code = 13
+ CodeK Code = 14
+ CodeL Code = 15
+ CodeM Code = 16
+ CodeN Code = 17
+ CodeO Code = 18
+ CodeP Code = 19
+ CodeQ Code = 20
+ CodeR Code = 21
+ CodeS Code = 22
+ CodeT Code = 23
+ CodeU Code = 24
+ CodeV Code = 25
+ CodeW Code = 26
+ CodeX Code = 27
+ CodeY Code = 28
+ CodeZ Code = 29
+
+ Code1 Code = 30
+ Code2 Code = 31
+ Code3 Code = 32
+ Code4 Code = 33
+ Code5 Code = 34
+ Code6 Code = 35
+ Code7 Code = 36
+ Code8 Code = 37
+ Code9 Code = 38
+ Code0 Code = 39
+
+ CodeReturnEnter Code = 40
+ CodeEscape Code = 41
+ CodeDeleteBackspace Code = 42
+ CodeTab Code = 43
+ CodeSpacebar Code = 44
+ CodeHyphenMinus Code = 45 // -
+ CodeEqualSign Code = 46 // =
+ CodeLeftSquareBracket Code = 47 // [
+ CodeRightSquareBracket Code = 48 // ]
+ CodeBackslash Code = 49 // \
+ CodeSemicolon Code = 51 // ;
+ CodeApostrophe Code = 52 // '
+ CodeGraveAccent Code = 53 // `
+ CodeComma Code = 54 // ,
+ CodeFullStop Code = 55 // .
+ CodeSlash Code = 56 // /
+ CodeCapsLock Code = 57
+
+ CodeF1 Code = 58
+ CodeF2 Code = 59
+ CodeF3 Code = 60
+ CodeF4 Code = 61
+ CodeF5 Code = 62
+ CodeF6 Code = 63
+ CodeF7 Code = 64
+ CodeF8 Code = 65
+ CodeF9 Code = 66
+ CodeF10 Code = 67
+ CodeF11 Code = 68
+ CodeF12 Code = 69
+
+ CodePause Code = 72
+ CodeInsert Code = 73
+ CodeHome Code = 74
+ CodePageUp Code = 75
+ CodeDeleteForward Code = 76
+ CodeEnd Code = 77
+ CodePageDown Code = 78
+
+ CodeRightArrow Code = 79
+ CodeLeftArrow Code = 80
+ CodeDownArrow Code = 81
+ CodeUpArrow Code = 82
+
+ CodeKeypadNumLock Code = 83
+ CodeKeypadSlash Code = 84 // /
+ CodeKeypadAsterisk Code = 85 // *
+ CodeKeypadHyphenMinus Code = 86 // -
+ CodeKeypadPlusSign Code = 87 // +
+ CodeKeypadEnter Code = 88
+ CodeKeypad1 Code = 89
+ CodeKeypad2 Code = 90
+ CodeKeypad3 Code = 91
+ CodeKeypad4 Code = 92
+ CodeKeypad5 Code = 93
+ CodeKeypad6 Code = 94
+ CodeKeypad7 Code = 95
+ CodeKeypad8 Code = 96
+ CodeKeypad9 Code = 97
+ CodeKeypad0 Code = 98
+ CodeKeypadFullStop Code = 99 // .
+ CodeKeypadEqualSign Code = 103 // =
+
+ CodeF13 Code = 104
+ CodeF14 Code = 105
+ CodeF15 Code = 106
+ CodeF16 Code = 107
+ CodeF17 Code = 108
+ CodeF18 Code = 109
+ CodeF19 Code = 110
+ CodeF20 Code = 111
+ CodeF21 Code = 112
+ CodeF22 Code = 113
+ CodeF23 Code = 114
+ CodeF24 Code = 115
+
+ CodeHelp Code = 117
+
+ CodeMute Code = 127
+ CodeVolumeUp Code = 128
+ CodeVolumeDown Code = 129
+
+ CodeLeftControl Code = 224
+ CodeLeftShift Code = 225
+ CodeLeftAlt Code = 226
+ CodeLeftGUI Code = 227
+ CodeRightControl Code = 228
+ CodeRightShift Code = 229
+ CodeRightAlt Code = 230
+ CodeRightGUI Code = 231
+
+ // The following codes are not part of the standard USB HID Usage IDs for
+ // keyboards. See http://www.usb.org/developers/hidpage/Hut1_12v2.pdf
+ //
+ // Usage IDs are uint16s, so these non-standard values start at 0x10000.
+
+ // CodeCompose is the Code for a compose key, sometimes called a multi key,
+ // used to input non-ASCII characters such as ñ being composed of n and ~.
+ //
+ // See https://en.wikipedia.org/wiki/Compose_key
+ CodeCompose Code = 0x10000
+)
+
+// TODO: Given we use runes outside the unicode space, should we provide a
+// printing function? Related: it's a little unfortunate that printing a
+// key.Event with %v gives not very readable output like:
+// {100 7 key.Modifiers() Press}
+
+var mods = [...]struct {
+ m Modifiers
+ s string
+}{
+ {ModShift, "Shift"},
+ {ModControl, "Control"},
+ {ModAlt, "Alt"},
+ {ModMeta, "Meta"},
+}
+
+func (m Modifiers) String() string {
+ var match []string
+ for _, mod := range mods {
+ if mod.m&m != 0 {
+ match = append(match, mod.s)
+ }
+ }
+ return "key.Modifiers(" + strings.Join(match, "|") + ")"
+}
+
+func (d Direction) String() string {
+ switch d {
+ case DirNone:
+ return "None"
+ case DirPress:
+ return "Press"
+ case DirRelease:
+ return "Release"
+ default:
+ return fmt.Sprintf("key.Direction(%d)", d)
+ }
+}
diff --git a/vendor/modules.txt b/vendor/modules.txt
index fdb69eaed..8167e4b34 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -544,10 +544,11 @@ github.com/ulikunitz/xz
github.com/ulikunitz/xz/internal/hash
github.com/ulikunitz/xz/internal/xlog
github.com/ulikunitz/xz/lzma
-# github.com/vmware/govmomi v0.0.0-20170707011325-c2105a174311
+# github.com/vmware/govmomi v0.21.0
github.com/vmware/govmomi
github.com/vmware/govmomi/find
github.com/vmware/govmomi/list
+github.com/vmware/govmomi/nfc
github.com/vmware/govmomi/object
github.com/vmware/govmomi/property
github.com/vmware/govmomi/session
@@ -664,6 +665,8 @@ golang.org/x/exp/cmd/apidiff
# golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f
golang.org/x/lint
golang.org/x/lint/golint
+# golang.org/x/mobile v0.0.0-20191130191448-5c0e7e404af8
+golang.org/x/mobile/event/key
# golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933
golang.org/x/net/context
golang.org/x/net/context/ctxhttp